- Timestamp:
- 2016-05-03T14:28:12+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/ICB/icbrst.F90
r6503 r6507 158 158 INTEGER :: jn ! dummy loop index 159 159 INTEGER :: ix_dim, iy_dim, ik_dim, in_dim 160 CHARACTER(len=256) :: cl_path 161 CHARACTER(len=256) :: cl_filename 160 INTEGER :: iyear, imonth, iday 161 REAL (wp) :: zsec 162 CHARACTER(len=256) :: cl_path 163 CHARACTER(len=256) :: cl_filename 164 CHARACTER(LEN=20) :: clkt ! ocean time-step deine as a character 162 165 TYPE(iceberg), POINTER :: this 163 166 TYPE(point) , POINTER :: pt … … 168 171 IF( cl_path(LEN_TRIM(cl_path):) /= '/' ) cl_path = TRIM(cl_path) // '/' 169 172 IF( lk_mpp ) THEN 170 WRITE(cl_filename,'(A,"_icebergs_", I8.8,"_restart_",I4.4,".nc")') TRIM(cexper), kt, narea-1173 WRITE(cl_filename,'(A,"_icebergs_",A,"_restart_",I4.4,".nc")') TRIM(cexper), TRIM(ADJUSTL(clkt)), narea-1 171 174 ELSE 172 WRITE(cl_filename,'(A,"_icebergs_", I8.8,"_restart.nc")') TRIM(cexper), kt175 WRITE(cl_filename,'(A,"_icebergs_",A,"_restart.nc")') TRIM(cexper), TRIM(ADJUSTL(clkt)) 173 176 ENDIF 174 177 IF (nn_verbose_level >= 0) WRITE(numout,'(2a)') 'icebergs, write_restart: creating ',TRIM(cl_path)//TRIM(cl_filename)
Note: See TracChangeset
for help on using the changeset viewer.