Changeset 13590
- Timestamp:
- 2020-10-14T16:16:26+02:00 (4 years ago)
- Location:
- NEMO/branches/UKMO/NEMO_4.0.3_GO8_package
- Files:
-
- 22 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/cfgs/ORCA2_ICE_PISCES/EXPREF/file_def_nemo-ice.xml
r12276 r13590 28 28 <field field_ref="iceapnd" name="siapnd" /> 29 29 <field field_ref="icevpnd" name="sivpnd" /> 30 <field field_ref="sst_m " name="sst_m" />31 <field field_ref="sss_m " name="sss_m" />32 30 <field field_ref="sst_m_pot" name="sst_m_pot" /> 31 <field field_ref="sss_m_abs" name="sss_m_abs" /> 32 33 33 <!-- heat --> 34 34 <field field_ref="icetemp" name="sitemp" /> -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/cfgs/ORCA2_ICE_PISCES/EXPREF/file_def_nemo-oce.xml
r12276 r13590 14 14 <file id="file11" name_suffix="_grid_T" description="ocean T grid variables" > 15 15 <field field_ref="e3t" /> 16 <field field_ref="toce " name="thetao" operation="instant" freq_op="5d" > @toce_e3t / @e3t </field>17 <field field_ref="soce " name="so" operation="instant" freq_op="5d" > @soce_e3t / @e3t </field>18 <field field_ref="sst " name="tos" />19 <field field_ref="sss " name="sos" />16 <field field_ref="toce_con" name="thetao_con" operation="instant" freq_op="5d" > @toce_con_e3t / @e3t </field> 17 <field field_ref="soce_abs" name="so_abs" operation="instant" freq_op="5d" > @soce_abs_e3t / @e3t </field> 18 <field field_ref="sst_con" name="tos_con" /> 19 <field field_ref="sss_abs" name="sos_abs" /> 20 20 <field field_ref="ssh" name="zos" /> 21 <field field_ref="sst " name="tosstd" long_name="sea surface temperature standard deviation" operation="instant" freq_op="5d" > sqrt( @sst2 - @sst * @sst) </field>21 <field field_ref="sst_con" name="tosstd_con" long_name="sea surface temperature standard deviation" operation="instant" freq_op="5d" > sqrt( @sst2_con - @sst_con * @sst_con ) </field> 22 22 <field field_ref="ssh" name="zosstd" long_name="sea surface height above geoid standard deviation" operation="instant" freq_op="5d" > sqrt( @ssh2 - @ssh * @ssh ) </field> 23 <field field_ref="sst " name="sstdcy" long_name="amplitude of sst diurnal cycle" operation="average" freq_op="1d" > @sstmax - @sstmin </field>23 <field field_ref="sst_con" name="sstdcy_con" long_name="amplitude of sst diurnal cycle" operation="average" freq_op="1d" > @sstmax_con - @sstmin_con </field> 24 24 <field field_ref="mldkz5" /> 25 25 <field field_ref="mldr10_1" /> -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/cfgs/SHARED/domain_def_nemo.xml
r12276 r13590 181 181 <domain id="EqW" domain_ref="grid_W" > <zoom_domain id="EqW"/> </domain> 182 182 183 <!-- zonal mean grid --> 184 <domain_group id="gznl"> 185 <domain id="gznl" long_name="gznl"/> 186 <domain id="ptr" domain_ref="gznl" > 187 <zoom_domain id="ptr" ibegin="0000" jbegin="0" ni="1" nj="0000" /> 188 </domain> 189 </domain_group> 183 184 <!-- zonal mean grid --> 185 <domain id="gznl" long_name="gznl"/> 186 <domain id="ptr" domain_ref="gznl" > 187 <zoom_domain id="ptr" ibegin="0000" jbegin="0" ni="1" nj="0000" /> 188 </domain> 189 <domain id="znl_T" domain_ref="gznl" > <zoom_domain id="znl_T"/> </domain> 190 <domain id="znl_W" domain_ref="gznl" > <zoom_domain id="znl_W"/> </domain> 190 191 191 192 -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/cfgs/SHARED/field_def_nemo-ice.xml
r13284 r13590 166 166 167 167 <!-- sbcssm variables --> 168 <field id="sst_m" unit="degC" /> 169 <field id="sss_m" unit="psu" /> 168 <field id="sst_m_pot" unit="degC" /> 169 <!-- EOS-80 --> 170 <field id="sss_m_pra" unit="psu" /> 171 <!-- TEOS-10 --> 172 <field id="sss_m_abs" unit="psu" /> 173 170 174 <field id="ssu_m" unit="m/s" /> 171 175 <field id="ssv_m" unit="m/s" /> … … 215 219 <field id="dmisum" long_name="sea-ice mass change through surface melting" standard_name="tendency_of_sea_ice_amount_due_to_surface_melting" unit="kg/m2/s" /> 216 220 <field id="dmibom" long_name="sea-ice mass change through bottom melting" standard_name="tendency_of_sea_ice_amount_due_to_basal_melting" unit="kg/m2/s" /> 217 221 <field id="dmilam" long_name="sea-ice mass change through lateral melting" standard_name="tendency_of_sea_ice_amount_due_to_lateral_melting" unit="kg/m2/s" /> 218 222 <field id="dmsspr" long_name="snow mass change through snow fall" standard_name="snowfall_flux" unit="kg/m2/s" /> 219 223 <field id="dmsmel" long_name="snow mass change through melt" standard_name="surface_snow_melt_flux" unit="kg/m2/s" /> … … 247 251 <field id="xmtrpice_ave" long_name="Monthly average of x-ice mass transport" field_ref="xmtrpice" grid_ref="grid_U_2D" freq_op="1mo" freq_offset="_reset_" > @xmtrpice </field> 248 252 <field id="xmtrpice_section" grid_ref="grid_U_scalar" > xmtrpice_ave </field> 249 <field id="xmtrpice_strait" field_ref="xmtrpice_section" grid_ref="grid_U_4strait_ice" />250 <field id="xstrait_mifl" field_ref="xmtrpice_strait" grid_ref="grid_U_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_u_ice </field>251 253 252 254 <field id="ymtrpice_ave" long_name="Monthly average of y-ice mass transport" field_ref="ymtrpice" grid_ref="grid_V_2D" freq_op="1mo" freq_offset="_reset_" > @ymtrpice </field> 253 255 <field id="ymtrpice_section" grid_ref="grid_V_scalar" > ymtrpice_ave </field> 254 <field id="ymtrpice_strait" field_ref="ymtrpice_section" grid_ref="grid_V_4strait_ice" />255 <field id="ystrait_mifl" field_ref="ymtrpice_strait" grid_ref="grid_V_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_v_ice </field>256 256 257 257 <field id="xmtrpsnw_ave" long_name="Monthly average of x-snow mass transport" field_ref="xmtrpsnw" grid_ref="grid_U_2D" freq_op="1mo" freq_offset="_reset_" > @xmtrpsnw </field> 258 258 <field id="xmtrpsnw_section" grid_ref="grid_U_scalar" > xmtrpsnw_ave </field> 259 <field id="xmtrpsnw_strait" field_ref="xmtrpsnw_section" grid_ref="grid_U_4strait_ice" />260 <field id="xstrait_msfl" field_ref="xmtrpsnw_strait" grid_ref="grid_U_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_u_ice </field>261 259 262 260 <field id="ymtrpsnw_ave" long_name="Monthly average of y-snow mass transport" field_ref="ymtrpsnw" grid_ref="grid_V_2D" freq_op="1mo" freq_offset="_reset_" > @ymtrpsnw </field> 263 261 <field id="ymtrpsnw_section" grid_ref="grid_V_scalar" > ymtrpsnw_ave </field> 264 <field id="ymtrpsnw_strait" field_ref="ymtrpsnw_section" grid_ref="grid_V_4strait_ice" />265 <field id="ystrait_msfl" field_ref="ymtrpsnw_strait" grid_ref="grid_V_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_v_ice </field>266 262 267 263 <field id="xatrp_ave" long_name="Monthly average of x-ice area transport" field_ref="xatrp" grid_ref="grid_U_2D" freq_op="1mo" freq_offset="_reset_" > @xatrp </field> 268 264 <field id="xatrp_section" grid_ref="grid_U_scalar" > xatrp_ave </field> 269 <field id="xatrp_strait" field_ref="xatrp_section" grid_ref="grid_U_4strait_ice" />270 <field id="xstrait_arfl" field_ref="xatrp_strait" grid_ref="grid_U_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_u_ice </field>271 265 272 266 <field id="yatrp_ave" long_name="Monthly average of y-ice area transport" field_ref="yatrp" grid_ref="grid_V_2D" freq_op="1mo" freq_offset="_reset_" > @yatrp </field> 273 267 <field id="yatrp_section" grid_ref="grid_V_scalar" > yatrp_ave </field> 274 <field id="yatrp_strait" field_ref="yatrp_section" grid_ref="grid_V_4strait_ice" /> 275 <field id="ystrait_arfl" field_ref="yatrp_strait" grid_ref="grid_V_4strait_ice_hsum" unit="m2/s" detect_missing_value="true" > this * maskMFO_v_ice </field> 276 277 <field id="strait_mifl" long_name="Sea ice mass flux through straits" standard_name="sea_ice_mass_transport_across_line" unit="kg/s" freq_op="1mo" grid_ref="grid_4strait_ice" > xstrait_mifl + ystrait_mifl </field> 278 <field id="strait_msfl" long_name="Snow mass flux through straits" standard_name="snow_mass_transport_across_line" unit="kg/s" freq_op="1mo" grid_ref="grid_4strait_ice" > xstrait_msfl + ystrait_msfl </field> 279 <field id="strait_arfl" long_name="Sea ice area flux through straits" standard_name="sea_area_mass_transport_across_line" unit="m2/s" freq_op="1mo" grid_ref="grid_4strait_ice" > xstrait_arfl + ystrait_arfl </field> 268 280 269 281 270 </field_group> <!-- SBC_2D --> … … 373 362 <field field_ref="icevpnd" name="sivpnd" /> 374 363 <field field_ref="iceage" name="siage" /> 375 <field field_ref="sst_m" name="sst_m" /> 376 <field field_ref="sss_m" name="sss_m" /> 364 <field id="sst_m_pot" unit="degC" /> 365 <!-- EOS-80 --> 366 <field id="sss_m_pra" unit="psu" /> 367 <!-- TEOS-10 --> 368 <field id="sss_m_abs" unit="psu" /> 377 369 378 370 <!-- heat --> -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/cfgs/SHARED/field_def_nemo-oce.xml
r13340 r13590 19 19 20 20 <field_group id="grid_T" grid_ref="grid_T_2D" > 21 <field id="e3t" long_name="T-cell thickness" standard_name="cell_thickness" 22 <field id="e3t s" long_name="T-cell thickness" field_ref="e3t" standard_name="cell_thickness" unit="m" grid_ref="grid_T_SFC"/>23 <field id="e3t_0" long_name="Initial T-cell thickness" standard_name="ref_cell_thickness" 24 <field id="e3tb" long_name="bottom T-cell thickness" standard_name="bottom_cell_thickness" unit="m" grid_ref="grid_T_2D"/> 21 <field id="e3t" long_name="T-cell thickness" standard_name="cell_thickness" unit="m" grid_ref="grid_T_3D" /> 22 <field id="e3t_surf" long_name="T-cell thickness" field_ref="e3t" standard_name="cell_thickness" unit="m" grid_ref="grid_T_surface_extract"/> 23 <field id="e3t_0" long_name="Initial T-cell thickness" standard_name="ref_cell_thickness" unit="m" grid_ref="grid_T_3D" /> 24 <field id="e3tb" long_name="bottom T-cell thickness" standard_name="bottom_cell_thickness" unit="m" grid_ref="grid_T_2D"/> 25 25 <field id="e3t_300" field_ref="e3t" grid_ref="grid_T_zoom_300" detect_missing_value="true" /> 26 26 <field id="e3t_vsum300" field_ref="e3t_300" grid_ref="grid_T_vsum" detect_missing_value="true" /> 27 27 <field id="masscello" long_name="Sea Water Mass per unit area" standard_name="sea_water_mass_per_unit_area" unit="kg/m2" grid_ref="grid_T_3D"/> 28 <field id="volcello" long_name="Ocean Volume" standard_name="ocean_volume" unit="m3" grid_ref="grid_T_3D"/> 29 <field id="toce" long_name="temperature" standard_name="sea_water_potential_temperature" unit="degC" grid_ref="grid_T_3D"/> 30 <field id="toce_e3t" long_name="temperature (thickness weighted)" unit="degC" grid_ref="grid_T_3D" > toce * e3t </field > 31 <field id="soce" long_name="salinity" standard_name="sea_water_practical_salinity" unit="1e-3" grid_ref="grid_T_3D"/> 32 <field id="soce_e3t" long_name="salinity (thickness weighted)" unit="1e-3" grid_ref="grid_T_3D" > soce * e3t </field > 28 <field id="volcello" long_name="Ocean Volume" standard_name="ocean_volume" unit="m3" grid_ref="grid_T_3D"/> 29 30 <!-- EOS80 --> 31 <field id="toce_pot" long_name="potential temperature" standard_name="sea_water_potential_temperature" unit="degC" grid_ref="grid_T_3D"/> 32 <field id="toce_pot_e3t" long_name="potential temperature (thickness weighted)" unit="degC" grid_ref="grid_T_3D" > toce_pot * e3t </field > 33 <field id="soce_pra" long_name="practical salinity" standard_name="sea_water_practical_salinity" unit="1e-3" grid_ref="grid_T_3D"/> 34 <field id="soce_pra_e3t" long_name="practical salinity (thickness weighted)" unit="1e-3" grid_ref="grid_T_3D" > soce_pra * e3t </field > 35 <!-- TEOS10 --> 36 <field id="toce_con" long_name="conservative temperature" standard_name="sea_water_conservative_temperature" unit="degC" grid_ref="grid_T_3D"/> 37 <field id="toce_con_e3t" long_name="conservative temperature (thickness weighted)" unit="degC" grid_ref="grid_T_3D" > toce_con * e3t </field > 38 <field id="soce_abs" long_name="absolute salinity" standard_name="sea_water_absolute_salinity" unit="1e-3" grid_ref="grid_T_3D"/> 39 <field id="soce_abs_e3t" long_name="absolute salinity (thickness weighted)" unit="1e-3" grid_ref="grid_T_3D" > soce_abs * e3t </field > 33 40 34 41 <field id="toce_e3t_300" field_ref="toce_e3t" unit="degree_C" grid_ref="grid_T_zoom_300" detect_missing_value="true" /> … … 49 56 <field id="ahmt_3d" long_name=" 3D t-eddy viscosity coefficient" unit="m2/s or m4/s" grid_ref="grid_T_3D"/> 50 57 51 <field id="sst" long_name="sea surface temperature" standard_name="sea_surface_temperature" unit="degC" /> 52 <field id="sst2" long_name="square of sea surface temperature" standard_name="square_of_sea_surface_temperature" unit="degC2" > sst * sst </field > 53 <field id="sstmax" long_name="max of sea surface temperature" field_ref="sst" operation="maximum" /> 54 <field id="sstmin" long_name="min of sea surface temperature" field_ref="sst" operation="minimum" /> 55 <field id="sstgrad" long_name="module of sst gradient" unit="degC/m" /> 56 <field id="sstgrad2" long_name="square of module of sst gradient" unit="degC2/m2" /> 57 <field id="sbt" long_name="sea bottom temperature" unit="degC" /> 58 <field id="tosmint" long_name="vertical integral of temperature times density" standard_name="integral_wrt_depth_of_product_of_density_and_potential_temperature" unit="(kg m2) degree_C" /> 59 <field id="sst_wl" long_name="Delta SST of warm layer" unit="degC" /> 60 <field id="sst_cs" long_name="Delta SST of cool skin" unit="degC" /> 61 <field id="temp_3m" long_name="temperature at 3m" unit="degC" /> 62 63 <field id="sss" long_name="sea surface salinity" standard_name="sea_surface_salinity" unit="1e-3" /> 64 <field id="sss2" long_name="square of sea surface salinity" unit="1e-6" > sss * sss </field > 65 <field id="sssmax" long_name="max of sea surface salinity" field_ref="sss" operation="maximum" /> 66 <field id="sssmin" long_name="min of sea surface salinity" field_ref="sss" operation="minimum" /> 67 <field id="sbs" long_name="sea bottom salinity" unit="0.001" /> 68 <field id="somint" long_name="vertical integral of salinity times density" standard_name="integral_wrt_depth_of_product_of_density_and_salinity" unit="(kg m2) x (1e-3)" /> 58 <!-- EOS80 --> 59 <field id="sst_pot" long_name="sea surface potential temperature" standard_name="sea_surface_temperature" unit="degC" /> 60 <field id="sst2_pot" long_name="square of sea surface potential temperature" standard_name="square_of_sea_surface_temperature" unit="degC2" > sst_pot * sst_pot </field > 61 <field id="sstmax_pot" long_name="max of sea surface potential temperature" field_ref="sst_pot" operation="maximum" /> 62 <field id="sstmin_pot" long_name="min of sea surface potential temperature" field_ref="sst_pot" operation="minimum" /> 63 <field id="sstgrad_pot" long_name="module of potential sst gradient" unit="degC/m" /> 64 <field id="sstgrad2_pot" long_name="square of module of potential sst gradient" unit="degC2/m2" /> 65 <field id="sbt_pot" long_name="sea bottom potential temperature" unit="degC" /> 66 <field id="tosmint_pot" long_name="vertical integral of potential temperature times density" standard_name="integral_wrt_depth_of_product_of_density_and_potential_temperature" unit="(kg m2) degree_C" /> 67 <field id="sst_wl_pot" long_name="Delta potential SST of warm layer" unit="degC" /> 68 <field id="sst_cs_pot" long_name="Delta potential SST of cool skin" unit="degC" /> 69 <field id="temp_3m_pot" long_name="potential temperature at 3m" unit="degC" /> 70 71 <field id="sss_pra" long_name="sea surface practical salinity" standard_name="sea_surface_practical_salinity" unit="1e-3" /> 72 <field id="sss2_pra" long_name="square of sea surface practical salinity" unit="1e-6" > sss_pra * sss_pra </field > 73 <field id="sssmax_pra" long_name="max of sea surface practical salinity" field_ref="sss_pra" operation="maximum" /> 74 <field id="sssmin_pra" long_name="min of sea surface practical salinity" field_ref="sss_pra" operation="minimum" /> 75 <field id="sbs_pra" long_name="sea bottom practical salinity" unit="0.001" /> 76 <field id="somint_pra" long_name="vertical integral of practical salinity times density" standard_name="integral_wrt_depth_of_product_of_density_and_practical_salinity" unit="(kg m2) x (1e-3)" /> 77 <!-- TEOS10 --> 78 <field id="sst_con" long_name="sea surface conservative temperature" standard_name="sea_surface_conservative_temperature" unit="degC" /> 79 <field id="sst2_con" long_name="square of sea surface conservative temperature" standard_name="square_of_sea_surface_temperature" unit="degC2" > sst_con * sst_con </field > 80 <field id="sstmax_con" long_name="max of sea surface conservative temperature" field_ref="sst_con" operation="maximum" /> 81 <field id="sstmin_con" long_name="min of sea surface conservative temperature" field_ref="sst_con" operation="minimum" /> 82 <field id="sstgrad_con" long_name="module of conservative sst gradient" unit="degC/m" /> 83 <field id="sstgrad2_con" long_name="square of module of conservative sst gradient" unit="degC2/m2" /> 84 <field id="sbt_con" long_name="sea bottom conservative temperature" unit="degC" /> 85 <field id="tosmint_con" long_name="vertical integral of conservative temperature times density" standard_name="integral_wrt_depth_of_product_of_density_and_conservative_temperature" unit="(kg m2) degree_C" /> 86 <field id="sst_wl_con" long_name="Delta conservative SST of warm layer" unit="degC" /> 87 <field id="sst_cs_con" long_name="Delta conservative SST of cool skin" unit="degC" /> 88 <field id="temp_3m_con" long_name="conservative temperature at 3m" unit="degC" /> 89 90 <field id="sss_abs" long_name="sea surface absolute salinity" standard_name="sea_surface_absolute_salinity" unit="1e-3" /> 91 <field id="sss2_abs" long_name="square of sea surface absolute salinity" unit="1e-6" > sss_abs * sss_abs </field > 92 <field id="sssmax_abs" long_name="max of sea surface absolute salinity" field_ref="sss_abs" operation="maximum" /> 93 <field id="sssmin_abs" long_name="min of sea surface absolute salinity" field_ref="sss_abs" operation="minimum" /> 94 <field id="sbs_abs" long_name="sea bottom absolute salinity" unit="0.001" /> 95 <field id="somint_abs" long_name="vertical integral of absolute salinity times density" standard_name="integral_wrt_depth_of_product_of_density_and_absolute_salinity" unit="(kg m2) x (1e-3)" /> 69 96 70 97 <field id="taubot" long_name="bottom stress module" unit="N/m2" /> … … 85 112 <field id="mldr10_1max" long_name="Max of Mixed Layer Depth (dsigma = 0.01 wrt 10m)" field_ref="mldr10_1" operation="maximum" /> 86 113 <field id="mldr10_1min" long_name="Min of Mixed Layer Depth (dsigma = 0.01 wrt 10m)" field_ref="mldr10_1" operation="minimum" /> 114 <field id="mldzint_1" long_name="Mixed Layer Depth interpolated" standard_name="ocean_mixed_layer_thickness" unit="m" /> 115 <field id="mldzint_2" long_name="Mixed Layer Depth interpolated" standard_name="ocean_mixed_layer_thickness" unit="m" /> 116 <field id="mldzint_3" long_name="Mixed Layer Depth interpolated" standard_name="ocean_mixed_layer_thickness" unit="m" /> 117 <field id="mldzint_4" long_name="Mixed Layer Depth interpolated" standard_name="ocean_mixed_layer_thickness" unit="m" /> 118 <field id="mldzint_5" long_name="Mixed Layer Depth interpolated" standard_name="ocean_mixed_layer_thickness" unit="m" /> 119 <field id="mldhtc_1" long_name="Mixed Layer Depth integrated heat content" standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content" unit="J/m2" /> 120 <field id="mldhtc_2" long_name="Mixed Layer Depth integrated heat content" standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content" unit="J/m2" /> 121 <field id="mldhtc_3" long_name="Mixed Layer Depth integrated heat content" standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content" unit="J/m2" /> 122 <field id="mldhtc_4" long_name="Mixed Layer Depth integrated heat content" standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content" unit="J/m2" /> 123 <field id="mldhtc_5" long_name="Mixed Layer Depth integrated heat content" standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content" unit="J/m2" /> 87 124 <field id="heatc" long_name="Heat content vertically integrated" standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content" unit="J/m2" /> 88 125 <field id="saltc" long_name="Salt content vertically integrated" unit="1e-3*kg/m2" /> … … 360 397 361 398 <!-- sbcssm variables --> 362 <field id="sst_m" unit="degC" /> 363 <field id="sss_m" unit="psu" /> 399 <field id="sst_m_pot" unit="degC" /> 400 <!-- EOS-80 --> 401 <field id="sss_m_pra" unit="psu" /> 402 <!-- TEOS-10 --> 403 <field id="sss_m_abs" unit="psu" /> 404 364 405 <field id="ssu_m" unit="m/s" /> 365 406 <field id="ssv_m" unit="m/s" /> … … 393 434 394 435 436 <field id="uoce2_e3u" long_name="ocean current along i-axis squared (thickness weighted)" unit="m3/s2" grid_ref="grid_U_3D" > uoce * uoce * e3u </field> 395 437 <field id="ssu" long_name="ocean surface current along i-axis" unit="m/s" /> 396 438 <field id="sbu" long_name="ocean bottom current along i-axis" unit="m/s" /> … … 450 492 <field id="voce" long_name="ocean current along j-axis" standard_name="sea_water_y_velocity" unit="m/s" grid_ref="grid_V_3D" /> 451 493 <field id="voce_e3v" long_name="ocean current along j-axis (thickness weighted)" unit="m/s" grid_ref="grid_V_3D" > voce * e3v </field> 494 <field id="voce2_e3v" long_name="ocean current along j-axis squared (thickness weighted)" unit="m3/s2" grid_ref="grid_V_3D" > voce * voce * e3v </field> 452 495 <field id="ssv" long_name="ocean surface current along j-axis" unit="m/s" /> 453 496 <field id="sbv" long_name="ocean bottom current along j-axis" unit="m/s" /> … … 551 594 <field id="ahmf_2d" long_name=" surface f-eddy viscosity coefficient" unit="m2/s or m4/s" /> 552 595 <field id="ahmf_3d" long_name=" 3D f-eddy viscosity coefficient" unit="m2/s or m4/s" grid_ref="grid_T_3D"/> 596 597 <!-- product fields --> 598 <field_group id="diaprod"> 599 <field id="ut" long_name="product_of_sea_water_x_velocity_and_potential_temperature" unit="degree_C m/s" grid_ref="grid_U_3D" /> 600 <field id="ut_e3u" long_name="product_of_sea_water_x_velocity_and_potential_temperature * e3u" unit="degree_C m2/s" grid_ref="grid_U_3D" > ut * e3u </field > 601 <field id="us" long_name="product_of_sea_water_x_velocity_and_salinity" unit="PSU m/s" grid_ref="grid_U_3D" /> 602 <field id="us_e3u" long_name="product_of_sea_water_x_velocity_and_salinity * e3u" unit="PSU m2/s" grid_ref="grid_U_3D" > us * e3u </field > 603 <field id="urhop" long_name="product_of_sea_water_x_velocity_and_potential_density" unit="(kg/m3).(m/s)" grid_ref="grid_U_3D" /> 604 <field id="urhop_e3u" long_name="product_of_sea_water_x_velocity_and_potential_density * e3u" unit="(kg/m3).(m2/s)" grid_ref="grid_U_3D" > urhop * e3u </field > 605 <field id="vt" long_name="product_of_sea_water_y_velocity_and_potential_temperature" unit="degree_C m/s" grid_ref="grid_V_3D" /> 606 <field id="vt_e3v" long_name="product_of_sea_water_y_velocity_and_potential_temperature * e3v" unit="degree_C m2/s" grid_ref="grid_V_3D" > vt * e3v </field > 607 <field id="vs" long_name="product_of_sea_water_y_velocity_and_salinity" unit="PSU m/s" grid_ref="grid_V_3D" /> 608 <field id="vs_e3v" long_name="product_of_sea_water_y_velocity_and_salinity * e3t" unit="PSU m2/s" grid_ref="grid_V_3D" > vs * e3v </field > 609 <field id="vrhop" long_name="product_of_sea_water_y_velocity_and_potential_density" unit="(kg/m3).(m/s)" grid_ref="grid_V_3D" /> 610 <field id="vrhop_e3v" long_name="product_of_sea_water_y_velocity_and_potential_density * e3t" unit="(kg/m3).(m2/s)" grid_ref="grid_V_3D" > vrhop * e3v </field > 611 <field id="wt" long_name="product_of_upward_sea_water_velocity_and_potential_temperature" unit="degree_C m/s" grid_ref="grid_W_3D" /> 612 <field id="ws" long_name="product_of_upward_sea_water_velocity_and_salinity" unit="PSU m/s" grid_ref="grid_W_3D" /> 613 <field id="wrhop" long_name="product_of_upward_sea_water_velocity_and_potential_density" unit="(kg/m3).(m/s)" grid_ref="grid_W_3D" /> 614 <field id="uv" long_name="product_of_sea_water_x_velocity_and_sea_water_y_velocity" unit="m2/s2 " grid_ref="grid_T_3D" /> 615 <field id="uw" long_name="product_of_upward_sea_water_velocity_and_sea_water_x_velocity" unit="m2/s2 " grid_ref="grid_W_3D" /> 616 <field id="vw" long_name="product_of_upward_sea_water_velocity_and_sea_water_y_velocity" unit="m2/s2" grid_ref="grid_W_3D" /> 617 </field_group> 553 618 554 619 <field_group id="scalar" grid_ref="grid_scalar" > … … 587 652 <field id="uoce_e3u_ave_vsum" long_name="Vertical sum of u*e3u" field_ref="uoce_e3u_ave" grid_ref="grid_U_vsum" /> 588 653 <field id="uocetr_vsum_section" long_name="Total 2D transport in i-direction" field_ref="uoce_e3u_ave_vsum" grid_ref="grid_U_scalar" detect_missing_value="true"> this * e2u </field> 589 <field id="uocetr_strait" long_name="Total transport across lines in i-direction" field_ref="uocetr_vsum_section" grid_ref="grid_U_4strait" />590 <field id="u_masstr_strait" long_name="Sea water transport across line in i-direction" field_ref="uocetr_strait" grid_ref="grid_U_4strait_hsum" unit="kg/s"> this * maskMFO_u * $rau0 </field>591 654 592 655 <field id="voce_e3v_ave" long_name="Monthly average of v*e3v" field_ref="voce_e3v" freq_op="1mo" freq_offset="_reset_" > @voce_e3v </field> 593 656 <field id="voce_e3v_ave_vsum" long_name="Vertical sum of v*e3v" field_ref="voce_e3v_ave" grid_ref="grid_V_vsum" /> 594 657 <field id="vocetr_vsum_section" long_name="Total 2D transport of in j-direction" field_ref="voce_e3v_ave_vsum" grid_ref="grid_V_scalar" detect_missing_value="true"> this * e1v </field> 595 <field id="vocetr_strait" long_name="Total transport across lines in j-direction" field_ref="vocetr_vsum_section" grid_ref="grid_V_4strait" /> 596 <field id="v_masstr_strait" long_name="Sea water transport across line in j-direction" field_ref="vocetr_strait" grid_ref="grid_V_4strait_hsum" unit="kg/s"> this * maskMFO_v * $rau0 </field> 597 598 <field id="masstr_strait" long_name="Sea water transport across line" grid_ref="grid_4strait" > u_masstr_strait + v_masstr_strait </field> 658 599 659 </field_group> 600 660 … … 897 957 898 958 <field_group id="mooring" > 899 <field field_ref="toce" name="thetao" long_name="sea_water_potential_temperature" /> 900 <field field_ref="soce" name="so" long_name="sea_water_salinity" /> 959 <!-- EOS80 --> 960 <field field_ref="toce_pot" name="thetao_pot" long_name="sea_water_potential_temperature" /> 961 <field field_ref="soce_pra" name="so_pra" long_name="sea_water_practical_salinity" /> 962 <!-- TEOS10 --> 963 <field field_ref="toce_con" name="thetao_con" long_name="sea_water_conservative_temperature" /> 964 <field field_ref="soce_abs" name="so_con" long_name="sea_water_absolute_salinity" /> 965 901 966 <field field_ref="uoce" name="uo" long_name="sea_water_x_velocity" /> 902 967 <field field_ref="voce" name="vo" long_name="sea_water_y_velocity" /> … … 904 969 <field field_ref="avt" name="difvho" long_name="ocean_vertical_heat_diffusivity" /> 905 970 <field field_ref="avm" name="difvmo" long_name="ocean_vertical_momentum_diffusivity" /> 906 907 <field field_ref="sst" name="tos" long_name="sea_surface_temperature" /> 908 <field field_ref="sst2" name="tossq" long_name="square_of_sea_surface_temperature" /> 909 <field field_ref="sstgrad" name="tosgrad" long_name="module_of_sea_surface_temperature_gradient" /> 910 <field field_ref="sss" name="sos" long_name="sea_surface_salinity" /> 971 972 <!-- EOS80 --> 973 <field field_ref="sst_pot" name="tos_pot" long_name="sea_surface_potential_temperature" /> 974 <field field_ref="sst2_pot" name="tossq_pot" long_name="square_of_sea_surface_potential_temperature" /> 975 <field field_ref="sstgrad_pot" name="tosgrad_pot" long_name="module_of_sea_surface_potential_temperature_gradient" /> 976 <field field_ref="sss_pra" name="sos_pra" long_name="sea_surface_absolute_salinity" /> 977 <!-- TEOS10 --> 978 <field field_ref="sst_con" name="tos_con" long_name="sea_surface_conservative_temperature" /> 979 <field field_ref="sst2_con" name="tossq_con" long_name="square_of_sea_surface_conservative_temperature" /> 980 <field field_ref="sstgrad_con" name="tosgrad_con" long_name="module_of_sea_surface_conservative_temperature_gradient" /> 981 <field field_ref="sss_abs" name="sos" long_name="sea_surface_absolute_salinity" /> 982 911 983 <field field_ref="ssh" name="zos" long_name="sea_surface_height_above_geoid" /> 912 984 <field field_ref="empmr" name="wfo" long_name="water_flux_into_sea_water" /> … … 931 1003 932 1004 <field_group id="groupT" > 933 <field field_ref="toce" name="thetao" long_name="sea_water_potential_temperature" /> 934 <field field_ref="soce" name="so" long_name="sea_water_salinity" /> 935 <field field_ref="sst" name="tos" long_name="sea_surface_temperature" /> 936 <field field_ref="sst2" name="tossq" long_name="square_of_sea_surface_temperature" /> 937 <field field_ref="sss" name="sos" long_name="sea_surface_salinity" /> 1005 <!-- EOS80 --> 1006 <field field_ref="toce_pot" name="thetao_pot" long_name="sea_water_potential_temperature" /> 1007 <field field_ref="soce_pra" name="so_pra" long_name="sea_water_practical_salinity" /> 1008 <field field_ref="sst_pot" name="tos_pot" long_name="sea_surface_potential_temperature" /> 1009 <field field_ref="sst2_pot" name="tossq_pot" long_name="square_of_sea_surface_potential_temperature" /> 1010 <field field_ref="sss_pra" name="sos_pra" long_name="sea_surface_practical_salinity" /> 1011 <!-- TEOS10 --> 1012 <field field_ref="toce_con" name="thetao_con" long_name="sea_water_conservative_temperature" /> 1013 <field field_ref="soce_abs" name="so_abs" long_name="sea_water_absolute_salinity" /> 1014 <field field_ref="sst_con" name="tos_con" long_name="sea_surface_conservative_temperature" /> 1015 <field field_ref="sst2_con" name="tossq_con" long_name="square_of_sea_surface_conservative_temperature" /> 1016 <field field_ref="sss_abs" name="sos_abs" long_name="sea_surface_absolute_salinity" /> 1017 938 1018 <field field_ref="ssh" name="zos" long_name="sea_surface_height_above_geoid" /> 939 1019 <field field_ref="empmr" name="wfo" long_name="water_flux_into_sea_water" /> … … 967 1047 </field_group> 968 1048 1049 <!-- TMB diagnostic output --> 1050 <field_group id="1h_grid_T_tmb" grid_ref="grid_T_2D" operation="instant"> 1051 <!-- EOS80 --> 1052 <field id="top_temp_pot" name="votemper_top_pot" unit="degC" /> 1053 <field id="mid_temp_pot" name="votemper_mid_pot" unit="degC" /> 1054 <field id="bot_temp_pot" name="votemper_bot_pot" unit="degC" /> 1055 <field id="top_sal_pra" name="vosaline_top_pra" unit="psu" /> 1056 <field id="mid_sal_pra" name="vosaline_mid_pra" unit="psu" /> 1057 <field id="bot_sal_pra" name="vosaline_bot_pra" unit="psu" /> 1058 <!-- TEOS10 --> 1059 <field id="top_temp_con" name="votemper_top_con" unit="degC" /> 1060 <field id="mid_temp_con" name="votemper_mid_con" unit="degC" /> 1061 <field id="bot_temp_con" name="votemper_bot_con" unit="degC" /> 1062 <field id="top_sal_abs" name="vosaline_top_abs" unit="psu" /> 1063 <field id="mid_sal_abs" name="vosaline_mid_abs" unit="psu" /> 1064 <field id="bot_sal_abs" name="vosaline_bot_abs" unit="psu" /> 1065 1066 <field id="sshnmasked" name="sossheig" unit="m" /> 1067 </field_group> 1068 969 1069 <field_group id="1h_grid_U_tmb" grid_ref="grid_U_2D" operation="instant"> 970 1070 <field id="top_u" name="vozocrtx_top" unit="m/s" /> … … 983 1083 <!-- 25h diagnostic output --> 984 1084 <field_group id="25h_grid_T" grid_ref="grid_T_3D" operation="instant"> 985 <field id="temper25h" name="potential temperature 25h mean" unit="degC" /> 1085 <!-- EOS80 --> 1086 <field id="temper25h_pot" name="potential temperature 25h mean" unit="degC" /> 986 1087 <field id="tempis25h" name="insitu temperature 25h mean" unit="degC" /> 987 <field id="salin25h" name="salinity 25h mean" unit="psu" /> 1088 <field id="salin25h_pra" name="practical salinity 25h mean" unit="psu" /> 1089 <!-- TEOS10 --> 1090 <field id="temper25h_con" name="conservative temperature 25h mean" unit="degC" /> 1091 <field id="tempis25h" name="insitu temperature 25h mean" unit="degC" /> 1092 <field id="salin25h_abs" name="absolute salinity 25h mean" unit="psu" /> 1093 988 1094 <field id="ssh25h" name="sea surface height 25h mean" grid_ref="grid_T_2D" unit="m" /> 989 1095 </field_group> -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/cfgs/SHARED/grid_def_nemo.xml
r12331 r13590 20 20 <domain domain_ref="grid_T" /> 21 21 <axis axis_ref="deptht" /> 22 </grid>23 <!-- -->24 <grid id="grid_T_3DS" >25 <domain domain_ref="grid_T" />26 <axis axis_ref="profsed" />27 22 </grid> 28 23 <!-- --> … … 67 62 </grid> 68 63 <!-- --> 69 70 71 <grid id="grid_znl_T_2D">72 <domain domain_ref="gznl" />73 <axis axis_ref="basin" />74 </grid>75 76 <grid id="grid_znl_T_3D">77 <domain domain_ref="gznl" />78 <axis axis_ref="deptht" />79 <axis axis_ref="basin" />80 </grid>81 82 <grid id="grid_znl_W_3D">83 <domain domain_ref="gznl" />84 <axis axis_ref="depthw" />85 <axis axis_ref="basin" />86 </grid>87 88 <grid id="grid_ptr_T_2D">89 <domain domain_ref="ptr" />90 <axis axis_ref="basin" />91 </grid>92 93 <grid id="grid_ptr_T_3D">94 <domain domain_ref="ptr" />95 <axis axis_ref="deptht" />96 <axis axis_ref="basin" />97 </grid>98 99 <grid id="grid_ptr_W_3D">100 <domain domain_ref="ptr" />101 <axis axis_ref="depthw" />102 <axis axis_ref="basin" />103 </grid>104 105 64 <grid id="grid_ptr_W_GLO"> 106 65 <domain domain_ref="ptr" /> … … 155 114 </grid> 156 115 157 <!-- for ORCA2 grid -->158 <grid id="cumul_U">159 <axis axis_ref="cumul_U" n_glo="182" >160 <reduce_domain local="true" operation="sum" direction="jDir" />161 <reduce_axis operation="sum" />162 </axis>163 <axis axis_ref="depthu" />164 </grid>165 166 <!-- for eORCA1 grid167 168 <grid id="cumul_U">169 <axis axis_ref="cumul_U" n_glo="362" >170 <reduce_domain local="true" operation="sum" direction="jDir" />171 <reduce_axis operation="sum" />172 </axis>173 <axis axis_ref="depthu" />174 </grid>175 176 -->177 178 116 179 117 <grid id="grid_T_zoom_300"> … … 192 130 </grid> 193 131 194 <grid id="grid_U_4strait">195 <domain domain_ref="grid_U" />196 <axis axis_ref="section">197 <duplicate_scalar/>198 </axis>199 </grid>200 201 <grid id="grid_V_4strait">202 <domain domain_ref="grid_V" />203 <axis axis_ref="section">204 <duplicate_scalar/>205 </axis>206 </grid>207 208 <grid id="grid_U_4strait_hsum">209 <scalar >210 <reduce_domain operation="sum" local="true"/>211 <reduce_scalar operation="sum" />212 </scalar>213 <axis axis_ref="section"/>214 </grid>215 216 <grid id="grid_V_4strait_hsum">217 <scalar >218 <reduce_domain operation="sum" local="true"/>219 <reduce_scalar operation="sum" />220 </scalar>221 <axis axis_ref="section"/>222 </grid>223 224 <grid id="grid_4strait">225 <axis axis_ref="section"/>226 </grid>227 228 <grid id="grid_U_4strait_ice">229 <domain domain_ref="grid_U" />230 <axis axis_ref="section_ice">231 <duplicate_scalar/>232 </axis>233 </grid>234 235 <grid id="grid_V_4strait_ice">236 <domain domain_ref="grid_V" />237 <axis axis_ref="section_ice">238 <duplicate_scalar/>239 </axis>240 </grid>241 242 <grid id="grid_U_4strait_ice_hsum">243 <scalar >244 <reduce_domain operation="sum" local="true"/>245 <reduce_scalar operation="sum" />246 </scalar>247 <axis axis_ref="section_ice"/>248 </grid>249 250 <grid id="grid_V_4strait_ice_hsum">251 <scalar >252 <reduce_domain operation="sum" local="true"/>253 <reduce_scalar operation="sum" />254 </scalar>255 <axis axis_ref="section_ice"/>256 </grid>257 258 <grid id="grid_4strait_ice">259 <axis axis_ref="section_ice"/>260 </grid>261 262 132 <!-- scalars --> 263 133 <grid id="grid_scalar" > 264 134 <scalar/> 265 135 </grid> 266 267 </grid_definition> 268 136 <!-- --> 137 <grid id="grid_EqT" > 138 <domain id="EqT" /> 139 </grid> 140 <!-- --> 141 <grid id="gznl_T_2D"> 142 <domain id="ptr" /> 143 </grid> 144 <!-- --> 145 <grid id="gznl_T_3D"> 146 <domain id="ptr" /> 147 <axis axis_ref="deptht" /> 148 </grid> 149 <!-- --> 150 <grid id="gznl_W_2D"> 151 <domain id="ptr" /> 152 </grid> 153 <!-- --> 154 <grid id="gznl_W_3D"> 155 <domain id="ptr" /> 156 <axis axis_ref="depthw" /> 157 </grid> 158 <grid id="vert_sum"> 159 <domain id="grid_T"/> 160 <scalar> 161 <reduce_axis operation="sum" /> 162 </scalar> 163 </grid> 164 <grid id="zoom_300"> 165 <domain id="grid_T" /> 166 <axis axis_ref="deptht300"/> 167 </grid> 168 <grid id="zoom_300_sum"> 169 <domain id="grid_T" /> 170 <scalar> 171 <reduce_axis operation="sum" /> 172 </scalar> 173 </grid> 174 <grid id="grid_T_surface_extract"> 175 <domain id="grid_T" /> 176 <axis axis_ref="deptht_surface" /> 177 </grid> 178 179 </grid_definition> 180 -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/cfgs/SHARED/namelist_ref
r13587 r13590 67 67 ln_xios_read = .FALSE. ! use XIOS to read restart file (only for a single file restart) 68 68 nn_wxios = 0 ! use XIOS to write restart file 0 - no, 1 - single file output, 2 - multiple file output 69 ln_rst_eos = .TRUE. ! check if the equation of state used to produce the restart is consistent with model 69 70 / 70 71 !----------------------------------------------------------------------- … … 745 746 &nameos ! ocean Equation Of Seawater (default: NO selection) 746 747 !----------------------------------------------------------------------- 747 ln_teos10 = . false. ! = Use TEOS-10748 ln_teos10 = .true. ! = Use TEOS-10 748 749 ln_eos80 = .false. ! = Use EOS80 749 750 ln_seos = .false. ! = Use S-EOS (simplified Eq.) -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/ICE/icerst.F90
r13587 r13590 23 23 USE in_out_manager ! I/O manager 24 24 USE iom ! I/O manager library 25 USE ioipsl, ONLY : ju2ymds ! for calendar 25 26 USE lib_mpp ! MPP library 26 27 USE lib_fortran ! fortran utilities (glob_sum + no signed zero) … … 48 49 INTEGER, INTENT(in) :: kt ! number of iteration 49 50 ! 51 INTEGER :: iyear, imonth, iday 52 REAL (wp) :: zsec 53 REAL (wp) :: zfjulday 50 54 CHARACTER(len=20) :: clkt ! ocean time-step define as a character 51 55 CHARACTER(len=50) :: clname ! ice output restart file name … … 63 67 IF( nitrst <= nitend .AND. nitrst > 0 ) THEN 64 68 ! beware of the format used to write kt (default is i8.8, that should be large enough...) 65 IF( nitrst > 99999999 ) THEN ; WRITE(clkt, * ) nitrst 66 ELSE ; WRITE(clkt, '(i8.8)') nitrst 69 IF ( ln_rstdate ) THEN 70 zfjulday = fjulday + (2*nn_fsbc+1)*rdt / rday 71 IF( ABS(zfjulday - REAL(NINT(zfjulday),wp)) < 0.1 / rday ) zfjulday = REAL(NINT(zfjulday),wp) ! avoid truncation error 72 CALL ju2ymds( zfjulday, iyear, imonth, iday, zsec ) 73 WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 74 ELSE 75 IF( nitrst > 99999999 ) THEN ; WRITE(clkt, * ) nitrst 76 ELSE ; WRITE(clkt, '(i8.8)') nitrst 77 ENDIF 67 78 ENDIF 68 79 ! create the file -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/ICE/icewri.F90
r13587 r13590 104 104 IF( iom_use('snwthic' ) ) CALL iom_put( 'snwthic', hm_s * zmsk00 ) ! snw thickness 105 105 IF( iom_use('icebrv' ) ) CALL iom_put( 'icebrv' , bvm_i* 100. * zmsk00 ) ! brine volume 106 IF( iom_use('iceage' ) ) CALL iom_put( 'iceage' , om_i / rday * zmsk15 + zmiss_val * ( 1._wp - zmsk15 ) )! ice age106 IF( iom_use('iceage' ) ) CALL iom_put( 'iceage' , om_i / rday * zmsk15 ) ! ice age 107 107 IF( iom_use('icehnew' ) ) CALL iom_put( 'icehnew', ht_i_new ) ! new ice thickness formed in the leads 108 108 IF( iom_use('snwvolu' ) ) CALL iom_put( 'snwvolu', vt_s * zmsksn ) ! snow volume … … 119 119 IF( iom_use('icevlid' ) ) CALL iom_put( 'icevlid', vt_il * zmsk00 ) ! melt pond lid total volume per unit area 120 120 ! salt 121 IF( iom_use('icesalt' ) ) CALL iom_put( 'icesalt', sm_i * zmsk00 + zmiss_val * ( 1._wp - zmsk00 ) )! mean ice salinity121 IF( iom_use('icesalt' ) ) CALL iom_put( 'icesalt', sm_i * zmsk00 ) ! mean ice salinity 122 122 IF( iom_use('icesalm' ) ) CALL iom_put( 'icesalm', st_i * rhoi * 1.0e-3 * zmsk00 ) ! Mass of salt in sea ice per cell area 123 123 ! heat 124 IF( iom_use('icetemp' ) ) CALL iom_put( 'icetemp', ( tm_i - rt0 ) * zmsk00 + zmiss_val * ( 1._wp - zmsk00 ) )! ice mean temperature125 IF( iom_use('snwtemp' ) ) CALL iom_put( 'snwtemp', ( tm_s - rt0 ) * zmsksn + zmiss_val * ( 1._wp - zmsksn ) )! snw mean temperature126 IF( iom_use('icettop' ) ) CALL iom_put( 'icettop', ( tm_su - rt0 ) * zmsk00 + zmiss_val * ( 1._wp - zmsk00 ) )! temperature at the ice surface127 IF( iom_use('icetbot' ) ) CALL iom_put( 'icetbot', ( t_bo - rt0 ) * zmsk00 + zmiss_val * ( 1._wp - zmsk00 ) )! temperature at the ice bottom128 IF( iom_use('icetsni' ) ) CALL iom_put( 'icetsni', ( tm_si - rt0 ) * zmsk00 + zmiss_val * ( 1._wp - zmsk00 ) )! temperature at the snow-ice interface124 IF( iom_use('icetemp' ) ) CALL iom_put( 'icetemp', ( tm_i - rt0 ) * zmsk00 ) ! ice mean temperature 125 IF( iom_use('snwtemp' ) ) CALL iom_put( 'snwtemp', ( tm_s - rt0 ) * zmsksn ) ! snw mean temperature 126 IF( iom_use('icettop' ) ) CALL iom_put( 'icettop', ( tm_su - rt0 ) * zmsk00 ) ! temperature at the ice surface 127 IF( iom_use('icetbot' ) ) CALL iom_put( 'icetbot', ( t_bo - rt0 ) * zmsk00 ) ! temperature at the ice bottom 128 IF( iom_use('icetsni' ) ) CALL iom_put( 'icetsni', ( tm_si - rt0 ) * zmsk00 ) ! temperature at the snow-ice interface 129 129 IF( iom_use('icehc' ) ) CALL iom_put( 'icehc' , -et_i * zmsk00 ) ! ice heat content 130 130 IF( iom_use('snwhc' ) ) CALL iom_put( 'snwhc' , -et_s * zmsksn ) ! snow heat content … … 153 153 IF( iom_use('icemask_cat' ) ) CALL iom_put( 'icemask_cat' , zmsk00l ) ! ice mask 0% 154 154 IF( iom_use('iceconc_cat' ) ) CALL iom_put( 'iceconc_cat' , a_i * zmsk00l ) ! area for categories 155 IF( iom_use('icethic_cat' ) ) CALL iom_put( 'icethic_cat' , h_i * zmsk00l + zmiss_val * ( 1._wp - zmsk00l )) ! thickness for categories156 IF( iom_use('snwthic_cat' ) ) CALL iom_put( 'snwthic_cat' , h_s * zmsksnl + zmiss_val * ( 1._wp - zmsksnl )) ! snow depth for categories157 IF( iom_use('icesalt_cat' ) ) CALL iom_put( 'icesalt_cat' , s_i * zmsk00l + zmiss_val * ( 1._wp - zmsk00l )) ! salinity for categories158 IF( iom_use('iceage_cat' ) ) CALL iom_put( 'iceage_cat' , o_i / rday * zmsk00l + zmiss_val * ( 1._wp - zmsk00l )) ! ice age155 IF( iom_use('icethic_cat' ) ) CALL iom_put( 'icethic_cat' , h_i * zmsk00l ) ! thickness for categories 156 IF( iom_use('snwthic_cat' ) ) CALL iom_put( 'snwthic_cat' , h_s * zmsksnl ) ! snow depth for categories 157 IF( iom_use('icesalt_cat' ) ) CALL iom_put( 'icesalt_cat' , s_i * zmsk00l ) ! salinity for categories 158 IF( iom_use('iceage_cat' ) ) CALL iom_put( 'iceage_cat' , o_i / rday * zmsk00l ) ! ice age 159 159 IF( iom_use('icetemp_cat' ) ) CALL iom_put( 'icetemp_cat' , ( SUM( t_i, dim=3 ) * r1_nlay_i - rt0 ) & 160 & * zmsk00l + zmiss_val * ( 1._wp - zmsk00l )) ! ice temperature160 & * zmsk00l ) ! ice temperature 161 161 IF( iom_use('snwtemp_cat' ) ) CALL iom_put( 'snwtemp_cat' , ( SUM( t_s, dim=3 ) * r1_nlay_s - rt0 ) & 162 & * zmsksnl + zmiss_val * ( 1._wp - zmsksnl )) ! snow temperature163 IF( iom_use('icettop_cat' ) ) CALL iom_put( 'icettop_cat' , ( t_su - rt0 ) * zmsk00l + zmiss_val * ( 1._wp - zmsk00l )) ! surface temperature164 IF( iom_use('icebrv_cat' ) ) CALL iom_put( 'icebrv_cat' , bv_i * 100. * zmsk00l + zmiss_val * ( 1._wp - zmsk00l )) ! brine volume162 & * zmsksnl ) ! snow temperature 163 IF( iom_use('icettop_cat' ) ) CALL iom_put( 'icettop_cat' , ( t_su - rt0 ) * zmsk00l ) ! surface temperature 164 IF( iom_use('icebrv_cat' ) ) CALL iom_put( 'icebrv_cat' , bv_i * 100. * zmsk00l ) ! brine volume 165 165 IF( iom_use('iceapnd_cat' ) ) CALL iom_put( 'iceapnd_cat' , a_ip * zmsk00l ) ! melt pond frac for categories 166 166 IF( iom_use('icehpnd_cat' ) ) CALL iom_put( 'icehpnd_cat' , h_ip * zmsk00l + zmiss_val * ( 1._wp - zmsk00l ) ) ! melt pond thickness for categories -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/DIA/diawri.F90
r13587 r13590 49 49 USE iom ! 50 50 USE ioipsl ! 51 51 USE eosbn2 52 52 #if defined key_si3 53 53 USE ice … … 113 113 REAL(wp), DIMENSION(jpi,jpj) :: z2d ! 2D workspace 114 114 REAL(wp), DIMENSION(jpi,jpj,jpk) :: z3d ! 3D workspace 115 CHARACTER(len=4),SAVE :: ttype , stype ! temperature and salinity type 115 116 !!---------------------------------------------------------------------- 116 117 ! 118 IF( kt == nit000 ) THEN 119 IF( ln_TEOS10 ) THEN 120 IF ( iom_use("toce_pot") .OR. iom_use("soce_pra") .OR. iom_use("sst_pot") .OR. iom_use("sss_pra") & 121 & .OR. iom_use("sbt_pot") .OR. iom_use("sbs_pra") .OR. iom_use("sstgrad_pot") .OR. iom_use("sstgrad2_pot") & 122 & .OR. iom_use("tosmint_pot") .OR. iom_use("somint_pra")) THEN 123 CALL ctl_stop( 'diawri: potential temperature and practical salinity not available with ln_TEOS10' ) 124 ELSE 125 ttype='con' ; stype='abs' ! teos-10 using conservative temperature and absolute salinity 126 ENDIF 127 ELSE IF( ln_EOS80 ) THEN 128 IF ( iom_use("toce_con") .OR. iom_use("soce_abs") .OR. iom_use("sst_con") .OR. iom_use("sss_abs") & 129 & .OR. iom_use("sbt_con") .OR. iom_use("sbs_abs") .OR. iom_use("sstgrad_con") .OR. iom_use("sstgrad2_con") & 130 & .OR. iom_use("tosmint_con") .OR. iom_use("somint_abs")) THEN 131 CALL ctl_stop( 'diawri: conservative temperature and absolute salinity not available with ln_EOS80' ) 132 ELSE 133 ttype='pot' ; stype='pra' ! eos-80 using potential temperature and practical salinity 134 ENDIF 135 ELSE IF ( ln_SEOS) THEN 136 ttype='seos' ; stype='seos' ! seos using Simplified Equation of state 137 ENDIF 138 ENDIF 139 117 140 IF( ln_timing ) CALL timing_start('dia_wri') 118 141 ! … … 144 167 CALL iom_put( "wetdep" , ht_0(:,:) + sshn(:,:) ) 145 168 146 CALL iom_put( "toce ", tsn(:,:,:,jp_tem) ) ! 3D temperature147 CALL iom_put( "sst ", tsn(:,:,1,jp_tem) ) ! surface temperature148 IF ( iom_use("sbt ") ) THEN169 CALL iom_put( "toce_"//ttype, tsn(:,:,:,jp_tem) ) ! 3D temperature 170 CALL iom_put( "sst_"//ttype, tsn(:,:,1,jp_tem) ) ! surface temperature 171 IF ( iom_use("sbt_"//ttype) ) THEN 149 172 DO jj = 1, jpj 150 173 DO ji = 1, jpi … … 153 176 END DO 154 177 END DO 155 CALL iom_put( "sbt ", z2d ) ! bottom temperature178 CALL iom_put( "sbt_"//ttype, z2d ) ! bottom temperature 156 179 ENDIF 157 180 158 CALL iom_put( "soce ", tsn(:,:,:,jp_sal) ) ! 3D salinity159 CALL iom_put( "sss ", tsn(:,:,1,jp_sal) ) ! surface salinity160 IF ( iom_use("sbs ") ) THEN181 CALL iom_put( "soce_"//stype, tsn(:,:,:,jp_sal) ) ! 3D salinity 182 CALL iom_put( "sss_"//stype, tsn(:,:,1,jp_sal) ) ! surface salinity 183 IF ( iom_use("sbs_"//stype) ) THEN 161 184 DO jj = 1, jpj 162 185 DO ji = 1, jpi … … 165 188 END DO 166 189 END DO 167 CALL iom_put( "sbs ", z2d ) ! bottom salinity190 CALL iom_put( "sbs_"//stype, z2d ) ! bottom salinity 168 191 ENDIF 169 192 … … 233 256 IF( iom_use('logavs') ) CALL iom_put( "logavs", LOG( MAX( 1.e-20_wp, avs(:,:,:) ) ) ) 234 257 235 IF ( iom_use("sstgrad ") .OR. iom_use("sstgrad2") ) THEN258 IF ( iom_use("sstgrad_"//ttype) .OR. iom_use("sstgrad2_"//ttype) ) THEN 236 259 DO jj = 2, jpjm1 ! sst gradient 237 260 DO ji = fs_2, fs_jpim1 ! vector opt. … … 244 267 END DO 245 268 CALL lbc_lnk( 'diawri', z2d, 'T', 1. ) 246 CALL iom_put( "sstgrad2 ", z2d ) ! square of module of sst gradient269 CALL iom_put( "sstgrad2_"//ttype, z2d ) ! square of module of sst gradient 247 270 z2d(:,:) = SQRT( z2d(:,:) ) 248 CALL iom_put( "sstgrad ", z2d ) ! module of sst gradient271 CALL iom_put( "sstgrad_"//ttype , z2d ) ! module of sst gradient 249 272 ENDIF 250 273 … … 365 388 ENDIF 366 389 367 IF( iom_use("tosmint ") ) THEN390 IF( iom_use("tosmint_"//ttype) ) THEN 368 391 z2d(:,:) = 0._wp 369 392 DO jk = 1, jpkm1 … … 375 398 END DO 376 399 CALL lbc_lnk( 'diawri', z2d, 'T', -1. ) 377 CALL iom_put( "tosmint ", rau0 * z2d ) ! Vertical integral of temperature378 ENDIF 379 IF( iom_use("somint ") ) THEN400 CALL iom_put( "tosmint_"//ttype, rau0 * z2d ) ! Vertical integral of temperature 401 ENDIF 402 IF( iom_use("somint_"//stype) ) THEN 380 403 z2d(:,:)=0._wp 381 404 DO jk = 1, jpkm1 … … 387 410 END DO 388 411 CALL lbc_lnk( 'diawri', z2d, 'T', -1. ) 389 CALL iom_put( "somint ", rau0 * z2d ) ! Vertical integral of salinity412 CALL iom_put( "somint_"//stype, rau0 * z2d ) ! Vertical integral of salinity 390 413 ENDIF 391 414 … … 930 953 CALL iom_rstput( 0, 0, inum, 'sdvecrtz', wsd ) ! now StokesDrift k-velocity 931 954 ENDIF 932 933 955 #if defined key_si3 934 956 IF( nn_ice == 2 ) THEN ! condition needed in case agrif + ice-model but no-ice in child grid -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/DOM/domain.F90
r13587 r13590 292 292 & nn_it000, nn_itend , nn_date0 , nn_time0 , nn_leapy , nn_istate , & 293 293 & nn_stock, nn_write , ln_mskland , ln_clobber , nn_chunksz, nn_euler , & 294 & ln_cfmeta, ln_iscpl, ln_xios_read, nn_wxios 294 & ln_cfmeta, ln_iscpl, ln_xios_read, nn_wxios, ln_rstdate, ln_rst_eos 295 295 296 NAMELIST/namdom/ ln_linssh, rn_isfhmin, rn_rdt, rn_atfp, ln_crs, ln_meshmask 296 297 #if defined key_netcdf4 … … 340 341 #endif 341 342 WRITE(numout,*) ' mask land points ln_mskland = ', ln_mskland 343 WRITE(numout,*) ' date-stamp restart files ln_rstdate = ', ln_rstdate 342 344 WRITE(numout,*) ' additional CF standard metadata ln_cfmeta = ', ln_cfmeta 343 345 WRITE(numout,*) ' overwrite an existing file ln_clobber = ', ln_clobber 344 346 WRITE(numout,*) ' NetCDF chunksize (bytes) nn_chunksz = ', nn_chunksz 345 347 WRITE(numout,*) ' IS coupling at the restart step ln_iscpl = ', ln_iscpl 348 WRITE(numout,*) ' check restart equation of state ln_rst_eos = ', ln_rst_eos 349 346 350 IF( TRIM(Agrif_CFixed()) == '0' ) THEN 347 351 WRITE(numout,*) ' READ restart for a single file using XIOS ln_xios_read =', ln_xios_read -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/DOM/dommsk.F90
r13587 r13590 32 32 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 33 33 USE lib_mpp ! Massively Parallel Processing library 34 USE iom ! For shlat2d 35 USE fldread ! for sn_shlat2d 34 36 35 37 IMPLICIT NONE … … 93 95 INTEGER :: ios, inum 94 96 !! 95 NAMELIST/namlbc/ rn_shlat, ln_vorlat 97 REAL(wp) :: zshlat !: locally modified shlat for some strait 98 REAL(wp), ALLOCATABLE, DIMENSION(:,:) :: zshlat2d 99 LOGICAL :: ln_shlat2d 100 CHARACTER(len = 256) :: cn_shlat2d_file, cn_shlat2d_var 101 !! 102 NAMELIST/namlbc/ rn_shlat, ln_vorlat, ln_shlat2d, cn_shlat2d_file, cn_shlat2d_var 96 103 NAMELIST/nambdy/ ln_bdy ,nb_bdy, ln_coords_file, cn_coords_file, & 97 104 & ln_mask_file, cn_mask_file, cn_dyn2d, nn_dyn2d_dta, & … … 120 127 ! 121 128 IF(lwp) WRITE(numout,*) 122 IF ( rn_shlat == 0. ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral free-slip' 123 ELSEIF ( rn_shlat == 2. ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral no-slip' 124 ELSEIF ( 0. < rn_shlat .AND. rn_shlat < 2. ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral partial-slip' 125 ELSEIF ( 2. < rn_shlat ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral strong-slip' 129 130 IF ( ln_shlat2d ) THEN 131 IF(lwp) WRITE(numout,*) ' READ shlat as a 2D coefficient in a file ' 132 ALLOCATE( zshlat2d(jpi,jpj) ) 133 CALL iom_open(TRIM(cn_shlat2d_file), inum) 134 CALL iom_get (inum, jpdom_data, TRIM(cn_shlat2d_var), zshlat2d, 1) ! 135 CALL iom_close(inum) 126 136 ELSE 127 CALL ctl_stop( 'dom_msk: wrong value for rn_shlat (i.e. a negalive value). We stop.' ) 137 IF ( rn_shlat == 0. ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral free-slip' 138 ELSEIF ( rn_shlat == 2. ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral no-slip' 139 ELSEIF ( 0. < rn_shlat .AND. rn_shlat < 2. ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral partial-slip' 140 ELSEIF ( 2. < rn_shlat ) THEN ; IF(lwp) WRITE(numout,*) ' ==>>> ocean lateral strong-slip' 141 ELSE 142 CALL ctl_stop( 'dom_msk: wrong value for rn_shlat (i.e. a negalive value). We stop.' ) 143 ENDIF 128 144 ENDIF 129 145 … … 240 256 ! Lateral boundary conditions on velocity (modify fmask) 241 257 ! --------------------------------------- 242 IF( rn_shlat /= 0 ) THEN ! Not free-slip lateral boundary condition258 IF( rn_shlat /= 0 .or. ln_shlat2d ) THEN ! Not free-slip lateral boundary condition everywhere 243 259 ! 244 260 DO jk = 1, jpk 245 DO jj = 2, jpjm1 246 DO ji = fs_2, fs_jpim1 ! vector opt. 247 IF( fmask(ji,jj,jk) == 0._wp ) THEN 248 fmask(ji,jj,jk) = rn_shlat * MIN( 1._wp , MAX( umask(ji,jj,jk), umask(ji,jj+1,jk), & 249 & vmask(ji,jj,jk), vmask(ji+1,jj,jk) ) ) 250 ENDIF 261 IF ( ln_shlat2d ) THEN 262 DO jj = 2, jpjm1 263 DO ji = fs_2, fs_jpim1 ! vector opt. 264 IF( fmask(ji,jj,jk) == 0._wp ) THEN 265 fmask(ji,jj,jk) = zshlat2d(ji,jj) * MIN( 1._wp , MAX( umask(ji,jj,jk), umask(ji,jj+1,jk), & 266 & vmask(ji,jj,jk), vmask(ji+1,jj,jk) ) ) 267 ENDIF 268 END DO 251 269 END DO 252 END DO 270 ELSE 271 DO jj = 2, jpjm1 272 DO ji = fs_2, fs_jpim1 ! vector opt. 273 IF( fmask(ji,jj,jk) == 0._wp ) THEN 274 fmask(ji,jj,jk) = rn_shlat * MIN( 1._wp , MAX( umask(ji,jj,jk), umask(ji,jj+1,jk), & 275 & vmask(ji,jj,jk), vmask(ji+1,jj,jk) ) ) 276 ENDIF 277 END DO 278 END DO 279 ENDIF 253 280 DO jj = 2, jpjm1 254 281 IF( fmask(1,jj,jk) == 0._wp ) THEN … … 277 304 END DO 278 305 ! 306 IF( ln_shlat2d ) DEALLOCATE( zshlat2d ) 307 ! 279 308 CALL lbc_lnk( 'dommsk', fmask, 'F', 1._wp ) ! Lateral boundary conditions on fmask 280 309 ! … … 284 313 285 314 ! User defined alteration of fmask (use to reduce ocean transport in specified straits) 315 ! Only call if we are not using the shlat2d option. 286 316 ! -------------------------------- 287 317 ! 288 CALL usr_def_fmask( cn_cfg, nn_cfg, fmask ) 318 IF ( .not. ln_shlat2d ) THEN 319 CALL usr_def_fmask( cn_cfg, nn_cfg, fmask ) 320 ENDIF 289 321 ! 290 322 END SUBROUTINE dom_msk -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/ICB/icbrst.F90
r13587 r13590 25 25 USE netcdf ! netcdf routines for IO 26 26 USE iom 27 USE ioipsl, ONLY : ju2ymds ! for calendar 27 28 USE icb_oce ! define iceberg arrays 28 29 USE icbutl ! iceberg utility routines … … 191 192 INTEGER :: idg ! number of digits 192 193 INTEGER :: ix_dim, iy_dim, ik_dim, in_dim 193 CHARACTER(len=256) :: cl_path 194 CHARACTER(len=256) :: cl_filename 194 INTEGER :: iyear, imonth, iday 195 REAL (wp) :: zsec 196 REAL (wp) :: zfjulday 197 CHARACTER(len=256) :: cl_path 198 CHARACTER(len=256) :: cl_filename 199 CHARACTER(LEN=20) :: clkt ! ocean time-step deine as a character 195 200 CHARACTER(len=8 ) :: cl_kt 196 201 CHARACTER(LEN=12 ) :: clfmt ! writing format … … 209 214 cl_path = TRIM(cn_ocerst_outdir) 210 215 IF( cl_path(LEN_TRIM(cl_path):) /= '/' ) cl_path = TRIM(cl_path) // '/' 211 WRITE(cl_kt, '(i8.8)') kt 216 IF ( ln_rstdate ) THEN 217 zfjulday = fjulday + rdt / rday 218 IF( ABS(zfjulday - REAL(NINT(zfjulday),wp)) < 0.1 / rday ) zfjulday = REAL(NINT(zfjulday),wp) ! avoid truncation error 219 CALL ju2ymds( zfjulday, iyear, imonth, iday, zsec ) 220 WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 221 ELSE 222 IF( kt > 999999999 ) THEN ; WRITE(clkt, * ) kt 223 ELSE ; WRITE(clkt, '(i8.8)') kt 224 ENDIF 225 ENDIF 212 226 cl_filename = TRIM(cexper)//"_icebergs_"//cl_kt//"_restart" 213 227 IF( lk_mpp ) THEN -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/IOM/in_out_manager.F90
r13587 r13590 28 28 LOGICAL :: ln_rstart !: start from (F) rest or (T) a restart file 29 29 LOGICAL :: ln_rst_list !: output restarts at list of times (T) or by frequency (F) 30 LOGICAL :: ln_rst_eos !: check equation of state used for the restart is consistent with model 30 31 INTEGER :: nn_rstctl !: control of the time step (0, 1 or 2) 31 32 INTEGER :: nn_rstssh = 0 !: hand made initilization of ssh or not (1/0) … … 40 41 INTEGER, DIMENSION(10) :: nn_stocklist !: restart dump times 41 42 LOGICAL :: ln_mskland !: mask land points in NetCDF outputs (costly: + ~15%) 43 LOGICAL :: ln_rstdate !: T=> stamp output restart files with date instead of timestep 42 44 LOGICAL :: ln_cfmeta !: output additional data to netCDF files required for compliance with the CF metadata standard 43 45 LOGICAL :: ln_clobber !: clobber (overwrite) an existing file -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/IOM/iom.F90
r13587 r13590 368 368 !from restart.F90 369 369 CALL iom_set_rstw_var_active("rdt") 370 CALL iom_set_rstw_var_active("neos") 371 370 372 IF ( .NOT. ln_diurnal_only ) THEN 371 373 CALL iom_set_rstw_var_active('ub' ) … … 417 419 i = 0 418 420 i = i + 1; fields(i)%vname="rdt"; fields(i)%grid="grid_scalar" 421 i = i + 1; fields(i)%vname="neos"; fields(i)%grid="grid_scalar" 419 422 i = i + 1; fields(i)%vname="un"; fields(i)%grid="grid_N_3D" 420 423 i = i + 1; fields(i)%vname="ub"; fields(i)%grid="grid_N_3D" -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/IOM/restart.F90
r13587 r13590 27 27 USE in_out_manager ! I/O manager 28 28 USE iom ! I/O module 29 USE ioipsl, ONLY : ju2ymds ! for calendar 29 30 USE diurnal_bulk 30 31 USE lib_mpp ! distribued memory computing library … … 59 60 INTEGER, INTENT(in) :: kt ! ocean time-step 60 61 !! 62 INTEGER :: iyear, imonth, iday 63 REAL (wp) :: zsec 64 REAL (wp) :: zfjulday 61 65 CHARACTER(LEN=20) :: clkt ! ocean time-step deine as a character 62 66 CHARACTER(LEN=50) :: clname ! ocean output restart file name … … 90 94 IF( nitrst <= nitend .AND. nitrst > 0 ) THEN 91 95 ! beware of the format used to write kt (default is i8.8, that should be large enough...) 92 IF( nitrst > 999999999 ) THEN ; WRITE(clkt, * ) nitrst 93 ELSE ; WRITE(clkt, '(i8.8)') nitrst 96 IF ( ln_rstdate ) THEN 97 zfjulday = fjulday + rdt / rday 98 IF( ABS(zfjulday - REAL(NINT(zfjulday),wp)) < 0.1 / rday ) zfjulday = REAL(NINT(zfjulday),wp) ! avoid truncation error 99 CALL ju2ymds( zfjulday, iyear, imonth, iday, zsec ) 100 WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 101 ELSE 102 IF( nitrst > 999999999 ) THEN ; WRITE(clkt, * ) nitrst 103 ELSE ; WRITE(clkt, '(i8.8)') nitrst 104 ENDIF 94 105 ENDIF 95 106 ! create the file … … 173 184 END IF 174 185 ENDIF 186 CALL iom_rstput( kt, nitrst, numrow, 'neos' , REAL(neos) , ldxios = lwxios) ! equation of state 187 !CALL iom_rstput( kt, nitrst, numrow, 'neos' , neos , ktype = jp_i1, ldxios = lwxios) ! equation of state 188 175 189 176 190 IF (ln_diurnal) CALL iom_rstput( kt, nitrst, numrow, 'Dsst', x_dsst, ldxios = lwxios ) … … 249 263 !!---------------------------------------------------------------------- 250 264 REAL(wp) :: zrdt 265 REAL(wp) :: zeos 251 266 INTEGER :: jk 252 267 REAL(wp), DIMENSION(jpi, jpj, jpk) :: w3d … … 255 270 CALL rst_read_open ! open restart for reading (if not already opened) 256 271 272 IF ( ln_rst_eos ) THEN 273 ! Check equation of state used is consistent with the restart 274 IF( iom_varid( numror, 'neos') == -1) THEN 275 CALL ctl_stop( 'restart, rst_read: variable neos not found. STOP check that the equations of state in the restart file and in the namelist nameos are consistent and use ln_rst_eos=F') 276 ELSE 277 CALL iom_get( numror, 'neos', zeos, ldxios = lrxios ) 278 IF ( INT(zeos) /= neos ) CALL ctl_stop( 'restart, rst_read: equation of state used in restart file differs from namelist nameos') 279 ENDIF 280 ENDIF 281 257 282 ! Check dynamics and tracer time-step consistency and force Euler restart if changed 258 IF( iom_varid( numror, 'rdt', ldstop = .FALSE. ) > 0 ) THEN 283 IF( iom_varid( numror, 'rdt', ldstop = .FALSE. ) > 0 ) THEN 259 284 CALL iom_get( numror, 'rdt', zrdt, ldxios = lrxios ) 260 285 IF( zrdt /= rdt ) neuler = 0 -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/SBC/sbcssm.F90
r13587 r13590 57 57 REAL(wp) :: zcoef, zf_sbc ! local scalar 58 58 REAL(wp), DIMENSION(jpi,jpj,jpts) :: zts 59 CHARACTER(len=4),SAVE :: stype 59 60 !!--------------------------------------------------------------------- 61 IF( kt == nit000 ) THEN 62 IF( ln_TEOS10 ) THEN 63 stype='abs' ! teos-10: using absolute salinity (sst is converted to potential temperature for the surface module) 64 ELSE IF( ln_EOS80 ) THEN 65 stype='pra' ! eos-80: using practical salinity 66 ELSE IF ( ln_SEOS) THEN 67 stype='seos' ! seos using Simplified Equation of state (sst is converted to potential temperature for the surface module) 68 ENDIF 69 ENDIF 60 70 ! 61 71 ! !* surface T-, U-, V- ocean level variables (T, S, depth, velocity) … … 174 184 CALL iom_put( 'ssu_m', ssu_m ) 175 185 CALL iom_put( 'ssv_m', ssv_m ) 176 CALL iom_put( 'sst_m ', sst_m )177 CALL iom_put( 'sss_m ', sss_m )186 CALL iom_put( 'sst_m_pot', sst_m ) 187 CALL iom_put( 'sss_m_'//stype, sss_m ) 178 188 CALL iom_put( 'ssh_m', ssh_m ) 179 189 CALL iom_put( 'e3t_m', e3t_m ) -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/TRA/trabbl.F90
r13587 r13590 513 513 IF( tra_bbl_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'tra_bbl_init : unable to allocate arrays' ) 514 514 ! 515 IF( nn_bbl_adv == 1 ) WRITE(numout,*) ' * Advective BBL using upper velocity' 516 IF( nn_bbl_adv == 2 ) WRITE(numout,*) ' * Advective BBL using velocity = F( delta rho)' 515 IF(lwp) THEN 516 IF( nn_bbl_adv == 1 ) WRITE(numout,*) ' * Advective BBL using upper velocity' 517 IF( nn_bbl_adv == 2 ) WRITE(numout,*) ' * Advective BBL using velocity = F( delta rho)' 518 ENDIF 517 519 ! 518 520 ! !* vertical index of "deep" bottom u- and v-points -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/ZDF/zdfmxl.F90
r13587 r13590 15 15 USE trc_oce , ONLY: l_offline ! ocean space and time domain variables 16 16 USE zdf_oce ! ocean vertical physics 17 USE eosbn2 ! for zdf_mxl_zint 17 18 ! 18 19 USE in_out_manager ! I/O manager … … 31 32 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hmlp !: mixed layer depth (rho=rho0+zdcrit) [m] (used by LDF) 32 33 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hmlpt !: depth of the last T-point inside the mixed layer [m] (used by LDF) 34 REAL(wp), PUBLIC, ALLOCATABLE, DIMENSION(:,:) :: hmld_zint !: vertically-interpolated mixed layer depth [m] 35 REAL(wp), PUBLIC, ALLOCATABLE, DIMENSION(:,:) :: htc_mld ! Heat content of hmld_zint 36 LOGICAL, PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ll_found ! Is T_b to be found by interpolation ? 37 LOGICAL, PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: ll_belowml ! Flag points below mixed layer when ll_found=F 33 38 34 39 REAL(wp), PUBLIC :: rho_c = 0.01_wp !: density criterion for mixed layer depth 35 40 REAL(wp), PUBLIC :: avt_c = 5.e-4_wp ! Kz criterion for the turbocline depth 41 42 TYPE, PUBLIC :: MXL_ZINT !: Structure for MLD defs 43 INTEGER :: mld_type ! mixed layer type 44 REAL(wp) :: zref ! depth of initial T_ref 45 REAL(wp) :: dT_crit ! Critical temp diff 46 REAL(wp) :: iso_frac ! Fraction of rn_dT_crit 47 END TYPE MXL_ZINT 36 48 37 49 !!---------------------------------------------------------------------- … … 48 60 zdf_mxl_alloc = 0 ! set to zero if no array to be allocated 49 61 IF( .NOT. ALLOCATED( nmln ) ) THEN 50 ALLOCATE( nmln(jpi,jpj), hmld(jpi,jpj), hmlp(jpi,jpj), hmlpt(jpi,jpj), STAT= zdf_mxl_alloc ) 62 ALLOCATE( nmln(jpi,jpj), hmld(jpi,jpj), hmlp(jpi,jpj), hmlpt(jpi,jpj), hmld_zint(jpi,jpj), & 63 & htc_mld(jpi,jpj), ll_found(jpi,jpj), ll_belowml(jpi,jpj,jpk), STAT= zdf_mxl_alloc ) 51 64 ! 52 65 CALL mpp_sum ( 'zdfmxl', zdf_mxl_alloc ) … … 137 150 ENDIF 138 151 ! 152 ! Vertically-interpolated mixed-layer depth diagnostic 153 CALL zdf_mxl_zint( kt ) 154 ! 139 155 IF(ln_ctl) CALL prt_ctl( tab2d_1=REAL(nmln,wp), clinfo1=' nmln : ', tab2d_2=hmlp, clinfo2=' hmlp : ' ) 140 156 ! 141 157 END SUBROUTINE zdf_mxl 158 159 SUBROUTINE zdf_mxl_zint_mld( sf ) 160 !!---------------------------------------------------------------------------------- 161 !! *** ROUTINE zdf_mxl_zint_mld *** 162 ! 163 ! Calculate vertically-interpolated mixed layer depth diagnostic. 164 ! 165 ! This routine can calculate the mixed layer depth diagnostic suggested by 166 ! Kara et al, 2000, JGR, 105, 16803, but is more general and can calculate 167 ! vertically-interpolated mixed-layer depth diagnostics with other parameter 168 ! settings set in the namzdf_mldzint namelist. 169 ! 170 ! If mld_type=1 the mixed layer depth is calculated as the depth at which the 171 ! density has increased by an amount equivalent to a temperature difference of 172 ! 0.8C at the surface. 173 ! 174 ! For other values of mld_type the mixed layer is calculated as the depth at 175 ! which the temperature differs by 0.8C from the surface temperature. 176 ! 177 ! David Acreman, Daley Calvert 178 ! 179 !!----------------------------------------------------------------------------------- 180 181 TYPE(MXL_ZINT), INTENT(in) :: sf 182 183 ! Diagnostic criteria 184 INTEGER :: nn_mld_type ! mixed layer type 185 REAL(wp) :: rn_zref ! depth of initial T_ref 186 REAL(wp) :: rn_dT_crit ! Critical temp diff 187 REAL(wp) :: rn_iso_frac ! Fraction of rn_dT_crit used 188 189 ! Local variables 190 REAL(wp), PARAMETER :: zepsilon = 1.e-30 ! local small value 191 INTEGER, DIMENSION(jpi,jpj) :: ikmt ! number of active tracer levels 192 INTEGER, DIMENSION(jpi,jpj) :: ik_ref ! index of reference level 193 INTEGER, DIMENSION(jpi,jpj) :: ik_iso ! index of last uniform temp level 194 REAL, DIMENSION(jpi,jpj,jpk) :: zT ! Temperature or density 195 REAL, DIMENSION(jpi,jpj) :: ppzdep ! depth for use in calculating d(rho) 196 REAL, DIMENSION(jpi,jpj) :: zT_ref ! reference temperature 197 REAL :: zT_b ! base temperature 198 REAL, DIMENSION(jpi,jpj,jpk) :: zdTdz ! gradient of zT 199 REAL, DIMENSION(jpi,jpj,jpk) :: zmoddT ! Absolute temperature difference 200 REAL :: zdz ! depth difference 201 REAL :: zdT ! temperature difference 202 REAL, DIMENSION(jpi,jpj) :: zdelta_T ! difference critereon 203 REAL, DIMENSION(jpi,jpj) :: zRHO1, zRHO2 ! Densities 204 INTEGER :: ji, jj, jk ! loop counter 205 206 !!------------------------------------------------------------------------------------- 207 ! 208 ! Unpack structure 209 nn_mld_type = sf%mld_type 210 rn_zref = sf%zref 211 rn_dT_crit = sf%dT_crit 212 rn_iso_frac = sf%iso_frac 213 214 ! Set the mixed layer depth criterion at each grid point 215 IF( nn_mld_type == 0 ) THEN 216 zdelta_T(:,:) = rn_dT_crit 217 zT(:,:,:) = rhop(:,:,:) 218 ELSE IF( nn_mld_type == 1 ) THEN 219 ppzdep(:,:)=0.0 220 call eos ( tsn(:,:,1,:), ppzdep(:,:), zRHO1(:,:) ) 221 ! Use zT temporarily as a copy of tsn with rn_dT_crit added to SST 222 ! [assumes number of tracers less than number of vertical levels] 223 zT(:,:,1:jpts)=tsn(:,:,1,1:jpts) 224 zT(:,:,jp_tem)=zT(:,:,1)+rn_dT_crit 225 CALL eos( zT(:,:,1:jpts), ppzdep(:,:), zRHO2(:,:) ) 226 zdelta_T(:,:) = abs( zRHO1(:,:) - zRHO2(:,:) ) * rau0 227 ! RHO from eos (2d version) doesn't calculate north or east halo: 228 CALL lbc_lnk( 'zdfmxl', zdelta_T, 'T', 1. ) 229 zT(:,:,:) = rhop(:,:,:) 230 ELSE 231 zdelta_T(:,:) = rn_dT_crit 232 zT(:,:,:) = tsn(:,:,:,jp_tem) 233 END IF 234 235 ! Calculate the gradient of zT and absolute difference for use later 236 DO jk = 1 ,jpk-2 237 zdTdz(:,:,jk) = ( zT(:,:,jk+1) - zT(:,:,jk) ) / e3w_n(:,:,jk+1) 238 zmoddT(:,:,jk) = abs( zT(:,:,jk+1) - zT(:,:,jk) ) 239 END DO 240 241 ! Find density/temperature at the reference level (Kara et al use 10m). 242 ! ik_ref is the index of the box centre immediately above or at the reference level 243 ! Find rn_zref in the array of model level depths and find the ref 244 ! density/temperature by linear interpolation. 245 DO jk = jpkm1, 2, -1 246 WHERE ( gdept_n(:,:,jk) > rn_zref ) 247 ik_ref(:,:) = jk - 1 248 zT_ref(:,:) = zT(:,:,jk-1) + zdTdz(:,:,jk-1) * ( rn_zref - gdept_n(:,:,jk-1) ) 249 END WHERE 250 END DO 251 252 ! If the first grid box centre is below the reference level then use the 253 ! top model level to get zT_ref 254 WHERE ( gdept_n(:,:,1) > rn_zref ) 255 zT_ref = zT(:,:,1) 256 ik_ref = 1 257 END WHERE 258 259 ! The number of active tracer levels is 1 less than the number of active w levels 260 ikmt(:,:) = mbkt(:,:) - 1 261 262 ! Initialize / reset 263 ll_found(:,:) = .false. 264 265 IF ( rn_iso_frac - zepsilon > 0. ) THEN 266 ! Search for a uniform density/temperature region where adjacent levels 267 ! differ by less than rn_iso_frac * deltaT. 268 ! ik_iso is the index of the last level in the uniform layer 269 ! ll_found indicates whether the mixed layer depth can be found by interpolation 270 ik_iso(:,:) = ik_ref(:,:) 271 DO jj = 1, nlcj 272 DO ji = 1, nlci 273 !CDIR NOVECTOR 274 DO jk = ik_ref(ji,jj), ikmt(ji,jj)-1 275 IF ( zmoddT(ji,jj,jk) > ( rn_iso_frac * zdelta_T(ji,jj) ) ) THEN 276 ik_iso(ji,jj) = jk 277 ll_found(ji,jj) = ( zmoddT(ji,jj,jk) > zdelta_T(ji,jj) ) 278 EXIT 279 END IF 280 END DO 281 END DO 282 END DO 283 284 ! Use linear interpolation to find depth of mixed layer base where possible 285 hmld_zint(:,:) = rn_zref 286 DO jj = 1, jpj 287 DO ji = 1, jpi 288 IF (ll_found(ji,jj) .and. tmask(ji,jj,1) == 1.0) THEN 289 zdz = abs( zdelta_T(ji,jj) / zdTdz(ji,jj,ik_iso(ji,jj)) ) 290 hmld_zint(ji,jj) = gdept_n(ji,jj,ik_iso(ji,jj)) + zdz 291 END IF 292 END DO 293 END DO 294 END IF 295 296 ! If ll_found = .false. then calculate MLD using difference of zdelta_T 297 ! from the reference density/temperature 298 299 ! Prevent this section from working on land points 300 WHERE ( tmask(:,:,1) /= 1.0 ) 301 ll_found = .true. 302 END WHERE 303 304 DO jk=1, jpk 305 ll_belowml(:,:,jk) = abs( zT(:,:,jk) - zT_ref(:,:) ) >= zdelta_T(:,:) 306 END DO 307 308 ! Set default value where interpolation cannot be used (ll_found=false) 309 DO jj = 1, jpj 310 DO ji = 1, jpi 311 IF ( .not. ll_found(ji,jj) ) hmld_zint(ji,jj) = gdept_n(ji,jj,ikmt(ji,jj)) 312 END DO 313 END DO 314 315 DO jj = 1, jpj 316 DO ji = 1, jpi 317 !CDIR NOVECTOR 318 DO jk = ik_ref(ji,jj)+1, ikmt(ji,jj) 319 IF ( ll_found(ji,jj) ) EXIT 320 IF ( ll_belowml(ji,jj,jk) ) THEN 321 zT_b = zT_ref(ji,jj) + zdelta_T(ji,jj) * SIGN(1.0, zdTdz(ji,jj,jk-1) ) 322 zdT = zT_b - zT(ji,jj,jk-1) 323 zdz = zdT / zdTdz(ji,jj,jk-1) 324 hmld_zint(ji,jj) = gdept_n(ji,jj,jk-1) + zdz 325 EXIT 326 END IF 327 END DO 328 END DO 329 END DO 330 331 hmld_zint(:,:) = hmld_zint(:,:)*tmask(:,:,1) 332 ! 333 END SUBROUTINE zdf_mxl_zint_mld 334 335 SUBROUTINE zdf_mxl_zint_htc( kt ) 336 !!---------------------------------------------------------------------- 337 !! *** ROUTINE zdf_mxl_zint_htc *** 338 !! 339 !! ** Purpose : 340 !! 341 !! ** Method : 342 !!---------------------------------------------------------------------- 343 344 INTEGER, INTENT(in) :: kt ! ocean time-step index 345 346 INTEGER :: ji, jj, jk 347 INTEGER :: ikmax 348 REAL(wp) :: zc, zcoef 349 ! 350 INTEGER, ALLOCATABLE, DIMENSION(:,:) :: ilevel 351 REAL(wp), ALLOCATABLE, DIMENSION(:,:) :: zthick_0, zthick 352 353 !!---------------------------------------------------------------------- 354 355 IF( .NOT. ALLOCATED(ilevel) ) THEN 356 ALLOCATE( ilevel(jpi,jpj), zthick_0(jpi,jpj), & 357 & zthick(jpi,jpj), STAT=ji ) 358 IF( lk_mpp ) CALL mpp_sum( 'zdfmxl', ji ) 359 IF( ji /= 0 ) CALL ctl_stop( 'STOP', 'zdf_mxl_zint_htc : unable to allocate arrays' ) 360 ENDIF 361 362 ! Find last whole model T level above the MLD 363 ilevel(:,:) = 0 364 zthick_0(:,:) = 0._wp 365 366 DO jk = 1, jpkm1 367 DO jj = 1, jpj 368 DO ji = 1, jpi 369 zthick_0(ji,jj) = zthick_0(ji,jj) + e3t_n(ji,jj,jk) 370 IF( zthick_0(ji,jj) < hmld_zint(ji,jj) ) ilevel(ji,jj) = jk 371 END DO 372 END DO 373 WRITE(numout,*) 'zthick_0(jk =',jk,') =',zthick_0(2,2) 374 WRITE(numout,*) 'gdepw_n(jk+1 =',jk+1,') =',gdepw_n(2,2,jk+1) 375 END DO 376 377 ! Surface boundary condition 378 IF( ln_linssh ) THEN ; zthick(:,:) = sshn(:,:) ; htc_mld(:,:) = tsn(:,:,1,jp_tem) * sshn(:,:) * tmask(:,:,1) 379 ELSE ; zthick(:,:) = 0._wp ; htc_mld(:,:) = 0._wp 380 ENDIF 381 382 ! Deepest whole T level above the MLD 383 ikmax = MIN( MAXVAL( ilevel(:,:) ), jpkm1 ) 384 385 ! Integration down to last whole model T level 386 DO jk = 1, ikmax 387 DO jj = 1, jpj 388 DO ji = 1, jpi 389 zc = e3t_n(ji,jj,jk) * REAL( MIN( MAX( 0, ilevel(ji,jj) - jk + 1 ) , 1 ) ) ! 0 below ilevel 390 zthick(ji,jj) = zthick(ji,jj) + zc 391 htc_mld(ji,jj) = htc_mld(ji,jj) + zc * tsn(ji,jj,jk,jp_tem) * tmask(ji,jj,jk) 392 END DO 393 END DO 394 END DO 395 396 ! Subsequent partial T level 397 zthick(:,:) = hmld_zint(:,:) - zthick(:,:) ! remaining thickness to reach MLD 398 399 DO jj = 1, jpj 400 DO ji = 1, jpi 401 htc_mld(ji,jj) = htc_mld(ji,jj) + tsn(ji,jj,ilevel(ji,jj)+1,jp_tem) & 402 & * MIN( e3t_n(ji,jj,ilevel(ji,jj)+1), zthick(ji,jj) ) * tmask(ji,jj,ilevel(ji,jj)+1) 403 END DO 404 END DO 405 406 WRITE(numout,*) 'htc_mld(after) =',htc_mld(2,2) 407 408 ! Convert to heat content 409 zcoef = rau0 * rcp 410 htc_mld(:,:) = zcoef * htc_mld(:,:) 411 412 END SUBROUTINE zdf_mxl_zint_htc 413 414 SUBROUTINE zdf_mxl_zint( kt ) 415 !!---------------------------------------------------------------------- 416 !! *** ROUTINE zdf_mxl_zint *** 417 !! 418 !! ** Purpose : 419 !! 420 !! ** Method : 421 !!---------------------------------------------------------------------- 422 423 INTEGER, INTENT(in) :: kt ! ocean time-step index 424 425 INTEGER :: ios 426 INTEGER :: jn 427 428 INTEGER :: nn_mld_diag = 0 ! number of diagnostics 429 430 CHARACTER(len=1) :: cmld 431 432 TYPE(MXL_ZINT) :: sn_mld1, sn_mld2, sn_mld3, sn_mld4, sn_mld5 433 TYPE(MXL_ZINT), SAVE, DIMENSION(5) :: mld_diags 434 435 NAMELIST/namzdf_mldzint/ nn_mld_diag, sn_mld1, sn_mld2, sn_mld3, sn_mld4, sn_mld5 436 437 !!---------------------------------------------------------------------- 438 439 IF( kt == nit000 ) THEN 440 REWIND( numnam_ref ) ! Namelist namzdf_mldzint in reference namelist 441 READ ( numnam_ref, namzdf_mldzint, IOSTAT = ios, ERR = 901) 442 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_mldzint in reference namelist' ) 443 444 REWIND( numnam_cfg ) ! Namelist namzdf_mldzint in configuration namelist 445 READ ( numnam_cfg, namzdf_mldzint, IOSTAT = ios, ERR = 902 ) 446 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzdf_mldzint in configuration namelist' ) 447 IF(lwm) WRITE ( numond, namzdf_mldzint ) 448 449 IF( nn_mld_diag > 5 ) CALL ctl_stop( 'STOP', 'zdf_mxl_ini: Specify no more than 5 MLD definitions' ) 450 451 mld_diags(1) = sn_mld1 452 mld_diags(2) = sn_mld2 453 mld_diags(3) = sn_mld3 454 mld_diags(4) = sn_mld4 455 mld_diags(5) = sn_mld5 456 457 IF( lwp .AND. (nn_mld_diag > 0) ) THEN 458 WRITE(numout,*) '=============== Vertically-interpolated mixed layer ================' 459 WRITE(numout,*) '(Diagnostic number, nn_mld_type, rn_zref, rn_dT_crit, rn_iso_frac)' 460 DO jn = 1, nn_mld_diag 461 WRITE(numout,*) 'MLD criterion',jn,':' 462 WRITE(numout,*) ' nn_mld_type =', mld_diags(jn)%mld_type 463 WRITE(numout,*) ' rn_zref =' , mld_diags(jn)%zref 464 WRITE(numout,*) ' rn_dT_crit =' , mld_diags(jn)%dT_crit 465 WRITE(numout,*) ' rn_iso_frac =', mld_diags(jn)%iso_frac 466 END DO 467 WRITE(numout,*) '====================================================================' 468 ENDIF 469 ENDIF 470 471 IF( nn_mld_diag > 0 ) THEN 472 DO jn = 1, nn_mld_diag 473 WRITE(cmld,'(I1)') jn 474 IF( iom_use( "mldzint_"//cmld ) .OR. iom_use( "mldhtc_"//cmld ) ) THEN 475 CALL zdf_mxl_zint_mld( mld_diags(jn) ) 476 477 IF( iom_use( "mldzint_"//cmld ) ) THEN 478 CALL iom_put( "mldzint_"//cmld, hmld_zint(:,:) ) 479 ENDIF 480 481 IF( iom_use( "mldhtc_"//cmld ) ) THEN 482 CALL zdf_mxl_zint_htc( kt ) 483 CALL iom_put( "mldhtc_"//cmld , htc_mld(:,:) ) 484 ENDIF 485 ENDIF 486 END DO 487 ENDIF 488 489 END SUBROUTINE zdf_mxl_zint 142 490 143 491 !!====================================================================== -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/step.F90
r13587 r13590 207 207 IF( ln_diaptr ) CALL dia_ptr ! Poleward adv/ldf TRansports diagnostics 208 208 IF( ln_diaharm ) CALL dia_harm( kstp ) ! Tidal harmonic analysis 209 CALL dia_prod( kstp ) ! ocean model: product diagnostics 209 210 CALL dia_wri ( kstp ) ! ocean model: outputs 210 211 ! -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/OCE/step_oce.F90
r13587 r13590 80 80 USE diahsb ! heat, salt and volume budgets (dia_hsb routine) 81 81 USE diaharm 82 USE diaprod 82 83 USE diacfl 83 84 USE diaobs ! Observation operator -
NEMO/branches/UKMO/NEMO_4.0.3_GO8_package/src/SAS/sbcssm.F90
r13587 r13590 77 77 REAL(wp) :: ztinta ! ratio applied to after records when doing time interpolation 78 78 REAL(wp) :: ztintb ! ratio applied to before records when doing time interpolation 79 !!---------------------------------------------------------------------- 79 CHARACTER(len=4),SAVE :: stype 80 !!--------------------------------------------------------------------- 81 IF( kt == nit000 ) THEN 82 IF( ln_TEOS10 ) THEN 83 stype='abs' ! teos-10: using absolute salinity (sst is converted to potential temperature for the surface module) 84 ELSE IF( ln_EOS80 ) THEN 85 stype='pra' ! eos-80: using practical salinity 86 ELSE IF ( ln_SEOS) THEN 87 stype='seos' ! seos using Simplified Equation of state (sst is converted to potential temperature for the surface module) 88 ENDIF 89 ENDIF 80 90 ! 81 91 IF( ln_timing ) CALL timing_start( 'sbc_ssm') … … 144 154 CALL iom_put( 'ssu_m', ssu_m ) 145 155 CALL iom_put( 'ssv_m', ssv_m ) 146 CALL iom_put( 'sst_m ', sst_m )147 CALL iom_put( 'sss_m ', sss_m )156 CALL iom_put( 'sst_m_pot', sst_m ) 157 CALL iom_put( 'sss_m_'//stype, sss_m ) 148 158 CALL iom_put( 'ssh_m', ssh_m ) 149 159 IF( .NOT.ln_linssh ) CALL iom_put( 'e3t_m', e3t_m )
Note: See TracChangeset
for help on using the changeset viewer.