Changeset 443 for LMDZ.3.3/branches
- Timestamp:
- Jan 27, 2003, 11:47:56 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/phylmd/phyredem.F
r433 r443 1 1 c $Header$ 2 2 c 3 cIM SUBROUTINE phyredem (fichnom,dtime,radpas,co2_ppm,solaire, 3 4 SUBROUTINE phyredem (fichnom,dtime,radpas, 4 . rlat,rlon, pctsrf,tsol,tsoil,deltat,qs ol,snow,5 . rlat,rlon, pctsrf,tsol,tsoil,deltat,qsurf,qsol,snow, 5 6 . albedo, evap, rain_fall, snow_fall, 6 7 . solsw, sollw,fder, … … 26 27 INTEGER radpas 27 28 REAL rlat(klon), rlon(klon) 29 cIM REAL co2_ppm 30 cIM REAL solaire 28 31 REAL tsol(klon,nbsrf) 29 32 REAL tsoil(klon,nsoilmx,nbsrf) 30 33 REAL deltat(klon) 31 REAL qsol(klon,nbsrf) 34 REAL qsurf(klon,nbsrf) 35 REAL qsol(klon) 32 36 REAL snow(klon,nbsrf) 33 37 REAL albedo(klon,nbsrf) … … 313 317 ENDIF 314 318 #ifdef NC_DOUBLE 315 ierr = NF_PUT_VAR_DOUBLE (nid,nvarid,qsol(1,nsrf)) 316 #else 317 ierr = NF_PUT_VAR_REAL (nid,nvarid,qsol(1,nsrf)) 318 #endif 319 ENDDO 319 ierr = NF_PUT_VAR_DOUBLE (nid,nvarid,qsurf(1,nsrf)) 320 #else 321 ierr = NF_PUT_VAR_REAL (nid,nvarid,qsurf(1,nsrf)) 322 #endif 323 END DO 324 C 325 ierr = NF_REDEF (nid) 326 #ifdef NC_DOUBLE 327 ierr = NF_DEF_VAR (nid,"QSOL",NF_DOUBLE,1,idim2,nvarid) 328 #else 329 ierr = NF_DEF_VAR (nid,"QSOL",NF_FLOAT,1,idim2,nvarid) 330 #endif 331 ierr = NF_PUT_ATT_TEXT (nid,nvarid,"title", 20, 332 . "Eau dans le sol (mm)") 333 ierr = NF_ENDDEF(nid) 334 #ifdef NC_DOUBLE 335 ierr = NF_PUT_VAR_DOUBLE (nid,nvarid,qsol) 336 #else 337 ierr = NF_PUT_VAR_REAL (nid,nvarid,qsol) 338 #endif 320 339 c 321 340 DO nsrf = 1, nbsrf
Note: See TracChangeset
for help on using the changeset viewer.