Changeset 1208 for trunk/LMDZ.MARS/libf/phymars/lect_start_archive.F
- Timestamp:
- Mar 12, 2014, 4:30:18 PM (11 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/lect_start_archive.F
r1207 r1208 2 2 & date,tsurf,tsoil,emis,q2, 3 3 & t,ucov,vcov,ps,co2ice,h,phisold_newgrid, 4 & q,qsurf, surfith,nid)4 & q,qsurf,tauscaling,surfith,nid) 5 5 c======================================================================= 6 6 c … … 109 109 REAL emis(ngrid) 110 110 REAL q2(ngrid,nlayer+1),qsurf(ngrid,nqtot) 111 REAL tauscaling(ngrid) ! dust conversion factor 111 112 c REAL phisfi(ngrid) 112 113 … … 136 137 real co2iceS(iip1,jjp1),emisS(iip1,jjp1) 137 138 REAL q2S(iip1,jjp1,llm+1),qsurfS(iip1,jjp1,nqtot) 139 real tauscalingS(iip1,jjp1) 138 140 139 141 real ptotal, co2icetotal … … 163 165 real, dimension(:,:), allocatable :: emisold 164 166 real, dimension(:,:,:,:), allocatable :: qold 167 real, dimension(:,:), allocatable :: tauscalingold 165 168 166 169 real tab_cntrl(100) … … 337 340 allocate(mlayerold(nsoilold)) 338 341 allocate(qsurfold(imold+1,jmold+1,nqtot)) 342 allocate(tauscalingold(imold+1,jmold+1)) 339 343 340 344 allocate(var (imold+1,jmold+1,llm)) … … 662 666 663 667 c----------------------------------------------------------------------- 664 c 5.1 Lecture des champs 2D (co2ice, emis,ps,tsurf,Tg[10], q2surf )668 c 5.1 Lecture des champs 2D (co2ice, emis,ps,tsurf,Tg[10], q2surf, tauscaling) 665 669 c----------------------------------------------------------------------- 666 670 … … 742 746 PRINT*, "lect_start_archive: Failed loading <q2surf>" 743 747 CALL abort 748 ENDIF 749 c 750 ierr = NF_INQ_VARID (nid, "tauscaling", nvarid) 751 IF (ierr .NE. NF_NOERR) THEN 752 PRINT*, "lect_start_archive: <tauscaling> not in file" 753 tauscalingold(:,:) = -1 754 ELSE 755 #ifdef NC_DOUBLE 756 ierr = NF_GET_VARA_DOUBLE(nid, nvarid,start,count,tauscalingold) 757 #else 758 ierr = NF_GET_VARA_REAL(nid, nvarid,start,count,tauscalingold) 759 #endif 760 IF (ierr .NE. NF_NOERR) THEN 761 PRINT*, "lect_start_archive: Failed loading <tauscaling>" 762 PRINT*, NF_STRERROR(ierr) 763 CALL abort 764 ENDIF 744 765 ENDIF 745 766 c … … 1019 1040 call interp_horiz (emisold,emiss,imold,jmold,iim,jjm,1, 1020 1041 & rlonuold,rlatvold,rlonu,rlatv) 1021 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,emiss,emis) 1042 c Dust conversion factor 1043 call interp_horiz (tauscalingold,tauscalings,imold,jmold,iim,jjm, 1044 & 1,rlonuold,rlatvold,rlonu,rlatv) 1045 call gr_dyn_fi (1,iim+1,jjm+1,ngrid,tauscalings,tauscaling) 1022 1046 c write(46,*) 'emis',emis 1023 1047 c----------------------------------------------------------------------- … … 1378 1402 deallocate(mlayerold) 1379 1403 deallocate(qsurfold) 1404 deallocate(tauscalingold) 1380 1405 deallocate(var,varp1) 1381 1406
Note: See TracChangeset
for help on using the changeset viewer.