Changeset 1539 for LMDZ5/trunk/libf/phylmd/phystokenc.F90
- Timestamp:
- Jun 9, 2011, 12:13:33 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/phystokenc.F90
r1454 r1539 125 125 LOGICAL ok_sync 126 126 CHARACTER(len=12) :: nvar 127 logical, parameter :: lstokenc=.FALSE. 127 128 ! 128 129 !====================================================================== … … 164 165 165 166 ! Write field phis and aire only once 166 CALL histwrite_phy(physid, "phis",itap,pphis)167 CALL histwrite_phy(physid, "aire",itap,paire)168 CALL histwrite_phy(physid, "longitudes",itap,rlon)169 CALL histwrite_phy(physid, "latitudes",itap,rlat)167 CALL histwrite_phy(physid,lstokenc,"phis",itap,pphis) 168 CALL histwrite_phy(physid,lstokenc,"aire",itap,paire) 169 CALL histwrite_phy(physid,lstokenc,"longitudes",itap,rlon) 170 CALL histwrite_phy(physid,lstokenc,"latitudes",itap,rlat) 170 171 171 172 END IF … … 288 289 289 290 ! write fields 290 CALL histwrite_phy(physid, "t",itap,t)291 CALL histwrite_phy(physid, "mfu",itap,mfu)292 CALL histwrite_phy(physid, "mfd",itap,mfd)293 CALL histwrite_phy(physid, "en_u",itap,en_u)294 CALL histwrite_phy(physid, "de_u",itap,de_u)295 CALL histwrite_phy(physid, "en_d",itap,en_d)296 CALL histwrite_phy(physid, "de_d",itap,de_d)297 CALL histwrite_phy(physid, "coefh",itap,coefh)298 CALL histwrite_phy(physid, "fm_th",itap,fm_therm)299 CALL histwrite_phy(physid, "en_th",itap,entr_therm)300 CALL histwrite_phy(physid, "frac_impa",itap,frac_impa)301 CALL histwrite_phy(physid, "frac_nucl",itap,frac_nucl)302 CALL histwrite_phy(physid, "pyu1",itap,pyu1)303 CALL histwrite_phy(physid, "pyv1",itap,pyv1)304 CALL histwrite_phy(physid, "ftsol1",itap,pftsol(:,1))305 CALL histwrite_phy(physid, "ftsol2",itap,pftsol(:,2))306 CALL histwrite_phy(physid, "ftsol3",itap,pftsol(:,3))307 CALL histwrite_phy(physid, "ftsol4",itap,pftsol(:,4))308 CALL histwrite_phy(physid, "psrf1",itap,ppsrf(:,1))309 CALL histwrite_phy(physid, "psrf2",itap,ppsrf(:,2))310 CALL histwrite_phy(physid, "psrf3",itap,ppsrf(:,3))311 CALL histwrite_phy(physid, "psrf4",itap,ppsrf(:,4))312 CALL histwrite_phy(physid, "sh",itap,sh)313 CALL histwrite_phy(physid, "da",itap,da)314 CALL histwrite_phy(physid, "mp",itap,mp)315 CALL histwrite_phy(physid, "upwd",itap,upwd)316 CALL histwrite_phy(physid, "dnwd",itap,dnwd)291 CALL histwrite_phy(physid,lstokenc,"t",itap,t) 292 CALL histwrite_phy(physid,lstokenc,"mfu",itap,mfu) 293 CALL histwrite_phy(physid,lstokenc,"mfd",itap,mfd) 294 CALL histwrite_phy(physid,lstokenc,"en_u",itap,en_u) 295 CALL histwrite_phy(physid,lstokenc,"de_u",itap,de_u) 296 CALL histwrite_phy(physid,lstokenc,"en_d",itap,en_d) 297 CALL histwrite_phy(physid,lstokenc,"de_d",itap,de_d) 298 CALL histwrite_phy(physid,lstokenc,"coefh",itap,coefh) 299 CALL histwrite_phy(physid,lstokenc,"fm_th",itap,fm_therm) 300 CALL histwrite_phy(physid,lstokenc,"en_th",itap,entr_therm) 301 CALL histwrite_phy(physid,lstokenc,"frac_impa",itap,frac_impa) 302 CALL histwrite_phy(physid,lstokenc,"frac_nucl",itap,frac_nucl) 303 CALL histwrite_phy(physid,lstokenc,"pyu1",itap,pyu1) 304 CALL histwrite_phy(physid,lstokenc,"pyv1",itap,pyv1) 305 CALL histwrite_phy(physid,lstokenc,"ftsol1",itap,pftsol(:,1)) 306 CALL histwrite_phy(physid,lstokenc,"ftsol2",itap,pftsol(:,2)) 307 CALL histwrite_phy(physid,lstokenc,"ftsol3",itap,pftsol(:,3)) 308 CALL histwrite_phy(physid,lstokenc,"ftsol4",itap,pftsol(:,4)) 309 CALL histwrite_phy(physid,lstokenc,"psrf1",itap,ppsrf(:,1)) 310 CALL histwrite_phy(physid,lstokenc,"psrf2",itap,ppsrf(:,2)) 311 CALL histwrite_phy(physid,lstokenc,"psrf3",itap,ppsrf(:,3)) 312 CALL histwrite_phy(physid,lstokenc,"psrf4",itap,ppsrf(:,4)) 313 CALL histwrite_phy(physid,lstokenc,"sh",itap,sh) 314 CALL histwrite_phy(physid,lstokenc,"da",itap,da) 315 CALL histwrite_phy(physid,lstokenc,"mp",itap,mp) 316 CALL histwrite_phy(physid,lstokenc,"upwd",itap,upwd) 317 CALL histwrite_phy(physid,lstokenc,"dnwd",itap,dnwd) 317 318 318 319 … … 328 329 nvar='phi_lev'//trim(nvar) 329 330 330 CALL histwrite_phy(physid, nvar,itap,phi(:,:,k))331 CALL histwrite_phy(physid,lstokenc,nvar,itap,phi(:,:,k)) 331 332 END DO 332 333
Note: See TracChangeset
for help on using the changeset viewer.