HowTo: create mass flux files : Différence entre versions
De LMDZPedia
(→How to : create mass flow files for inversion models) |
|||
(7 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | = How to : create mass | + | = How to : create mass flow files for inversion models = |
− | The lmdz model allows to output mass | + | 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 <code>offline</code> |
− | Note : Actually, this option is not working with XIOS in the dynamic | + | |
+ | Note: | ||
+ | * we are working with LMDZ after [https://trac.lmd.jussieu.fr/LMDZ/changeset/4608/ rev 4608] | ||
+ | * Actually, this option is not working with XIOS in the dynamic (we are using writefield to write dynamic output files) | ||
+ | * to use the version describe here you need to compile with Inca model (to not call phystoken and use mass flux calculated by the model) | ||
== option offline in LMDZ == | == option offline in LMDZ == | ||
Ligne 16 : | Ligne 20 : | ||
[OutputFiles] | [OutputFiles] | ||
List= (.... ), \ | List= (.... ), \ | ||
− | (phystoke.nc, ${ | + | (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''' | * 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 == | + | == Physics mass flow Variables descriptions (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) | ||
+ | |||
+ | == Dynamics mass flow Variables descriptions (wg.nc, tetag.nc, phig.nc, pbarvg.nc, pbarug.nc, masseg.nc) == | ||
+ | * "phig" long_name="Surface geopotential height" unit="m2 s-2" | ||
+ | * "massg" long_name="Air mass (averaged over 3 hours)" unit="kg" | ||
+ | * "tetag" long_name="Potential temperature (averaged over 3 hours)" unit="K" | ||
+ | * "pbarug" long_name="Zonal advected mass fluxes (averaged over 3 hours)" unit="kg m-2 s-1" | ||
+ | * "pbarvg" long_name="Meridional advected mass fluxes (averaged over 3 hours)" unit="kg m-2 s-1" | ||
+ | * "wg" long_name="Vertical advected mass flux (averaged over 3 hours)" unit="kg m-2 s-1" | ||
− | + | [[Category:HowTo]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version actuelle en date du 31 juillet 2024 à 11:23
Sommaire
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)
- to use the version describe here you need to compile with Inca model (to not call phystoken and use mass flux calculated by the model)
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"/>
incontext_lmdz.xml
- choose the output storage frequency with parameter
offline_time
. For example, for a storage all the 3hours (1day/8) we will chooseoffline_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
Physics mass flow Variables descriptions (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)
Dynamics mass flow Variables descriptions (wg.nc, tetag.nc, phig.nc, pbarvg.nc, pbarug.nc, masseg.nc)
- "phig" long_name="Surface geopotential height" unit="m2 s-2"
- "massg" long_name="Air mass (averaged over 3 hours)" unit="kg"
- "tetag" long_name="Potential temperature (averaged over 3 hours)" unit="K"
- "pbarug" long_name="Zonal advected mass fluxes (averaged over 3 hours)" unit="kg m-2 s-1"
- "pbarvg" long_name="Meridional advected mass fluxes (averaged over 3 hours)" unit="kg m-2 s-1"
- "wg" long_name="Vertical advected mass flux (averaged over 3 hours)" unit="kg m-2 s-1"