- Timestamp:
- Aug 5, 2025, 1:29:32 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/dynphy_lonlat/phypluto/lect_start_archive.F
r3732 r3878 1 1 SUBROUTINE lect_start_archive(ngrid,nlayer, 2 & date,tsurf,tsoil,emis, q2,2 & date,tsurf,tsoil,emis,alb,q2, 3 3 & t,ucov,vcov,ps,h,phisold_newgrid, 4 4 & q,qsurf,surfith,nid) … … 68 68 REAL n2ice(ngrid) ! N2 ice layer 69 69 REAL,INTENT(OUT) :: emis(ngrid) 70 REAL,INTENT(OUT) :: alb(ngrid) 70 71 REAL,INTENT(OUT) :: q2(ngrid,llm+1),qsurf(ngrid,nqtot) 71 72 ! REAL,INTENT(OUT) :: tslab(ngrid,nslay) … … 100 101 real n2iceS(iip1,jjp1) 101 102 real emisS(iip1,jjp1) 103 real albS(iip1,jjp1) 102 104 REAL q2S(iip1,jjp1,llm+1),qsurfS(iip1,jjp1,nqtot) 103 105 ! real tslabS(iip1,jjp1,nslay) … … 135 137 real, dimension(:,:), allocatable :: tsurfold 136 138 real, dimension(:,:), allocatable :: emisold 139 real, dimension(:,:), allocatable :: albold 137 140 real, dimension(:,:,:,:), allocatable :: qold 138 141 ! real, dimension(:,:,:), allocatable :: tslabold … … 284 287 allocate(tsurfold(imold+1,jmold+1)) 285 288 allocate(emisold(imold+1,jmold+1)) 289 allocate(albold(imold+1,jmold+1)) 286 290 allocate(q2old(imold+1,jmold+1,lmold+1)) 287 291 ! allocate(tsoilold(imold+1,jmold+1,nsoilmx)) … … 645 649 IF (ierr .NE. NF_NOERR) THEN 646 650 PRINT*, "lect_start_archive: Failed loading <emis>" 651 CALL abort 652 ENDIF 653 c 654 ierr = NF_INQ_VARID (nid, "albedodat", nvarid) 655 IF (ierr .NE. NF_NOERR) THEN 656 PRINT*, "lect_start_archive: Field <albedodat> not found" 657 CALL abort 658 ENDIF 659 #ifdef NC_DOUBLE 660 ierr = NF_GET_VARA_DOUBLE(nid, nvarid,start,count,albold) 661 #else 662 ierr = NF_GET_VARA_REAL(nid, nvarid,start,count,albold) 663 #endif 664 IF (ierr .NE. NF_NOERR) THEN 665 PRINT*, "lect_start_archive: Failed loading <albedodat>" 647 666 CALL abort 648 667 ENDIF … … 1086 1105 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,emiss,emis) 1087 1106 c write(46,*) 'emis',emis 1107 c Albedo de la surface 1108 call interp_horiz (albold,albs,imold,jmold,iim,jjm,1, 1109 & rlonuold,rlatvold,rlonu,rlatv) 1110 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,albs,alb) 1111 c write(46,*) 'alb',alb 1088 1112 1089 1113 … … 1503 1527 deallocate(tsurfold) 1504 1528 deallocate(emisold) 1529 deallocate(albold) 1505 1530 deallocate(q2old) 1506 1531 deallocate(tsoilold)
Note: See TracChangeset
for help on using the changeset viewer.