- Timestamp:
- 2020-06-17T13:01:47+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12953_ENHANCE-10_acc_fix_traqsr/src/OCE/ICB/icbrst.F90
r12933 r13121 192 192 CHARACTER(len=256) :: cl_path 193 193 CHARACTER(len=256) :: cl_filename 194 CHARACTER(len= 256) :: cl_kt194 CHARACTER(len=8 ) :: cl_kt 195 195 CHARACTER(LEN=12 ) :: clfmt ! writing format 196 196 TYPE(iceberg), POINTER :: this … … 213 213 ! file name 214 214 WRITE(cl_kt, '(i8.8)') kt 215 cl_filename = TRIM(cexper)//"_"// TRIM(ADJUSTL(cl_kt))//"_"//TRIM(cn_icbrst_out)215 cl_filename = TRIM(cexper)//"_"//cl_kt//"_"//TRIM(cn_icbrst_out) 216 216 IF( lk_mpp ) THEN 217 idg = MAX( INT(LOG10(REAL( jpnij-1,wp))) + 1, 4 ) ! how many digits to we need to write? min=4, max=9218 WRITE(clfmt, "('(a,a,i', i1, '.', i1, ',a)')") idg, idg ! '(a,a,ix.x,a)'219 WRITE(cl_filename, clfmt) TRIM(cl_filename), '_', narea-1, '.nc'217 idg = MAX( INT(LOG10(REAL(MAX(1,jpnij-1),wp))) + 1, 4 ) ! how many digits to we need to write? min=4, max=9 218 WRITE(clfmt, "('(a,a,i', i1, '.', i1, ',a)')") idg, idg ! '(a,a,ix.x,a)' 219 WRITE(cl_filename, clfmt) TRIM(cl_filename), '_', narea-1, '.nc' 220 220 ELSE 221 WRITE(cl_filename,'( A,".nc")') TRIM(cl_filename)221 WRITE(cl_filename,'(a,a)') TRIM(cl_filename), '.nc' 222 222 ENDIF 223 223
Note: See TracChangeset
for help on using the changeset viewer.