Changeset 463 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Dec 9, 2011, 8:52:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq.F
r459 r463 308 308 real rho(ngridmx,nlayermx) ! density 309 309 real vmr(ngridmx,nlayermx) ! volume mixing ratio 310 !real colden(ngridmx,nqmx) ! vertical column !FL310 REAL colden(ngridmx,nqmx) ! vertical column of tracers 311 311 REAL mtot(ngridmx) ! Total mass of water vapor (kg/m2) 312 312 REAL icetot(ngridmx) ! Total mass of water ice (kg/m2) … … 1088 1088 1089 1089 ! dust and ice surface area 1090 call surfacearea(ngrid, nlayer, pplay, zzlay, pt, pq, nq, 1090 call surfacearea(ngrid, nlayer, ptimestep, pplay, zzlay, 1091 $ pt, pq, pdq, nq, 1091 1092 $ rdust, rice, tau, tauscaling, 1092 1093 $ surfdust, surfice) … … 1487 1488 if (thermochem.or.photochem) then 1488 1489 do iq=1,nq 1489 if ((noms(iq).eq."o").or.(noms(iq).eq."co2").or. 1490 . (noms(iq).eq."co").or.(noms(iq).eq."n2").or. 1491 . (noms(iq).eq."h2").or. 1492 . (noms(iq).eq."o3")) then 1493 do l=1,nlayer 1494 do ig=1,ngrid 1495 vmr(ig,l)=zq(ig,l,iq)*mmean(ig,l)/mmol(iq) 1496 end do 1497 end do 1498 call wstats(ngrid,"vmr_"//trim(noms(iq)), 1499 . "Volume mixing ratio","mol/mol",3,vmr) 1500 endif 1501 ! do ig = 1,ngrid 1502 ! colden(ig,iq) = 0. !FL 1503 ! end do 1504 ! do l=1,nlayer !FL 1505 ! do ig=1,ngrid !FL 1506 ! colden(ig,iq) = colden(ig,iq) + zq(ig,l,iq) !FL 1507 ! $ *(pplev(ig,l)-pplev(ig,l+1)) !FL 1508 ! $ *6.022e22/(mmol(iq)*g) !FL 1509 ! end do !FL 1510 ! end do !FL 1511 ! call wstats(ngrid,"c_"//trim(noms(iq)), !FL 1512 ! $ "column","mol cm-2",2,colden(1,iq)) !FL 1490 if (noms(iq) .ne. "dust_mass" .and. 1491 $ noms(iq) .ne. "dust_number" .and. 1492 $ noms(iq) .ne. "ccn_mass" .and. 1493 $ noms(iq) .ne. "ccn_number") then 1494 do l=1,nlayer 1495 do ig=1,ngrid 1496 vmr(ig,l)=zq(ig,l,iq)*mmean(ig,l)/mmol(iq) 1497 end do 1498 end do 1499 call wstats(ngrid,"vmr_"//trim(noms(iq)), 1500 $ "Volume mixing ratio","mol/mol",3,vmr) 1501 if ((noms(iq).eq."o") .or. (noms(iq).eq."co2").or. 1502 $ (noms(iq).eq."o3")) then 1503 call writediagfi(ngrid,"vmr_"//trim(noms(iq)), 1504 $ "Volume mixing ratio","mol/mol",3,vmr) 1505 end if 1506 do ig = 1,ngrid 1507 colden(ig,iq) = 0. 1508 end do 1509 do l=1,nlayer 1510 do ig=1,ngrid 1511 colden(ig,iq) = colden(ig,iq) + zq(ig,l,iq) 1512 $ *(pplev(ig,l)-pplev(ig,l+1)) 1513 $ *6.022e22/(mmol(iq)*g) 1514 end do 1515 end do 1516 call wstats(ngrid,"c_"//trim(noms(iq)), 1517 $ "column","mol cm-2",2,colden(1,iq)) 1518 call writediagfi(ngrid,"c_"//trim(noms(iq)), 1519 $ "column","mol cm-2",2,colden(1,iq)) 1520 end if 1513 1521 end do 1514 1522 end if ! of if (thermochem.or.photochem) … … 1635 1643 call WRITEDIAGFI(ngrid,"co2col","CO2 column","kg.m-2",2, 1636 1644 & co2col) 1637 !!!!! FL1638 ! do iq = 1,nq1639 ! if (noms(iq) .ne. "dust_mass" .and.1640 ! $ noms(iq) .ne. "dust_number") then1641 ! call writediagfi(ngrid,"c_"//trim(noms(iq)),1642 ! $ "column","mol cm-2",2,colden(1,iq))1643 ! end if1644 ! end do1645 !!!!! FL1646 1645 endif ! of if (tracer.and.(igcm_co2.ne.0)) 1647 1646
Note: See TracChangeset
for help on using the changeset viewer.