Skip to content

Commit

Permalink
Match the array names to those in ModelComponent.hpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
timspainNERSC committed Aug 11, 2023
1 parent 4ea9d31 commit c995844
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions core/src/modules/include/ProtectedArrayNames.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
*/

// External ProtectedArray names must be unique wrt to the external SharedArray names as well
{ "hice", "H_ICE" }, // Ice thickness, cell average, m
{ "cice", "C_ICE" }, // Ice concentration
{ "hsnow", "H_SNOW" }, // Snow depth, cell average, m
{ "tice", "T_ICE" }, // Ice temperature, ˚C
{ "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", "SNOW" }, // snow fall, kg m⁻² s⁻¹
{ "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", "EVAP_MINUS_PRECIP" }, // E-P atmospheric freshwater flux, kg s⁻¹ m⁻²
{ "mlcp", "ML_BULK_CP" }, // Mixed layer bulk heat capacity J K⁻¹ m⁻²
{ "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⁻¹
Expand Down
1 change: 1 addition & 0 deletions core/src/modules/include/SharedArrayNames.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
{ "qio", "Q_IO" }, // Ice to ocean heat flux W m⁻²
{ "qow", "Q_OW" }, // Open water heat flux W m⁻²
{ "dqia_dt", "DQIA_DT" }, // Derivative of Qᵢₐ w.r.t. ice surface temperature W m⁻² K⁻¹
{ "qpen_sw", "Q_PEN_SW" }, // Penetrating shortwave flux W m⁻²
{ "hsnow_melt", "HSNOW_MELT" }, // Thickness of snow that melted, m
{ "sublim", "SUBLIM" }, // Upward sublimation rate kg m⁻² s⁻¹
{ "delta_hice", "DELTA_HICE" }, // Change in sea ice thickness, m
Expand Down

0 comments on commit c995844

Please sign in to comment.