HowTo: create mass flux files : Différence entre versions

De LMDZPedia
Aller à : navigation, rechercher
Ligne 24 : Ligne 24 :
 
* if you are not running with modipsl, save the output files : '''wg.nc''', '''tetag.nc''', '''phig.nc''', '''pbarvg.nc''', '''pbarug.nc''', '''masseg.nc''' and '''phystoke.nc'''  
 
* if you are not running with modipsl, save the output files : '''wg.nc''', '''tetag.nc''', '''phig.nc''', '''pbarvg.nc''', '''pbarug.nc''', '''masseg.nc''' and '''phystoke.nc'''  
  
== Variables descriptions ==  
+
== Variables descriptions in phystoke.nc ==  
         phiss.standard_name='surface geopotentiel'
+
* Name="t_stok"         long_name="Temperature" unit="K"
        levs.standard_name='Model Level Number'
+
* "coefh_stok"    long_name="coeff de melange dans la couche limite" unit="-"
        upwds.standard_name='KE sat. up. mass flux'
+
* "fm_th_stok"    long_name="Mass flux thermals" unit="kg m-2.s-1"
        dnwds.standard_name='KE sat. down. mass flux'
+
* "en_th_stok"    long_name="Thermal plume entrainment" unit="kg m-1.s-1"
        fmths.standard_name='Mass flux thermals'
+
* "da_stok"        long_name="adiabatic ascen" unit="kg m-2.s-1"
        enths.standard_name='Ent therm.'
+
* "mp_stok"        long_name="precipitating downdraft mass flux under hydrostatic approximation" unit="kg m-2.s-1"
        fmths.units='kg m2 s-1'
+
* "wght_stok"      long_name="weights of the layers feeding convection" unit="-"
        enths.units='kg m2 s-1'
+
* "upwd_stok"      long_name="saturated updraft mass flux" unit="kg m-2.s-1"
        upwds.units='kg m2 s-1'
+
* "dnwd_stok"      long_name="saturated downdraft mass flux" unit="kg m-2.s-1"
        dnwds.units='kg m2 s-1'
+
* "phi_lev"[0-79]  "mass flow environmental mixing" unit="kg m-2 s-1"
        ts.standard_name='t'
+
* "yu1_stok"      long_name="zonal surface wind" unit="m.s-1"
        das.standard_name='adiabatic ascent'
+
* "yv1_stok"      long_name="wind meridian surface" unit="m.s-1"
 
 
 
 
        phis.standard_name='geopotentiel instantane'
 
        phiss.standard_name='Surface Geopotential Height'
 
        aires.standard_name='Grid area'
 
        masses.standard_name='Mass'
 
        levs.standard_name='Model Level Number'
 
        phis.standard_name='geopotentiel instantane'
 
        pbarus.standard_name='flx de masse zonal'
 
        ws.standard_name='flx de masse vert'
 
        tetas.standard_name='temperature potentielle'
 
        pbarus.units = 'kg m2/s'
 
        ws.units = 'kg m2/s'
 
        tetas.units = '-'
 
        phis.units = '-'
 
        masses.units='kg'
 
  
 +
All of these variables are an average of offline_time frequency, on the horizontal grid with vertical level klev (and not presnivs)
  
 
[[Category:HowTo]]
 
[[Category:HowTo]]

Version du 5 juillet 2023 à 13:17

How to : create mass flow files for inversion models

The lmdz model allows to output mass flow files that can be used as inversion model forcing files. This option is drive by the parameter offline


Note:

  • we are working with LMDZ after rev 4608
  • Actually, this option is not working with XIOS in the dynamic (we are using writefield to write dynamic output files)


option offline in LMDZ

To use this option you need :

  • to put parameter offline to yes
  • add the reference to <file_definition src="./file_def_phystoke_lmdz.xml"/> in context_lmdz.xml
  • choose the output storage frequency with parameter offline_time. For example, for a storage all the 3hours (1day/8) we will choose offline_time=8
  • if you are running with modipsl, modify lmdz.card to save mass flux files :
 [OutputText]
 List=   (.... , wg.nc, tetag.nc, phig.nc, pbarvg.nc, pbarug.nc, masseg.nc)
 [OutputFiles]
 List=   (.... ),                  \
         (phystoke.nc,      ${R_OUT_ATM_O_H}/${PREFIX}_3H_phystoke.nc,      NONE)
  • if you are not running with modipsl, save the output files : wg.nc, tetag.nc, phig.nc, pbarvg.nc, pbarug.nc, masseg.nc and phystoke.nc

Variables descriptions in phystoke.nc

  • Name="t_stok" long_name="Temperature" unit="K"
  • "coefh_stok" long_name="coeff de melange dans la couche limite" unit="-"
  • "fm_th_stok" long_name="Mass flux thermals" unit="kg m-2.s-1"
  • "en_th_stok" long_name="Thermal plume entrainment" unit="kg m-1.s-1"
  • "da_stok" long_name="adiabatic ascen" unit="kg m-2.s-1"
  • "mp_stok" long_name="precipitating downdraft mass flux under hydrostatic approximation" unit="kg m-2.s-1"
  • "wght_stok" long_name="weights of the layers feeding convection" unit="-"
  • "upwd_stok" long_name="saturated updraft mass flux" unit="kg m-2.s-1"
  • "dnwd_stok" long_name="saturated downdraft mass flux" unit="kg m-2.s-1"
  • "phi_lev"[0-79] "mass flow environmental mixing" unit="kg m-2 s-1"
  • "yu1_stok" long_name="zonal surface wind" unit="m.s-1"
  • "yv1_stok" long_name="wind meridian surface" unit="m.s-1"

All of these variables are an average of offline_time frequency, on the horizontal grid with vertical level klev (and not presnivs)