Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add temperature and salinity to ocean extrapolation #124

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
24 changes: 11 additions & 13 deletions components/mpas-albany-landice/src/Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -454,16 +454,16 @@
possible_values="any non-negative value"
/>
<nml_option name="config_ocean_data_extrapolation" type="logical" default_value=".false." units="unitless"
description="If true, extrapolate ocean data (temperature, salinity, thermal forcing) from external source into underneath the ice draft."
description="If true, extrapolate ocean data (temperature and salinity, or thermal forcing) from external source into underneath the ice draft."
possible_values=".true. or .false."
/>
<nml_option name="config_ocean_data_extrap_ncells_extra" type="integer" default_value="10" units="unitless"
/>
<nml_option name="config_recalculate_thermal_forcing" type="logical" defaualt_value=".false." units="unitless"
description="If true, ocean temperature and salinity are extrapolated under ice drafts and to glacier termini, where thermal forcing is then calculated according to options inconfig_thermal_forcing_param_type. If false, MALI will look for an external thermal forcing field to extrapolate instead, and the subsequent 2d thermal forcing field will be defined at the grounding line. Option is only valid if config_ocean_data_extrapolation is true."
possible_values=".true. or .false."
/>
<nml_option name="config_ocean_data_extrap_ncells_extra" type="integer" default_value="10" units="unitless"
description="number of extra cells for over-extrapolation into grounded ice" possible_values="any non-negative value"
/>
<nml_option name="config_invalid_value_TF" type="real" default_value="1.0e36" units="unitless"
description="value assigned to indicate invalid thermal forcing value when config_ocean_data_extrapolation is set to true"
possible_values="Any real value"
/>
<nml_option name="config_weight_value_cell" type="real" default_value="0.9" units="unitless"
description="weight used to smooth horizontal extrapolation of ocean data field. Value close to 1 implies more weight of the current cell value versus the averaged value of the neighbouring cells around the cell"
possible_values="any real value between 0 and 1"
Expand Down Expand Up @@ -924,8 +924,6 @@
<var name="growOceanMaskHoriz" packages="extrapOceanData" />
<var name="seedOceanMaskHoriz" packages="extrapOceanData" />
<var name="seedOceanMaskHorizInit" packages="extrapOceanData" />
<var name="TFoceanOld" packages="extrapOceanData" />
<var name="TFocean" packages="extrapOceanData" />
</stream>


Expand Down Expand Up @@ -1713,11 +1711,11 @@ is the value of that variable from the *previous* time level!
<var name="seedOceanMaskHorizInit" type="integer" dimensions="nCells Time" units="none"
description="initial 2D seedMask before the over-extrapolation, for benchmark/debug purpose"
/>
<var name="TFoceanOld" type="real" dimensions="nISMIP6OceanLayers nCells Time" units="deg. C"
default_value="1.0"
<var name="MPAS_3dOceanTemperature" type="real" dimensions="nISMIP6OceanLayers nCells Time" units="deg. C"
description="MPAS-Ocean potential temperature to be extrapolated to all grounding lines if config_recalcuate_thermal_forcing is true."
/>
<var name="TFocean" type="real" dimensions="nISMIP6OceanLayers nCells Time" units="deg. C"
default_value="0.0"
<var name="MPAS_3dOceanSalinity" type="real" dimensions="nISMIP6OceanLayers nCells Time" units="g/kg"
description="MPAS-Ocean salinity to be extrapolated to all grounding lines if config_recalcuate_thermal_forcing is true."
/>
</var_struct>
<!-- ================ -->
Expand Down
Loading