- Timestamp:
- 2020-06-07T20:13:59+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12973_AGRIF_CMEMS/src/OCE/IOM/iom_nf90.F90
r12933 r13058 111 111 IF( ldwrt ) THEN !* the file should be open in write mode so we create it... 112 112 IF( jpnij > 1 ) THEN 113 idg = MAX( INT(LOG10(REAL( jpnij-1,wp))) + 1, 4 ) ! how many digits to we need to write? min=4, max=9114 WRITE(clfmt, "('(a,a,i', i1, '.', i1, ',a)')") idg, idg ! '(a,a,ix.x,a)'113 idg = MAX( INT(LOG10(REAL(MAX(1,jpnij-1),wp))) + 1, 4 ) ! how many digits to we need to write? min=4, max=9 114 WRITE(clfmt, "('(a,a,i', i1, '.', i1, ',a)')") idg, idg ! '(a,a,ix.x,a)' 115 115 WRITE(cltmp,clfmt) cdname(1:iln-1), '_', narea-1, '.nc' 116 116 cdname = TRIM(cltmp)
Note: See TracChangeset
for help on using the changeset viewer.