Changeset 5082 for LMDZ6/branches/Amaury_dev/libf/obsolete
- Timestamp:
- Jul 19, 2024, 5:41:58 PM (4 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/obsolete
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/obsolete/mkstat.F90
r2321 r5082 127 127 enddo 128 128 129 else if (ndims .eq.3) then129 else if (ndims==3) then 130 130 131 131 ! dimout(1)=lonid -
LMDZ6/branches/Amaury_dev/libf/obsolete/wstats.F90
r5066 r5082 37 37 endif 38 38 39 if (mod(step,istats) .ne.0) then39 if (mod(step,istats)/=0) then 40 40 RETURN 41 41 endif … … 46 46 ierr= NF_INQ_VARID(nid,namebis,meanid) 47 47 48 if (ierr .ne.NF_NOERR) then48 if (ierr/=NF_NOERR) then 49 49 50 50 if (firstvar==nom) then … … 59 59 ierr= NF_INQ_DIMID(nid,"longitude",id(1)) 60 60 ierr= NF_INQ_DIMID(nid,"latitude",id(2)) 61 if (dim .eq.3) then61 if (dim==3) then 62 62 ierr= NF_INQ_DIMID(nid,"altitude",id(3)) 63 63 ierr= NF_INQ_DIMID(nid,"Time",id(4)) … … 95 95 96 96 if (count(index)==0) then 97 if (dim .eq.3) then97 if (dim==3) then 98 98 start=(/1,1,1,index/) 99 99 size=(/iip1,jjp1,llm,1/) 100 100 mean3d=0 101 101 sd3d=0 102 else if (dim .eq.2) then102 else if (dim==2) then 103 103 start=(/1,1,index,0/) 104 104 size=(/iip1,jjp1,1,0/) … … 107 107 endif 108 108 else 109 if (dim .eq.3) then109 if (dim==3) then 110 110 start=(/1,1,1,index/) 111 111 size=(/iip1,jjp1,llm,1/) … … 117 117 ierr = NF_GET_VARA_REAL(nid,sdid,start,size,sd3d) 118 118 #endif 119 if (ierr .ne.NF_NOERR) then119 if (ierr/=NF_NOERR) then 120 120 write (*,*) NF_STRERROR(ierr) 121 121 stop "" 122 122 endif 123 123 124 else if (dim .eq.2) then124 else if (dim==2) then 125 125 start=(/1,1,index,0/) 126 126 size=(/iip1,jjp1,1,0/) … … 132 132 ierr = NF_GET_VARA_REAL(nid,sdid,start,size,sd2d) 133 133 #endif 134 if (ierr .ne.NF_NOERR) then134 if (ierr/=NF_NOERR) then 135 135 write (*,*) NF_STRERROR(ierr) 136 136 stop "" … … 139 139 endif 140 140 141 if (dim .eq.3) then141 if (dim==3) then 142 142 143 143 ! Passage variable physique --> variable dynamique … … 167 167 ierr = NF_PUT_VARA_REAL(nid,sdid,start,size,sd3d) 168 168 #endif 169 if (ierr .ne.NF_NOERR) then169 if (ierr/=NF_NOERR) then 170 170 write (*,*) NF_STRERROR(ierr) 171 171 stop "" 172 172 endif 173 173 174 else if (dim .eq.2) then174 else if (dim==2) then 175 175 176 176 ! Passage variable physique --> physique dynamique … … 198 198 ierr = NF_PUT_VARA_REAL(nid,sdid,start,size,sd2d) 199 199 #endif 200 if (ierr .ne.NF_NOERR) then200 if (ierr/=NF_NOERR) then 201 201 write (*,*) NF_STRERROR(ierr) 202 202 stop "" … … 230 230 real, dimension(iip1,jjp1) :: dx2 231 231 232 if (dim .eq.3) then232 if (dim==3) then 233 233 234 234 start=(/1,1,1,index/) … … 257 257 #endif 258 258 259 else if (dim .eq.2) then259 else if (dim==2) then 260 260 261 261 start=(/1,1,index,0/)
Note: See TracChangeset
for help on using the changeset viewer.