Changeset 5746
- Timestamp:
- 2015-09-15T18:06:54+02:00 (9 years ago)
- Location:
- branches/UKMO/2014_Surge_Modelling/NEMOGCM
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/2014_Surge_Modelling/NEMOGCM/CONFIG/AMM7_SURGE/EXP00/namelist_ref
r5727 r5746 31 31 nn_leapy = 0 ! Leap year calendar (1) or not (0) 32 32 ln_rstart = .false. ! start from rest (F) or from a restart file (T) 33 ln_rstdate = .false. ! Name restart dump by date instead of time step 33 34 nn_euler = 1 ! = 0 : start with forward time step if ln_rstart=.true. 34 35 nn_rstctl = 0 ! restart control => activated only if ln_rstart = T -
branches/UKMO/2014_Surge_Modelling/NEMOGCM/CONFIG/SHARED/namelist_ref
r4384 r5746 31 31 nn_leapy = 0 ! Leap year calendar (1) or not (0) 32 32 ln_rstart = .false. ! start from rest (F) or from a restart file (T) 33 ln_rstdate = .false. ! Name restart dump by date instead of time step 33 34 nn_euler = 1 ! = 0 : start with forward time step if ln_rstart=.true. 34 35 nn_rstctl = 0 ! restart control => activated only if ln_rstart = T … … 305 306 rn_vfac = 0. ! multiplicative factor for ocean/ice velocity 306 307 ! in the calculation of the wind stress (0.=absolute winds or 1.=relative winds) 308 ln_charnock = .false. ! logical flag for charnock wind stress in surge model(true) or not(false) 307 309 / 308 310 !----------------------------------------------------------------------- … … 1178 1180 rn_htrmax = 200.0 ! max. depth of transition range 1179 1181 / 1182 !----------------------------------------------------------------------- 1183 &namwad ! Wetting and Drying namelist 1184 !----------------------------------------------------------------------- 1185 ln_wd = .false. !: key to turn on/off wetting/drying (T: on, F: off) 1186 rn_wdmin1=0.1 !: minimum water depth on dried cells 1187 rn_wdmin2 = 0.01 !: tolerrance of minimum water depth on dried cells 1188 rn_wdld = 20.0 !: land elevation below which wetting/drying will be considered 1189 nn_wdit = 10 !: maximum number of iteration for W/D limiter 1190 / -
branches/UKMO/2014_Surge_Modelling/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90
r5066 r5746 136 136 !!---------------------------------------------------------------------- 137 137 USE ioipsl 138 NAMELIST/namrun/ nn_no , cn_exp , cn_ocerst_in, cn_ocerst_out, ln_rstart , nn_rstctl, & 138 ! Added nn_rstdate, eventually should include separate branch for this 139 NAMELIST/namrun/ nn_no , cn_exp , cn_ocerst_in, cn_ocerst_out, ln_rstart , nn_rstdate, nn_rstctl, & 139 140 & nn_it000, nn_itend , nn_date0 , nn_leapy , nn_istate , nn_stock , & 140 141 & nn_write, ln_dimgnnn, ln_mskland , ln_clobber , nn_chunksz, nn_euler … … 172 173 WRITE(numout,*) ' file prefix restart output cn_ocerst_out= ', cn_ocerst_out 173 174 WRITE(numout,*) ' restart logical ln_rstart = ', ln_rstart 175 WRITE(numout,*) ' datestamping of restarts ln_rstdate = ', ln_rstdate 174 176 WRITE(numout,*) ' start with forward time step nn_euler = ', nn_euler 175 177 WRITE(numout,*) ' control of time step nn_rstctl = ', nn_rstctl -
branches/UKMO/2014_Surge_Modelling/NEMOGCM/NEMO/OPA_SRC/ICB/icbrst.F90
r3614 r5746 24 24 USE icb_oce ! define iceberg arrays 25 25 USE icbutl ! iceberg utility routines 26 ! added for ln_rstdate, should include separate branch at later date... 27 USE phycst ! for rday 28 USE ioipsl, ONLY : ju2ymds ! for calendar 26 29 27 30 IMPLICIT NONE … … 231 234 TYPE(iceberg), POINTER :: this 232 235 TYPE(point) , POINTER :: pt 233 !!---------------------------------------------------------------------- 234 236 ! included for ln_rstdate.... 237 INTEGER :: iyear, imonth, iday 238 REAL (wp) :: zsec 239 CHARACTER(LEN=20) :: clkt ! ocean time-step deine as a character 240 !!---------------------------------------------------------------------- 241 242 IF ( ln_rstdate ) THEN 243 CALL ju2ymds( fjulday + rdttra(1) / rday, iyear, imonth, iday, zsec ) 244 WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 245 ELSE 246 IF( kt > 999999999 ) THEN ; WRITE(clkt, * ) kt 247 ELSE ; WRITE(clkt, '(i8.8)') kt 248 ENDIF 249 ENDIF 250 251 ! changed for ln_rstdate.... 235 252 IF( lk_mpp ) THEN 236 WRITE(cl_filename,'("icebergs_",I8.8,"_restart_",I4.4,".nc")') kt, narea-1 253 !WRITE(cl_filename,'("icebergs_",I8.8,"_restart_",I4.4,".nc")') kt, narea-1 254 WRITE(cl_filename,'("icebergs_",A,"_restart_",I4.4,".nc")') TRIM(ADJUSTL(clkt)), narea-1 237 255 ELSE 238 WRITE(cl_filename,'("icebergs_",I8.8,"_restart.nc")') kt 256 !WRITE(cl_filename,'("icebergs_",I8.8,"_restart.nc")') kt 257 WRITE(cl_filename,'("_icebergs_",A,"_restart.nc")') TRIM(ADJUSTL(clkt)) 239 258 ENDIF 240 259 IF (nn_verbose_level >= 0) WRITE(numout,'(2a)') 'icebergs, write_restart: creating ',TRIM(cl_filename) -
branches/UKMO/2014_Surge_Modelling/NEMOGCM/NEMO/OPA_SRC/IOM/in_out_manager.F90
r4624 r5746 43 43 LOGICAL :: ln_clobber !: clobber (overwrite) an existing file 44 44 INTEGER :: nn_chunksz !: chunksize (bytes) for NetCDF file (works only with iom_nf90 routines) 45 ! included for rstdate, should be moved to seperate branch! 46 LOGICAL :: ln_rstdate !: datestamping of restarts 45 47 #if defined key_netcdf4 46 48 !!---------------------------------------------------------------------- -
branches/UKMO/2014_Surge_Modelling/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90
r4334 r5746 25 25 USE divcur ! hor. divergence and curl (div & cur routines) 26 26 USE sbc_ice, ONLY : lk_lim3 27 ! for ln_rstdate.... 28 USE ioipsl, ONLY : ju2ymds ! for calendar 27 29 28 30 IMPLICIT NONE … … 58 60 CHARACTER(LEN=20) :: clkt ! ocean time-step deine as a character 59 61 CHARACTER(LEN=50) :: clname ! ice output restart file name 62 ! Included for ln_rstdate 63 INTEGER :: iyear, imonth, iday 64 REAL (wp) :: zsec 65 60 66 !!---------------------------------------------------------------------- 61 67 ! … … 73 79 ! except if we write ocean restart files every time step or if an ocean restart file was writen at nitend - 1 74 80 IF( kt == nitrst - 1 .OR. nstock == 1 .OR. ( kt == nitend .AND. .NOT. lrst_oce ) ) THEN 75 ! beware of the format used to write kt (default is i8.8, that should be large enough...) 76 IF( nitrst > 999999999 ) THEN ; WRITE(clkt, * ) nitrst 77 ELSE ; WRITE(clkt, '(i8.8)') nitrst 81 ! changes for ln_rstdate.... 82 ! ! beware of the format used to write kt (default is i8.8, that should be large enough...) 83 ! IF( nitrst > 999999999 ) THEN ; WRITE(clkt, * ) nitrst 84 ! ELSE ; WRITE(clkt, '(i8.8)') nitrst 85 IF ( ln_rstdate ) THEN 86 CALL ju2ymds( fjulday + rdttra(1) / rday, iyear, imonth, iday, zsec ) 87 WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 88 ELSE 89 ! beware of the format used to write kt (default is i8.8, that should be large enough...) 90 IF( nitrst > 999999999 ) THEN ; WRITE(clkt, * ) nitrst 91 ELSE ; WRITE(clkt, '(i8.8)') nitrst 92 ENDIF 93 ! end 78 94 ENDIF 79 95 ! create the file
Note: See TracChangeset
for help on using the changeset viewer.