Changeset 557 for trunk/NEMO/OPA_SRC/restart.F90
- Timestamp:
- 2006-10-27T17:15:13+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/restart.F90
r547 r557 24 24 USE in_out_manager ! I/O manager 25 25 USE iom ! I/O module 26 USE trdmld_oce ! ! ocean active mixed layer tracers trends variables27 26 USE ini1d ! re-initialization of u-v mask for the 1D configuration 28 27 USE zpshde ! partial step: hor. derivative (zps_hde routine) … … 37 36 38 37 LOGICAL, PUBLIC :: lrst_oce !: logical to control the oce restart write 39 INTEGER, PUBLIC :: nitrst !: time step at which restart file should be written40 38 INTEGER, PUBLIC :: numror, numrow, nummldw !: logical unit for cean restart (read and write) 41 39 … … 72 70 73 71 IF ( kt == nitrst-1 .AND. lrst_oce ) THEN 74 CALL ctl_stop( 'rst_opn: we cannot create an ocean restart at every time step' ) 72 CALL ctl_stop( 'rst_opn: we cannot create an ocean restart at every time step', & 73 & 'if the run ahs more than one tie step!!!' ) 75 74 numrow = 0 76 75 ELSEIF( kt == nitrst-1 .OR. nitend == nit000 ) THEN ! beware if model runs only one time step … … 86 85 IF(lwp) WRITE(numout,*) ' open ocean restart.output NetCDF file: '//clname 87 86 CALL iom_open( clname, numrow, ldwrt = .TRUE., kiolib = jprstlib ) 88 IF( lk_trdmld ) THEN89 clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_restart_mld"90 IF(lwp) WRITE(numout,*) ' open ocean restart_mld NetCDF file: '//clname91 CALL iom_open( clname, nummldw, ldwrt = .TRUE., kiolib = jprstlib )92 ENDIF93 87 lrst_oce = .TRUE. 94 88 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.