Skip to content

Commit

Permalink
Merge branch 'xylar/ocn/separate-removal-ais-river-ice-runoff' (PR E3…
Browse files Browse the repository at this point in the history
…SM-Project#6510)

Separate removal of Antarctic river and ice runoff

This is needed so we can remove ice (solid) runoff but not river
(liquid) runoff.

This merge also removes totalRemoved*RunoffFlux variables. These fields
are computed incorrectly (they are missing areaCell) and are not
currently used for anything within MPAS-Ocean or any diagnostics.

[NML] for all configurations with mpas-ocean
[non-BFB] only for simulations with JRA forcing, DIB and either DISMF
          or PISMF (data icebergs and data or prognostic melt rates)
  • Loading branch information
jonbob committed Jul 17, 2024
2 parents 9986482 + d1d0f0a commit 264a352
Show file tree
Hide file tree
Showing 8 changed files with 164 additions and 149 deletions.
5 changes: 3 additions & 2 deletions components/mpas-ocean/bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -707,10 +707,11 @@ add_default($nl, 'config_flux_attenuation_coefficient_runoff');
# Namelist group: coupling #
############################

add_default($nl, 'config_remove_ais_river_runoff');
if (($OCN_ICEBERG eq 'true') && ($OCN_FORCING eq 'active_atm')) {
add_default($nl, 'config_remove_AIS_coupler_runoff', 'val'=>".true.");
add_default($nl, 'config_remove_ais_ice_runoff', 'val'=>".true.");
} else {
add_default($nl, 'config_remove_AIS_coupler_runoff', 'val'=>".false.");
add_default($nl, 'config_remove_ais_ice_runoff', 'val'=>".false.");
}

######################################
Expand Down
3 changes: 2 additions & 1 deletion components/mpas-ocean/bld/build-namelist-section
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ add_default($nl, 'config_flux_attenuation_coefficient_runoff');
# Namelist group: coupling #
############################

add_default($nl, 'config_remove_AIS_coupler_runoff');
add_default($nl, 'config_remove_ais_river_runoff');
add_default($nl, 'config_remove_ais_ice_runoff');

######################################
# Namelist group: shortwaveRadiation #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@
<config_flux_attenuation_coefficient_runoff>10.0</config_flux_attenuation_coefficient_runoff>

<!-- coupling -->
<config_remove_AIS_coupler_runoff>.false.</config_remove_AIS_coupler_runoff>
<config_remove_ais_river_runoff>.false.</config_remove_ais_river_runoff>
<config_remove_ais_ice_runoff>.false.</config_remove_ais_ice_runoff>

<!-- shortwaveRadiation -->
<config_sw_absorption_type>'jerlov'</config_sw_absorption_type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1191,9 +1191,17 @@ Default: Defined in namelist_defaults.xml

<!-- coupling -->

<entry id="config_remove_AIS_coupler_runoff" type="logical"
<entry id="config_remove_ais_river_runoff" type="logical"
category="coupling" group="coupling">
If true, solid and liquid runoff from the Antarctic Ice Sheet (below 60S latitude) coming from the coupled is zeroed in the coupler import routines. To be used with data iceberg fluxes coming from the sea ice model.
If true, liquid runoff from the Antarctic Ice Sheet (below 60S latitude) coming from the coupled is zeroed in the coupler import routines. To be used with data iceberg fluxes coming from the sea ice model.

Valid values: .true. or .false.
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_remove_ais_ice_runoff" type="logical"
category="coupling" group="coupling">
If true, solid runoff from the Antarctic Ice Sheet (below 60S latitude) coming from the coupled is zeroed in the coupler import routines. To be used with data iceberg fluxes coming from the sea ice model.

Valid values: .true. or .false.
Default: Defined in namelist_defaults.xml
Expand Down
Loading

0 comments on commit 264a352

Please sign in to comment.