-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Add sea-surface height Fixes #538 ### Task List - [x] Defined the tests that specify a complete and functioning change (*It may help to create a [design specification & test specification](../../../wiki/Specification-Template)*) - [x] Implemented the source code change that satisfies the tests - [ ] Documented the feature by providing worked example - [ ] Updated the README or other documentation - [x] Completed the pre-Request checklist below --- # Change Description This PR adds the contribution of the sea-surface-height gradient to both the mEVP and BBM codes (through VPCGDynamicsKernel and BrittleDynamicsKernel). SSH is read in from IOceanBoundary and passed to the dynamical core. It can also be output through ConfigOutput as "ssh". --- # Test Description No unit test was implemented for this feature, and no quantitative test exists. Qualitative testing shows that setting a fixed sea-surface-height gradient gives drift speed close to back-of-the-envelope estimates (13 cm/s modelled, 20 cm/s from back-of-the-envelope). --- # Documentation Impact None --- # Other Details None --- ### Pre-Request Checklist - [x] The requirements of this pull request are fully captured in an issue or design specification and are linked and summarised in the description of this PR - [x] No new warnings are generated - [x] The documentation has been updated (or an issue has been created to track the corresponding change) - [x] Methods and Tests are commented such that they can be understood without having to obtain additional context - [x] This PR/Issue is labelled as a bug/feature/enhancement/breaking change - [x] File dates have been updated to reflect modification date - [x] This change conforms to the conventions described in the README
- Loading branch information
Showing
24 changed files
with
340 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,45 @@ | ||
/*! | ||
* @file ProtectedArrayNames.ipp | ||
* | ||
* @date 1 Jul 2024 | ||
* @date 23 Aug 2024 | ||
* @author Tim Spain <[email protected]> | ||
* @author Einar Ólason <[email protected]> | ||
*/ | ||
|
||
// External ProtectedArray names must be unique wrt to the external SharedArray names as well | ||
{ "damage", "DAMAGE0" }, // Ice thickness, cell average, m | ||
{ "hice", "H_ICE_cell" }, // Ice thickness, cell average, m | ||
{ "cice", "C_ICE0" }, // Ice concentration | ||
{ "hsnow", "H_SNOW_cell" }, // Snow depth, cell average, m | ||
{ "tice", "T_ICE0" }, // Ice temperature, ˚C | ||
{ "tair", "T_AIR" }, // Air temperature, ˚C | ||
{ "dew2m", "DEW_2M" }, // Dew point at 2 m, ˚C | ||
{ "pair", "P_AIR" }, // sea level air pressure, Pa | ||
{ "mixrat", "MIXRAT" }, // water vapour mass mixing ratio | ||
{ "sw_in", "SW_IN" }, // incoming shortwave flux, W m⁻² | ||
{ "lw_in", "LW_IN" }, // incoming longwave flux, W m⁻² | ||
{ "mld", "MLD" }, // mixed layer depth, m | ||
{ "snowfall", "SNOWFALL" }, // snow fall, kg m⁻² s⁻¹ | ||
{ "sss", "SSS" }, // sea surface salinity, PSU | ||
{ "sst", "SST" }, // sea surface temperature ˚C | ||
{ "sst_ext", "EXT_SST" }, // External sea surface temperature ˚C | ||
{ "sss_ext", "EXT_SSS" }, // External sea surface salinity PSU | ||
{ "eminusp", "E-P" }, // E-P atmospheric freshwater flux, kg s⁻¹ m⁻² | ||
{ "mlcp", "CPML" }, // Mixed layer bulk heat capacity J K⁻¹ m⁻² | ||
{ "tf", "TF" }, // Ocean freezing temperature, ˚C | ||
{ "wind_speed", "WIND_SPEED" }, // Wind speed, m s⁻¹ | ||
{ "wind_u", "WIND_U" }, // wind velocity x component, m s⁻¹ | ||
{ "wind_v", "WIND_V" }, // wind velocity y component, m s⁻¹ | ||
{ "hice_true_pro", "HTRUE_ICE" }, // Ice thickness, ice average, m | ||
{ "hsnow_true_pro", "HTRUE_SNOW" }, // Snow thickness, ice average, m | ||
{ "ocean_u", "OCEAN_U" }, // x(east)-ward ocean current, m s⁻¹ | ||
{ "ocean_v", "OCEAN_V" }, // y(north)-ward ocean current, m s⁻¹ | ||
{ "u", "ICE_U" }, // x(east)-ward ice velocity, m s⁻¹ | ||
{ "v", "ICE_V" }, // y(north)-ward ice velocity, m s⁻¹ | ||
{ "sst_slab", "SLAB_SST" }, // Slab ocean surface temperature ˚C | ||
{ "sss_slab", "SLAB_SSS" }, // Slab ocean surface salinity PSU | ||
{ "qdw", "SLAB_QDW" }, // Slab ocean temperature nudging heat flux, W m⁻² | ||
{ "fdw", "SLAB_FDW" }, // Slab ocean salinity nudging water flux, kg s⁻¹ m⁻² | ||
{ "hice", "H_ICE_cell" }, // Ice thickness, cell average, m | ||
{ "cice", "C_ICE0" }, // Ice concentration | ||
{ "hsnow", "H_SNOW_cell" }, // Snow depth, cell average, m | ||
{ "tice", "T_ICE0" }, // Ice temperature, ˚C | ||
{ "tair", "T_AIR" }, // Air temperature, ˚C | ||
{ "dew2m", "DEW_2M" }, // Dew point at 2 m, ˚C | ||
{ "pair", "P_AIR" }, // sea level air pressure, Pa | ||
{ "mixrat", "MIXRAT" }, // water vapour mass mixing ratio | ||
{ "sw_in", "SW_IN" }, // incoming shortwave flux, W m⁻² | ||
{ "lw_in", "LW_IN" }, // incoming longwave flux, W m⁻² | ||
{ "mld", "MLD" }, // mixed layer depth, m | ||
{ "snowfall", "SNOWFALL" }, // snow fall, kg m⁻² s⁻¹ | ||
{ "sss", "SSS" }, // sea surface salinity, PSU | ||
{ "sst", "SST" }, // sea surface temperature ˚C | ||
{ "sst_ext", "EXT_SST" }, // External sea surface temperature ˚C | ||
{ "sss_ext", "EXT_SSS" }, // External sea surface salinity PSU | ||
{ "eminusp", "E-P" }, // E-P atmospheric freshwater flux, kg s⁻¹ m⁻² | ||
{ "mlcp", "CPML" }, // Mixed layer bulk heat capacity J K⁻¹ m⁻² | ||
{ "tf", "TF" }, // Ocean freezing temperature, ˚C | ||
{ "wind_speed", "WIND_SPEED" }, // Wind speed, m s⁻¹ | ||
{ "wind_u", "WIND_U" }, // wind velocity x component, m s⁻¹ | ||
{ "wind_v", "WIND_V" }, // wind velocity y component, m s⁻¹ | ||
{ "hice_true_pro", "HTRUE_ICE" }, // Ice thickness, ice average, m | ||
{ "hsnow_true_pro", "HTRUE_SNOW" }, // Snow thickness, ice average, m | ||
{ "ocean_u", "OCEAN_U" }, // x(east)-ward ocean current, m s⁻¹ | ||
{ "ocean_v", "OCEAN_V" }, // y(north)-ward ocean current, m s⁻¹ | ||
{ "u", "ICE_U" }, // x(east)-ward ice velocity, m s⁻¹ | ||
{ "v", "ICE_V" }, // y(north)-ward ice velocity, m s⁻¹ | ||
{ "sst_slab", "SLAB_SST" }, // Slab ocean surface temperature ˚C | ||
{ "sss_slab", "SLAB_SSS" }, // Slab ocean surface salinity PSU | ||
{ "qdw", "SLAB_QDW" }, // Slab ocean temperature nudging heat flux, W m⁻² | ||
{ "fdw", "SLAB_FDW" }, // Slab ocean salinity nudging water flux, kg s⁻¹ m⁻² | ||
{ "ssh", "SSH" }, // Slab ocean salinity nudging water flux, kg s⁻¹ m⁻² | ||
{ "taux", "IO_STRESS_U" }, // Ice-ocean stress x(east) direction, Pa | ||
{ "tauy", "IO_STRESS_V" }, // Ice-ocean stress x(east) direction, Pa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.