Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

global ocean init updates for QU_120 ecosys #1035

Open
wants to merge 2 commits into
base: ocean/develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/core_ocean/Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3057,12 +3057,6 @@
type="real" dimensions="nCells" units="kg m^{-3}"
description="effective seawater density in land ice before horizontal averaging"
/>
<!-- FIELDS FOR INTERPOLATION DURING INITIALIZATION -->
<var name="interpTracer"
persistence="scratch"
type="real" dimensions="nVertLevels nCells" units="various"
description="temporary space for holding one tracer at a time as part of horizontal interpolation"
/>
<!-- FIELDS FOR LAND-ICE PRESSURE AND SSH INITIALIZATION -->
<var name="scratchZMid"
persistence="scratch"
Expand Down
71 changes: 62 additions & 9 deletions src/core_ocean/mode_init/Registry_global_ocean.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<dims>
<dim name="nDepthTracerIC" units="unitless" definition="namelist:config_global_ocean_tracer_vert_levels"
description="The number of levels in the vertical direction for tracer initial conditions"
/>
<dim name="nDepthEcosysIC" units="unitless" definition="namelist:config_global_ocean_ecosys_vert_levels"
description="The number of levels in the vertical direction for ecosystem tracer initial conditions"
/>
</dims>
<nml_record name="global_ocean" mode="init" configuration="global_ocean">
<nml_option name="config_global_ocean_minimum_depth" type="real" default_value="15" units="m"
description="Minimum depth where column contains all water-filled cells. The first layer with refBottomDepth greater than this value is included in whole, i.e. no partial bottom cells are used in this layer."
Expand Down Expand Up @@ -35,6 +43,18 @@
description="Name of the dimension that determines number of longitude lines in tracer initial condition files."
possible_values="Dim name from input files."
/>
<nml_option name="config_global_ocean_tracer_ndepth_dimname" type="character" default_value="none" units="unitless"
description="Name of the dimension that determines number of vertical levels in tracer initial condition files."
possible_values="Dim name from input files."
/>
<nml_option name="config_global_ocean_tracer_depth_conversion_factor" type="real" default_value="1.0" units="variable"
description="Conversion factor for tracer initial condition depth levels. Should convert units on input depth levels to meters."
possible_values="Any positive real value greater than 0."
/>
<nml_option name="config_global_ocean_tracer_vert_levels" type="integer" default_value="-1" units="unitless"
description="Number of vertical levels in tracer initial condition file. Set to -1 to read from file with config_global_ocean_tracer_ndepth_dimname"
possible_values="Any positive non-zero integer. A value of -1 causes this to be overwritten with the configurations vertical level definition."
/>
<nml_option name="config_global_ocean_temperature_varname" type="character" default_value="none" units="unitless"
description="Name of the variable containing temperature in temperature initial condition file."
possible_values="Variable name from input file."
Expand All @@ -55,6 +75,10 @@
description="Name of the variable containing longitude coordinates for tracer values in temperature initial condition file."
possible_values="Variable name from input file."
/>
<nml_option name="config_global_ocean_tracer_depth_varname" type="character" default_value="none" units="unitless"
description="Name of the variable containing depth coordinates for tracer values in temperature initial condition file."
possible_values="Variable name from input file."
/>
<nml_option name="config_global_ocean_tracer_method" type="character" default_value="bilinear_interpolation" units="unitless"
description="Method to interpolate tracer data to MPAS mesh."
possible_values="bilinear_interpolation, nearest_neighbor"
Expand Down Expand Up @@ -263,6 +287,18 @@
description="Name of the dimension that determines number of longitude lines in ecosys initial condition files."
possible_values="Dim name from input files."
/>
<nml_option name="config_global_ocean_ecosys_ndepth_dimname" type="character" default_value="none" units="unitless"
description="Name of the dimension that determines number of vertical levels in ecosys initial condition files."
possible_values="Dim name from input files."
/>
<nml_option name="config_global_ocean_ecosys_depth_conversion_factor" type="real" default_value="1.0" units="variable"
description="Conversion factor for ecosys initial condition depth levels. Should convert units on input depth levels to meters."
possible_values="Any positive real value greater than 0."
/>
<nml_option name="config_global_ocean_ecosys_vert_levels" type="integer" default_value="-1" units="unitless"
description="Number of vertical levels in ecosys initial condition file. Set to -1 to read from file with config_global_ocean_ecosys_ndepth_dimname"
possible_values="Any positive non-zero integer. A value of -1 causes this to be overwritten with the configurations vertical level definition."
/>
<nml_option name="config_global_ocean_ecosys_lat_varname" type="character" default_value="none" units="unitless"
description="Name of the variable containing latitude coordinates for ecosys values in ecosys initial condition file."
possible_values="Variable name from input file."
Expand All @@ -271,6 +307,10 @@
description="Name of the variable containing longitude coordinates for ecosys values in ecosys initial condition file."
possible_values="Variable name from input file."
/>
<nml_option name="config_global_ocean_ecosys_depth_varname" type="character" default_value="none" units="unitless"
description="Name of the variable containing depth coordinates for ecosys values in ecosys initial condition file."
possible_values="Variable name from input file."
/>
<nml_option name="config_global_ocean_ecosys_latlon_degrees" type="logical" default_value=".true." units="unitless"
description="Logical flag that controls if the Lat/Lon fields for ecosys should be converted to radians. True means input is degrees, false means input is radians."
possible_values=".true. or .false."
Expand All @@ -279,7 +319,7 @@
description="Method to interpolate shortwave data to MPAS mesh."
possible_values="bilinear_interpolation, nearest_neighbor"
/>
<nml_option name="config_global_ocean_ecosys_forcing_time_dimname" type="character" default_value="none" units="unitless"
<nml_option name="config_global_ocean_ecosys_forcing_time_dimname" type="character" default_value="record" units="unitless"
description="Name of the dimension that determines the times in ecosys forcing files."
possible_values="Dim name from input files."
/>
Expand All @@ -293,14 +333,6 @@
default_value="0" units="unitless"
description="Temporary space to hold smoothed maxLevelCell to allow bit-reproducibility."
/>
<var name="smoothedTemperature" type="real" dimensions="nVertLevels nCells" persistence="scratch"
default_value="0" units="unitless"
description="Temporary space to hold smoothed tracer to allow bit-reproducibility."
/>
<var name="smoothedSalinity" type="real" dimensions="nVertLevels nCells" persistence="scratch"
default_value="0" units="unitless"
description="Temporary space to hold smoothed tracer to allow bit-reproducibility."
/>
<var name="cullStack" type="integer" dimensions="nCells" persistence="scratch"
default_value="0" units="unitless"
description="Temporary space to hold a stack for culling inland seas."
Expand All @@ -317,6 +349,27 @@
default_value="0" units="unitless"
description="Integer to hold the size of the cullStack for each block."
/>
<!-- FIELDS FOR INTERPOLATION DURING INITIALIZATION -->
<var name="interpActiveTracer"
persistence="scratch"
type="real" dimensions="nDepthTracerIC nCells" units="various"
description="temporary space for holding one tracer at a time as part of horizontal interpolation"
/>
<var name="interpEcosysTracer"
persistence="scratch"
type="real" dimensions="nDepthEcosysIC nCells" units="various"
description="temporary space for holding one tracer at a time as part of horizontal interpolation"
/>
<var name="interpActiveTracerSmooth"
persistence="scratch"
type="real" dimensions="nDepthTracerIC nCells" units="various"
description="temporary space for holding one tracer at a time as part of horizontal interpolation"
/>
<var name="interpEcosysTracerSmooth"
persistence="scratch"
type="real" dimensions="nDepthEcosysIC nCells" units="various"
description="temporary space for holding one tracer at a time as part of horizontal interpolation"
/>
</var_struct>
<packages>
<package name="landIceInit" description="This package includes variables needed for initializing land ice in the init mode"
Expand Down
Loading