- Timestamp:
- 2019-08-06T17:59:22+02:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r11265_ASINTER-01_Guillaume_ABL1D/src/SAS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11265_ASINTER-01_Guillaume_ABL1D/src/SAS/diawri.F90
r11357 r11413 137 137 !! define all the NETCDF files and fields 138 138 !! At each time step call histdef to compute the mean if ncessary 139 !! Each n write time step, output the instantaneous or mean fields139 !! Each nn_write time step, output the instantaneous or mean fields 140 140 !!---------------------------------------------------------------------- 141 141 !! … … 152 152 REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: zw3d_abl ! ABL 3D workspace 153 153 !!---------------------------------------------------------------------- 154 !155 IF( ln_timing ) CALL timing_start('dia_wri')156 154 ! 157 155 ! Output the initial state and forcings … … 161 159 ENDIF 162 160 ! 161 IF( nn_write == -1 ) RETURN ! we will never do any output 162 ! 163 IF( ln_timing ) CALL timing_start('dia_wri') 164 ! 163 165 ! 0. Initialisation 164 166 ! ----------------- … … 173 175 ENDIF 174 176 #if defined key_diainstant 175 zsto = n write * rdt177 zsto = nn_write * rdt 176 178 clop = "inst("//TRIM(clop)//")" 177 179 #else … … 179 181 clop = "ave("//TRIM(clop)//")" 180 182 #endif 181 zout = n write * rdt183 zout = nn_write * rdt 182 184 zmax = ( nitend - nit000 + 1 ) * rdt 183 185 … … 211 213 ! WRITE root name in date.file for use by postpro 212 214 IF(lwp) THEN 213 CALL dia_nam( clhstnam, n write,' ' )215 CALL dia_nam( clhstnam, nn_write,' ' ) 214 216 CALL ctl_opn( inum, 'date.file', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 215 217 WRITE(inum,*) clhstnam … … 219 221 ! Define the T grid FILE ( nid_T ) 220 222 221 CALL dia_nam( clhstnam, n write, 'grid_T' )223 CALL dia_nam( clhstnam, nn_write, 'grid_T' ) 222 224 IF(lwp) WRITE(numout,*) " Name of NETCDF file ", clhstnam ! filename 223 225 CALL histbeg( clhstnam, jpi, glamt, jpj, gphit, & ! Horizontal grid: glamt and gphit … … 231 233 ! Define the U grid FILE ( nid_U ) 232 234 233 CALL dia_nam( clhstnam, n write, 'grid_U' )235 CALL dia_nam( clhstnam, nn_write, 'grid_U' ) 234 236 IF(lwp) WRITE(numout,*) " Name of NETCDF file ", clhstnam ! filename 235 237 CALL histbeg( clhstnam, jpi, glamu, jpj, gphiu, & ! Horizontal grid: glamu and gphiu … … 243 245 ! Define the V grid FILE ( nid_V ) 244 246 245 CALL dia_nam( clhstnam, n write, 'grid_V' ) ! filename247 CALL dia_nam( clhstnam, nn_write, 'grid_V' ) ! filename 246 248 IF(lwp) WRITE(numout,*) " Name of NETCDF file ", clhstnam 247 249 CALL histbeg( clhstnam, jpi, glamv, jpj, gphiv, & ! Horizontal grid: glamv and gphiv … … 349 351 ! donne le nombre d'elements, et ndex la liste des indices a sortir 350 352 351 IF( lwp .AND. MOD( itmod, n write ) == 0 ) THEN353 IF( lwp .AND. MOD( itmod, nn_write ) == 0 ) THEN 352 354 WRITE(numout,*) 'dia_wri : write model outputs in NetCDF files at ', kt, 'time-step' 353 355 WRITE(numout,*) '~~~~~~ ' -
NEMO/branches/2019/dev_r11265_ASINTER-01_Guillaume_ABL1D/src/SAS/nemogcm.F90
r11348 r11413 164 164 #else 165 165 IF ( lk_oasis ) THEN ; CALL cpl_finalize ! end coupling and mpp communications with OASIS 166 ELSEIF( lk_mpp ) THEN ; CALL mppstop ( ldfinal = .TRUE. )! end mpp communications166 ELSEIF( lk_mpp ) THEN ; CALL mppstop ! end mpp communications 167 167 ENDIF 168 168 #endif
Note: See TracChangeset
for help on using the changeset viewer.