Changeset 299


Ignore:
Timestamp:
Sep 21, 2011, 12:12:23 PM (13 years ago)
Author:
aslmd
Message:

LMDZ.MARS [associated to previous commit]

21/09/11 == AS

--> Added MESOINI precompiler flag so that all fields needed to initialize the mesoscale model

are being output in the diagfi.nc file. Previously it was made through a separate physiq.F
which needed to be updated every time...

--> This is completely transparent to the casual GCM users and only appears in the WRITEDIAGFI section of physiq.F

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r290 r299  
    10061006 ^-----------------> HFX and USTM computations now uses the different betas for heat and momentum.
    10071007
     1008== 21/09/11 == AS
     1009--> Added MESOINI precompiler flag so that all fields needed to initialize the mesoscale model
     1010     are being output in the diagfi.nc file. Previously it was made through a separate physiq.F
     1011     which needed to be updated every time...
     1012--> This is completely transparent to the casual GCM users and only appears in the WRITEDIAGFI section of physiq.F
  • trunk/LMDZ.MARS/libf/phymars/physiq.F

    r289 r299  
    14801480c     &                         '',2,tauTES)
    14811481
     1482#ifdef MESOINI
     1483        call WRITEDIAGFI(ngrid,"emis","Surface emissivity","w.m-1",2,
     1484     &                  emis)
     1485        call WRITEDIAGFI(ngrid,"rho","density","none",3,rho)
     1486        call WRITEDIAGFI(ngrid,"tsoil","Soil temperature",
     1487     &                       "K",3,tsoil)
     1488        call WRITEDIAGFI(ngrid,"inertiedat","Soil inertia",
     1489     &                       "K",3,inertiedat)
     1490#endif
     1491
    14821492
    14831493c        ----------------------------------------------------------
     
    15081518         if (tracer) then
    15091519           if (water) then
     1520
     1521#ifdef MESOINI
     1522            !!!! waterice = q01, voir readmeteo.F90
     1523            call WRITEDIAGFI(ngridmx,'q01',noms(igcm_h2o_ice),
     1524     &                      'kg/kg',3,
     1525     &                       zq(1:ngridmx,1:nlayermx,igcm_h2o_ice))
     1526            !!!! watervapor = q02, voir readmeteo.F90
     1527            call WRITEDIAGFI(ngridmx,'q02',noms(igcm_h2o_vap),
     1528     &                      'kg/kg',3,
     1529     &                       zq(1:ngridmx,1:nlayermx,igcm_h2o_vap))
     1530            !!!! surface waterice qsurf02 (voir readmeteo)
     1531            call WRITEDIAGFI(ngridmx,'qsurf02','surface tracer',
     1532     &                      'kg.m-2',2,
     1533     &                       qsurf(1:ngridmx,igcm_h2o_ice))
     1534#endif
    15101535
    15111536             CALL WRITEDIAGFI(ngridmx,'mtot',
     
    15881613c            call WRITEDIAGFI(ngridmx,'dustN','Dust number',
    15891614c    &                        'part/kg',3,pq(1,1,igcm_dust_number))
     1615#ifdef MESOINI
     1616             call WRITEDIAGFI(ngridmx,'dustN','Dust number',
     1617     &                        'part/kg',3,pq(1,1,igcm_dust_number))
     1618#endif
    15901619           else
    15911620             do iq=1,dustbin
Note: See TracChangeset for help on using the changeset viewer.