Changeset 644 for LMDZ4/trunk/libf/phylmd/phyredem.F
- Timestamp:
- May 25, 2005, 3:10:09 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/phyredem.F
r541 r644 4 4 c 5 5 SUBROUTINE phyredem (fichnom,dtime,radpas, 6 . rlat,rlon, pctsrf,tsol,tsoil,deltat,qsurf,qsol,snow, 6 . rlat,rlon, pctsrf,tsol,tsoil, 7 cIM "slab" ocean 8 . tslab,seaice, 9 . qsurf,qsol,snow, 7 10 . albedo, alblw, evap, rain_fall, snow_fall, 8 11 . solsw, sollw,fder, … … 31 34 REAL tsol(klon,nbsrf) 32 35 REAL tsoil(klon,nsoilmx,nbsrf) 33 REAL deltat(klon) 36 cIM "slab" ocean 37 REAL tslab(klon), seaice(klon) 34 38 REAL qsurf(klon,nbsrf) 35 39 REAL qsol(klon) … … 288 292 ENDDO 289 293 c 290 c 291 ierr = NF_REDEF (nid) 292 #ifdef NC_DOUBLE 293 ierr = NF_DEF_VAR (nid, " DELTAT", NF_DOUBLE, 1, idim2,nvarid)294 #else 295 ierr = NF_DEF_VAR (nid, " DELTAT", NF_FLOAT, 1, idim2,nvarid)294 cIM "slab" ocean 295 ierr = NF_REDEF (nid) 296 #ifdef NC_DOUBLE 297 ierr = NF_DEF_VAR (nid, "TSLAB", NF_DOUBLE, 1, idim2,nvarid) 298 #else 299 ierr = NF_DEF_VAR (nid, "TSLAB", NF_FLOAT, 1, idim2,nvarid) 296 300 #endif 297 301 ierr = NF_PUT_ATT_TEXT (nid,nvarid,"title", 33, … … 299 303 ierr = NF_ENDDEF(nid) 300 304 #ifdef NC_DOUBLE 301 ierr = NF_PUT_VAR_DOUBLE (nid,nvarid,deltat) 302 #else 303 ierr = NF_PUT_VAR_REAL (nid,nvarid,deltat) 305 ierr = NF_PUT_VAR_DOUBLE (nid,nvarid,tslab) 306 #else 307 ierr = NF_PUT_VAR_REAL (nid,nvarid,tslab) 308 #endif 309 c 310 ierr = NF_REDEF (nid) 311 #ifdef NC_DOUBLE 312 ierr = NF_DEF_VAR (nid, "SEAICE", NF_DOUBLE, 1, idim2,nvarid) 313 #else 314 ierr = NF_DEF_VAR (nid, "SEAICE", NF_FLOAT, 1, idim2,nvarid) 315 #endif 316 ierr = NF_PUT_ATT_TEXT (nid,nvarid,"title", 33, 317 . "Glace de mer kg/m2 (pour slab-ocean)") 318 ierr = NF_ENDDEF(nid) 319 #ifdef NC_DOUBLE 320 ierr = NF_PUT_VAR_DOUBLE (nid,nvarid,seaice) 321 #else 322 ierr = NF_PUT_VAR_REAL (nid,nvarid,seaice) 304 323 #endif 305 324 c
Note: See TracChangeset
for help on using the changeset viewer.