Changeset 2466 for trunk/LMDZ.MARS/libf/dynphy_lonlat
- Timestamp:
- Feb 24, 2021, 4:16:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/lect_start_archive.F
r1711 r2466 2 2 & date,tsurf,tsoil,emis,q2, 3 3 & t,ucov,vcov,ps,co2ice,h,phisold_newgrid, 4 & q,qsurf,tauscaling,totcloudfrac,surfith,nid) 4 & q,qsurf,tauscaling,totcloudfrac,surfith,nid, 5 & watercap) 5 6 c======================================================================= 6 7 c … … 50 51 REAL,INTENT(OUT) :: tauscaling(ngrid) ! dust conversion factor 51 52 REAL,INTENT(OUT) :: totcloudfrac(ngrid) ! sub grid cloud fraction 53 REAL,INTENT(OUT) :: watercap(ngrid) ! infinite polar cap 52 54 REAL,INTENT(OUT) :: phisold_newgrid(iip1,jjp1) 53 55 REAL,INTENT(OUT) :: t(iip1,jjp1,llm) … … 132 134 real tauscalingS(iip1,jjp1) 133 135 real totcloudfracS(iip1,jjp1) 136 real watercapS(iip1,jjp1) 134 137 135 138 real ptotal, co2icetotal … … 161 164 real, dimension(:,:), allocatable :: tauscalingold 162 165 real, dimension(:,:), allocatable :: totcloudfracold 166 real, dimension(:,:), allocatable :: watercapold 163 167 164 168 real tab_cntrl(100) … … 362 366 allocate(tauscalingold(imold+1,jmold+1)) 363 367 allocate(totcloudfracold(imold+1,jmold+1)) 368 allocate(watercapold(imold+1,jmold+1)) 364 369 365 370 allocate(var (imold+1,jmold+1,llm)) … … 687 692 688 693 c----------------------------------------------------------------------- 689 c 5.1 Lecture des champs 2D (co2ice, emis,ps,tsurf,Tg[10], q2surf, tauscaling,totcloudfrac )694 c 5.1 Lecture des champs 2D (co2ice, emis,ps,tsurf,Tg[10], q2surf, tauscaling,totcloudfrac,watercap) 690 695 c----------------------------------------------------------------------- 691 696 … … 800 805 IF (ierr .NE. NF_NOERR) THEN 801 806 PRINT*, "lect_start_archive: Failed loading <totcloudfrac>" 807 PRINT*, NF_STRERROR(ierr) 808 CALL abort 809 ENDIF 810 ENDIF 811 c 812 ierr = NF_INQ_VARID (nid, "watercap", nvarid) 813 IF (ierr .NE. NF_NOERR) THEN 814 PRINT*, "lect_start_archive: <watercap> not in file" 815 watercapold(:,:) = 0. 816 ELSE 817 #ifdef NC_DOUBLE 818 ierr = NF_GET_VARA_DOUBLE(nid, nvarid,start,count, 819 & watercapold) 820 #else 821 ierr = NF_GET_VARA_REAL(nid, nvarid,start,count, 822 & watercapold) 823 #endif 824 IF (ierr .NE. NF_NOERR) THEN 825 PRINT*, "lect_start_archive: Failed loading <watercap>" 802 826 PRINT*, NF_STRERROR(ierr) 803 827 CALL abort … … 1091 1115 & jjm,1,rlonuold,rlatvold,rlonu,rlatv) 1092 1116 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,totcloudfracs,totcloudfrac) 1093 1117 1118 c Watercap 1119 call interp_horiz (watercapold,watercaps,imold,jmold,iim, 1120 & jjm,1,rlonuold,rlatvold,rlonu,rlatv) 1121 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,watercaps,watercap) 1122 1094 1123 c write(46,*) 'emis',emis 1095 1124 c----------------------------------------------------------------------- … … 1452 1481 deallocate(tauscalingold) 1453 1482 deallocate(totcloudfracold) 1483 deallocate(watercapold) 1454 1484 deallocate(var,varp1) 1455 1485
Note: See TracChangeset
for help on using the changeset viewer.