Changeset 11096
- Timestamp:
- 2019-06-11T14:59:01+02:00 (5 years ago)
- Location:
- NEMO/releases/release-4.0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/releases/release-4.0/cfgs/SHARED/namelist_ref
r11092 r11096 1100 1100 !! namptr Poleward Transport Diagnostics (default: OFF) 1101 1101 !! namhsb Heat and salt budgets (default: OFF) 1102 !! namhth Extra ML depth and thermocline diagnostics (default: OFF)1103 1102 !! namdiu Cool skin and warm layer models (default: OFF) 1104 1103 !! namdiu Cool skin and warm layer models (default: OFF) … … 1141 1140 !----------------------------------------------------------------------- 1142 1141 ln_diahsb = .false. ! check the heat and salt budgets (T) or not (F) 1143 /1144 !-----------------------------------------------------------------------1145 &namhth ! Extra ML depth and thermocline depth diagnostics (default F)1146 !-----------------------------------------------------------------------1147 ln_diahth = .false. ! produce extra diagnostics of BL and thermocline depth1148 1142 / 1149 1143 !----------------------------------------------------------------------- -
NEMO/releases/release-4.0/src/OCE/C1D/step_c1d.F90
r11095 r11096 86 86 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 87 87 CALL dia_wri( kstp ) ! ocean model: outputs 88 IF( l n_diahth ) CALL dia_hth( kstp ) ! Thermocline depth (20°C)88 IF( ll_diahth ) CALL dia_hth( kstp ) ! Thermocline depth (20°C) 89 89 90 90 -
NEMO/releases/release-4.0/src/OCE/DIA/diahth.F90
r11094 r11096 30 30 PUBLIC dia_hth_init ! routine called by nemogcm.F90 31 31 32 LOGICAL, PUBLIC :: l n_diahth !: Compute further diagnostics of ML and thermocline depth32 LOGICAL, PUBLIC :: ll_diahth !: Compute further diagnostics of ML and thermocline depth 33 33 34 34 !!---------------------------------------------------------------------- … … 89 89 REAL(wp), DIMENSION(jpi,jpj) :: zhtc3 !: heat content of first 300 m [W] 90 90 91 IF (iom_use("mlddzt") .OR.iom_use("mldr0_3").OR.iom_use("mldr0_1")) THEN91 IF (iom_use("mlddzt") .OR. iom_use("mldr0_3") .OR. iom_use("mldr0_1")) THEN 92 92 ! ------------------------------------------------------------- ! 93 93 ! thermocline depth: strongest vertical gradient of temperature ! … … 147 147 ENDIF 148 148 149 IF (iom_use("mld_dt02") .OR.iom_use("topthdep").OR.iom_use("mldr10_3").OR.&150 & iom_use("pycndep") .OR.iom_use("tinv").OR.iom_use("depti")) THEN149 IF (iom_use("mld_dt02") .OR. iom_use("topthdep") .OR. iom_use("mldr10_3") .OR. & 150 & iom_use("pycndep") .OR. iom_use("tinv") .OR. iom_use("depti")) THEN 151 151 DO jj = 1, jpj 152 152 DO ji = 1, jpi … … 223 223 ENDIF 224 224 225 IF(iom_use("20d") .OR.iom_use("28d")) THEN225 IF(iom_use("20d") .OR. iom_use("28d")) THEN 226 226 ! ----------------------------------- ! 227 227 ! search deepest level above 20C/28C ! … … 318 318 !! ** Purpose: Initialization for ML and thermocline depths 319 319 !! 320 !! ** Action : Read namelist flag to permit or not extra Ml depths and thermocline depths 321 !!--------------------------------------------------------------------------- 322 INTEGER :: ierror, ios ! local integer 323 !! 324 NAMELIST/namhth/ ln_diahth 320 !! ** Action : If any upper ocean diagnostic required by xml file, set in dia_hth 325 321 !!--------------------------------------------------------------------------- 326 322 ! … … 330 326 WRITE(numout,*) '~~~~~~~~~~~~ ' 331 327 ENDIF 332 REWIND( numnam_ref ) ! Namelist namhth in reference namelist 333 READ ( numnam_ref, namhth, IOSTAT = ios, ERR = 901) 334 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namhth in reference namelist', lwp ) 335 REWIND( numnam_cfg ) ! Namelist namhth in configuration namelist 336 READ ( numnam_cfg, namhth, IOSTAT = ios, ERR = 902 ) 337 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namhth in configuration namelist', lwp ) 338 IF(lwm) WRITE( numond, namhth ) 339 328 ll_diahth = iom_use("mlddzt") .OR. iom_use("mldr0_3") .OR. iom_use("mldr0_1") .OR. & 329 & iom_use("mld_dt02") .OR. iom_use("topthdep") .OR. iom_use("mldr10_3") .OR. & 330 & iom_use("pycndep") .OR. iom_use("tinv") .OR. iom_use("depti"). OR. & 331 & iom_use("20d") .OR. iom_use("28d") .OR. iom_use("hc300") 340 332 IF(lwp) THEN 341 WRITE(numout,*) ' Namelist namhth :' 342 WRITE(numout,*) ' check the heat and salt budgets (T) or not (F) ln_diahth = ', ln_diahth 333 WRITE(numout,*) ' output upper ocean diagnostics (T) or not (F) ll_diahth = ', ll_diahth 343 334 ENDIF 344 335 ! -
NEMO/releases/release-4.0/src/OCE/step.F90
r11091 r11096 214 214 IF( lk_floats ) CALL flo_stp( kstp ) ! drifting Floats 215 215 IF( ln_diacfl ) CALL dia_cfl( kstp ) ! Courant number diagnostics 216 IF( l n_diahth ) CALL dia_hth( kstp ) ! Thermocline depth (20 degres isotherm depth)216 IF( ll_diahth ) CALL dia_hth( kstp ) ! Thermocline depth (20 degres isotherm depth) 217 217 IF( lk_diadct ) CALL dia_dct( kstp ) ! Transports 218 218 CALL dia_ar5( kstp ) ! ar5 diag
Note: See TracChangeset
for help on using the changeset viewer.