- Timestamp:
- 2018-12-11T09:27:54+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/IOM/restart.F90
r10359 r10380 97 97 WRITE(numout,*) 98 98 IF(.NOT.lwxios) THEN 99 SELECT CASE ( jprstlib ) 100 CASE DEFAULT ; WRITE(numout,*) & 101 ' open ocean restart NetCDF file: ',TRIM(clpath)//TRIM(clname) 102 END SELECT 99 WRITE(numout,*) ' open ocean restart NetCDF file: ',TRIM(clpath)//TRIM(clname) 103 100 IF ( snc4set%luse ) WRITE(numout,*) ' opened for NetCDF4 chunking and compression' 104 101 IF( kt == nitrst - 1 ) THEN ; WRITE(numout,*) ' kt = nitrst - 1 = ', kt … … 109 106 ! 110 107 IF(.NOT.lwxios) THEN 111 CALL iom_open( TRIM(clpath)//TRIM(clname), numrow, ldwrt = .TRUE. , kiolib = jprstlib)108 CALL iom_open( TRIM(clpath)//TRIM(clname), numrow, ldwrt = .TRUE. ) 112 109 ELSE 113 110 #if defined key_iomput … … 137 134 !! *** ROUTINE rstwrite *** 138 135 !! 139 !! ** Purpose : Write restart fields in the format corresponding to jprstlib136 !! ** Purpose : Write restart fields in NetCDF format 140 137 !! 141 138 !! ** Method : Write in numrow when kt == nitrst in NetCDF … … 201 198 !! *** ROUTINE rst_read_open *** 202 199 !! 203 !! ** Purpose : Open read files for restart (format fixed by jprstlib )200 !! ** Purpose : Open read files for NetCDF restart 204 201 !! 205 202 !! ** Method : Use a non-zero, positive value of numror to assess whether or not 206 203 !! the file has already been opened 207 204 !!---------------------------------------------------------------------- 208 INTEGER :: jlibalt = jprstlib209 205 LOGICAL :: llok 210 206 CHARACTER(lc) :: clpath ! full path to ocean output restart file … … 214 210 IF(lwp) THEN ! Contol prints 215 211 WRITE(numout,*) 216 SELECT CASE ( jprstlib ) 217 CASE ( jpnf90 ) ; WRITE(numout,*) 'rst_read : read oce NetCDF restart file' 218 END SELECT 212 WRITE(numout,*) 'rst_read : read oce NetCDF restart file' 219 213 IF ( snc4set%luse ) WRITE(numout,*) 'rst_read : configured with NetCDF4 support' 220 214 WRITE(numout,*) '~~~~~~~~' … … 223 217 clpath = TRIM(cn_ocerst_indir) 224 218 IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 225 CALL iom_open( TRIM(clpath)//cn_ocerst_in, numror , kiolib = jlibalt)219 CALL iom_open( TRIM(clpath)//cn_ocerst_in, numror ) 226 220 ! are we using XIOS to read the data? Part above will have to modified once XIOS 227 221 ! can handle checking if variable is in the restart file (there will be no need to open … … 250 244 !! *** ROUTINE rst_read *** 251 245 !! 252 !! ** Purpose : Read files for restart (format fixed by jprstlib )246 !! ** Purpose : Read files for NetCDF restart 253 247 !! 254 248 !! ** Method : Read in restart.nc file fields which are necessary for restart
Note: See TracChangeset
for help on using the changeset viewer.