Overview
Ice sheet coupling with the rest of the model depends on which ice sheet is being modeled, Antarctica or Greenland.
...
ocean coupling: (glc_c2_ocn): Sg_icemask, Sg_blit, Sg_blis, Sg_lithop, Sg_icemask_grounded
compset | glc_c2_lnd | lnd_c2_glc | ocn_c2_glcshelf | glcshelf_c2_ocn | glcshelf_c2_ice | ocn_c2_glctf | glc_c2_ocn | glc_c2_ice | glcshelf_c2_ice |
---|---|---|---|---|---|---|---|---|---|
MPAS_LISIO_JRA1p | T | ||||||||
MPAS_LISIO_JRA1p with mod mpaso/ocn_glcshelf | T | T | T | T | |||||
IGELM_MLI | T | T | |||||||
BGWCYCL1850 | T | T | T |
...
Assuming glc_present and glc_prognostic are TRUE so not including.
init
prep_lnd_init (glc_c2_lnd)
if(glc_c2_lnd) init mapper_Sg2l, mapper_Fg2l; derive field lists glc2lnd_non_ec_fields and glc2lnd_ec_extra_fields
prep_ocn_init (glc_c2_ocn, glcshelf_c2_ocn)
if (glc_c2_ocn) init mapper_Rg2o_liq and mapper_Rg2o_ice
...
prep_glc_init( lnd_c2_glc, ocn_c2_glcshelf)
if ( lnd_c2_glc .or. do_hist_l2x1yrg) initialize l2gacc_lx with seq_flds_l2x_fields_to_glc
if ( lnd_c2_glc) initialize l2x_gx with seq_flds_x2g_fields
if (lnd_c2_glc) init mapper_Sl2g, mapper_Fl2g, mapper_Fg2l; form g2x_lx_fields
...
also init mapper_So2g, mapper_Fo2g and arrays for compute_melt_fluxes
if (glc_c2_ocn) do mapping Rg2o_liq, Rg2o_ice; g2x_gx to g2x_ox; seq_flds_g2o_liq/ice_fluxes,
...
if(glcshelf_c2_ice) do mapping_Sg2i; g2x_gx, g2x_ix, Sg_icemask_coupled_fluxes
if (glc_c2_lnd) do mapping Fg2l, g2x_gx, g2x_lx, glc2lnd_non_ec_fields; do special mapping of elevation class fields with mapper_Fg2l, glc2lnd_ec_extra_fields
...
call cime_run_glc_setup_send
if (lnd_c2_glc OR ocn_c2_glcshelf)
if (glcrun_avg_alarm) accumulate for lnd and ocn
if (lnd_c2_glc) call prep_glc_calc_l2x_gcgx
from seq call prep_fldsglc_x2gmap_fluxesqice_fromconservative_lnd, lnd2glc: special (bilinear with correction) mapping of Flgl_qice only. See Bilinear lnd to glc prep_glc_.
map_
...
lnd2glc
...
(mapper_Sl2g)
...
if (smb_renormalize)
...
prep_glc_renormalize_smb; map_glc2lnd_ec
from seq_flds_x2g_states_from_lnd also call call prep_glc_map_one_state_field_lnd2glc: special bilinear mapping one state at a time: prep_glc_map_one_state_field_lnd2glc, also call map_lnd2glc
else prep_glc_zero_flds
...