- Timestamp:
- 2017-10-17T14:31:49+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8600_xios_write/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90
r7822 r8630 47 47 USE wrk_nemo ! Memory Allocation 48 48 USE timing ! Timing 49 49 USE iom_def, ONLY:lwxios, wxioso ! write restart flag and output type 50 50 IMPLICIT NONE 51 51 PRIVATE … … 285 285 & nn_it000, nn_itend , nn_date0 , nn_time0 , nn_leapy , nn_istate , & 286 286 & nn_stock, nn_write , ln_mskland , ln_clobber , nn_chunksz, nn_euler , & 287 & ln_cfmeta, ln_iscpl 287 & ln_cfmeta, ln_iscpl, nn_wxios 288 288 NAMELIST/namdom/ ln_linssh, nn_closea, nn_msh, rn_isfhmin, rn_rdt, rn_atfp, ln_crs 289 289 #if defined key_netcdf4 … … 293 293 !!---------------------------------------------------------------------- 294 294 ! 295 nn_wxios = 0 295 296 REWIND( numnam_ref ) ! Namelist namrun in reference namelist : Parameters of the run 296 297 READ ( numnam_ref, namrun, IOSTAT = ios, ERR = 901) … … 333 334 WRITE(numout,*) ' NetCDF chunksize (bytes) nn_chunksz = ', nn_chunksz 334 335 WRITE(numout,*) ' IS coupling at the restart step ln_iscpl = ', ln_iscpl 336 WRITE(numout,*) ' Write restart using XIOS nn_wxios = ', nn_wxios 337 IF( TRIM(Agrif_CFixed()) == '0' ) & 338 & WRITE(numout,*) ' Write restart using XIOS nn_wxios = ', nn_wxios 335 339 ENDIF 336 340 … … 413 417 rdt = rn_rdt 414 418 419 IF( TRIM(Agrif_CFixed()) == '0' ) THEN 420 !set output file type for XIOS based on NEMO namelist 421 if (nn_wxios > 0) lwxios = .TRUE. 422 wxioso = nn_wxios 423 ELSE 424 IF(lwp) THEN 425 write(numout,*) 426 write(numout,*) "AGRIF: nn_wxios will be ingored. See setting for NEMO" 427 write(numout,*) 428 ENDIF 429 ENDIF 430 415 431 #if defined key_netcdf4 416 432 ! ! NetCDF 4 case ("key_netcdf4" defined)
Note: See TracChangeset
for help on using the changeset viewer.