Changeset 5117 for LMDZ6/branches/Amaury_dev/libf/dyn3dmem/wrgrads.f90
- Timestamp:
- Jul 24, 2024, 4:23:34 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3dmem/wrgrads.f90
r5116 r5117 24 24 INTEGER :: im, jm, lm, i, j, l, iv, iii, iji, iif, ijf 25 25 26 logical:: writectl26 LOGICAL :: writectl 27 27 28 28 writectl = .FALSE. … … 63 63 else 64 64 ivar(if) = mod(ivar(if), nvar(if)) + 1 65 if(ivar(if)==nvar(if)) THEN65 IF (ivar(if)==nvar(if)) THEN 66 66 writectl = .TRUE. 67 67 itime(if) = itime(if) + 1 … … 77 77 CALL abort_gcm("wrgrads", "problem", 1) 78 78 endif 79 endif79 ENDIF 80 80 81 81 PRINT*, 'ivar(if),nvar(if),var(ivar(if),if),writectl' … … 90 90 , i = iii, iif), j = iji, ijf) 91 91 enddo 92 if(writectl) THEN92 IF (writectl) THEN 93 93 file = fichier(if) 94 94 ! WARNING! on reecrase le fichier .ctl a chaque ecriture … … 118 118 close(unit(if)) 119 119 120 endif! writectl120 ENDIF ! writectl 121 121 122 122 END SUBROUTINE wrgrads
Note: See TracChangeset
for help on using the changeset viewer.