Changeset 474 for trunk/LMDZ.TITAN/libf
- Timestamp:
- Dec 15, 2011, 3:07:31 AM (13 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/phytitan
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/brume3D.F
r175 r474 113 113 do j=1,nrad 114 114 v1=vitesse(i,j,0) 115 c ho que c'est moche ! -> taused = RT/(Mn2*g)*1/vaer = H/v 115 116 taused(i,j)=(8.314*t(i)/28.e-3/1.35)/v1 116 117 enddo … … 126 127 call sedif(dice3) 127 128 c En theorie, dice3 est NEGATIF (en sedimentant on ne fait que perdre des aerosols) 128 c Le precipitations sont comptées positivement.129 precip(ihor,5)= -dice3/rhol! m3/m2=m129 c Les precipitations sont comptees positivement. (ET ON NE PREND QUE DES VALEURS POSITIVES) 130 precip(ihor,5)=AMAX1(-dice3/rhol,0.) ! m3/m2=m 130 131 131 132 li=3-li -
trunk/LMDZ.TITAN/libf/phytitan/conf_phys.F90
r175 r474 391 391 clouds = 1 392 392 call getin('clouds',clouds) 393 if (microfi. ne.1) clouds = 0 ! On ne fait pas de nuages sans microphysique !393 if (microfi.lt.1) clouds = 0 ! On ne fait pas de nuages sans microphysique ! 394 394 395 395 ! -
trunk/LMDZ.TITAN/libf/phytitan/diagmuphy.h
r175 r474 13 13 REAL tau_aer(ngd,llm,nrad) 14 14 ! ---- Production de glace (negatif si disparition) 15 REAL solesp(ngd,llm+1,3) 15 REAL solesp(ngd,llm,3) 16 ! ---- Evaporation CH4 17 REAL evapch4(ngd) 16 18 ! ---- occurences des nuages 17 19 REAL occcld_m(ngd,llm,12) … … 25 27 REAL satc2h2(ngd,llm) 26 28 ! ---- precipitations (CH4, C2H6, C2H2, noyaux, aerosols) 27 REAL prec (ngd,5)29 REAL precip(ngd,5) 28 30 ! ---- rayon moyen des gouttes 29 31 REAL rmcloud(ngd,llm) 30 32 31 33 common/diagmuphy/flxesp_i,tau_drop,tau_aer, & 32 & solesp, occcld_m,occcld,&34 & solesp,evapch4,occcld_m,occcld, & 33 35 & satch4,satc2h6,satc2h2, & 34 & prec ,rmcloud36 & precip,rmcloud 35 37 -
trunk/LMDZ.TITAN/libf/phytitan/ini_histday.h
r306 r474 114 114 . "ave(X)", zsto,zout) 115 115 116 if (clouds.eq.1) then 117 116 if (clouds.eq.1) then 118 117 CALL histdef(nid_day, "qnoy","nb tot noy" , "n/m2", 119 118 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, … … 142 141 c ----- RESERVOIR DE SURFACE 143 142 CALL histdef(nid_day, "reserv", "Reservoir surface","m", 143 . iim,jjmp1,nhori, 1,1,1, -99, 32, 144 . "ave(X)", zsto,zout) 145 c -------------- 146 c ----- ECHANGE GAZ SURF/ATM (evaporation) 147 CALL histdef(nid_day, "evapch4", "Evaporation CH4","m", 144 148 . iim,jjmp1,nhori, 1,1,1, -99, 32, 145 149 . "ave(X)", zsto,zout) … … 171 175 . "m",iim,jjmp1,nhori, klev,1,klev,nvert, 32, 172 176 . "ave(X)", zsto,zout) 173 177 endif 174 178 endif 175 179 c -------------- -
trunk/LMDZ.TITAN/libf/phytitan/ini_histmth.h
r306 r474 118 118 . "ave(X)", zsto,zout) 119 119 120 if (clouds.eq.1) then 121 120 if (clouds.eq.1) then 122 121 CALL histdef(nid_mth, "qnoy","nb tot noy" , "n/m2", 123 122 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, … … 149 148 . "ave(X)", zsto,zout) 150 149 c -------------- 151 c ----- PRECIPITATIONS (precipitations cumulatives)152 CALL histdef(nid_mth, "prech4","PrecipCH4","m",150 c ----- ECHANGE GAZ SURF/ATM (evaporation) 151 CALL histdef(nid_mth, "evapch4", "Evaporation CH4","m", 153 152 . iim,jjmp1,nhori, 1,1,1, -99, 32, 154 153 . "ave(X)", zsto,zout) 154 c -------------- 155 c ----- PRECIPITATIONS (precipitations moyennes) 156 CALL histdef(nid_mth,"prech4","Precip CH4","um/s", 157 . iim,jjmp1,nhori, 1,1,1, -99, 32, 158 . "ave(X)", zsto,zout) 155 159 CALL histdef(nid_mth,"prec2h6","Precip C2H6", 156 . " m",iim,jjmp1,nhori, 1,1,1, -99, 32,160 . "um/s",iim,jjmp1,nhori, 1,1,1, -99, 32, 157 161 . "ave(X)", zsto,zout) 158 162 CALL histdef(nid_mth,"prec2h2","Precip C2H2", 159 . " m",iim,jjmp1,nhori, 1,1,1, -99, 32,163 . "um/s",iim,jjmp1,nhori, 1,1,1, -99, 32, 160 164 . "ave(X)", zsto,zout) 161 165 CALL histdef(nid_mth,"prenoy","Precip NOY", 162 . " m",iim,jjmp1,nhori, 1,1,1, -99, 32,166 . "um/s",iim,jjmp1,nhori, 1,1,1, -99, 32, 163 167 . "ave(X)", zsto,zout) 164 168 CALL histdef(nid_mth,"preaer","Precip AER", 165 . " m",iim,jjmp1,nhori, 1,1,1, -99, 32,169 . "um/s",iim,jjmp1,nhori, 1,1,1, -99, 32, 166 170 . "ave(X)", zsto,zout) 167 171 c -------------- … … 177 181 . "ave(X)", zsto,zout) 178 182 c -------------- 183 c ----- Source/puits GLACE 184 CALL histdef(nid_mth,"solch4", "dQ gl CH4", 185 . "m3/m3",iim,jjmp1,nhori, klev,1,klev,nvert, 32, 186 . "ave(X)", zsto,zout) 187 CALL histdef(nid_mth,"solc2h6", "dQ gl C2H6", 188 . "m3/m3",iim,jjmp1,nhori, klev,1,klev,nvert, 32, 189 . "ave(X)", zsto,zout) 190 CALL histdef(nid_mth,"solc2h2", "dQ gl C2H2", 191 . "m3/m3",iim,jjmp1,nhori, klev,1,klev,nvert, 32, 192 . "ave(X)", zsto,zout) 193 c -------------- 179 194 c ----- RAYON DES GOUTTES 180 195 CALL histdef(nid_mth,"rcldbar", "rayon moyen goutte", 181 196 . "m",iim,jjmp1,nhori, klev,1,klev,nvert, 32, 182 197 . "ave(X)", zsto,zout) 183 198 endif 184 199 endif 185 200 c -------------- -
trunk/LMDZ.TITAN/libf/phytitan/muphys3D.F
r176 r474 107 107 REAL pdq(ngrid,klev,nmicro) 108 108 REAL flxesp_i(ngrid,klev,3) ! flx esp GLACE 109 REAL solesp(ngrid,klev +1,3) ! tx prod glace (puit/source) ! ind klev+1 = surface ?109 REAL solesp(ngrid,klev,3) ! tx prod glace (puit/source) 110 110 REAL tau_drop(ngrid,klev) 111 111 REAL tau_aer(ngrid,klev,nrad) … … 134 134 135 135 136 real ttq(ngrid,klev,nmicro,2)137 real tttq(ngrid,klev,nmicro,2)136 c real ttq(ngrid,klev,nmicro,2) 137 c real tttq(ngrid,klev,nmicro,2) 138 138 139 139 … … 351 351 do j=1,klev 352 352 do i=1,nrad 353 ! solesp en m3/m3 pour passer en m3/m2 il faut faire : 354 ! (c1i(j,i)*dzb(j) -q(IHOR,j,i+2*nrad)) 353 355 solesp(ihor,klev+1-j,1)=solesp(ihor,klev+1-j,1) + 354 356 & (c1i(j,i)-q(IHOR,j,i+2*nrad)/dzb(j)) -
trunk/LMDZ.TITAN/libf/phytitan/phytrac.F
r306 r474 70 70 c Local variables 71 71 REAL qaer0(klon,klev,nqmax) 72 REAL prec(klon,5) 72 73 73 74 c ASTUCE POUR EVITER klon... EN ATTENDANT MIEUX … … 108 109 integer i,j,k,l,iq,ig0 109 110 110 REAL zprec(jjm+1,5),zsolesp(jjm+1,klev +1,3),111 REAL zprec(jjm+1,5),zsolesp(jjm+1,klev,3), 111 112 & zflxesp_i(jjm+1,klev,3) 112 113 REAL ztau_drop(jjm+1,klev),ztau_aer(jjm+1,klev,nrad) … … 163 164 tau_aer(:,:,:) = 0. 164 165 solesp(:,:,:) = 0. 165 prec(:,:) = 0. 166 precip(:,:) = 0. ! c'est uniquement une sortie en um/s 167 c 168 prec(:,:) = 0. ! c'est la variable temporaire des precipitions de la microfi 169 ! prec est en m (metre precipitable) 166 170 167 171 c----------------------------------------------------------------------- … … 507 511 IF (clouds.eq.1) THEN 508 512 DO iq=1,3 509 DO l=1,llm +1510 if (l.le.llm)flxesp_i(1,l,iq) = zflxesp_i(1,l,iq)513 DO l=1,llm 514 flxesp_i(1,l,iq) = zflxesp_i(1,l,iq) 511 515 solesp(1,l,iq) = zsolesp(1,l,iq) 512 516 ig0 = 2 513 517 DO j=2,jjm 514 518 DO i = 1, iim 515 if (l.le.llm) flxesp_i(ig0,l,iq)=zflxesp_i(1,l,iq)516 solesp(ig0,l,iq) = zsolesp( 1,l,iq)519 flxesp_i(ig0,l,iq)=zflxesp_i(j,l,iq) 520 solesp(ig0,l,iq) = zsolesp(j,l,iq) 517 521 ig0 = ig0 + 1 518 522 ENDDO 519 523 ENDDO 520 if (l.le.llm)flxesp_i(ig0,l,iq)=zflxesp_i(jjm+1,l,iq)524 flxesp_i(ig0,l,iq)=zflxesp_i(jjm+1,l,iq) 521 525 solesp(ig0,l,iq) = zsolesp(jjm+1,l,iq) 522 526 ENDDO … … 568 572 & pu,pv,pplev,pzlay,pzlev, 569 573 & gaz1,gaz2,gaz3, 570 & ftsol, solesp,reservoir)574 & ftsol,evapch4,reservoir) 571 575 572 576 c ch4b=0. … … 778 782 c CONDENSATION VIA MICROFI 779 783 c---------------------- 780 c La microphysique avec nuages doit se faire obligatoirement en 3D. 784 c La microphysique avec nuages doit se faire obligatoirement en 3D. (FAUX ACTUELLEMENT) 781 785 c Rien n'empeche de faire la chimie en 2D. Cependant pour prendre en compte la 782 786 c condensation due a la microfi (en 3D) on recalcule la tendance finale pour … … 836 840 837 841 c-------------------------------------------------- 842 c CONVERSION PRECIPITATION : 843 c en microns/secondes 844 c-------------------------------------------------- 845 precip = prec * 1.e6 / ptimestep 846 847 848 c-------------------------------------------------- 838 849 c CALCUL DU FLUX DE CHALEUR LATENTE D'EVAPORATION 839 850 c DU METHANE … … 848 859 & (7.08*ftm**0.354+10.95*1.1e-2*ftm**0.456) 849 860 & /mch4 850 ! solcxhyen m3/m2 {ok}861 ! evapch4 en m3/m2 {ok} 851 862 ! 425 en kg/m3 852 863 ! Lv en J/kg {ok} 853 864 ! ptimestep en s {ok} 854 fclat(i)=( solesp(i,klev+1,1)*Lvch4*rhoi_ch4) ! en J/m2/s865 fclat(i)=(evapch4(i)*Lvch4*rhoi_ch4) ! en J/m2/s 855 866 ENDDO 856 867 ENDIF … … 873 884 & ((qaer(i,j,iq+2*nrad)/qaer(i,j,iq+nrad)+ 874 885 & qaer(i,j,iq+3*nrad)/qaer(i,j,iq+nrad) + 875 & v_e(iq))*0.75/ 3.1415926353)**(1./3.)886 & v_e(iq))*0.75/RPI)**(1./3.) 876 887 ENDIF 877 888 ENDDO … … 908 919 & print*, 'PB AVEC XFRAC:', i,j,xgsn,vcl 909 920 rmcloud(i,j)= ! rayon moyen des gouttes 910 & (vcl/nuc*0.75/ 3.1415926353)**(1./3.)921 & (vcl/nuc*0.75/RPI)**(1./3.) 911 922 xfrac(i,j,1)=xgsn/vcl ! fraction volumique noyau/goutte 912 923 xfrac(i,j,2)=xmsn/vcl ! fraction volumique CH4/goutte … … 918 929 ncount(i,j) = ncount(i,j)+1 919 930 ENDIF 920 socccld=socccld+ 3.1415926*(rmcloud(i,j)**2.)*nuc931 socccld=socccld+RPI*(rmcloud(i,j)**2.)*nuc 921 932 occcld(i,j)=socccld 922 933 ENDDO … … 940 951 c 12 31.622778 100000.00 941 952 c 953 c mise a zero de occld_m 954 occcld_m=0. 942 955 DO i=1,klon 943 956 DO j=1,klev -
trunk/LMDZ.TITAN/libf/phytitan/snuages3D.F
r175 r474 240 240 241 241 c En theorie, les diceX sont NEGATIF (en sedimentant on ne fait que perdre de la glace) 242 c Le precipitations sont comptées positivement. 243 precip(ihor,1)=-dice1/rhoi_ch4 ! m3/m2 = m :) 244 precip(ihor,2)=-dice2/rhoi_c2h6 245 precip(ihor,3)=-dice3/rhoi_c2h2 246 precip(ihor,4)=-dice4/rhol 242 c Les precipitations sont comptees positivement. (ET ON NE PREND QUE DES VALEURS POSITIVES !) 243 244 precip(ihor,1)=AMAX1(-dice1/rhoi_ch4,0) ! m3/m2 = m :) 245 precip(ihor,2)=AMAX1(-dice2/rhoi_c2h6,0) 246 precip(ihor,3)=AMAX1(-dice3/rhoi_c2h2,0) 247 precip(ihor,4)=AMAX1(-dice4/rhol,0) 247 248 248 249 do i=1,nz -
trunk/LMDZ.TITAN/libf/phytitan/sources.F
r175 r474 3 3 $ pplev,pzlay,pzlev, 4 4 $ gaz1,gaz2,gaz3, 5 $ ptsrf, solesp,reserv)5 $ ptsrf,evapch4,reserv) 6 6 7 7 c======================================================================= … … 37 37 REAL gaz1(ngrid,nlay),gaz2(ngrid,nlay),gaz3(ngrid,nlay) 38 38 REAL ptsrf(ngrid) 39 REAL solesp(ngrid,klev+1,3)39 REAL evapch4(ngrid) 40 40 c 41 41 c local: … … 51 51 REAL prodc2h6,prodc2h2 52 52 real reserv(ngrid),restemp,drestemp 53 REAL evapch453 REAL zevapch4 54 54 55 55 real umin 56 56 data umin/1.e-12/ 57 57 save umin 58 58 c 59 59 c 60 60 c----------------------------------------------------------------------- … … 84 84 zgz3 = gaz3 85 85 86 evapch4 = 0. 87 86 88 c----------------------------------------------------------------------- 87 89 c 2. calcul de cd : … … 103 105 * Conditions CH4 104 106 DO ig=1,ngrid 105 evapch4=0.107 zevapch4=0. 106 108 restemp=0. 107 109 gg=RG*RA**2/(RA+pzlay(ig,1))**2. … … 110 112 ws=sqrt(pu(ig)**2.+pv(ig)**2.)*(10./pzlay(ig,1))**0.2 111 113 ch=1.5*sqrt(zcdv(ig)) 112 c write(100,'(I4,3(ES24.17,1X))')113 c & ig,sqrt(pu(ig)**2.+pv(ig)**2.),114 c & (10./pzlay(ig,1))**0.2,ws115 114 call ch4sat(ptsrf(ig),pplev(ig,1),qch4) ! qch4=kg/kg 116 115 qch4=qch4*0.50 ! ici on impose 50% d'humidité au sol … … 123 122 flux=flux*0.1 ! fraction occupée par les lacs 124 123 endif 125 c write(101,'(I4,5(ES24.17,1X))')126 c & ig,reserv(ig),ws,ch,zrho,(pzlev(ig,1+1)-pzlev(ig,1))127 c flux=flux/zrho/(pzlev(ig,1+1)-pzlev(ig,1)) ! dx/ds128 124 129 125 zmem=zgz1(ig,1) … … 146 142 IF (restemp.ge.0.) THEN 147 143 reserv(ig) = reserv(ig) + drestemp 148 evapch4 = evapch4+ drestemp144 zevapch4 = zevapch4 + drestemp 149 145 ELSE 150 146 * Il n'y a pas suffisamment de méthane; on re-évalue le flux d'évaporation 151 147 * Quelle nouvelle concentration zgz1(ig,1) atteint-on en évaporant tout ? 152 zgz1(ig,1)= reserv(ig)/(xmair*(pzlev(ig,1+1)-pzlev(ig,1))148 zgz1(ig,1)= reserv(ig)/(xmair*(pzlev(ig,1+1)-pzlev(ig,1)) 153 149 & *16./xmuair/425.)+zmem 154 evapch4=evapch4-reserv(ig)150 zevapch4 = zevapch4-reserv(ig) 155 151 156 152 if(reserv(ig).eq.0.) … … 160 156 ENDIF 161 157 c 162 solesp(ig,klev+1,1)=solesp(ig,klev+1,1)+evapch4 ! <0 si volume évaporé (m3/m2) 163 164 c write(498,'(I3,4(ES24.17,1X))') ig,gaz1(ig,1),zgz1(ig,1),flux 158 evapch4(ig)=evapch4(ig)+zevapch4 ! evapch4 doit etre < 0 159 165 160 ENDDO 166 c write(498,*) "" 167 c write(101,*) "" 161 168 162 * Conditions C2H6 169 163 -
trunk/LMDZ.TITAN/libf/phytitan/write_histday.h
r306 r474 114 114 115 115 if (clouds.eq.1) then 116 117 116 c ------- NB NOY TOT 118 117 do i=1,klon … … 170 169 . iim*jjmp1,ndex2d) 171 170 c -------------- 171 c ----- ECHANGE GAZ SURF/ATM (evaporation) 172 CALL gr_fi_ecrit(1, klon,iim,jjmp1,evapch4,zx_tmp_2d) 173 CALL histwrite(nid_day,"evapch4",itau_w,zx_tmp_2d, 174 . iim*jjmp1,ndex2d) 175 c -------------- 172 176 c ----- PRECIPITATIONS 173 177 c ----- CH4 174 CALL gr_fi_ecrit(1, klon,iim,jjmp1,prec (:,1),zx_tmp_2d)178 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,1),zx_tmp_2d) 175 179 CALL histwrite(nid_day,"prech4",itau_w,zx_tmp_2d, 176 180 . iim*jjmp1,ndex2d) 177 181 c ----- C2H6 178 CALL gr_fi_ecrit(1, klon,iim,jjmp1,prec (:,2),zx_tmp_2d)182 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,2),zx_tmp_2d) 179 183 CALL histwrite(nid_day,"prec2h6",itau_w,zx_tmp_2d, 180 184 . iim*jjmp1,ndex2d) 181 185 c ----- C2H2 182 CALL gr_fi_ecrit(1, klon,iim,jjmp1,prec (:,3),zx_tmp_2d)186 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,3),zx_tmp_2d) 183 187 CALL histwrite(nid_day,"prec2h2",itau_w,zx_tmp_2d, 184 188 . iim*jjmp1,ndex2d) … … 186 190 c -------------- 187 191 c ----- FLUX GLACE 188 CALL gr_fi_ecrit(klev,klon,iim,jjmp1,flxesp_i(1,1,1),zx_tmp_3d) 192 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 193 . flxesp_i(1:klon,1:klev,1),zx_tmp_3d) 189 194 CALL histwrite(nid_day,"flxgl1", itau_w, zx_tmp_3d, 190 195 . iim*jjmp1*klev,ndex3d) 191 CALL gr_fi_ecrit(klev,klon,iim,jjmp1,flxesp_i(1,1,2),zx_tmp_3d) 196 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 197 . flxesp_i(1:klon,1:klev,2),zx_tmp_3d) 192 198 CALL histwrite(nid_day,"flxgl2", itau_w, zx_tmp_3d, 193 199 . iim*jjmp1*klev,ndex3d) 194 CALL gr_fi_ecrit(klev,klon,iim,jjmp1,flxesp_i(1,1,3),zx_tmp_3d) 200 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 201 . flxesp_i(1:klon,1:klev,3),zx_tmp_3d) 195 202 CALL histwrite(nid_day,"flxgl3", itau_w, zx_tmp_3d, 196 203 . iim*jjmp1*klev,ndex3d) -
trunk/LMDZ.TITAN/libf/phytitan/write_histmth.h
r306 r474 97 97 if (microfi.ge.1) then 98 98 c DO iq=1,nmicro 99 c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, qaer(1,1,iq), zx_tmp_3d) 99 c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 100 c . qaer(1:klon,1:klev,iq), zx_tmp_3d) 100 101 c CALL histwrite(nid_mth,tname(iq),itau_w,zx_tmp_3d, 101 102 c . iim*jjmp1*klev,ndex3d) … … 112 113 113 114 if (clouds.eq.1) then 114 115 115 c ------- NB NOY TOT 116 116 do i=1,klon … … 168 168 . iim*jjmp1,ndex2d) 169 169 c -------------- 170 c ----- ECHANGE GAZ SURF/ATM (evaporation) 171 CALL gr_fi_ecrit(1, klon,iim,jjmp1,evapch4,zx_tmp_2d) 172 CALL histwrite(nid_mth,"evapch4",itau_w,zx_tmp_2d, 173 . iim*jjmp1,ndex2d) 174 c -------------- 170 175 c ----- PRECIPITATIONS 171 176 c ----- CH4 172 CALL gr_fi_ecrit(1, klon,iim,jjmp1,prec (:,1),zx_tmp_2d)177 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,1),zx_tmp_2d) 173 178 CALL histwrite(nid_mth,"prech4",itau_w,zx_tmp_2d, 174 179 . iim*jjmp1,ndex2d) 175 180 c ----- C2H6 176 CALL gr_fi_ecrit(1, klon,iim,jjmp1,prec (:,2),zx_tmp_2d)181 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,2),zx_tmp_2d) 177 182 CALL histwrite(nid_mth,"prec2h6",itau_w,zx_tmp_2d, 178 183 . iim*jjmp1,ndex2d) 179 184 c ----- C2H2 180 CALL gr_fi_ecrit(1, klon,iim,jjmp1,prec (:,3),zx_tmp_2d)185 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,3),zx_tmp_2d) 181 186 CALL histwrite(nid_mth,"prec2h2",itau_w,zx_tmp_2d, 182 187 . iim*jjmp1,ndex2d) 183 188 c 189 c ----- NOY 190 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,4),zx_tmp_2d) 191 CALL histwrite(nid_mth,"prenoy",itau_w,zx_tmp_2d, 192 . iim*jjmp1,ndex2d) 193 c ----- AER 194 CALL gr_fi_ecrit(1, klon,iim,jjmp1,precip(1:klon,5),zx_tmp_2d) 195 CALL histwrite(nid_mth,"preaer",itau_w,zx_tmp_2d, 196 . iim*jjmp1,ndex2d) 184 197 c -------------- 185 198 c ----- FLUX GLACE 186 CALL gr_fi_ecrit(klev,klon,iim,jjmp1,flxesp_i(1,1,1),zx_tmp_3d) 199 c ----- CH4 200 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 201 . flxesp_i(1:klon,1:klev,1),zx_tmp_3d) 187 202 CALL histwrite(nid_mth,"flxgl1", itau_w, zx_tmp_3d, 188 203 . iim*jjmp1*klev,ndex3d) 189 CALL gr_fi_ecrit(klev,klon,iim,jjmp1,flxesp_i(1,1,2),zx_tmp_3d) 204 c ----- C2H6 205 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 206 . flxesp_i(1:klon,1:klev,2),zx_tmp_3d) 190 207 CALL histwrite(nid_mth,"flxgl2", itau_w, zx_tmp_3d, 191 208 . iim*jjmp1*klev,ndex3d) 192 CALL gr_fi_ecrit(klev,klon,iim,jjmp1,flxesp_i(1,1,3),zx_tmp_3d) 209 c ----- C2H2 210 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 211 . flxesp_i(1:klon,1:klev,3),zx_tmp_3d) 193 212 CALL histwrite(nid_mth,"flxgl3", itau_w, zx_tmp_3d, 213 . iim*jjmp1*klev,ndex3d) 214 c -------------- 215 c ----- Source/puits GLACE 216 c ----- CH4 217 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 218 . solesp(1:klon,1:klev,1),zx_tmp_3d) 219 CALL histwrite(nid_mth,"solch4", itau_w, zx_tmp_3d, 220 . iim*jjmp1*klev,ndex3d) 221 c ----- C2H6 222 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 223 . solesp(1:klon,1:klev,2),zx_tmp_3d) 224 CALL histwrite(nid_mth,"solc2h6", itau_w, zx_tmp_3d, 225 . iim*jjmp1*klev,ndex3d) 226 c ----- C2H2 227 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, 228 . solesp(1:klon,1:klev,3),zx_tmp_3d) 229 CALL histwrite(nid_mth,"solc2h2", itau_w, zx_tmp_3d, 194 230 . iim*jjmp1*klev,ndex3d) 195 231 c … … 414 450 write(str1,'(i2.2)') k 415 451 zx_tmp_fi3d(1:klon,1:klev)=occcld_m(1:klon,1:klev,k) 452 CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) 416 453 CALL histwrite(nid_mth,"occcld"//str1,itau_w,zx_tmp_3d, 417 454 . iim*jjmp1*klev,ndex3d)
Note: See TracChangeset
for help on using the changeset viewer.