Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/compiler.txt
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/compiler.txt	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/compiler.txt	(revision 5499)
@@ -0,0 +1,2 @@
+V19
+V19
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/config.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/config.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/config.def	(revision 5499)
@@ -0,0 +1,90 @@
+## level_coupling_esm : 0(pas d'echange de carbone), 2 (change entre LMDZ/CPL/NEMO et LMDZ/ORCHIDEE)
+level_coupling_esm=  0
+## carbon_cycle_cpl: couplage des flux de carbone ATM/OCE, ATM/SRF
+carbon_cycle_cpl= n
+## carbon_cycle_tr: transport atmospherique de CO2 dans LMDZ
+carbon_cycle_tr= n
+## carbon_cycle_rad: utilisation de traceur CO2 dans le code radiatif
+carbon_cycle_rad= n
+
+##  Cycle diurne  ou non                 
+iflag_cycle_diurne=1
+
+## Pas de temps de couplage (s). 
+t_coupl= 86400
+
+##  Soil Model  ou non               
+soil_model=y
+
+## Nombre  d'appels des routines de rayonnements ( par jour)                 
+nbapp_rad=16
+
+##  Facteur additif pour l'albedo
+pmagic=  0.0
+
+#
+# Parametres "orbitaux/ ere geologique"
+#
+### R_ecc =      Excentricite (lue dans Eccentricity.txt)
+R_ecc=  0.016715
+### R_peri =     Equinoxe (lue dans Perihelie.txt)
+R_peri=  102.7
+### R_incl =     Inclinaison (lue dans Obliquity.txt)
+R_incl=  23.441
+### solaire =    Constante solaire (lue dans SOLARANDVOLCANOES.txt)
+solaire=  1361.20
+### constante solaire lue dans un fichier par defaut
+ok_suntime_rrtm=y
+#
+# Taux gaz a effet de serre
+#
+### co2_ppm =    taux CO2 en ppm, l'annÃ©e 1850 forcage CMIP6
+co2_ppm=  2.8432e+02
+### co2_ppm_per =    taux 4xCO2 en ppm (uniqument pour calcul des diags)
+co2_ppm_per= 11.3728e+02
+### CH4_ppb =    taux CH4 en ppb, l'annÃ©e 1850 forcage CMIP6
+CH4_ppb=  8.0825e+02
+### N2O_ppb =    taux N2O en ppb, l'annÃ©e 1850 forcage CMIP6
+N2O_ppb=  2.7302e+02
+### CFC11_ppt = taux en ppt, l'annÃ©e 1850 forcage CFC11eq_CMIP6
+CFC11_ppt=  1.1726e+01
+### CFC12_ppt = taux en ppt, l'annÃ©e 1850 forcage CFC12eq_CMIP6
+CFC12_ppt=  1.6513e+01
+#
+# Parametres effets directs/indirects des "aerosols"
+#
+### ok_ade=y/n   flag Aerosol direct effect
+ok_ade= y
+### ok_aie=y/n   flag Aerosol indirect effect
+ok_aie= y
+### aer_type =   Aerosol variation type : actuel / preind / scenario / annuel
+aer_type=preind
+### aerosol coupling = online (y) or offline (n)
+aerosol_couple= n
+### Ozone chemistry coupling = online (y) or offline (n)
+chemistry_couple= n
+###  flag_aerosol = type of coupled aerosol, if aerosol offline 
+###  0 => no aerosol, 1 => sulfate only, 2 => bc only, 3 => pom only, 4 => seasalt only, 5 => dust only, 6 => all aerosol
+flag_aerosol= 6
+### ok_cdnc=y/n   Cloud droplet number concentration
+ok_cdnc= y
+# ok_alw=y flag pour activer l effet LW des poussieres
+ok_alw=y
+#
+# Parametre de lecture de l'ozone
+#
+# Allowed values are 0, 1 and 2
+# 0: do not read an ozone climatology
+# 1: read a single ozone climatology that will be used day and night
+# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology
+read_climoz= 1
+#
+# Aerosols stratospheriques utilises par defaut 
+#
+flag_aerosol_strat= 2
+# Diag VolMIP to get volcanic aerosols effects instead of tropospheric ones
+ok_volcan=n
+#
+# COSP
+#
+ok_cosp= y
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_input_orchidee.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_input_orchidee.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_input_orchidee.xml	(revision 5499)
@@ -0,0 +1,349 @@
+<!-- =========================================================================================================== -->
+<!-- ORCHIDEE context for input files                                                                            -->
+<!-- context_input_orchidee.xml : Configuration file for ORCHIDEE for reading of input files using XIOS          -->
+<!-- This file must be included from iodef.xml                                                                   -->
+<!-- All specifications specific for the reading and interpolating of input files are regrouped in this file.    -->
+<!-- Find below sections for file_definition, field_definition, domain_definition, grid_definition and           -->
+<!-- variable_definition.                                                                                        -->
+<!--                                                                                                             -->
+<!-- $HeadURL: svn://forge.ipsl.jussieu.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/context_input_orchidee.xml $                -->
+<!-- $Date: 2018-11-09 17:15:56 +0100 (Fri, 09 Nov 2018) $                                                      -->
+<!-- $Revision: 5565 $                                                                                           -->
+<!-- =========================================================================================================== -->
+<context id="orchidee">
+
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of input files                                                                                 -->
+  <!-- The input files are activated or desactivated from the source code depending on simulation set up.        -->
+  <!-- The variables are here on the input source grid.                                                          -->
+  <!-- Different treatment are done accordig to the file.                                                        -->
+  <!-- Values higher than 1e10 are for some files considered as missing values and the field is then set to 0.   -->
+  <!-- A normalization are sometimes done with the fraction of the grid cell.                                    -->
+  <!-- Sometimes, if only missing values are found for a grid cell, then a default value is set.                 -->
+  <!-- ========================================================================================================= -->
+ 
+  <file_definition>
+
+    <file id="soils_param_file" mode="read" output_freq="1y" enabled="true">
+      <field id="soilcolor" name="soilcolor" domain_ref="soil" operation="instant" freq_offset="1ts"/>
+      <field id="soiltext" name="soiltext" domain_ref="soil" operation="instant" freq_offset="1ts"/>
+    </file>
+    
+    <file  id="PFTmap_file"  mode="read" output_freq="1y">
+      <field id="maxvegetfrac_read"  name="maxvegetfrac" domain_ref="pft" axis_ref="nvm" operation="instant"  freq_offset="1ts"> this &lt; 1e10 ? this : 0 </field>
+      <field id="maxvegetfrac_mask"  name="maxvegetfrac" domain_ref="pft" axis_ref="nvm" operation="instant"  freq_offset="1ts"> this &lt; 1e10 ? 1 : 0 </field>
+    </file>
+    
+    <file id="topography_file"  mode="read" output_freq="1y">
+      <!--      <field id="pente"  domain_ref="topo"  operation="instant"  freq_offset="1ts" > (this &gt; 1e10) ? 1 : this </field>     ==> In reference, missing value are use for computing, this probably wrong -->
+      <field id="pente_read"       name="pente" domain_ref="topo"  operation="instant"  freq_offset="1ts" > ((this/$slope_noreinf) &lt; 1)? this/$slope_noreinf : 1 </field>
+      <field id="mask_pente_read"  name="pente" domain_ref="topo"  operation="instant"  freq_offset="1ts" > (this &lt; $min_sechiba)? 0 : 1                         </field>  <!-- create mask -->
+    </file>
+    
+    <file id="albedo_file" mode="read" output_freq="1y">
+      <field id="mask_alb_read"    name="mask"       domain_ref="albedo"  operation="instant"  freq_offset="1ts" />
+      <field id="bg_alb_vis_read"  name="bg_alb_vis" domain_ref="albedo"  operation="instant"  freq_offset="1ts" >  mask_alb_read &gt; 0.99 ? this : $missing_value  </field>
+      <field id="bg_alb_nir_read"  name="bg_alb_nir" domain_ref="albedo"  operation="instant"  freq_offset="1ts" >  mask_alb_read &gt; 0.99 ? this : $missing_value  </field>
+    </file>
+    
+    <file id="lai_file" mode="read" output_freq="1y" time_counter_name="toto" cyclic="true">
+      <field id="lai_read"       name="LAI" grid_ref="lai" operation="instant"  freq_offset="1ts" > this &gt; 20 ? 0 : this </field>
+      <field id="mask_lai_read"  name="LAI" grid_ref="lai" operation="instant"  freq_offset="1ts" > this &gt; 20 ? 0 : 1    </field>  <!-- create mask -->
+    </file>
+
+    <file id="fertilizer_file" mode="read" output_freq="1y" cyclic="true">
+      <field id="N_qt_OTHER_year_read"  name="N_qt_OTHER_year" domain_ref="fertilizer" operation="instant"  freq_offset="1ts"/>
+      <field id="N_qt_WRICE_year_read"  name="N_qt_WRICE_year" domain_ref="fertilizer" operation="instant"  freq_offset="1ts"/>
+    </file>
+    
+    <file id="bbg_clim_file" mode="read" output_freq="1y" cyclic="true">
+      <field id="flx_co2_bbg_year_read"  name="flx_co2_bbg_year" domain_ref="bbg_clim" operation="instant"  freq_offset="1ts"/>
+    </file>
+    
+    <file id="reftemp_file" mode="read" output_freq="1y" cyclic="true">
+      <field id="reftemp_read"  name="temperature" domain_ref="reftemp" operation="instant"  freq_offset="1ts"/>
+    </file>
+    
+    <file id="woodharvest_file" mode="read" output_freq="1y" cyclic="true">
+      <field id="woodharvest_read"  name="woodharvest" domain_ref="woodharvest" operation="instant"  freq_offset="1ts"/>
+    </file>
+    
+    
+    
+    <file id="interp_diag" output_freq="1ts" sync_freq="1ts" enabled=".FALSE.">
+      <field_group domain_ref="domain_landpoints" operation="once" default_value="9.96921e+36">
+        <field id="interp_diag_aveget" name="aveget" />
+        <field id="interp_diag_vegetrefrac" name="vegetrefrac" axis_ref="nvm"/>
+        <field id="interp_diag_atext" name="atext" />
+        <field id="interp_diag_soilclass" name="soilclass"     axis_ref="ncsm"/>
+        <field id="interp_diag_clayfraction" name="clayfraction"  />
+        <field id="interp_diag_aslope" name="aslope"    />
+        <field id="interp_diag_reinf_slope" name="reinf_slope"  />
+	
+        <field id="interp_diag_alb_vis" name="alb_vis"  />
+        <field id="interp_diag_alb_nir" name="alb_nir"  />
+	
+        <field id="interp_diag_N_qt_WRICE_year" name="wrice"  />
+        <field id="interp_diag_N_qt_OTHER_year" name="other"  />
+        <field id="interp_diag_flx_co2_bbg_year" name="co2_bbg"  />
+	
+      </field_group>
+      <field id="interp_diag_lai" grid_ref="from_lai" name="lai"  operation="once" default_value="9.96921e+36" enabled="false"/>
+      <field field_ref="mask_alb_read" operation="once" default_value="9.96921e+36"  freq_offset="0ts" enabled="false"/>
+    </file>
+
+
+    <file id="nudge_moistc" name="nudge_moistc" type="one_file" mode="read" output_freq="1d">
+      <field  id="moistc_in" name="moistc" operation="instant" grid_ref="grid_inputfile_moistc" freq_offset="1ts" > (this &gt; 1e10) ? 0 : this </field>
+      <field  id="mask_moistc_in" name="moistc" operation="instant" grid_ref="grid_inputfile_moistc" freq_offset="1ts" > (this &gt; 1e10) ? 0 : 1 </field>
+    </file>
+    
+    <file id="nudge_snow" name="nudge_snow" type="one_file" mode="read" output_freq="1d">
+      <field  id="snowdz_in" name="snowdz" operation="instant" grid_ref="grid_inputfile_snow" freq_offset="1ts" > (this &gt; 1e10) ? 0 : this </field>
+      <field  id="snowrho_in" name="snowrho" operation="instant" grid_ref="grid_inputfile_snow" freq_offset="1ts" > (this &gt; 1e10) ? 0 : this </field>
+      <field  id="snowtemp_in" name="snowtemp" operation="instant" grid_ref="grid_inputfile_snow" freq_offset="1ts" > (this &gt; 1e10) ? 0 : this </field>
+      <field  id="mask_snow_in" name="snowdz" operation="instant" grid_ref="grid_inputfile_snow" freq_offset="1ts" > (this &gt; 1e10) ? 0 : 1 </field>
+    </file>
+    
+  </file_definition>
+
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of all field coming from files but now interpolated to the model grid.                         -->
+  <!-- ========================================================================================================= -->
+
+  <field_definition>
+
+    <field_group enabled="false" read_access="true">
+
+      <field_group id="soil_color" enabled="false">
+        <field id="soilcolor0" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 0 </field>
+        <field id="soilcolor1" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 1 </field>
+        <field id="soilcolor2" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 2 </field>
+        <field id="soilcolor3" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 3 </field>
+        <field id="soilcolor4" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 4 </field>
+        <field id="soilcolor5" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 5 </field>
+        <field id="soilcolor6" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 6 </field>
+        <field id="soilcolor7" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 7 </field>
+        <field id="soilcolor8" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 8 </field>
+        <field id="soilcolor9" field_ref="soilcolor" domain_ref="from_soil" > soilcolor == 9 </field>
+      </field_group>
+
+      <field_group id="soil_text" field_ref="soiltext" domain_ref="from_soil" enabled="true" read_access="true">
+        <field id="soiltext1"  > soiltext == 1 </field>
+        <field id="soiltext2"  > soiltext == 2 </field>
+        <field id="soiltext3"  > soiltext == 3 </field>
+        <field id="soiltext4"  > soiltext == 4 </field>
+        <field id="soiltext5"  > soiltext == 5 </field>
+        <field id="soiltext6"  > soiltext == 6 </field>
+        <field id="soiltext7"  > soiltext == 7 </field>
+        <field id="soiltext8"  > soiltext == 8 </field>
+        <field id="soiltext9"  > soiltext == 9 </field>
+        <field id="soiltext10" > soiltext == 10 </field>
+        <field id="soiltext11" > soiltext == 11 </field>
+        <field id="soiltext12" > soiltext == 12 </field>
+      </field_group>
+      
+
+      <field id="frac_veget"      field_ref="maxvegetfrac_read" domain_ref="from_pft" read_access="true" enabled="true" />
+      <field id="frac_veget_frac" field_ref="maxvegetfrac_mask" domain_ref="from_pft" read_access="true" enabled="true" />
+
+      <field id="slope_tmp"           field_ref="pente_read"       domain_ref="from_topo"                                  />
+      <field id="frac_slope_interp"   field_ref="mask_pente_read"  domain_ref="from_topo" read_access="true" enabled="true"/>
+      <field id="reinf_slope_interp"                               domain_ref="from_topo" read_access="true" enabled="true"> (frac_slope_interp &gt; $min_sechiba ) ? 1-slope_tmp/(frac_slope_interp+1e-100) : $slope_default </field>
+
+      <field id="bg_alb_vis_tmp"   field_ref="bg_alb_vis_read"  domain_ref="from_albedo"  />
+      <field id="bg_alb_vis_interp" field_ref="bg_alb_vis_tmp"  read_access="true" enabled="true" > this == $missing_value ? $albbg_vis_default : this </field>
+
+      <field id="bg_alb_nir_tmp"    field_ref="bg_alb_nir_read"  domain_ref="from_albedo"  />
+      <field id="bg_alb_nir_interp" field_ref="bg_alb_nir_tmp"  read_access="true"  enabled="true" >  this == $missing_value ? $albbg_nir_default : this </field>
+      
+      <field id="lai_tmp"          field_ref="lai_read"      grid_ref="from_lai" />
+      <field id="frac_lai_interp"  field_ref="mask_lai_read" grid_ref="from_lai" read_access="true" enabled="true" />
+      <field id="lai_interp"       field_ref="lai_tmp"                           read_access="true" enabled="true"  >  lai_tmp/(frac_lai_interp+1e-100) </field>  <!-- renormalize -->
+      
+      <field id="N_qt_WRICE_year_interp"  field_ref="N_qt_WRICE_year_read"  domain_ref="from_fertilizer" read_access="true" enabled="true" />
+      <field id="N_qt_OTHER_year_interp"  field_ref="N_qt_OTHER_year_read"  domain_ref="from_fertilizer" read_access="true" enabled="true" />
+      
+      <field id="flx_co2_bbg_year_interp"  field_ref="flx_co2_bbg_year_read"  domain_ref="from_bbg_clim" read_access="true" enabled="true" />
+
+      <field id="reftemp_interp"  field_ref="reftemp_read"  domain_ref="from_reftemp" read_access="true" enabled="true" />
+
+      <field id="woodharvest_interp"  field_ref="woodharvest_read"  domain_ref="from_woodharvest" read_access="true" enabled="true" />
+      
+    </field_group>
+
+    <field_group id="orchidee_input_mc" grid_ref="grid_nslm_nstm">
+      <!-- Interpolate the mask. This gives now the fraction of the source area underlaying the model grid cell -->
+      <field id="mask_moistc_interp" field_ref="mask_moistc_in" read_access="true" />
+      <!-- Interpolate the variable. Note that where the source file had missing values, the variables was set to 0. Therefor normalization is needed.     -->
+      <!-- Normalize the interpolated values with the mask which corresponds to the fraction of underlaying valid source grid cells.                       -->
+      <!-- The default value 0.2 is used if the mask is 0. This is the case if no information at all was found on the source grid for the model grid cell. -->
+      <field id="moistc_tmp" field_ref="moistc_in"  />
+      <field id="moistc_interp" field_ref="moistc_tmp" read_access="true" > (mask_moistc_interp &lt; 1e-4) ? 0.2 : this/(mask_moistc_interp+1e-100) </field>
+    </field_group>
+
+    <field_group id="orchidee_input_snow" grid_ref="grid_nsnow2" >
+      <field id="mask_snow_interp" field_ref="mask_snow_in" read_access="true" />
+      <field id="snowdz_tmp" field_ref="snowdz_in" />
+      <!-- Set snowdz=0 where no information found on source grid, for all other points normlize with the fracion of underlaying source grid cells      -->
+      <field id="snowdz_interp" field_ref="snowdz_tmp" read_access="true" > (mask_snow_interp &lt; 1e-4) ? 0 : this/(mask_snow_interp+1e-100) </field>
+      <field id="snowrho_tmp" field_ref="snowrho_in" />
+      <!-- Set snowrho=50 where no information found on source grid, for all other points normlize with the fracion of underlaying source grid cells    -->
+      <field id="snowrho_interp" field_ref="snowrho_tmp" read_access="true" > (mask_snow_interp &lt; 1e-4) ? 50 : this/(mask_snow_interp+1e-100) </field>
+      <field id="snowtemp_tmp" field_ref="snowtemp_in" />
+      <!-- Set snowtemp=273 where no information found on source grid, for all other points normlize with the fracion of underlaying source grid cells  -->
+      <field id="snowtemp_interp" field_ref="snowtemp_tmp" read_access="true" > (mask_snow_interp &lt; 1e-4) ? 273 : this/(mask_snow_interp+1e-100) </field>
+    </field_group>
+ 
+  </field_definition>
+
+
+
+  <!-- =========================================================================================================== -->
+  <!-- Definition of a horizontal domain for each input file                                                       -->
+  <!-- =========================================================================================================== -->
+
+  <domain_definition>
+
+    <domain id="domain_inputfile_moistc" type="rectilinear">
+      <generate_rectilinear_domain />
+    </domain>
+    
+    <domain id="domain_inputfile_snow" type="rectilinear">
+      <generate_rectilinear_domain />
+    </domain>
+    
+    <domain id="from_soil" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false"/>
+    </domain>
+    
+    <domain id="from_pft" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false" />
+    </domain>
+    
+    <domain id="from_topo" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false" />
+    </domain>
+    
+    <domain id="from_albedo" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="true" detect_missing_value="true"/>
+    </domain>
+    
+    <domain id="from_lai" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false" />
+    </domain>
+    
+    <domain id="from_bbg_clim" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false" />
+    </domain>
+    
+    <domain id="from_fertilizer" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false" />
+    </domain>
+    
+    <domain id="from_reftemp" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false" />
+    </domain>
+    
+    <domain id="from_woodharvest" domain_ref="domain_landpoints">
+      <interpolate_domain order="1" renormalize="false" />
+    </domain>
+    
+    <domain id="soil" type="rectilinear">
+      <!-- generate_rectilinear_domain bounds_lon_start="-180" bounds_lon_end="180" bounds_lat_start="-90" bounds_lat_end="90"/-->
+      <generate_rectilinear_domain bounds_lon_start="-180" bounds_lon_end="180" bounds_lat_start="90" bounds_lat_end="-90"/>
+    </domain>
+    
+    <domain id="pft" type="rectilinear">
+      <generate_rectilinear_domain/>
+    </domain>
+    
+    <domain id="topo" type="rectilinear">
+      <generate_rectilinear_domain/>
+    </domain>
+    
+    <domain id="albedo" type="rectilinear">
+      <generate_rectilinear_domain />
+    </domain>
+    
+    <domain id="lai" type="rectilinear">
+      <generate_rectilinear_domain/>
+    </domain>
+    
+    <domain id="bbg_clim" type="rectilinear">
+      <generate_rectilinear_domain/>
+    </domain>
+    
+    <domain id="fertilizer" type="rectilinear">
+      <generate_rectilinear_domain/>
+    </domain>
+
+    <domain id="reftemp" type="rectilinear">
+      <generate_rectilinear_domain/>
+    </domain>
+
+    <domain id="woodharvest" type="rectilinear">
+      <generate_rectilinear_domain/>
+    </domain>
+    
+  </domain_definition>
+
+
+  <!-- =========================================================================================================== -->
+  <!-- Definition of input grids                                                                        -->
+  <!-- =========================================================================================================== -->
+
+  <grid_definition>
+
+    <grid id="grid_inputfile_moistc">
+      <domain domain_ref="domain_inputfile_moistc"/>
+      <axis axis_ref="nslm" />
+      <axis axis_ref="nstm" />
+    </grid>  
+
+    <grid id="grid_inputfile_snow">
+      <domain domain_ref="domain_inputfile_snow"/>
+      <axis axis_ref="nsnow" />
+    </grid>  
+    
+    <grid id="from_lai">
+      <domain domain_ref="from_lai" />
+      <axis axis_ref="nvm" />
+      <axis axis_ref="lai_time" />
+    </grid>
+    
+    <grid id="lai">
+      <domain domain_ref="lai" />
+      <axis axis_ref="nvm" />
+      <axis axis_ref="lai_time" />
+    </grid>
+    
+    <grid id="grid_nsnow2">
+      <domain domain_ref="domain_landpoints" >
+        <interpolate_domain order="1"/>
+      </domain>
+      <axis axis_ref="nsnow" />
+    </grid>
+
+  </grid_definition>
+  
+  
+  <!-- =========================================================================================================== -->
+  <!-- Variable denfinition needed for interpolation of input files                                                -->
+  <!-- The values for below variables are set from the fortran code.                                               -->
+  <!-- =========================================================================================================== -->
+
+  <variable_definition>
+    
+    <variable id="slope_default" type="double">xxx</variable>
+    <variable id="slope_noreinf" type="double">xxx</variable>
+    <variable id="min_sechiba" type="double">xxx</variable>
+    <variable id="albbg_vis_default" type="double">xxx</variable>
+    <variable id="albbg_nir_default" type="double">xxx</variable>
+    
+  </variable_definition>
+  
+
+</context>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_lmdz.xml	(revision 5499)
@@ -0,0 +1,353 @@
+<!-- $Id$ -->
+<!-- Context LMDZ -->
+<context id="LMDZ">
+<!--  <calendar type="D360" start_date="1980-01-01 00:00:00" /> -->
+
+  <!-- Define available variables -->
+  <field_definition src="./field_def_lmdz.xml"/>
+
+  <!-- Define output files
+              Each file contains the list of variables and their output levels -->
+
+  <file_definition src="./file_def_histday_lmdz.xml"/>
+  <file_definition src="./file_def_histhf_lmdz.xml"/>
+  <file_definition src="./file_def_histins_lmdz.xml"/>
+  <file_definition src="./file_def_histLES_lmdz.xml"/>
+  <file_definition src="./file_def_histmth_lmdz.xml"/>
+  <file_definition src="./file_def_histstn_lmdz.xml"/>
+  <file_definition src="./file_def_histmthNMC_lmdz.xml"/>
+  <file_definition src="./file_def_histdayNMC_lmdz.xml"/>
+  <file_definition src="./file_def_histhfNMC_lmdz.xml"/>
+  <file_definition src="./file_def_histmthCOSP_lmdz.xml"/>
+  <file_definition src="./file_def_histdayCOSP_lmdz.xml"/> 
+  <file_definition src="./file_def_histhfCOSP_lmdz.xml"/>  
+  <file_definition src="./file_def_histstrataer_lmdz.xml"/>
+  <file_definition src="./file_def_histdaystrataer_lmdz.xml"/>
+
+  <!-- Define domains and groups of domains -->
+  <domain_definition>
+
+    <domain id="dom_glo"  data_dim="1" />
+
+    <domain id="greordered"  domain_ref="dom_glo">
+      <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360" />
+    </domain> 
+   
+    <domain id="dom_regular" ni_glo="144" nj_glo="143" type="rectilinear"  >
+      <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="0"/>
+      <interpolate_domain order="1"/>
+    </domain>
+   
+    <domain id="dom_out" domain_ref="dom_glo"/>
+    
+  </domain_definition>
+  
+  <!-- Need to define a grid? Do it here -->
+<!--  <grid_definition>
+    <grid_group id="vertical" axis_ref="presnivs" />
+  </grid_> -->
+
+<!-- Define Scalar grid for GHG, orbital parameters and solar constants -->
+  <grid_definition>
+    <grid id="grid_scalar" >
+      <scalar/>
+    </grid>
+  </grid_definition>
+ 
+  <!-- Define groups of vertical axes -->
+  <axis_definition>
+    <axis id="ensemble"/>
+    <axis id="time_month" n_glo="12" value="(0,11) [1 2 3 4 5 6 7 8 9 10 11 12]"/>
+    <axis id="time_year" unit="day" />
+    <axis id="presnivs" standard_name="Vertical levels" unit="Pa"/>
+    <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/>
+    <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/>
+    <axis id="Ahyb_inter" standard_name="A comp of Hyb Cord at interface" unit="Pa"/>
+    <axis id="Bhyb_inter" standard_name="B comp of Hyb Cord at interface" unit=""/>
+    <axis id="Alt" standard_name="Height approx for scale heigh of 8km at levels" unit="km"/>
+    <axis id="plev" standard_name="model_level_number" unit="Pa"/>
+    <axis id="klev"  prec="8" long_name="number of layers" standard_name="number of layers" unit="1" />
+    <axis id="klevp1"  prec="8" long_name="number of layer interfaces" standard_name="number of layer interfaces" unit="1" />
+    <axis id="bnds" standard_name="bounds" unit="1" />
+    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1"/>
+    <axis id="axis_lat" standard_name="Latitude axis">
+        <reduce_domain operation="average" direction="iDir" />
+    </axis>
+    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1">
+    </axis>
+    <axis id="axis_lat" standard_name="Latitude axis">
+        <reduce_domain operation="average" direction="iDir" />
+    </axis>
+
+<!-- Cosp axis definitions-->
+    <axis id="height" standard_name="Cosp levels" unit="m"/> 
+    <axis id="height_mlev" standard_name="height_mlev" unit="m"/> 
+    <axis id="sza" standard_name="solar_zenith_angle" unit="degrees"/>
+    <axis id="pressure2" standard_name="pressure" unit="mb"/>
+    <axis id="column" standard_name="column" unit="count"/> 
+    <axis id="temp" standard_name="temperature" unit="K"/> 
+<!--    <axis id="cth16" standard_name="altitude" unit="m"/>   ym unused now to be in adequation with axis definition from model --> 
+    <axis id="cth" standard_name="altitude" unit="m"/> 
+    <axis id="ReffIce" standard_name="ReffIce" unit="microne" />
+    <axis id="ReffLiq" standard_name="ReffLiq" unit="microne" />
+    <axis id="scatratio" standard_name="scatratio" unit="1" />
+    <axis id="dbze" standard_name="dbze" unit="dBZ" />
+    <axis id="tau" standard_name="tau" unit="1" />
+  </axis_definition>
+
+  <grid_definition>
+
+    <grid id="klev_bnds"> 
+      <axis axis_ref="klev" /> 
+      <axis axis_ref="bnds" /> 
+      <axis axis_ref="ensemble" />
+    </grid>
+
+    <grid id="klevp1_bnds"> 
+      <axis axis_ref="klevp1" /> 
+      <axis axis_ref="bnds" /> 
+      <axis axis_ref="ensemble" />
+    </grid>
+
+     <grid id="grid_glo">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_presnivs">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="presnivs" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_presnivs">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="presnivs" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_plev">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="plev" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_plev">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="plev" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_spectband">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="spectband" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_spectband">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="spectband" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_height">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_height">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_heightmlev">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height_mlev" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_heightmlev">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height_mlev" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_temp">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="temp" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_temp">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="temp" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_sza">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="sza" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_sza">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="sza" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid_glo_column">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="column" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid_out_column">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="column" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+<!-- Define 4D grids for Cosp simulator -->
+     <grid id="grid4Dcol">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="column" />
+        <axis axis_ref="height_mlev" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dcol_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="column" />
+        <axis axis_ref="height_mlev" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Dsrbin">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+        <axis axis_ref="scatratio" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dsrbin_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+        <axis axis_ref="scatratio" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Ddbze">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+        <axis axis_ref="dbze" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Ddbze_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+        <axis axis_ref="dbze" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Dtau">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="pressure2" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dtau_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="pressure2" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Dmisr">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="cth" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dmisr_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="cth" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Dreffi">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffIce" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dreffi_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffIce" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Dreffl">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffLiq" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dreffl_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffLiq" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Dcol2">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+        <axis axis_ref="column" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dcol2_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+        <axis axis_ref="column" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+     <grid id="grid4Dsza">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="column" />
+        <axis axis_ref="sza" />
+        <axis axis_ref="ensemble" />
+     </grid>
+     <grid id="grid4Dsza_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="column" />
+        <axis axis_ref="sza" />
+        <axis axis_ref="ensemble" />
+     </grid>
+
+ <!-- Grid definitions to allow summing of a 3D variable -->    
+      <grid id="grid_3D" >
+         <domain domain_ref="dom_glo" />
+         <axis axis_ref="lev" />
+         <axis axis_ref="ensemble" />
+       </grid>
+
+       <grid id="grid_sum_axis">
+         <domain domain_ref="dom_glo" />
+         <scalar>
+            <reduce_axis operation="sum" />
+         </scalar>
+        <axis axis_ref="ensemble" />
+       </grid>
+
+       <grid id="grid_sum">
+         <scalar >
+           <reduce_domain operation="sum" local="true" />
+           <reduce_scalar operation="sum" />
+         </scalar>
+         <scalar/>
+        <axis axis_ref="ensemble" />
+       </grid>
+
+  </grid_definition>
+
+</context>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_orchidee.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_orchidee.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/context_orchidee.xml	(revision 5499)
@@ -0,0 +1,303 @@
+<!-- =========================================================================================================== -->
+<!-- ORCHIDEE context                                                                                            -->
+<!-- context_orchidee.xml : Configuration file for ORCHIDEE for production of output files using XIOS            -->
+<!--                                                                                                             -->
+<!-- $HeadURL: svn://forge.ipsl.jussieu.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/context_orchidee.xml $                -->
+<!-- $Date: 2019-08-05 11:11:40 +0200 (Mon, 05 Aug 2019) $                                                     -->
+<!-- $Revision: 6151 $                                                                                           -->
+<!-- =========================================================================================================== -->
+<context id="orchidee">
+  
+  
+  <!-- =========================================================================================================== -->
+  <!-- Definition of all existing variables                                                                        -->
+  <!-- DO NOT CHANGE THIS FILE                                                                                     -->
+  <!-- =========================================================================================================== -->
+  <field_definition src="./field_def_orchidee.xml"/>
+  
+  
+  <!-- =========================================================================================================== -->
+  <!-- Definition of output files                                                                                  -->
+  <!-- Definition of variables included in the different files                                                     -->
+  <!-- CHANGE THIS FILE BY ADDING THE FILES AND/OR VARIABLES YOU WANT TO PRODUCE                                   -->
+  <!-- Only variables and groups existing in field_def_orchidee.xml can be used                                    -->
+  <!-- =========================================================================================================== -->
+  <file_definition src="./file_def_orchidee.xml"/>
+  
+  
+  <!-- =========================================================================================================== -->
+  <!-- Definition of horizontal domain                                                                             -->
+  <!-- =========================================================================================================== -->
+  <domain_definition>
+
+    <!-- Model horizontal domain -->
+    <domain id="domain_landpoints"/>
+
+    <!-- Standard output horizontal domain:                                                                         -->
+    <!-- The same as the model grid is used by default for regular longitude-latitude grid. If the model is running -->
+    <!-- on an unstructred grid, this domain_landpoints will be changed to domain_landoints_regular, see below.     -->   
+    <domain id="domain_landpoints_out" domain_ref="domain_landpoints"/>
+
+    <!-- Interpolated output horizontal domain:                                                                   -->
+    <!-- This domain is used for output when the modele is running on an unstructured grid. For that case,        -->
+    <!-- the ORCHIDEE fortran code will switch so that domain_landpoints_out make reference to this domain.       -->
+    <domain id="domain_landpoints_regular" ni_glo="144" nj_glo="143" type="rectilinear"  >
+      <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="0"/>
+      <interpolate_domain order="1" renormalize="true" detect_missing_value="true"/>
+    </domain>
+
+    <!-- Output horizontal domain used for CMIP6 simulations:                                                    -->
+    <!-- This domain is only used when running with the workflow CMIP6 and dr2xml_orchidee.xml files.            -->
+    <domain id="greordered"  domain_ref="domain_landpoints">
+      <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360" />
+    </domain>
+    
+  </domain_definition>
+
+  <!-- =========================================================================================================== -->
+  <!-- Definition of vertical axis and extra dimensions                                                            -->
+  <!-- =========================================================================================================== -->
+  <axis_definition>
+    <!-- Vertical axis and extra dimensions -->
+    <axis id="ensemble"/>
+    <axis id="nvm" name="veget" standard_name="model_level_number" long_name="Vegetation types" unit="1"/>
+    <axis id="nlut" name="nlut" standard_name="landusetype4" long_name="Number of land use types specified by LUMIP" unit="1"/>
+    <axis id="ncarb" name="ncarb" standard_name="ncarb" long_name="Number of soil carbon pools" unit="1"/>
+    <axis id="nparts" name="nparts" standard_name="nparts" long_name="Number of biomass compartments" unit="1"/>
+    <axis id="nlaip1" name="laiax" standard_name="model_level_number" long_name="Interface of LAI layers" unit="1"/>
+    <axis id="ngrnd" name="solth" standard_name="model_level_number" long_name="Thermal soil levels" unit="m"/>
+    <axis id="nstm" name="soiltyp" standard_name="model_level_number" long_name="Soil tiles" unit="1"/>
+    <axis id="nnobio" name="nobio" standard_name="model_level_number" long_name="Other surface types" unit="1"/>
+    <axis id="albtyp" standard_name="model_level_number" long_name="Albedo types" unit="1"/>
+    <axis id="nslm" name="solay" standard_name="model_level_number" long_name="Hydrological soil levels" unit="1"/>
+    <axis id="ncsm" name="ncsm"    standard_name="model_level_number" long_name="Soil type" unit="1"/>
+    <axis id="nsnow" name="snowlev" standard_name="model_level_number" long_name="Snow levels" unit="1"/>
+    <axis id="P10" standard_name="model_level_number" long_name="Pool 10 years" unit="1"/>
+    <axis id="P100" standard_name="model_level_number" long_name="Pool 100 years" unit="1"/>
+    <axis id="P11" standard_name="model_level_number" long_name="Pool 10 years + 1" unit="1"/>
+    <axis id="P101" standard_name="model_level_number" long_name="Pool 100 years + 1" unit="1"/>
+    <axis id="lai_time" />
+  </axis_definition>
+
+
+  <!-- =========================================================================================================== -->
+  <!-- Definition of model and output grids                                                                        -->
+  <!-- A grid is a combination of the horizontal domain and optionally one or several axes.                        -->
+  <!-- All grids are specified twice: the grid used by the model "grid_axis", and the grid used for output         -->
+  <!-- "grid_axis_out", where "axis" represents one or several axes used in the grid, see below.                   -->
+  <!-- When the model runs on the default regular longitude-latitude grid, "grid_axis_out" is the same as          -->
+  <!-- "grid_axis", no interpolation will be done. When the model runs on an unstructured grid, grid_axis_out is   --> 
+  <!-- different from grid_axis and XIOS will do the interpolation.                                                -->
+  <!-- =========================================================================================================== -->
+  <grid_definition>
+
+    <!-- Definition of horizontal grid, 2D grid -->
+    <grid id="grid_landpoints">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_landpoints_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <!-- Definition of grids with fields having one extra dimension (one vertical axis or another dimension), 3D grids -->
+    <grid id="grid_nvm">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nvm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nvm_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nvm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_nlut">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nlut" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nlut_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nlut" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    
+    <grid id="grid_ncarb">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="ncarb" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_ncarb_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="ncarb" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    
+    <grid id="grid_nstm">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nstm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nstm_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nstm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_nslm">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nslm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nslm_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nslm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_ngrnd">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="ngrnd" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_ngrnd_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="ngrnd" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_nparts">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nparts" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nparts_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nparts" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_albtyp">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="albtyp" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_albtyp_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="albtyp" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_nnobio">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nnobio" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nnobio_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nnobio" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_nlaip1">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nlaip1" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nlaip1_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nlaip1" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_nsnow">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nsnow" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nsnow_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nsnow" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_P10">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="P10" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_P10_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="P10" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    
+    <grid id="grid_P11">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="P11" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_P11_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="P11" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_P100">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="P100" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_P100_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="P100" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_P101">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="P101" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_P101_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="P101" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+
+    <!-- Definition of grids with fields having two extra dimensions, 4D grids -->
+    <grid id="grid_nslm_nstm">
+      <domain domain_ref="domain_landpoints" >
+        <interpolate_domain order="1"/>
+      </domain>
+      <axis axis_ref="nslm" />
+      <axis axis_ref="nstm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nslm_nstm_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nslm" />
+      <axis axis_ref="nstm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+    <grid id="grid_nvm_nstm">
+      <domain domain_ref="domain_landpoints" />
+      <axis axis_ref="nvm" />
+      <axis axis_ref="nstm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+    <grid id="grid_nvm_nstm_out">
+      <domain domain_ref="domain_landpoints_out" />
+      <axis axis_ref="nvm" />
+      <axis axis_ref="nstm" />
+      <axis axis_ref="ensemble"/>
+    </grid>
+
+  </grid_definition>
+  
+  
+</context>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/cosp_input_nl.txt
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/cosp_input_nl.txt	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/cosp_input_nl.txt	(revision 5499)
@@ -0,0 +1,99 @@
+! (c) British Crown Copyright 2008, the Met Office.
+! All rights reserved.
+! 
+! Redistribution and use in source and binary forms, with or without modification, are permitted 
+! provided that the following conditions are met:
+! 
+!     * Redistributions of source code must retain the above copyright notice, this list 
+!       of conditions and the following disclaimer.
+!     * Redistributions in binary form must reproduce the above copyright notice, this list
+!       of conditions and the following disclaimer in the documentation and/or other materials 
+!       provided with the distribution.
+!     * Neither the name of the Met Office nor the names of its contributors may be used 
+!       to endorse or promote products derived from this software without specific prior written 
+!       permission.
+! 
+! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 
+! IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
+! FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
+! CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
+! DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+! DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 
+! IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 
+! OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+! Namelist that sets up the main COSP options
+&COSP_INPUT
+  NPOINTS_IT=10000,! Max number of gridpoints to be processed in one iteration
+  NCOLUMNS=20,  ! Number of subcolumns
+  USE_VGRID=.true., ! Use fixed vertical grid for outputs? (if .true. then you need to define number of levels with Nlr)
+  NLR=40,       ! Number of levels in statistical outputs (only used if USE_VGRID=.true.)
+  CSAT_VGRID=.true., ! CloudSat vertical grid? (if .true. then the CloudSat standard grid is used for the outputs.
+                     !  USE_VGRID needs also be .true.)
+  !----------------------------------------------------------------------------------
+  !--------------- Inputs related to radar simulations
+  !----------------------------------------------------------------------------------
+  RADAR_FREQ=94.0, ! CloudSat radar frequency (GHz)
+  SURFACE_RADAR=0, ! surface=1, spaceborne=0
+  use_mie_tables=0,! use a precomputed lookup table? yes=1,no=0
+  use_gas_abs=1,   ! include gaseous absorption? yes=1,no=0
+  do_ray=0,        ! calculate/output Rayleigh refl=1, not=0
+  melt_lay=0,      ! melting layer model off=0, on=1
+  k2=-1,           ! |K|^2, -1=use frequency dependent default
+  use_reff=.true., ! True if you want effective radius to be used by radar simulator (always used by lidar)
+  use_precipitation_fluxes=.true.,  ! True if precipitation fluxes are input to the algorithm 
+  !----------------------------------------------------------------------------------
+  !---------------- Inputs related to lidar simulations
+  !----------------------------------------------------------------------------------
+  Nprmts_max_hydro=12, ! Max number of parameters for hydrometeor size distributions
+  Naero=1,             ! Number of aerosol species (Not used)
+  Nprmts_max_aero=1,   ! Max number of parameters for aerosol size distributions (Not used)
+  lidar_ice_type=0,    ! Ice particle shape in lidar calculations (0=ice-spheres ; 1=ice-non-spherical)
+  OVERLAP=3,   !  overlap type: 1=max, 2=rand, 3=max/rand
+  !----------------------------------------------------------------------------------
+  !---------------- Inputs related to ISCCP simulator
+  !----------------------------------------------------------------------------------
+  ISCCP_TOPHEIGHT=1,  !  1 = adjust top height using both a computed
+                       !  infrared brightness temperature and the visible
+                       !  optical depth to adjust cloud top pressure. Note
+                       !  that this calculation is most appropriate to compare
+                       !  to ISCCP data during sunlit hours.
+                      !  2 = do not adjust top height, that is cloud top
+                       !  pressure is the actual cloud top pressure
+                       !  in the model
+                      !  3 = adjust top height using only the computed
+                       !  infrared brightness temperature. Note that this
+                       !  calculation is most appropriate to compare to ISCCP
+                       !  IR only algortihm (i.e. you can compare to nighttime
+                       !  ISCCP data with this option)
+  ISCCP_TOPHEIGHT_DIRECTION=2,   ! direction for finding atmosphere pressure level
+                                 ! with interpolated temperature equal to the radiance
+                                 ! determined cloud-top temperature
+                                 ! 1 = find the *lowest* altitude (highest pressure) level
+                                 ! with interpolated temperature equal to the radiance
+                                 ! determined cloud-top temperature
+                                 ! 2 = find the *highest* altitude (lowest pressure) level
+                                 ! with interpolated temperature equal to the radiance 
+                                 ! determined cloud-top temperature
+                                 ! ONLY APPLICABLE IF top_height EQUALS 1 or 3
+                                 ! 1 = default setting, and matches all versions of 
+                                 ! ISCCP simulator with versions numbers 3.5.1 and lower
+                                 ! 2 = experimental setting  
+  !----------------------------------------------------------------------------------
+  !-------------- RTTOV inputs
+  !----------------------------------------------------------------------------------
+  Platform=1,    ! satellite platform
+  Satellite=15,  ! satellite
+  Instrument=0,  ! instrument
+  Nchannels=8,   ! Number of channels to be computed
+  Channels=1,3,5,6,8,10,11,13,        ! Channel numbers (please be sure that you supply Nchannels)
+  Surfem=0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,  ! Surface emissivity (please be sure that you supply Nchannels)
+  ZenAng=50.0, ! Satellite Zenith Angle
+  CO2=5.241e-04, ! Mixing ratios of trace gases
+  CH4=9.139e-07,
+  N2O=4.665e-07,
+  CO=2.098e-07
+/
+
+
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/cosp_output_nl.txt
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/cosp_output_nl.txt	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/cosp_output_nl.txt	(revision 5499)
@@ -0,0 +1,123 @@
+! (c) British Crown Copyright 2008, the Met Office.
+! All rights reserved.
+! 
+! Redistribution and use in source and binary forms, with or without modification, are permitted 
+! provided that the following conditions are met:
+! 
+!     * Redistributions of source code must retain the above copyright notice, this list 
+!       of conditions and the following disclaimer.
+!     * Redistributions in binary form must reproduce the above copyright notice, this list
+!       of conditions and the following disclaimer in the documentation and/or other materials 
+!       provided with the distribution.
+!     * Neither the name of the Met Office nor the names of its contributors may be used 
+!       to endorse or promote products derived from this software without specific prior written 
+!       permission.
+! 
+! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 
+! IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
+! FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
+! CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
+! DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
+! DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 
+! IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 
+! OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+! Namelist that sets up output-related variables. It controls 
+! the instrument simulators to run and the list of variables 
+! to be written to file
+&COSP_OUTPUT
+  ! Simulator flags
+  Lradar_sim=.false.,
+  Llidar_sim=.true.,
+  Lisccp_sim=.false.,
+  Lmisr_sim=.false.,
+  Lmodis_sim=.false.,
+  Lrttov_sim=.false.,
+  ! Output variables
+  !- Variables unique in 1D (curtain) mode
+  Ltoffset=.false.,
+  !- CloudSat
+  Lcfaddbze94=.false.,
+  Ldbze94=.false.,
+  !- CALIPSO
+  Latb532=.false.,
+  LcfadLidarsr532=.false.,
+  Lclcalipso=.true.,
+  Lclhcalipso=.true.,
+  Lcllcalipso=.true.,
+  Lclmcalipso=.true.,
+  Lcltcalipso=.true.,
+  LparasolRefl=.false.,
+  ! CALIPSO phase diagnostics
+  Lclcalipsoliq=.false.,
+  Lclcalipsoice=.false.,
+  Lclcalipsoun=.false.,
+  Lclcalipsotmp=.false.,
+  Lclcalipsotmpliq=.false.,
+  Lclcalipsotmpice=.false.,
+  Lclcalipsotmpun=.false.,
+  Lclhcalipsoliq=.false.,
+  Lcllcalipsoliq=.false.,
+  Lclmcalipsoliq=.false.,
+  Lcltcalipsoliq=.false.,
+  Lclhcalipsoice=.false.,
+  Lcllcalipsoice=.false.,
+  Lclmcalipsoice=.false.,
+  Lcltcalipsoice=.false.,
+  Lclhcalipsoun=.false.,
+  Lcllcalipsoun=.false.,
+  Lclmcalipsoun=.false.,
+  Lcltcalipsoun=.false.,
+  ! OPAQ variables
+  Lclopaquecalipso=.false.,
+  Lclthincalipso=.false.,
+  Lclzopaquecalipso=.false.,
+  Lclcalipsoopaque=.false.,
+  Lclcalipsothin=.false.,
+  Lclcalipsozopaque=.false.,
+  Lclcalipsoopacity=.false.,
+  ! TIBO variables
+  Lproftemp=.false.,
+  LprofSR=.false.,
+  !- ISCCP
+  Lalbisccp=.false.,
+  Lboxptopisccp=.false.,
+  Lboxtauisccp=.false.,
+  Lpctisccp=.false.,
+  Lclisccp=.false.,
+  Ltauisccp=.false.,
+  Lcltisccp=.false.,
+  Lmeantbisccp=.false.,
+  Lmeantbclrisccp=.false.,
+  !- MISR
+  LclMISR=.false.,
+  !- Use lidar and radar
+  Lclcalipso2=.false.,
+  Lcltlidarradar=.false.,
+  !- These are provided for debugging or special purposes
+  Lfracout=.false.,
+  LlidarBetaMol532=.false.,  
+  !- MODIS
+  Lcltmodis=.false.,
+  Lclwmodis=.false.,
+  Lclimodis=.false.,
+  Lclhmodis=.false.,
+  Lclmmodis=.false.,
+  Lcllmodis=.false.,
+  Ltautmodis=.false.,
+  Ltauwmodis=.false.,
+  Ltauimodis=.false.,
+  Ltautlogmodis=.false.,
+  Ltauwlogmodis=.false.,
+  Ltauilogmodis=.false.,
+  Lreffclwmodis=.false.,
+  Lreffclimodis=.false.,
+  Lpctmodis=.false.,
+  Llwpmodis=.false.,
+  Liwpmodis=.false.,
+  Lclmodis=.false.,
+  Lcrimodis=.false.,
+  Lcrlmodis=.false.,
+  !- RTTOV
+  Ltbrttov=.false.,
+/
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/field_def_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/field_def_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/field_def_lmdz.xml	(revision 5499)
@@ -0,0 +1,1021 @@
+<!-- $Id: field_def_lmdz.xml 3622 2020-01-15 10:50:43Z oboucher $ -->
+<field_definition level="1" prec="4" operation="average" freq_op="1ts" enabled=".true." default_value="9.96921e+36">
+    
+<!--    <field_group id="fields_1D" grid_ref="vertical">  -->
+<!--        <field id="Ap"   long_name="Hybrid coordinate: pressure part"    unit="Pa" />  -->
+<!--        <field id="Bp"   long_name="Hybrid coordinate: sigma part"    unit="-" />  -->
+<!--        <field id="Alt"  long_name="Pseudo-altitude (for an 8km scale height)"    unit="km" />  -->
+<!--    </field_group>  -->
+
+    <field_group id="remap_expr" level="_reset_" prec="_reset_" operation="_reset_" freq_op="_reset_" enabled="_reset_" default_value="_reset_">
+      <field_group id="remap_1ts" />
+      <field_group id="remap_1800s" />
+      <field_group id="remap_1h" />
+      <field_group id="remap_3h" />
+      <field_group id="remap_6h" />
+      <field_group id="remap_1d" />
+      <field_group id="remap_1mo" />
+    </field_group>
+    
+    
+    <field_group id="coordinates" grid_ref="grid_glo">
+        <field id="io_lon"  />
+        <field id="io_lat"  />
+    </field_group>
+
+    <field_group id="coord_hyb">
+        <field id="Ahyb" long_name="Ahyb at level interface"     axis_ref="klevp1" />
+        <field id="Ahyb_bounds" long_name="" grid_ref="klevp1_bnds" />
+        <field id="Bhyb" long_name="Bhyb at level interface"       axis_ref="klevp1"  />
+        <field id="Bhyb_bounds" long_name=""  grid_ref="klevp1_bnds" />
+        <field id="Ahyb_mid" long_name="Ahyb at the middle of the level"      axis_ref="klev" />
+        <field id="Ahyb_mid_bounds" long_name="" grid_ref="klev_bnds" />
+        <field id="Bhyb_mid" long_name="Bhyb at the middle of the level"       axis_ref="klev"  />
+        <field id="Bhyb_mid_bounds" long_name=""  grid_ref="klev_bnds" />
+    </field_group>
+    
+    <field_group id="fields_2D" grid_ref="grid_glo">
+        <field id="phis"    long_name="Surface geop.height"     unit="m2/s2" />
+        <field id="aire"    long_name="Grid area"               unit="m2"    />
+        <field id="contfracATM"     long_name="% sfce ter+lic"  unit="-"   /> 
+        <field id="contfracOR"      long_name="% sfce terre OR" unit="-" />
+        <field id="sza"     long_name="Solar zenithal angle "   unit="deg" />
+        <field id="flat"    long_name="Latent heat flux"        unit="W/m2" />
+        <field id="slp"     long_name="Sea Level Pressure"      unit="Pa" />
+        <field id="ptstar"  long_name="Air Surface Temperature" unit="K" />
+        <field id="pt0"     long_name="Standard Air Surface Temperature"      unit="K" />
+        <field id="tsol"    long_name="Surface Temperature"     unit="K" />
+        <field id="t2m"        long_name="Temperature 2m" unit="K" />
+        <field id="tasmax"  field_ref="t2m"  operation="maximum" />
+        <field id="tasmin"  field_ref="t2m"  operation="minimum" />
+        <field id="t2m_min"    long_name="Temp 2m min"    unit="K" operation="minimum" />
+        <field id="t2m_max"    long_name="Temp 2m max"    unit="K" operation="maximum" />
+        <field id="t2m_ter"    long_name="Temp 2m ter"    unit="K" />
+        <field id="t2m_max_mon"   long_name="Monthly average max 2m temperature" unit="K" />
+        <field id="t2m_min_mon"   long_name="Monthly average min 2m temperature" unit="K" />
+        <field id="t2m_lic"    long_name="Temp 2m lic"    unit="K" />
+        <field id="t2m_oce"    long_name="Temp 2m oce"    unit="K" />
+        <field id="t2m_sic"    long_name="Temp 2m sic"    unit="K" />
+        <field id="gusts"    long_name="surface gustiness"    unit="m2/s2" />
+        <field id="wind10m"    long_name="10-m wind speed"      unit="m/s" />
+        <field id="wind10max"  long_name="10m wind speed max"   unit="m/s" operation="maximum"/>
+        <field id="wind100m"   long_name="100-m wind speed"      unit="m/s" />
+        <field id="sfcWindmax" field_ref="wind10m" operation="maximum" />
+        <field id="sicf"    long_name="Sea-ice fraction"        unit="-" />
+        <field id="q2m"     long_name="Specific humidity 2m"    unit="kg/kg" />
+        <field id="ustar"   long_name="Friction velocity"       unit="m/s" />
+        <field id="u10m"    long_name="Vent zonal 10m"          unit="m/s" />
+        <field id="v10m"    long_name="Vent meridien 10m"       unit="m/s" />
+        <field id="psol"    long_name="Surface Pressure"        unit="Pa" />
+        <field id="qsurf"   long_name="Surface Air humidity"    unit="kg/kg" />
+        <field id="ustar_ter"    long_name="Friction velocity ter"    unit="m/s" />
+        <field id="ustar_lic"    long_name="Friction velocity lic"    unit="m/s" />
+        <field id="ustar_oce"    long_name="Friction velocity oce"    unit="m/s" />
+        <field id="ustar_sic"    long_name="Friction velocity sic"    unit="m/s" />
+        <field id="wstar_ter"    long_name="Friction velocity ter"    unit="m/s" />
+        <field id="wstar_lic"    long_name="Friction velocity lic"    unit="m/s" />
+        <field id="wstar_oce"    long_name="Friction velocity oce"    unit="m/s" />
+        <field id="wstar_sic"    long_name="Friction velocity sic"    unit="m/s" />
+        <field id="wstar"       long_name="w* convective velocity "    unit="m/s" />
+        <field id="u10m_ter"    long_name="Vent Zonal 10m ter"    unit="m/s" />
+        <field id="u10m_lic"    long_name="Vent Zonal 10m lic"    unit="m/s" />
+        <field id="u10m_oce"    long_name="Vent Zonal 10m oce"    unit="m/s" />
+        <field id="u10m_sic"    long_name="Vent Zonal 10m sic"    unit="m/s" />
+        <field id="v10m_ter"    long_name="Vent meredien 10m ter"    unit="m/s" />
+        <field id="v10m_lic"    long_name="Vent meredien 10m lic"    unit="m/s" />
+        <field id="v10m_oce"    long_name="Vent meredien 10m oce"    unit="m/s" />
+        <field id="v10m_sic"    long_name="Vent meredien 10m sic"    unit="m/s" />
+        <field id="qsol"        long_name="Soil watter content"         unit="mm" />
+        <field id="JrNt"        long_name="1 if Day 0 if Night"         unit="-" />
+        <field id="cldhjn"      long_name="High-level cloudiness Day"         unit="-" />
+        <field id="cldmjn"      long_name="Mid-level cloudiness Day"         unit="-" />
+        <field id="cldljn"      long_name="Low-level cloudiness Day"         unit="-" />
+        <field id="cldtjn"      long_name="Total cloudiness Day"         unit="-" />
+        <field id="rnebjn"      long_name="Cloud fraction in day"         unit="-" />
+        <field id="ndayrain"    long_name="Number of dayrain(liq+sol)"  unit="-" operation="instant"/>
+        <field id="precip"      long_name="Precip Totale liq+sol"       unit="kg/(s*m2)" />
+        <field id="prhmax"      field_ref="precip" operation="maximum"           />
+        <field id="rain_fall"   long_name="Precip Totale liq"   unit="kg/(s*m2)" />
+        <field id="rain_con"    long_name="Precip convective liq"   unit="kg/(s*m2)" />
+        <field id="plul"    long_name="Large-scale Precip."     unit="kg/(s*m2)" />
+        <field id="plun"    long_name="Numerical Precip."       unit="kg/(s*m2)" />
+        <field id="pluc"    long_name="Convective Precip."      unit="kg/(s*m2)" />
+        <field id="snow"    long_name="Snow fall"               unit="kg/(s*m2)" />
+        <field id="evap"    long_name="Evaporat"                unit="kg/(s*m2)" />
+        <field id="evap_ter"    long_name="evaporation at surface ter"    unit="kg/(s*m2)" />
+        <field id="evap_lic"    long_name="evaporation at surface lic"    unit="kg/(s*m2)" />
+        <field id="evap_oce"    long_name="evaporation at surface oce"    unit="kg/(s*m2)" />
+        <field id="evap_sic"    long_name="evaporation at surface sic"    unit="kg/(s*m2)" />
+        <field id="msnow"    long_name="Surface snow amount"    unit="kg/m2" />
+        <field id="fsnow"    long_name="Surface snow area fraction"    unit="-" />
+        <field id="tops"    long_name="Solar rad. at TOA"    unit="W/m2" />
+        <field id="tops0"    long_name="CS Solar rad. at TOA"    unit="W/m2" />
+        <field id="topl"    long_name="IR rad. at TOA"    unit="W/m2" />
+        <field id="topl0"    long_name="IR rad. at TOA"    unit="W/m2" />
+        <field id="SWupTOA"    long_name="SWup at TOA"    unit="W/m2" />
+        <field id="SWupTOAclr"    long_name="SWup clear sky at TOA"    unit="W/m2" />
+        <field id="SWupTOAcleanclr"    long_name="SWup clean (no aerosol) clear sky at TOA"    unit="W/m2" />
+        <field id="SWdnTOA"    long_name="SWdn at TOA"    unit="W/m2" />
+        <field id="SWdnTOAclr"    long_name="SWdn clear sky at TOA"    unit="W/m2" />
+        <field id="nettop"    long_name="Net dn radiatif flux at TOA"    unit="W/m2" />
+        <field id="SWup200"    long_name="SWup at 200mb"    unit="W/m2" />
+        <field id="SWup200clr"    long_name="SWup clear sky at 200mb"    unit="W/m2" />
+        <field id="SWdn200"    long_name="SWdn at 200mb"    unit="W/m2" />
+        <field id="SWdn200clr"    long_name="SWdn clear sky at 200mb"    unit="W/m2" />
+        <field id="LWup200"    long_name="LWup at 200mb"    unit="W/m2" />
+        <field id="LWup200clr"    long_name="LWup clear sky at 200mb"    unit="W/m2" />
+        <field id="LWdn200"    long_name="LWdn at 200mb"    unit="W/m2" />
+        <field id="LWdn200clr"    long_name="LWdn clear sky at 200mb"    unit="W/m2" />
+        <field id="sols"    long_name="Solar rad. at surf."    unit="W/m2" />
+        <field id="sols0"    long_name="Solar rad. at surf."    unit="W/m2" />
+        <field id="soll"    long_name="IR rad. at surface"    unit="W/m2" />
+        <field id="soll0"    long_name="IR rad. at surface"    unit="W/m2" />
+        <field id="radsol"    long_name="Rayonnement au sol"    unit="W/m2" />
+        <field id="SWupSFC"    long_name="SWup at surface"    unit="W/m2" />
+        <field id="SWupSFCclr"    long_name="SWup clear sky at surface"    unit="W/m2" />
+        <field id="SWupSFCcleanclr"    long_name="SWup clean (no aerosol) clear sky at surface"    unit="W/m2" />
+        <field id="SWdnSFC"    long_name="SWdn at surface"    unit="W/m2" />
+        <field id="SWdnSFCclr"    long_name="SWdn clear sky at surface"    unit="W/m2" />
+        <field id="SWdnSFCcleanclr"    long_name="SWdn clean (no aerosol) clear sky at surface"    unit="W/m2" />
+        <field id="LWupSFC"    long_name="Upwd. IR rad. at surface"    unit="W/m2" />
+        <field id="LWupSFCclr"    long_name="CS Upwd. IR rad. at surface"    unit="W/m2" />
+        <field id="LWupTOAcleanclr"    long_name="CS clean (no aerosol) Upwd. IR rad. at TOA"    unit="W/m2" />
+        <field id="LWdnSFC"    long_name="Down. IR rad. at surface"    unit="W/m2" />
+        <field id="LWdnSFCclr"    long_name="Down. CS IR rad. at surface"    unit="W/m2" />
+        <field id="LWdnSFCcleanclr"    long_name="Down. CS clean (no aerosol) IR rad. at surface"    unit="W/m2" />
+        <field id="bils"    long_name="Surf. total heat flux"    unit="W/m2" />
+        <field id="bils_tke"    long_name="Surf. total heat flux"    unit="W/m2" />
+        <field id="bils_diss"    long_name="Surf. total heat flux"    unit="W/m2" />
+        <field id="bils_ec"    long_name="Surf. total heat flux"    unit="W/m2" />
+        <field id="bils_kinetic"    long_name="Surf. total heat flux"    unit="W/m2" />
+        <field id="bils_enthalp"    long_name="Surf. total heat flux"    unit="W/m2" />
+        <field id="bils_latent"    long_name="Surf. total heat flux"    unit="W/m2" />
+        <field id="bils_ech"    long_name="peu importe"    unit="W/m2" />
+        <field id="ustr_gwd_hines"    long_name="zonal wind stress Hines gravity waves"    unit="Pa" />
+        <field id="vstr_gwd_hines"    long_name="meridional wind stress Hines gravity waves"    unit="Pa" />
+        <field id="ustr_gwd_front"    long_name="zonal wind stress fronts gravity waves"    unit="Pa" />
+        <field id="vstr_gwd_front"    long_name="meridional wind stress fronts gravity waves"    unit="Pa" />
+        <field id="ustr_gwd_rando"    long_name="zonal wind stress random gravity waves"    unit="Pa" />
+        <field id="vstr_gwd_rando"    long_name="meridinal wind stress random gravity waves"    unit="Pa" />
+        <field id="sens"    long_name="Sensible heat flux"    unit="W/m2" />
+        <field id="sens_x"    long_name="sens off-wake"    unit="W/m2" />
+        <field id="sens_w"    long_name="sens within-wake"    unit="W/m2" />
+        <field id="flat_x"    long_name="flat off-wake"    unit="W/m2" />
+        <field id="flat_w"    long_name="flat within-wake"    unit="W/m2" />
+        <field id="delta_tsurf"    long_name="Temperature difference (w-x)"    unit="K" enabled="false" /> <!-- ym --field disabled-- delta_tsurf is not conform to the associated grid (the is an arry containing all sub_surface) --> 
+        <field id="cdragh_x"    long_name="cdragh off-wake"    unit="-" />
+        <field id="cdragh_w"    long_name="cdragh within-wake"    unit="-" />
+        <field id="cdragm_x"    long_name="cdragm off-wake"    unit="-" />
+        <field id="cdragm_w"    long_name="cdragm within-wake"    unit="-" />
+        <field id="kh"    long_name="Kh"    unit="kg/s/m2" />
+        <field id="kh_x"    long_name="cdragm off-wake"    unit="kg/s/m2" />
+        <field id="kh_w"    long_name="cdragm within-wake"    unit="kg/s/m2" />
+        <field id="fder"    long_name="Heat flux derivation"    unit="W/m2" />
+        <field id="ffonte"    long_name="Thermal flux for snow melting"    unit="W/m2" />
+        <field id="fqcalving"    long_name="Ice Calving"    unit="kg/m2/s" />
+        <field id="fqfonte"    long_name="Land ice melt"    unit="kg/m2/s" />
+        <field id="runofflic"  long_name="Land ice melt to ocean" unit="kg/m2/s" />
+        <field id="mrroli"  long_name="Runoff flux over land ice" unit="kg/m2/s" />
+        <field id="taux"    long_name="Zonal wind stress"    unit="Pa" />
+        <field id="tauy"    long_name="Meridional wind stress"    unit="Pa" />
+        <field id="taux_ter"    long_name="Zonal wind stress ter"    unit="Pa" />
+        <field id="taux_lic"    long_name="Zonal wind stress lic"    unit="Pa" />
+        <field id="taux_oce"    long_name="Zonal wind stress oce"    unit="Pa" />
+        <field id="taux_sic"    long_name="Zonal wind stress sic"    unit="Pa" />
+        <field id="tauy_ter"    long_name="Meridional wind stress ter"    unit="Pa" />
+        <field id="tauy_lic"    long_name="Meridional wind stress lic"    unit="Pa" />
+        <field id="tauy_oce"    long_name="Meridional wind stress oce"    unit="Pa" />
+        <field id="tauy_sic"    long_name="Meridional wind stress sic"    unit="Pa" />
+        <field id="pourc_ter"    long_name="% ter"    unit="%" />
+        <field id="pourc_lic"    long_name="% lic"    unit="%" />
+        <field id="pourc_oce"    long_name="% oce"    unit="%" />
+        <field id="pourc_sic"    long_name="% sic"    unit="%" />
+        <field id="fract_ter"    long_name="Fraction ter"    unit="1" />
+        <field id="fract_lic"    long_name="Fraction lic"    unit="1" />
+        <field id="fract_oce"    long_name="Fraction oce"    unit="1" />
+        <field id="fract_sic"    long_name="Fraction sic"    unit="1" />
+        <field id="tsol_ter"    long_name="Temperature ter"    unit="K" />
+        <field id="tsol_lic"    long_name="Temperature lic"    unit="K" />
+        <field id="tsol_oce"    long_name="Temperature oce"    unit="K" />
+        <field id="tsol_sic"    long_name="Temperature sic"    unit="K" />
+        <field id="evappot_ter"    long_name="Temperature ter"    unit="K" />
+        <field id="evappot_lic"    long_name="Temperature lic"    unit="K" />
+        <field id="evappot_oce"    long_name="Temperature oce"    unit="K" />
+        <field id="evappot_sic"    long_name="Temperature sic"    unit="K" />
+        <field id="sens_ter"    long_name="Sensible heat flux ter"    unit="W/m2" />
+        <field id="sens_lic"    long_name="Sensible heat flux lic"    unit="W/m2" />
+        <field id="sens_oce"    long_name="Sensible heat flux oce"    unit="W/m2" />
+        <field id="sens_sic"    long_name="Sensible heat flux sic"    unit="W/m2" />
+        <field id="lat_ter"    long_name="Latent heat flux ter"    unit="W/m2" />
+        <field id="lat_lic"    long_name="Latent heat flux lic"    unit="W/m2" />
+        <field id="lat_oce"    long_name="Latent heat flux oce"    unit="W/m2" />
+        <field id="lat_sic"    long_name="Latent heat flux sic"    unit="W/m2" />
+        <field id="flw_ter"    long_name="LW ter"    unit="W/m2" />
+        <field id="flw_lic"    long_name="LW lic"    unit="W/m2" />
+        <field id="flw_oce"    long_name="LW oce"    unit="W/m2" />
+        <field id="flw_sic"    long_name="LW sic"    unit="W/m2" />
+        <field id="fsw_ter"    long_name="SW ter"    unit="W/m2" />
+        <field id="fsw_lic"    long_name="SW lic"    unit="W/m2" />
+        <field id="fsw_oce"    long_name="SW oce"    unit="W/m2" />
+        <field id="fsw_sic"    long_name="SW sic"    unit="W/m2" />
+        <field id="wbils_ter"    long_name="Bilan sol ter"    unit="W/m2" />
+        <field id="wbils_lic"    long_name="Bilan sol lic"    unit="W/m2" />
+        <field id="wbils_oce"    long_name="Bilan sol oce"    unit="W/m2" />
+        <field id="wbils_sic"    long_name="Bilan sol sic"    unit="W/m2" />
+        <field id="wbilo_ter"    long_name="Bilan eau ter"    unit="kg/(m2*s)" />
+        <field id="wbilo_lic"    long_name="Bilan eau lic"    unit="kg/(m2*s)" />
+        <field id="wbilo_oce"    long_name="Bilan eau oce"    unit="kg/(m2*s)" />
+        <field id="wbilo_sic"    long_name="Bilan eau sic"    unit="kg/(m2*s)" />
+        <field id="wevap_ter"    long_name="Evap eau ter"    unit="kg/(m2*s)" />
+        <field id="wevap_lic"    long_name="Evap eau lic"    unit="kg/(m2*s)" />
+        <field id="wevap_oce"    long_name="Evap eau oce"    unit="kg/(m2*s)" />
+        <field id="wevap_sic"    long_name="Evap eau sic"    unit="kg/(m2*s)" />
+        <field id="wrain_ter"    long_name="Pluie eau ter"    unit="kg/(m2*s)" />
+        <field id="wrain_lic"    long_name="Pluie eau lic"    unit="kg/(m2*s)" />
+        <field id="wrain_oce"    long_name="Pluie eau oce"    unit="kg/(m2*s)" />
+        <field id="wrain_sic"    long_name="Pluie eau sic"    unit="kg/(m2*s)" />
+        <field id="wsnow_ter"    long_name="Neige eau ter"    unit="kg/(m2*s)" />
+        <field id="wsnow_lic"    long_name="Neige eau lic"    unit="kg/(m2*s)" />
+        <field id="wsnow_oce"    long_name="Neige eau oce"    unit="kg/(m2*s)" />
+        <field id="wsnow_sic"    long_name="Neige eau sic"    unit="kg/(m2*s)" />
+        <field id="cdrm"    long_name="Momentum drag coef."    unit="-" />
+        <field id="cdrh"    long_name="Heat drag coef."    unit="-" />
+        <field id="cldl"    long_name="Low-level cloudiness"    unit="-" />
+        <field id="cldm"    long_name="Mid-level cloudiness"    unit="-" />
+        <field id="cldh"    long_name="High-level cloudiness"    unit="-" />
+        <field id="cldt"    long_name="Total cloudiness"    unit="-" />
+        <field id="cldq"    long_name="Cloud liquid water path"    unit="kg/m2" />
+        <field id="lwp"    long_name="Cloud water path"    unit="kg/m2" />
+        <field id="iwp"    long_name="Cloud ice water path"    unit="kg/m2" />
+        <field id="ue"    long_name="Zonal energy transport"    unit="-" />
+        <field id="ve"    long_name="Merid energy transport"    unit="-" />
+        <field id="uq"    long_name="Zonal humidity transport"    unit="-" />
+        <field id="vq"    long_name="Merid humidity transport"    unit="-" />
+        <field id="uwat"    long_name="Zonal total water transport"    unit="-" />
+        <field id="vwat"    long_name="Merid total water transport"    unit="-" />
+        <field id="cape"    long_name="Conv avlbl pot ener"    unit="J/kg" />
+        <field id="pbase"    long_name="Cld base pressure"    unit="Pa" />
+        <field id="ptop"    long_name="Cld top pressure"    unit="Pa" />
+        <field id="fbase"    long_name="Cld base mass flux"    unit="kg/m2/s" />
+        <field id="plcl"    long_name="Lifting Condensation Level"    unit="hPa" enabled=".false." />
+        <field id="plfc"    long_name="Level of Free Convection"    unit="hPa" />
+        <field id="wbeff"    long_name="Conv. updraft velocity at LFC (inf100)"    unit="m/s" />
+        <field id="convoccur"    long_name="Convective occurence"    unit="-" />
+        <field id="prw"    long_name="Precipitable water"    unit="kg/m2" />
+        <field id="prlw"   long_name="Precipitable liquid water"  unit="kg/m2" />
+        <field id="prsw"   long_name="Precipitable solid water"  unit="kg/m2" />
+        <field id="s_pblh"    long_name="Boundary Layer Height"    unit="m" />
+        <field id="s_pblt"    long_name="t at Boundary Layer Height"    unit="K" />
+        <field id="s_lcl"    long_name="Condensation level"    unit="m" />
+        <field id="s_therm"    long_name="Exces du thermique"    unit="K" />
+        <field id="slab_bils_oce"    long_name="Bilan au sol sur ocean slab"    unit="W/m2" />
+        <field id="ale_bl"    long_name="ALE BL"    unit="m2/s2" />
+        <field id="alp_bl"    long_name="ALP BL"    unit="m2/s2" />
+        <field id="ale_wk"    long_name="ALE WK"    unit="m2/s2" />
+        <field id="alp_wk"    long_name="ALP WK"    unit="m2/s2" />
+        <field id="ale"    long_name="ALE"    unit="m2/s2" />
+        <field id="alp"    long_name="ALP"    unit="W/m2" />
+        <field id="cin"    long_name="Convective INhibition"    unit="m2/s2" />
+        <field id="wape"    long_name="-"    unit="-" />
+        <field id="n2"    long_name="Nombre de panaches de type 2"    unit="-" />
+        <field id="s2"    long_name="Surface moyenne des panaches de type 2"    unit="m2" />
+        <field id="proba_notrig"    long_name="Probabilite de non-declenchement"    unit="-" />
+        <field id="random_notrig"    long_name="Tirage aleatoire de non-declenchement"    unit="-" />
+        <field id="cv_gen"    long_name="Cumulonimbus genesis"    unit="1/(m2 s)" />
+        <field id="ale_bl_stat"    long_name="ALE_BL_STAT"    unit="m2/s2" />
+        <field id="ale_bl_trig"    long_name="ALE_BL_STAT + Condition P>Pseuil"    unit="m2/s2" />
+        <field id="alp_bl_det"    long_name="ALP_BL_DET"    unit="W/m2" />
+        <field id="alp_bl_fluct_m"    long_name="ALP_BL_FLUCT_M"    unit="W/m2" />
+        <field id="alp_bl_fluct_tke"    long_name="ALP_BL_FLUCT_TKE"    unit="W/m2" />
+        <field id="alp_bl_conv"    long_name="ALP_BL_CONV"    unit="W/m2" />
+        <field id="alp_bl_stat"    long_name="ALP_BL_STAT"    unit="W/m2" />
+        <field id="u850"    long_name="Zonal wind 850hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="u700"    long_name="Zonal wind 700hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="u500"    long_name="Zonal wind 500hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="u200"    long_name="Zonal wind 200hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="u100"    long_name="Zonal wind 100hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="u50"     long_name="Zonal wind 50hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="u10"     long_name="Zonal wind 10hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="v850"    long_name="Meridional wind 850hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="v700"    long_name="Meridional wind 700hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="v500"    long_name="Meridional wind 500hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="v200"    long_name="Meridional wind 200hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="v100"    long_name="Meridional wind 100hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="v50"     long_name="Meridional wind 50hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="v10"    long_name="Meridional wind 10hPa"    unit="m/s" detect_missing_value=".true." />
+        <field id="w850"    long_name="Vertical wind 850hPa"    unit="Pa/s" detect_missing_value=".true." />
+        <field id="w700"    long_name="Vertical wind 700hPa"    unit="Pa/s" detect_missing_value=".true." />
+        <field id="w500"    long_name="Vertical wind 500hPa"    unit="Pa/s" detect_missing_value=".true." />
+        <field id="w200"    long_name="Vertical wind 200hPa"    unit="Pa/s" detect_missing_value=".true." />
+        <field id="w100"    long_name="Vertical wind 100hPa"    unit="Pa/s" detect_missing_value=".true." />
+        <field id="w50"    long_name="Vertical wind 50hPa"    unit="Pa/s" detect_missing_value=".true." />
+        <field id="w10"    long_name="Vertical wind 10hPa"    unit="Pa/s" detect_missing_value=".true." />
+        <field id="t850"    long_name="Temperature 850hPa"    unit="K" detect_missing_value=".true." />
+        <field id="t700"    long_name="Temperature 700hPa"    unit="K" detect_missing_value=".true." />
+        <field id="t500"    long_name="Temperature 500hPa"    unit="K" detect_missing_value=".true." />
+        <field id="t200"    long_name="Temperature 200hPa"    unit="K" detect_missing_value=".true." />
+        <field id="t100"    long_name="Temperature 100hPa"    unit="K" detect_missing_value=".true." />
+        <field id="t50"    long_name="Temperature 50hPa"    unit="K" detect_missing_value=".true." />
+        <field id="t10"    long_name="Temperature 10hPa"    unit="K" detect_missing_value=".true." />
+        <field id="q850"    long_name="Specific humidity 850hPa"    unit="kg/kg" detect_missing_value=".true." />
+        <field id="q700"    long_name="Specific humidity 700hPa"    unit="kg/kg" detect_missing_value=".true." />
+        <field id="q500"    long_name="Specific humidity 500hPa"    unit="kg/kg" detect_missing_value=".true." />
+        <field id="q200"    long_name="Specific humidity 200hPa"    unit="kg/kg" detect_missing_value=".true." />
+        <field id="q100"    long_name="Specific humidity 100hPa"    unit="kg/kg" detect_missing_value=".true." />
+        <field id="q50"    long_name="Specific humidity 50hPa"    unit="kg/kg" detect_missing_value=".true." />
+        <field id="q10"    long_name="Specific humidity 10hPa"    unit="kg/kg" detect_missing_value=".true." />
+        <field id="z850"    long_name="Geopotential height 850hPa"    unit="m" detect_missing_value=".true." />
+        <field id="z700"    long_name="Geopotential height 700hPa"    unit="m" detect_missing_value=".true." />
+        <field id="z500"    long_name="Geopotential height 500hPa"    unit="m" detect_missing_value=".true." />
+        <field id="z200"    long_name="Geopotential height 200hPa"    unit="m" detect_missing_value=".true." />
+        <field id="z100"    long_name="Geopotential height 100hPa"    unit="m" detect_missing_value=".true." />
+        <field id="z50"    long_name="Geopotential height 50hPa"    unit="m" detect_missing_value=".true." />
+        <field id="z10"    long_name="Geopotential height 10hPa"    unit="m" detect_missing_value=".true." />
+        <field id="t_oce_sic"    long_name="Temp mixte oce-sic"    unit="K" />
+        <field id="weakinv"    long_name="Weak inversion"    unit="-" />
+        <field id="dthmin"    long_name="dTheta mini"    unit="K/m" />
+        <field id="u10_ter"    long_name="-"    unit="-" />
+        <field id="u10_lic"    long_name="-"    unit="-" />
+        <field id="u10_oce"    long_name="-"    unit="-" />
+        <field id="u10_sic"    long_name="-"    unit="-" />
+        <field id="v10_ter"    long_name="-"    unit="-" />
+        <field id="v10_lic"    long_name="-"    unit="-" />
+        <field id="v10_oce"    long_name="-"    unit="-" />
+        <field id="v10_sic"    long_name="-"    unit="-" />
+        <field id="rh2m"    long_name="Relative humidity at 2m"    unit="%" />
+        <field id="rh2m_max"    field_ref="rh2m" operation="maximum" enabled="false"/> <!-- ym Problem : field is disabled check rh2m_min has a reference (field_ref) to rh2 but is also sent by model which is not compatible-->
+        <field id="rh2m_min"    field_ref="rh2m" operation="minimum" enabled="false"/> <!-- ym Problem : field is disabled check rh2m_max has a reference (field_ref) to rh2 but is also sent by model which is not compatible-->
+<!--        <field id="rh2m_min"    long_name="Min Relative humidity at 2m"    unit="%" /> -->
+<!--        <field id="rh2m_max"    long_name="Max Relative humidity at 2m"    unit="%" /> -->
+        <field id="qsat2m"    long_name="Saturant humidity at 2m"    unit="%" />
+        <field id="tpot"    long_name="Surface air potential temperature"    unit="K" />
+        <field id="tpote"    long_name="Surface air equivalent potential temperature"    unit="K" />
+        <field id="SWnetOR"    long_name="Sfce net SW radiation OR"    unit="W/m2" />
+        <field id="SWdownOR"    long_name="Sfce incident SW radiation OR"    unit="W/m2" />
+        <field id="LWdownOR"    long_name="Sfce incident LW radiation OR"    unit="W/m2" />
+        <field id="snowl"    long_name="Solid Large-scale Precip."    unit="kg/(m2*s)" />
+        <field id="cape_max"    long_name="CAPE max."    unit="J/kg" operation="maximum"/>
+        <field id="solldown"    long_name="Down. IR rad. at surface"    unit="W/m2" />
+        <field id="dtsvdfo"    long_name="Boundary-layer dTs(o)"    unit="K/s" />
+        <field id="dtsvdft"    long_name="Boundary-layer dTs(t)"    unit="K/s" />
+        <field id="dtsvdfg"    long_name="Boundary-layer dTs(g)"    unit="K/s" />
+        <field id="dtsvdfi"    long_name="Boundary-layer dTs(g)"    unit="K/s" />
+        <field id="rugs"    long_name="rugosity"    unit="-" />
+        <field id="z0m"    long_name="roughness length, momentum"    unit="-" />
+        <field id="z0h"    long_name="roughness length, enthalpy"    unit="-" />
+        <field id="topswad"    long_name="ADE at TOA"    unit="W/m2" />
+        <field id="topswad0"    long_name="ADE clear-sky at TOA"    unit="W/m2" />
+        <field id="topswai"    long_name="AIE at TOA"    unit="W/m2" />
+        <field id="solswad"    long_name="ADE at SRF"    unit="W/m2" />
+        <field id="solswad0"    long_name="ADE clear-sky at SRF"    unit="W/m2" />
+        <field id="solswai"    long_name="AIE at SFR"    unit="W/m2" />
+        <field id="toplwad"    long_name="LW-ADE at TOA" unit="W/m2" />
+        <field id="toplwad0"    long_name="LW-ADE clear-sky at TOA"    unit="W/m2" />
+        <field id="toplwai"    long_name="LW-AIE clear-sky at TOA"    unit="W/m2" />
+        <field id="sollwad"    long_name="LW-ADE at SRF" unit="W/m2" />
+        <field id="sollwad0"    long_name="LW-ADE clear-sky at SRF"    unit="W/m2" />
+        <field id="sollwai"    long_name="LW-AIE at SRF" unit="W/m2" />
+        <field id="od550_ASBCM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_ASPOMM"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_ASSO4M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_CSSO4M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_SSSSM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_ASSSM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_CSSSM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_CIDUSTM"  long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_AIBCM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_AIPOMM"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_ASNO3M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_CSNO3M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_CINO3M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od550_STRAT"    long_name="Aerosol Optical depth at 550 nm "    unit="1"  />
+        <field id="dryod550_ASBCM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_ASPOMM"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_ASSO4M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_CSSO4M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_SSSSM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_ASSSM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_CSSSM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_CIDUSTM"  long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_AIBCM"    long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_AIPOMM"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_ASNO3M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_CSNO3M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="dryod550_CINO3M"   long_name="Aerosol Optical depth at 550 nm "    unit="1" />
+        <field id="od_10um_STRAT"  long_name="Stratospheric Aerosol Optical depth at 10 um" unit="-" />
+        <field id="od443aer"    long_name="Total aerosol optical depth at 440nm" unit="-" />
+        <field id="od550aer"    long_name="Total aerosol optical depth at 550nm" unit="-" />
+        <field id="dryod550aer" long_name="Total dry aerosol optical depth at 550nm"    unit="-" />
+        <field id="od865aer"    long_name="Total aerosol optical depth at 870nm"    unit="-" />
+        <field id="abs550aer"   long_name="Absorption aerosol optical depth at 550nm"    unit="-" />
+        <field id="od550lt1aer" long_name="Fine mode optical depth"    unit="-" />
+        <field id="sconcso4"    long_name="Surface Concentration of Sulfate "    unit="kg/m3" />
+        <field id="sconcno3"    long_name="Surface Concentration of Nitrate "    unit="kg/m3" />
+        <field id="sconcoa"     long_name="Surface Concentration of Organic Aerosol "    unit="kg/m3" />
+        <field id="sconcbc"     long_name="Surface Concentration of Black Carbon "    unit="kg/m3" />
+        <field id="sconcss"     long_name="Surface Concentration of Sea Salt "    unit="kg/m3" />
+        <field id="sconcdust"   long_name="Surface Concentration of Dust "    unit="kg/m3" />
+        <field id="loadso4"   long_name="Column Load of Sulfate "    unit="kg/m2" />
+        <field id="loadoa"    long_name="Column Load of Organic Aerosol "    unit="kg/m2" />
+        <field id="loadbc"    long_name="Column Load of Black Carbon "    unit="kg/m2" />
+        <field id="loadss"    long_name="Column Load of Sea Salt "    unit="kg/m2" />
+        <field id="loaddust"  long_name="Column Load of Dust "    unit="kg/m2" />
+        <field id="loadno3"   long_name="Column Load of Nitrate " unit="kg/m2" />
+        <field id="swtoaas_nat"    long_name="Natural aerosol radiative forcing all-sky at TOA"    unit="W/m2" />
+        <field id="swsrfas_nat"    long_name="Natural aerosol radiative forcing all-sky at SRF"    unit="W/m2" />
+        <field id="swtoacs_nat"    long_name="Natural aerosol radiative forcing clear-sky at TOA"    unit="W/m2" />
+        <field id="swsrfcs_nat"    long_name="Natural aerosol radiative forcing clear-sky at SRF"    unit="W/m2" />
+        <field id="swtoaas_ant"    long_name="Anthropogenic aerosol radiative forcing all-sky at TOA"    unit="W/m2" />
+        <field id="swsrfas_ant"    long_name="Anthropogenic aerosol radiative forcing all-sky at SRF"    unit="W/m2" />
+        <field id="swtoacs_ant"    long_name="Anthropogenic aerosol radiative forcing clear-sky at TOA"    unit="W/m2" />
+        <field id="swsrfcs_ant"    long_name="Anthropogenic aerosol radiative forcing clear-sky at SRF"    unit="W/m2" />
+        <field id="swtoacf_nat"    long_name="Natural aerosol impact on cloud radiative forcing at TOA"    unit="W/m2" />
+        <field id="swsrfcf_nat"    long_name="Natural aerosol impact on cloud radiative forcing  at SRF"    unit="W/m2" />
+        <field id="swtoacf_ant"    long_name="Anthropogenic aerosol impact on cloud radiative forcing at TOA"    unit="W/m2" />
+        <field id="swsrfcf_ant"    long_name="Anthropogenic aerosol impact on cloud radiative forcing at SRF"    unit="W/m2" />
+        <field id="swtoacf_zero"    long_name="Cloud radiative forcing (allsky-clearsky fluxes) at TOA"    unit="W/m2" />
+        <field id="swsrfcf_zero"    long_name="Cloud radiative forcing (allsky-clearsky fluxes) at SRF"    unit="W/m2" />
+        <field id="cldncl"    long_name="CDNC at top of liquid water cloud"    unit="m-3" />
+        <field id="reffclwtop"    long_name="Droplet effective radius at top of liquid water cloud"    unit="m" />
+        <field id="cldnvi"    long_name="Column Integrated Cloud Droplet Number"    unit="m-2" />
+        <field id="lcc"    long_name="Cloud liquid fraction at top of cloud"    unit="1" />
+        <field id="wvapp"    long_name="-"    unit="-" />
+        <field id="albe_ter"    long_name="Albedo VIS surf. ter"    unit="-" />
+        <field id="albe_lic"    long_name="Albedo VIS surf. lic"    unit="-" />
+        <field id="albe_oce"    long_name="Albedo VIS surf. oce"    unit="-" />
+        <field id="albe_sic"    long_name="Albedo VIS surf. sic"    unit="-" />
+        <field id="ages_ter"    long_name="Snow age ter"    unit="day" />
+        <field id="ages_lic"    long_name="Snow age lic"    unit="day" />
+        <field id="ages_oce"    long_name="Snow age oce"    unit="day" />
+        <field id="ages_sic"    long_name="Snow age sic"    unit="day" />
+        <field id="snow_ter"    long_name="Snow"    unit="kg/m2" />
+        <field id="snow_lic"    long_name="Snow"    unit="kg/m2" />
+        <field id="snow_oce"    long_name="Snow"    unit="kg/m2" />
+        <field id="snow_sic"    long_name="Snow"    unit="kg/m2" />
+        <field id="rugs_ter"    long_name="Surface roughness ter"    unit="m" />
+        <field id="rugs_lic"    long_name="Surface roughness lic"    unit="m" />
+        <field id="rugs_oce"    long_name="Surface roughness oce"    unit="m" />
+        <field id="rugs_sic"    long_name="Surface roughness sic"    unit="m" />
+        <field id="z0m_ter"    long_name="roughness length, momentum ter"    unit="m" />
+        <field id="z0m_lic"    long_name="roughness length, momentum lic"    unit="m" />
+        <field id="z0m_oce"    long_name="roughness length, momentum oce"    unit="m" />
+        <field id="z0m_sic"    long_name="roughness length, momentum sic"    unit="m" />
+        <field id="z0h_ter"    long_name="roughness length, enthalpy ter"    unit="m" />
+        <field id="z0h_lic"    long_name="roughness length, enthalpy lic"    unit="m" />
+        <field id="z0h_oce"    long_name="roughness length, enthalpy oce"    unit="m" />
+        <field id="z0h_sic"    long_name="roughness length, enthalpy sic"    unit="m" />
+        <field id="sens_rain_oce"  long_name="Sensible heat flux associated withliquid prec. over ocean"    unit="W/m2" />
+        <field id="sens_rain_sic"  long_name="Sensible heat flux associated with liquid prec. over seaice"    unit="W/m2" />
+        <field id="sens_snow_oce"  long_name="Sensible heat flux associated with solid prec. over ocean"    unit="W/m2" />
+        <field id="sens_snow_sic"  long_name="Sensible heat flux associated with solid prec. over seaice"    unit="W/m2" />
+        <field id="lat_rain_oce"  long_name="Latent heat flux associated with liquid prec. over ocean"    unit="W/m2" />
+        <field id="lat_rain_sic"  long_name="Latent heat flux associated with liquid prec. over seaice"    unit="W/m2" />
+        <field id="lat_snow_oce"  long_name="Latent heat flux associated with solid prec. over ocean"    unit="W/m2" />
+        <field id="lat_snow_sic"  long_name="Latent heat flux associated with solid prec. over seaice"    unit="W/m2" />
+        <field id="alb1"    long_name="Surface VIS albedo"    unit="-" />
+        <field id="alb2"    long_name="Surface Near IR albedo"    unit="-" />
+        <field id="ftime_con"    long_name="Fraction of time convection Occurs"    unit="-" operation="instant" />
+        <field id="ftime_deepcv"    long_name="Fraction of time deep convection Occurs"    unit="-" />
+        <field id="wake_h"    long_name="wake height"    unit="m" />
+        <field id="wake_dens"    long_name="number of wakes per m2"    unit="1/m2" />
+        <field id="wake_s"    long_name="wake_s"    unit="-" />
+        <field id="epmax"    long_name="epmax en fn cape"    unit="su" />
+        <field id="plulth"    long_name="Rainfall therm."    unit="K/s" />
+        <field id="plulst"    long_name="Rainfall strat."    unit="K/s" />
+        <field id="lmaxth"    long_name="Upper level thermals"    unit="-" />
+        <field id="ftime_th"    long_name="Fraction of time Shallow convection occurs"    unit="-" />
+        <field id="f0_th"    long_name="Thermal closure mass flux"    unit="K/s" />
+        <field id="zmax_th"    long_name="Thermal plume height"    unit="K/s" />
+        <field id="rsut4co2"    long_name="TOA Out SW in 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rlut4co2"    long_name="TOA Out LW in 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rsutcs4co2"    long_name="TOA Out CS SW in 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rlutcs4co2"    long_name="TOA Out CS LW in 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="dqphy2d"    long_name="Physics dQ"    unit="(kg/m2)/s" />
+        <field id="dqlphy2d"    long_name="Physics dQL"    unit="(kg/m2)/s" />
+        <field id="dqsphy2d"    long_name="Physics dQS"    unit="(kg/m2)/s" />
+        <field id="dqdyn2d"    long_name="Dynamics dQ"    unit="(kg/m2)/s" />
+        <field id="dqldyn2d"   long_name="Dynamics dQL"    unit="(kg/m2)/s" />
+        <field id="dqsdyn2d"   long_name="Dynamics dQS"    unit="(kg/m2)/s" />
+        <field id="dqcon2d"    long_name="Convection dQ"    unit="(kg/m2)/s" />
+        <field id="dqwak2d"    long_name="Wake dQ"    unit="(kg/m2)/s" />
+        <field id="dqlsc2d"    long_name="Condensation dQ"    unit="(kg/m2)/s" />
+        <field id="dqvdf2d"    long_name="Boundary-layer dQ"    unit="(kg/m2)/s" />
+        <field id="dqeva2d"    long_name="Reevaporation dQ"    unit="(kg/m2)/s" />
+        <field id="dqlscth2d"    long_name="dQ therm."    unit="(kg/m2)/s" />
+        <field id="dqlscst2d"    long_name="dQ strat."    unit="(kg/m2)/s" />
+        <field id="dqthe2d"    long_name="Thermal dQ"    unit="(kg/m2)/s" />
+        <field id="dqajs2d"    long_name="Dry ajdust dQ"    unit="(kg/m2)/s" />
+        <field id="tatp"    long_name="Dry ajdust dQ"    unit="(kg/m2)/s" />
+        <field id="p_tropopause"  long_name="Tropopause pressure" unit="Pa"   detect_missing_value=".true."  />
+        <field id="z_tropopause"  long_name="Tropopause height" unit="m"      detect_missing_value=".true."  />
+        <field id="t_tropopause"  long_name="Tropopause temperature" unit="K" detect_missing_value=".true."  />
+        <field id="colO3_strat"    long_name="Ozone stratospheric column"     unit="DU" />             <!-- Added ThL -->
+        <field id="colO3_trop"     long_name="Ozone tropospheric column"      unit="DU" />             <!-- Added ThL -->
+        <field id="flx_co2_land"   long_name="CO2 flux from land"             unit="kg CO2/m2/s" />    <!-- Added OB -->
+        <field id="flx_co2_ocean"  long_name="CO2 flux from ocean"            unit="kg CO2/m2/s" />    <!-- Added OB -->
+        <field id="flx_co2_ff"     long_name="CO2 flux from ff"               unit="kg CO2/m2/s" />    <!-- Added OB -->
+        <field id="flx_co2_bb"     long_name="CO2 flux from bb"               unit="kg CO2/m2/s" />    <!-- Added OB -->
+    </field_group>
+
+    <field_group id="fields_3D" grid_ref="grid_glo_presnivs" >
+        <field id="tke"    long_name="TKE"    unit="m2/s2" />
+        <field id="tke_ter"    long_name="Max Turb. Kinetic Energy ter"    unit="m2/s2" />
+        <field id="tke_lic"    long_name="Max Turb. Kinetic Energy lic"    unit="m2/s2" />
+        <field id="tke_oce"    long_name="Max Turb. Kinetic Energy oce"    unit="m2/s2" />
+        <field id="tke_sic"    long_name="Max Turb. Kinetic Energy sic"    unit="m2/s2" />
+        <field id="tke_max_ter"    long_name="Max Turb. Kinetic Energy ter"    unit="m2/s2" operation="maximum"/>
+        <field id="tke_max_lic"    long_name="Max Turb. Kinetic Energy lic"    unit="m2/s2" operation="maximum"/>
+        <field id="tke_max_oce"    long_name="Max Turb. Kinetic Energy oce"    unit="m2/s2" operation="maximum"/>
+        <field id="tke_max_sic"    long_name="Max Turb. Kinetic Energy sic"    unit="m2/s2" operation="maximum"/>
+        <field id="l_mix_ter"    long_name="PBL mixing length ter"    unit="m" />
+        <field id="l_mix_lic"    long_name="PBL mixing length lic"    unit="m" />
+        <field id="l_mix_oce"    long_name="PBL mixing length oce"    unit="m" />
+        <field id="l_mix_sic"    long_name="PBL mixing length sic"    unit="m" />
+        <field id="treedrg_ter"    long_name="tree drag profile ter "    unit="-" />
+        <field id="treedrg_lic"    long_name="tree drag profile ter "    unit="-" />
+        <field id="treedrg_oce"    long_name="tree drag profile ter "    unit="-" />
+        <field id="treedrg_sic"    long_name="tree drag profile ter "    unit="-" />
+        <field id="l_mixmin_ter"    long_name="min PBL mixing length ter"    unit="m" />
+        <field id="l_mixmin_lic"    long_name="min PBL mixing length lic"    unit="m" />
+        <field id="l_mixmin_oce"    long_name="min PBL mixing length oce"    unit="m" />
+        <field id="l_mixmin_sic"    long_name="min PBL mixing length sic"    unit="m" />
+        <field id="dltpbltke_ter"    long_name="TKE difference (w - x)"    unit="m2/s2" />
+        <field id="dltpbltke_lic"    long_name="TKE difference (w - x)"    unit="m2/s2" />
+        <field id="dltpbltke_oce"    long_name="TKE difference (w - x)"    unit="m2/s2" />
+        <field id="dltpbltke_sic"    long_name="TKE difference (w - x)"    unit="m2/s2" />
+        <field id="cldtau"    long_name="Cloud optical thickness"    unit="1" />
+        <field id="cldemi"    long_name="Cloud optical emissivity"    unit="1" />
+        <field id="tke_max"    long_name="TKE max"    unit="m2/s2" operation="maximum"/>
+        <field id="kz"    long_name="Kz melange"    unit="m2/s" enabled="FALSE" />
+        <field id="kz_max"    long_name="Kz melange max"    unit="m2/s" enabled="FALSE" operation="maximum" />
+        <field id="concso4"    long_name="Concentration of Sulfate "    unit="kg/m3" />
+        <field id="concno3"    long_name="Concentration of Nitrate "    unit="kg/m3" /> 
+        <field id="concoa"    long_name="Concentration of Organic Aerosol "    unit="kg/m3" />
+        <field id="concbc"    long_name="Concentration of Black Carbon "    unit="kg/m3" />
+        <field id="concss"    long_name="Concentration of Sea Salt "    unit="kg/m3" />
+        <field id="concdust"    long_name="Concentration of Dust "    unit="kg/m3" />
+        <field id="ec550aer"    long_name="Extinction at 550nm"    unit="m^-1" />
+        <field id="lwcon"    long_name="Cloud liquid water content"    unit="kg/kg" />
+        <field id="iwcon"    long_name="Cloud ice water content"    unit="kg/kg" />
+        <field id="temp"    long_name="Air temperature"    unit="K" />
+        <field id="theta"    long_name="Potential air temperature"    unit="K" />
+        <field id="ovap"    long_name="Specific humidity"    unit="kg/kg" />
+        <field id="ovapinit"    long_name="Specific humidity (begin of timestep)"    unit="kg/kg" />
+        <field id="oliq"    long_name="Liquid water"    unit="kg/kg" />
+        <field id="ocond"    long_name="Condensed water"    unit="kg/kg" />
+        <field id="geop"    long_name="Geopotential height"    unit="m2/s2" />
+        <field id="geoph" field_ref="geop" long_name="Geopotential height" unit="m" > geop/9.80665 </field>
+        <field id="vitu"    long_name="Zonal wind"    unit="m/s" />
+        <field id="vitv"    long_name="Meridional wind"    unit="m/s" />
+        <field id="vitw"    long_name="Vertical wind"    unit="Pa/s" />
+        <field id="pres"    long_name="Air pressure"    unit="Pa" />
+        <field id="paprs"    long_name="Air pressure Inter-Couches"    unit="Pa" />
+        <field id="mass"    long_name="Masse Couches"    unit="kg/m2" />
+        <field id="zfull"    long_name="Altitude of full pressure levels"    unit="m" />
+        <field id="zhalf"    long_name="Altitude of half pressure levels"    unit="m" />
+        <field id="rneb"    long_name="Cloud fraction"    unit="-" />
+        <field id="rnebcon"    long_name="Convective Cloud Fraction"    unit="-" />
+        <field id="rnebls"    long_name="LS Cloud fraction"    unit="-" />
+        <field id="rneblsvol" long_name="LS Cloud fraction by volume"    unit="-" />
+        <field id="rhum"    long_name="Relative humidity"    unit="-" />
+        <field id="ozone"    long_name="Ozone mole fraction"    unit="-" />
+        <field id="ozone_daylight"    long_name="Daylight ozone mole fraction"    unit="-" />
+        <field id="upwd"    long_name="saturated updraft"    unit="kg/m2/s" />
+        <field id="ep"    long_name="ep"    unit="su" />
+        <field id="duphy"    long_name="Physics du"    unit="K/s" />
+        <field id="dtphy"    long_name="Physics dT"    unit="K/s" />
+        <field id="dqphy"    long_name="Physics dQ"    unit="(kg/kg)/s" />
+        <field id="dqlphy"   long_name="Physics dQL"    unit="(kg/kg)/s" />
+        <field id="dqsphy"   long_name="Physics dQS"    unit="(kg/kg)/s" />
+        <field id="pr_con_l"    long_name="Convective precipitation lic"    unit="-" />
+        <field id="pr_con_i"    long_name="Convective precipitation ice"    unit="-" />
+        <field id="pr_lsc_l"    long_name="Large scale precipitation lic"    unit="-" />
+        <field id="pr_lsc_i"    long_name="Large scale precipitation ice"    unit="-" />
+        <field id="re"    long_name="Cloud droplet effective radius"    unit="um" />
+        <field id="fl"    long_name="Denominator of Cloud droplet effective radius"    unit="-" />
+        <field id="scdnc"    long_name="Cloud droplet number concentration"    unit="m-3" />
+        <field id="reffclws"    long_name="Stratiform Cloud Droplet Effective Radius (aerosol diags.)"    unit="m" />
+        <field id="reffclwc"    long_name="Convective Cloud Droplet Effective Radius (aerosol diags.)"    unit="m" />
+        <field id="lcc3d"    long_name="Cloud liquid fraction"    unit="1" />
+        <field id="lcc3dcon"    long_name="Convective cloud liquid fraction"    unit="1" />
+        <field id="lcc3dstra"    long_name="Stratiform cloud liquid fraction"    unit="1" />
+        <field id="cldwatmxrat"    long_name="Cloud Water Mixing Ratio"    unit="1" />
+        <field id="icc3dcon"    long_name="Mass Fraction of Convective Cloud Ice"    unit="kg/kg" />
+        <field id="icc3dstra"    long_name="Mass Fraction of Stratiform Cloud Ice "    unit="kg/kg" />
+        <field id="cldicemxrat"    long_name="Cloud Ice Mixing Ratio"    unit="1" />
+        <field id="clwcon"    long_name="Convective Cloud Liquid water content"    unit="kg/kg" />
+        <field id="Mipsh"    long_name="mass flux shed from adiab. ascents"    unit="kg/m2/s" />
+        <field id="Ma"    long_name="undilute adiab updraft"    unit="kg/m2/s" />
+        <field id="dnwd"    long_name="saturated downdraft"    unit="kg/m2/s" />
+        <field id="dnwd0"    long_name="unsat. downdraft"    unit="kg/m2/s" />
+        <field id="mc"    long_name="Convective mass flux"    unit="kg/m2/s" />
+        <field id="dtdyn"    long_name="Dynamics dT"    unit="K/s" />
+        <field id="dqdyn"    long_name="Dynamics dQ"    unit="(kg/kg)/s" />
+        <field id="dqldyn"    long_name="Dynamics dQL"    unit="(kg/kg)/s" />
+        <field id="dqsdyn"    long_name="Dynamics dQS"    unit="(kg/kg)/s" />
+        <field id="dudyn"    long_name="Dynamics dU"    unit="m/s2" />
+        <field id="dvdyn"    long_name="Dynamics dV"    unit="m/s2" />
+        <field id="dtcon"    long_name="Convection dT"    unit="K/s" />
+        <field id="ducon"    long_name="Convection du"    unit="m/s2" />
+        <field id="dvcon"    long_name="Convection dv"    unit="m/s2" />
+        <field id="dqcon"    long_name="Convection dQ"    unit="(kg/kg)/s" />
+        <field id="dtwak"    long_name="Wake dT"    unit="K/s" />
+        <field id="dqwak"    long_name="Wake dQ"    unit="(kg/kg)/s" />
+        <field id="wake_deltat"    long_name="wake_deltat"    unit="-" />
+        <field id="wake_deltaq"    long_name="wake_deltaq"    unit="-" />
+        <field id="wake_omg"    long_name="wake_omg"    unit="-" />
+        <field id="wdtrainA"    long_name="precipitation from AA"    unit="-" />
+        <field id="wdtrainS"    long_name="precipitation from shedding of AA"    unit="-" />
+        <field id="wdtrainM"    long_name="precipitation from mixture"    unit="-" />
+        <field id="Vprecip"    long_name="precipitation vertical profile"    unit="-" />
+        <field id="qtaa"    long_name="specific total water in adiabatic ascents"    unit="kg/kg" /> 
+        <field id="Clwaa"   long_name="specific condensed water in adiabatic ascents"    unit="kg/kg" />
+        <field id="ftd"    long_name="tend temp due aux descentes precip"    unit="-" />
+        <field id="fqd"    long_name="tend vap eau due aux descentes precip"    unit="-" />
+        <field id="dtlsc"    long_name="Condensation dT"    unit="K/s" />
+        <field id="dtlschr"    long_name="Large-scale condensational heating rate"    unit="K/s" />
+        <field id="dqlsc"    long_name="Condensation dQ"    unit="(kg/kg)/s" />
+        <field id="beta_prec"    long_name="LS Conversion rate to prec"    unit="(kg/kg)/s" />
+        <field id="dtvdf"    long_name="Boundary-layer dT"    unit="K/s" />
+        <field id="dtvdf_x"  long_name="dtvdf off_wake"    unit="K/s" />
+        <field id="dtvdf_w"  long_name="dtvdf within_wake"    unit="K/s" />
+        <field id="dtdis"    long_name="TKE dissipation dT"    unit="K/s" />
+        <field id="dqvdf"    long_name="Boundary-layer dQ"    unit="(kg/kg)/s" />
+        <field id="dqvdf_x" long_name="dqvdf off_wake" unit="(kg/kg)/s" />
+        <field id="dqvdf_w" long_name="dqvdf within_wake" unit="(kg/kg)/s" />
+        <field id="dteva"    long_name="Reevaporation dT"    unit="K/s" />
+        <field id="dqeva"    long_name="Reevaporation dQ"    unit="(kg/kg)/s" />
+        <field id="dqlscth"    long_name="dQ therm."    unit="(kg/kg)/s" />
+        <field id="dqlscst"    long_name="dQ strat."    unit="(kg/kg)/s" />
+        <field id="dtlscth"    long_name="dQ therm."    unit="K/s" />
+        <field id="dtlscst"    long_name="dQ strat."    unit="K/s" />
+        <field id="ptconvth"    long_name="POINTS CONVECTIFS therm."    unit="-" />
+        <field id="ptconv"    long_name="POINTS CONVECTIFS"    unit="-" />
+        <field id="ratqs"    long_name="RATQS"    unit="-" />
+        <field id="dtthe"    long_name="Thermal dT"    unit="K/s" />
+        <field id="duthe"    long_name="Thermal du"    unit="m/s2" />
+        <field id="dvthe"    long_name="Thermal dv"    unit="m/s2" />
+        <field id="f_th"    long_name="Thermal plume mass flux"    unit="kg/(m2*s)" />
+        <field id="e_th"    long_name="Thermal plume entrainment"    unit="K/s" />
+        <field id="w_th"    long_name="Thermal plume vertical velocity"    unit="m/s" />
+        <field id="lambda_th"    long_name="Thermal plume vertical velocity"    unit="m/s" />
+        <field id="q_th"    long_name="Thermal plume total humidity"    unit="kg/kg" />
+        <field id="a_th"    long_name="Thermal plume fraction"    unit="-" />
+        <field id="s_th"    long_name="Thermal plume saturation deficit"    unit="kg/kg" />
+        <field id="s_env"    long_name="Environment saturation deficit"    unit="kg/kg" />
+        <field id="sigma_th"    long_name="Thermal plume gauss variance"    unit="kg/kg" />
+        <field id="sigma_env"    long_name="Environment gauss variance"    unit="kg/kg" />
+        <field id="d_th"    long_name="Thermal plume detrainment"    unit="K/s" />
+        <field id="dqthe"    long_name="Thermal dQ"    unit="(kg/kg)/s" />
+        <field id="dtajs"    long_name="Dry adjust. dT"    unit="K/s" />
+        <field id="dqajs"    long_name="Dry adjust. dQ"    unit="(kg/kg)/s" />
+        <field id="dtswr"    long_name="SW radiation dT"    unit="K/s" />
+        <field id="dtsw0"    long_name="CS SW radiation dT"    unit="K/s" />
+        <field id="dtlwr"    long_name="LW radiation dT"    unit="K/s" />
+        <field id="dtlw0"    long_name="CS LW radiation dT"    unit="K/s" />
+        <field id="dtec"    long_name="Cinetic dissip dT"    unit="K/s" />
+        <field id="duvdf"    long_name="Boundary-layer dU"    unit="m/s2" />
+        <field id="dvvdf"    long_name="Boundary-layer dV"    unit="m/s2" />
+        <field id="duoro"    long_name="Orography dU"    unit="m/s2" />
+        <field id="dvoro"    long_name="Orography dV"    unit="m/s2" />
+        <field id="dulif"    long_name="Orography dU"    unit="m/s2" />
+        <field id="dvlif"    long_name="Orography dV"    unit="m/s2" />
+        <field id="du_gwd_rando"    long_name="peu importe"    unit="W/m2" />
+        <field id="dv_gwd_rando"    long_name="peu importe"    unit="W/m2" />
+        <field id="du_gwd_hines" long_name="Hines GWD dU" unit="m/s2" />
+        <field id="dv_gwd_hines" long_name="Hines GWD dV" unit="m/s2" />
+        <field id="du_gwd_front" long_name="Fronts GWD dU" unit="m/s2" />
+        <field id="dv_gwd_front" long_name="Fronts GWD dV" unit="m/s2" />
+        <field id="east_gwstress" long_name="Eastward GW Stress" unit="Pa" />
+        <field id="west_gwstress" long_name="Westward GW Stress" unit="Pa" />
+        <field id="dtoro"    long_name="Orography dT"    unit="K/s" />
+        <field id="dtlif"    long_name="Orography dT"    unit="K/s" />
+        <field id="dthin"    long_name="Hines GWD dT"    unit="K/s" />
+        <field id="rsu"    long_name="SW upward radiation"    unit="W m-2" />
+        <field id="rsd"    long_name="SW downward radiation"    unit="W m-2" />
+        <field id="rlu"    long_name="LW upward radiation"    unit="W m-2" />
+        <field id="rld"    long_name="LW downward radiation"    unit="W m-2" />
+        <field id="rsucsaf"  long_name="SW clean (no aerosol) CS upward radiation"    unit="W m-2" />
+        <field id="rsdcsaf"  long_name="SW clean (no aerosol) CS downward radiation"    unit="W m-2" />
+        <field id="rsucs"    long_name="SW CS upward radiation"    unit="W m-2" />
+        <field id="rsdcs"    long_name="SW CS downward radiation"    unit="W m-2" />
+        <field id="rlucs"    long_name="LW CS upward radiation"    unit="W m-2" />
+        <field id="rldcs"    long_name="LW CS downward radiation"    unit="W m-2" />
+        <field id="tnt"    long_name="Tendency of air temperature"    unit="K s-1" />
+        <field id="tntc"    long_name="Tendency of air temperature due to Moist Convection"    unit="K s-1" />
+        <field id="tntr"    long_name="Air temperature tendency due to Radiative heating"    unit="K s-1" />
+        <field id="tntscpbl"    long_name="Air temperature tendency due to St cloud and precipitation and BL mixing"    unit="K s-1" />
+        <field id="tnhus"    long_name="Tendency of specific humidity"    unit="s-1" />
+        <field id="tnhusc"    long_name="Tendency of specific humidity due to convection"    unit="s-1" />
+        <field id="tnhusscpbl"    long_name="Tendency of Specific humidity due to ST cl, precip and BL mixing"    unit="s-1" />
+        <field id="evu"    long_name="Eddy viscosity coefficient for Momentum Variables"    unit="m2 s-1" />
+        <field id="h2o"    long_name="Mass Fraction of Water"    unit="1" />
+        <field id="mcd"    long_name="Downdraft COnvective Mass Flux"    unit="kg/(m2*s)" />
+        <field id="dmc"    long_name="Deep COnvective Mass Flux"    unit="kg/(m2*s)" />
+        <field id="ref_liq"    long_name="Effective radius of convective cloud liquid water particle"    unit="m" />
+        <field id="ref_ice"    long_name="Effective radius of startiform cloud ice particle"    unit="m" />
+        <field id="rsu4co2"    long_name="Upwelling SW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rlu4co2"    long_name="Upwelling LW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rsucs4co2"    long_name="Upwelling CS SW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rlucs4co2"    long_name="Upwelling CS LW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rsd4co2"    long_name="Downwelling SW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rld4co2"    long_name="Downwelling LW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rsdcs4co2"    long_name="Downwelling CS SW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="rldcs4co2"    long_name="Downwelling CS LW 4xCO2 atmosphere"    unit="W/m2" />
+        <field id="stratomask"    long_name="Stratospheric fraction"    unit="-" />
+        <field id="heat_volc"    long_name="SW heating rate from volcano"    unit="K/s" />
+        <field id="cool_volc"    long_name="LW cooling rate from volcano"    unit="K/s" />
+        <field id="pvap"    long_name="pvap intermediary variable" unit="-">pres*ovap*461.5 / (287.04*(1.+ (10.9491/18.0153)*ovap)) </field>
+    </field_group>
+
+    <field_group id="fields_strataer_trac_3D" grid_ref="grid_glo_presnivs" operation="average"/>
+    <field_group id="fields_strataer_trac_2D" grid_ref="grid_glo" operation="average"/>
+
+    <field_group id="fields_strataer_3D" grid_ref="grid_glo_presnivs" operation="average" >
+        <field id="ext_strat_550"        long_name="Strat. aerosol extinction coefficient at 550 nm"       unit="1/m" />
+        <field id="ext_strat_1020"       long_name="Strat. aerosol extinction coefficient at 1020 nm"      unit="1/m" />
+        <field id="budg_3D_nucl"         long_name="H2SO4 nucleation mass flux"                            unit="kg(S)/m2/layer/s" />
+        <field id="budg_3D_cond_evap"    long_name="H2SO4 net condensation/evaporation mass flux"          unit="kg(S)/m2/layer/s" />
+        <field id="budg_3D_ocs_to_so2"   long_name="OCS mass flux converted to SO2"                        unit="kg(S)/m2/layer/s" />
+        <field id="budg_3D_so2_to_h2so4" long_name="SO2 mass flux converted to H2SO4"                      unit="kg(S)/m2/layer/s" />
+        <field id="budg_3D_backgr_ocs"   long_name="OCS background tendency"                               unit="kg(S)/m2/layer/s" />
+        <field id="budg_3D_backgr_so2"   long_name="SO2 background tendency"                               unit="kg(S)/m2/layer/s" />
+        <field id="R2SO4"                long_name="H2SO4 mass fraction in aerosol"                        unit="%" />
+        <field id="OCS_lifetime"         long_name="OCS lifetime"                                          unit="s" />
+        <field id="SO2_lifetime"         long_name="SO2 lifetime"                                          unit="s" />
+        <field id="vsed_aer"             long_name="Strat. aerosol sedimentation velocity (mass-weighted)" unit="m/s" />
+        <field id="f_r_wet"              long_name="Conversion factor dry to wet aerosol radius"           unit="-" />
+    </field_group>
+
+    <field_group id="fields_strataer_2D" grid_ref="grid_glo" operation="average">
+        <field id="OD550_strat_only"   long_name="Stratospheric Aerosol Optical depth at 550 nm "        unit="1" />
+        <field id="OD1020_strat_only"  long_name="Stratospheric Aerosol Optical depth at 1020 nm "       unit="1" />
+        <field id="surf_PM25_sulf"     long_name="Sulfate PM2.5 concentration at the surface"            unit="ug/m3" />
+        <field id="budg_dep_dry_ocs"   long_name="OCS dry deposition flux"                               unit="kg(S)/m2/s" />
+        <field id="budg_dep_wet_ocs"   long_name="OCS wet deposition flux"                               unit="kg(S)/m2/s" />
+        <field id="budg_dep_dry_so2"   long_name="SO2 dry deposition flux"                               unit="kg(S)/m2/s" />
+        <field id="budg_dep_wet_so2"   long_name="SO2 wet deposition flux"                               unit="kg(S)/m2/s" />
+        <field id="budg_dep_dry_h2so4" long_name="H2SO4 dry deposition flux"                             unit="kg(S)/m2/s" />
+        <field id="budg_dep_wet_h2so4" long_name="H2SO4 wet deposition flux"                             unit="kg(S)/m2/s" />
+        <field id="budg_dep_dry_part"  long_name="Particle S dry deposition flux"                        unit="kg(S)/m2/s" />
+        <field id="budg_dep_wet_part"  long_name="Particle S wet deposition flux"                        unit="kg(S)/m2/s" />
+        <field id="budg_emi_ocs"       long_name="OCS emission flux"                                     unit="kg(S)/m2/s" />
+        <field id="budg_emi_so2"       long_name="SO2 emission flux"                                     unit="kg(S)/m2/s" />
+        <field id="budg_emi_h2so4"     long_name="H2SO4 emission flux"                                   unit="kg(S)/m2/s" />
+        <field id="budg_emi_part"      long_name="Particle S emission flux"                              unit="kg(S)/m2/s" />
+        <field id="budg_ocs_to_so2"    long_name="OCS to SO2 conversion flux"                            unit="kg(S)/m2/s" />
+        <field id="budg_so2_to_h2so4"  long_name="SO2 to H2SO4 conversion flux"                          unit="kg(S)/m2/s" />
+        <field id="budg_h2so4_to_part" long_name="H2SO4 to particle conversion flux"                     unit="kg(S)/m2/s" />
+        <field id="budg_sed_part"      long_name="Ground sedimentation flux of strat. particles"         unit="kg(S)/m2/s" />
+    </field_group>
+    
+    <field_group  id="fields_NMC" grid_ref="grid_glo_plev" >
+<!--  <field id="tnondef" long_name="Undefined value of T" unit="K" detect_missing_value=".true." /> -->
+      <field id="ta" long_name="Air temperature" unit="K" detect_missing_value=".true." />
+      <field id="zg" long_name="Geopotential height" unit="m" detect_missing_value=".true." />
+      <field id="hus" long_name="Specific humidity" unit="1" detect_missing_value=".true." />
+      <field id="hur" long_name="Relative humidity" unit="%" detect_missing_value=".true." />
+      <field id="ua" long_name="Eastward wind" unit="m s-1" detect_missing_value=".true." />
+      <field id="va" long_name="Northward wind" unit="m s-1" detect_missing_value=".true." />
+      <field id="wap" long_name="Lagrangian tendency of air pressure" unit="Pa s-1" detect_missing_value=".true." />
+<!--  <field id="psbg" long_name="Pressure sfce below ground" unit="%" detect_missing_value=".true." /> -->
+      <field id="tro3" long_name="Ozone mole fraction" unit="1e-9" detect_missing_value=".true." />
+      <field id="tro3_daylight" long_name="Daylight ozone mole fraction" unit="1e-9" detect_missing_value=".true." />
+      <field id="uv" long_name="uv" unit="m2/s2" detect_missing_value=".true." />
+      <field id="vxq" long_name="vxq" unit="m/s * (kg/kg)" detect_missing_value=".true." />
+      <field id="vT" long_name="vT" unit="mK/s" detect_missing_value=".true." />
+      <field id="wq" long_name="wq" unit="(Pa/s)*(kg/kg)" detect_missing_value=".true." />
+      <field id="vphi" long_name="vphi" unit="m2/s" detect_missing_value=".true." />
+      <field id="wT" long_name="wT" unit="K*Pa/s" detect_missing_value=".true." />
+      <field id="u2" long_name="u2" unit="m2/s2" detect_missing_value=".true." />
+      <field id="v2" long_name="v2" unit="m2/s2" detect_missing_value=".true." />
+      <field id="T2" long_name="T2" unit="K2" detect_missing_value=".true." />
+    </field_group>
+
+    <field_group id="fields_trac_2D" grid_ref="grid_glo" >
+          <field id="cumRN"    long_name="Cumulated tracer  RNVL1"    unit="-" />
+          <field id="cumPB"    long_name="Cumulated tracer  PBVL1"    unit="-" />
+          <field id="cumAga"   long_name="Cumulated tracer  Aga"    unit="-" />
+          <field id="cumCO2"   long_name="Cumulated tracer  CO2"    unit="-" />
+          <field id="cumdRN_dry"  long_name="Surface dry deposition tracer  RNVL1"  unit="- s-1" />
+          <field id="cumdPB_dry"  long_name="Surface dry deposition tracer  PBVL1"  unit="- s-1" />
+          <field id="cumdAga_dry" long_name="Surface dry deposition tracer  Aga"    unit="- s-1" />
+          <field id="cumdCO2_dry" long_name="Surface dry deposition tracer  CO2"    unit="- s-1" />
+    </field_group>
+
+    <field_group id="fields_trac_3D" grid_ref="grid_glo_presnivs" >
+      <field id="RN"    long_name="Tracer RNVL1"    unit="-" />
+      <field id="dRN_vdf"    long_name="Tendance tracer RNVL1"    unit="-" />
+      <field id="dRN_the"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_con"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_lessi_impa"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_lessi_nucl"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_insc"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_bcscav"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_evapls"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_ls"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_trsp"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_sscav"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_sat"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="dRN_uscav"    long_name="Tendance tracer  RNVL1"    unit="-" />
+      <field id="PB"    long_name="Tracer PBVL1"    unit="-" />
+      <field id="dPB_vdf"    long_name="Tendance tracer PBVL1"    unit="-" />
+      <field id="dPB_the"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_con"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_lessi_impa"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_lessi_nucl"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_insc"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_bcscav"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_evapls"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_ls"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_trsp"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_sscav"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_sat"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="dPB_uscav"    long_name="Tendance tracer  PBVL1"    unit="-" />
+      <field id="Aga"    long_name="Tracer AgaVL1"    unit="-" />
+      <field id="dAga_vdf"    long_name="Tendance tracer Aga"    unit="-" />
+      <field id="dAga_the"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_con"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_lessi_impa"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_lessi_nucl"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_insc"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_bcscav"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_evapls"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_ls"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_trsp"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_sscav"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_sat"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="dAga_uscav"    long_name="Tendance tracer  Aga"    unit="-" />
+      <field id="CO2"    long_name="Tracer CO2VL1"    unit="-" />
+      <field id="dCO2_vdf"    long_name="Tendance tracer CO2"    unit="-" />
+      <field id="dCO2_the"    long_name="Tendance tracer  CO2"    unit="-" />
+      <field id="dCO2_con"    long_name="Tendance tracer  CO2"    unit="-" />
+    </field_group>
+
+    <field_group id="fields_solbnd_3D" grid_ref="grid_glo_spectband" >
+      <field id="solbnd"    long_name="Top-of-Atmosphere Solar Insolation for each band"    unit="W m-2"  enabled="false" /> <!-- this field is not sent by LMDZ, vertical axis "spectband" is not properly defined -->
+    </field_group>
+
+    <field_group operation="average" freq_offset="0ts" freq_op="3h">  <!-- ----------------------------COSP------------------------ -->
+
+    <field_group id="fields_COSP_CALIPSO_2D" grid_ref="grid_glo" freq_offset="0ts" freq_op="3h">
+      <field id="cllcalipso"    long_name="Lidar Low-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clhcalipso"    long_name="Lidar Hight-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clmcalipso"    long_name="Lidar Mid-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="cltcalipso"    long_name="Lidar Total Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="pcllcalipso"   long_name="Lidar Low-level Cloud Fraction"   unit="%"  detect_missing_value=".true." > cllcalipso*100 </field>
+      <field id="pclhcalipso"   long_name="Lidar Hight-level Cloud Fraction"   unit="%"  detect_missing_value=".true." > clhcalipso*100 </field>
+      <field id="pclmcalipso"   long_name="Lidar Mid-level Cloud Fraction"   unit="%"  detect_missing_value=".true." > clmcalipso*100 </field>
+      <field id="pcltcalipso"   long_name="Lidar Total Cloud Fraction"   unit="%" detect_missing_value=".true." > cltcalipso*100 </field>
+      <field id="cllcalipsoice"   long_name="Lidar Ice-Phase Low-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clhcalipsoice"   long_name="Lidar Ice-Phase Hight-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clmcalipsoice"   long_name="Lidar Ice-Phase Mid-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="cltcalipsoice"   long_name="Lidar Ice-Phase Total Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="cllcalipsoliq"   long_name="Lidar Liq-Phase Low-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clhcalipsoliq"   long_name="Lidar Liq-Phase Hight-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clmcalipsoliq"   long_name="Lidar Liq-Phase Mid-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="cltcalipsoliq"   long_name="Lidar Liq-Phase Total Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="cllcalipsoun"    long_name="Lidar Undefined-Phase Low-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clhcalipsoun"    long_name="Lidar Undefined-Phase Hight-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clmcalipsoun"    long_name="Lidar Undefined-Phase Mid-level Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="cltcalipsoun"    long_name="Lidar Undefined-Phase Total Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clopaquecalipso"  long_name="Lidar Opaque Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clthincalipso"    long_name="Lidar Thin Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+      <field id="clzopaquecalipso" long_name="Lidar mean altitude of opacity"   unit="m"  detect_missing_value=".true." />
+    </field_group>  
+    <field_group id="fields_COSP_CALIPSO_3D_height" grid_ref="grid_glo_height" freq_offset="0ts" freq_op="3h">
+      <field id="clcalipso"  long_name="Lidar Cloud Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="pclcalipso" long_name="Lidar Cloud Fraction (532 nm)" unit="%" detect_missing_value=".true." > clcalipso*100 </field>
+      <field id="clcalipsoice"    long_name="Lidar Ice-Phase Cloud Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="clcalipsoliq"    long_name="Lidar Liq-Phase Cloud Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="clcalipsoun"    long_name="Lidar Undefined-Phase Cloud Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="clcalipsoopaque"  long_name="Lidar Opaque Cloud profile Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="clcalipsothin"    long_name="Lidar Thin Cloud profile Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="clcalipsozopaque" long_name="Lidar z_opaque Fraction (532 nm)" unit="1"  detect_missing_value=".true." />
+      <field id="clcalipsoopacity" long_name="Lidar opacity Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="proftemp"         long_name="Temperature profile (40 lev)" unit="K" detect_missing_value=".true." />
+    </field_group>
+    <field_group id="fields_COSP_CALIPSO_3D_heightmlev" grid_ref="grid_glo_heightmlev" freq_offset="0ts" freq_op="3h">
+      <field id="beta_mol532" long_name="Lidar Molecular Backscatter (532 nm)" unit="m-1 sr-1" detect_missing_value=".true." />
+    </field_group>
+    <field_group id="fields_COSP_CALIPSO_3D_temp" grid_ref="grid_glo_temp" freq_offset="0ts" freq_op="3h">
+      <field id="clcalipsotmp"    long_name="Lidar Cloud Fraction (532 nm)" unit="%"  detect_missing_value=".true." />
+      <field id="clcalipsotmpliq" long_name="Lidar Liq-Phase Cloud Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="clcalipsotmpice" long_name="Lidar Ice-Phase Cloud Fraction (532 nm)" unit="1" detect_missing_value=".true." />
+      <field id="clcalipsotmpun"  long_name="Undefined-Phase Total Cloud Fraction"   unit="1"  detect_missing_value=".true." />
+    </field_group>
+   <field_group id="fields_COSP_CALIPSO_3D_sza" grid_ref="grid_glo_sza" freq_offset="0ts" freq_op="3h">
+     <field id="parasol_refl"  long_name="PARASOL-like mono-directional reflectance" unit="1" detect_missing_value=".true." />
+      <field id="parasol_crefl"  long_name="PARASOL-like mono-directional reflectance (integral)" unit="1" detect_missing_value=".true." />
+      <field id="Ncrefl"  long_name="Nb for PARASOL-like mono-directional reflectance" unit="1" detect_missing_value=".true." />
+    </field_group>
+      <field id="cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" freq_offset="0ts" freq_op="3h" grid_ref="grid4Dsrbin"  detect_missing_value=".true." />
+      <field id="atb532" long_name="Lidar Attenuated Total Backscatter (532 nm)" unit="1" freq_offset="0ts" freq_op="3h" grid_ref="grid4Dcol"  detect_missing_value=".true." />
+      <field id="profSR" long_name="Scattering Ratio profiles" unit="1" freq_offset="0ts" freq_op="3h" grid_ref="grid4Dcol2"  detect_missing_value=".true." />
+
+    <field_group id="fields_COSP_CLOUDSAT_2D" grid_ref="grid_glo" freq_offset="0ts" freq_op="3h">
+      <field id="cltlidarradar" long_name="Lidar and Radar Total Cloud Fraction" unit="1"  detect_missing_value=".true." />
+    </field_group>
+    <field_group id="fields_COSP_CLOUDSAT_3D" grid_ref="grid_glo_height" freq_offset="0ts" freq_op="3h">
+      <field id="clcalipso2"  long_name="CALIPSO Cloud Fraction Undetected by CloudSat" unit="1" detect_missing_value=".true." />
+    </field_group>
+      <field id="dbze94" long_name="CloudSat Radar Reflectivity" unit="1" freq_offset="0ts" freq_op="3h" grid_ref="grid4Dcol"  detect_missing_value=".true." />
+      <field id="cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" freq_offset="0ts" freq_op="3h" grid_ref="grid4Ddbze"  detect_missing_value=".true." />
+
+    <field_group id="fields_COSP_ISCCP_2D" grid_ref="grid_glo" freq_offset="0ts" freq_op="3h">
+      <field id="sunlit" long_name="1 for day points, 0 for nightime" unit="1"  detect_missing_value=".true." />
+      <field id="tclisccp" long_name="Total Cloud Fraction as Calculated by the ISCCP Simulator" unit="1"  detect_missing_value=".true." />
+      <field id="ctpisccp" long_name="Mean Cloud Top Pressure as Calculated by the ISCCP Simulator" unit="Pa"  detect_missing_value=".true." />
+      <field id="tauisccp" long_name="Optical Depth as Calculated by the ISCCP Simulator" unit="1"  detect_missing_value=".true." />
+      <field id="albisccp" long_name="Mean Cloud Albedo as Calculated by the ISCCP Simulator" unit="1"  detect_missing_value=".true." />
+      <field id="meantbisccp" long_name="Mean all-sky 10.5 micron brightness temperature as calculated by the ISCCP Simulator" unit="K"  detect_missing_value=".true." />
+      <field id="meantbclrisccp" long_name="Mean clear-sky 10.5 micron brightness temperature as calculated by the ISCCP Simulator" unit="K"  detect_missing_value=".true." />
+    </field_group>
+    <field_group id="fields_COSP_ISCCP_3D" grid_ref="grid_glo_column" freq_offset="0ts" freq_op="3h">
+      <field id="boxtauisccp" long_name="Optical Depth in Each Column as Calculated by the ISCCP Simulator" unit="1" detect_missing_value=".true." />
+      <field id="boxptopisccp" long_name="Cloud Top Pressure in Each Column as Calculated by the ISCCP Simulator" unit="Pa" detect_missing_value=".true." />
+    </field_group>
+      <field id="clisccp2" long_name="Cloud Fraction as Calculated by the ISCCP Simulator" unit="1" freq_offset="0ts" freq_op="3h" grid_ref="grid4Dtau"  detect_missing_value=".true." />
+
+    <field_group id="fields_COSP_MISR" freq_offset="0ts" freq_op="3h">
+      <field id="clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" grid_ref="grid4Dmisr"  detect_missing_value=".true." />
+    </field_group>
+
+    <field_group id="fields_COSP_MODIS" grid_ref="grid_glo" freq_offset="0ts"  freq_op="3h">
+      <field id="cllmodis" long_name="MODIS Low-level Cloud Fraction" unit="1"  detect_missing_value=".true." />
+      <field id="clmmodis" long_name="MODIS Mid-level Cloud Fraction" unit="1"  detect_missing_value=".true." />
+      <field id="clhmodis" long_name="MODIS Hight-level Cloud Fraction" unit="1"  detect_missing_value=".true." />
+      <field id="cltmodis" long_name="MODIS Total Cloud Fraction" unit="1"  detect_missing_value=".true." />
+      <field id="clwmodis" long_name="MODIS Cloud Fraction water mean" unit="1"  detect_missing_value=".true." />
+      <field id="climodis" long_name="MODIS Cloud Fraction ice mean" unit="1"  detect_missing_value=".true." />
+      <field id="tautmodis" long_name="MODIS Optical_Thickness_Total_Mean" unit="1"  detect_missing_value=".true." />
+      <field id="tauwmodis" long_name="MODIS Optical_Thickness_Water_Mean" unit="1"  detect_missing_value=".true." /> 
+      <field id="tauimodis" long_name="MODIS Optical_Thickness_Ice_Mean" unit="1"  detect_missing_value=".true." />
+      <field id="tautlogmodis" long_name="MODIS Optical_Thickness_Total_logMean" unit="1"  detect_missing_value=".true." />
+      <field id="tauwlogmodis" long_name="MODIS Optical_Thickness_Water_logMean" unit="1"  detect_missing_value=".true." />
+      <field id="tauilogmodis" long_name="MODIS Optical_Thickness_Ice_logMean" unit="1"  detect_missing_value=".true." />
+      <field id="reffclwmodis"  long_name="Modis Cloud_Particle_Size_Water_Mean" unit="m"  detect_missing_value=".true." />
+      <field id="reffclimodis"  long_name="Modis Cloud_Particle_Size_Ice_Mean" unit="m"  detect_missing_value=".true." />
+      <field id="pctmodis"  long_name="Modis Cloud_Top_Pressure_Total_Mean" unit="Pa"  detect_missing_value=".true." /> 
+      <field id="lwpmodis" long_name="Modis Liquid_Water_Path_Mean" unit="kg m-2"  detect_missing_value=".true." />
+      <field id="iwpmodis" long_name="Modis Ice_Water_Path_Mean" unit="kg m-2" detect_missing_value=".true." />
+    </field_group>
+      <field id="clmodis" long_name="MODIS Cloud Area Fraction" unit="1"  grid_ref="grid4Dtau"  detect_missing_value=".true." />
+      <field id="crimodis" long_name="MODIS Optical_Thickness_vs_ReffIce" unit="1" grid_ref="grid4Dreffi"  detect_missing_value=".true." />
+      <field id="crlmodis" long_name="MODIS Optical_Thickness_vs_ReffLiq" unit="1" grid_ref="grid4Dreffl"  detect_missing_value=".true." />
+
+
+    </field_group>  <!-- ----------------------------COSP------------------------ -->
+
+    <field_group id="fields_AIRS" grid_ref="grid_glo" operation="instant" freq_op="3h">
+      <field id="alt_tropo" long_name="Tropopause pressure" unit="hPa" />
+      <field id="map_prop_hc" long_name="Proportion of high clouds" unit=" "/>
+      <field id="map_prop_hist" long_name="Proportion of high ice semi-transp clouds" unit=" "/>
+      <field id="map_emis_hc" long_name="Emissivity of high clouds" unit=" "/>
+      <field id="map_iwp_hc" long_name="Ice water path of high clouds" unit="g/m2"/>
+      <field id="map_deltaz_hc" long_name="geom thickness of high clouds" unit="m"/>
+      <field id="map_pcld_hc" long_name="cloud pressure of high clouds" unit="hPa"/>
+      <field id="map_tcld_hc" long_name="cloud temperature of high clouds" unit="K"/>
+      <field id="map_emis_hist" long_name="Emissivity of high ice st clouds" unit=" "/>
+      <field id="map_iwp_hist" long_name="Ice water path of high ice st clouds" unit="g/m2"/>
+      <field id="map_deltaz_hist" long_name="geom thickness of high ice st clouds" unit="m"/>
+      <field id="map_rad_hist" long_name="ice crystals radius in high ice st clouds" unit="m"/>
+      <field id="map_emis_Cb" long_name="Emissivity of high Cb clouds" unit=" "/>
+      <field id="map_pcld_Cb" long_name="cloud pressure of high Cb clouds" unit="hPa"/>
+      <field id="map_tcld_Cb" long_name="cloud temperature of high Cb clouds" unit="K"/>
+      <field id="map_emis_Anv" long_name="Emissivity of high Anv clouds" unit=" "/>
+      <field id="map_pcld_Anv" long_name="cloud pressure of high Anv clouds" unit="hPa"/>
+      <field id="map_tcld_Anv" long_name="cloud temperature of high Anv clouds" unit="K"/>
+      <field id="map_emis_ThCi" long_name="Emissivity of high ThCi clouds" unit=" "/>
+      <field id="map_pcld_ThCi" long_name="cloud pressure of high ThCi clouds" unit="hPa"/>
+      <field id="map_tcld_ThCi" long_name="cloud temperature of high ThCi clouds" unit="K"/>
+      <field id="map_ntot" long_name="total AIRS cloud fraction" unit=" "/>
+      <field id="map_hc" long_name="high clouds AIRS cloud fraction" unit=" "/>
+      <field id="map_hist" long_name="high clouds ice st AIRS cloud fraction" unit=" "/>
+      <field id="map_Cb" long_name="high clouds Cb AIRS cloud fraction" unit=" "/>
+      <field id="map_ThCi" long_name="high clouds ThCi AIRS cloud fraction" unit=" "/>
+      <field id="map_Anv" long_name="high clouds Anv AIRS cloud fraction" unit=" "/>
+    </field_group>
+
+   <field_group id="field_scalar" operation="instant" grid_ref="grid_scalar">
+      <field id="R_ecc" long_name="R_ecc" unit="-" />
+      <field id="R_peri" long_name="R_peri" unit="-" />
+      <field id="R_incl" long_name="R_incl" unit="deg" />
+      <field id="solaire" long_name="solaire" unit="W/m2" />
+      <field id="rsun1" long_name="Fraction constante solaire bande 1" unit="W/m2" />
+      <field id="rsun2" long_name="Fraction constante solaire bande 2" unit="W/m2" />
+      <field id="rsun3" long_name="Fraction constante solaire bande 3" unit="W/m2" />
+      <field id="rsun4" long_name="Fraction constante solaire bande 4" unit="W/m2" />
+      <field id="rsun5" long_name="Fraction constante solaire bande 5" unit="W/m2" />
+      <field id="rsun6" long_name="Fraction constante solaire bande 6" unit="W/m2" />
+      <field id="co2_ppm" long_name="co2_ppm" unit="ppm" />
+      <field id="CH4_ppb" long_name="CH4_ppb" unit="ppb" />
+      <field id="N2O_ppb" long_name="N2O_ppb" unit="ppb" />
+      <field id="CFC11_ppt" long_name="CFC11_ppt" unit="ppt" />
+      <field id="CFC12_ppt" long_name="CFC12_ppt" unit="ppt" />
+<!-- reducing mass 3D variable to atmosphere total mass scalar -->
+      <field id="mass_sum_axis"    field_ref="mass" grid_ref="grid_sum_axis" freq_op="1mo" > @mass  </field>
+      <field id="mass_sum" field_ref="mass_sum_axis" grid_ref="grid_sum" freq_op="1mo" > @mass_sum_axis*aire  </field>
+   </field_group>
+
+</field_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/field_def_orchidee.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/field_def_orchidee.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/field_def_orchidee.xml	(revision 5499)
@@ -0,0 +1,594 @@
+<!-- =========================================================================================================== -->
+<!-- field_def_orchidee.xml : Definition of all existing output variables                                        -->
+<!-- This file must only be changed if a call xios_orchidee_send_field is added, changed or removed.             -->
+<!--                                                                                                             -->
+<!-- $HeadURL: svn://forge.ipsl.jussieu.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/field_def_orchidee.xml $              -->
+<!-- $Date: 2019-11-29 15:58:40 +0100 (Fri, 29 Nov 2019) $                                                     -->
+<!-- $Revision: 6369 $                                                                                           -->
+<!-- =========================================================================================================== -->
+
+<field_definition prec="4" operation="average" freq_op="1ts" enabled=".TRUE." default_value="9.96921e+36" detect_missing_value=".TRUE.">
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of field_group "remap_expr" used to interpolate output fields.                                 -->
+  <!-- expr is set from the fortran source code for the case with unstructured grid, for regular grid it'll      -->
+  <!-- remain empty and no interpolations will be done for output fields. When runnig the unstructrured grid,    -->
+  <!-- the field_group remap_xx corresponding to the output_freqi=xx should be set in file_def_orchidee.xml.     -->
+  <!-- ========================================================================================================= -->
+  <field_group id="remap_expr" expr="_reset_" prec="_reset_" operation="_reset_" freq_op="_reset_" enabled="_reset_" default_value="_reset_" detect_missing_value="_reset_">
+    <field_group id="remap_1ts" />
+    <field_group id="remap_1800s" />
+    <field_group id="remap_1h" />
+    <field_group id="remap_3h" />
+    <field_group id="remap_6h" />
+    <field_group id="remap_1d" />
+    <field_group id="remap_1mo" />
+    <field_group id="remap_1y" />
+  </field_group>
+
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of output variables in sechiba                                                                 -->
+  <!-- ========================================================================================================= -->
+
+  <field_group id="sechiba" grid_ref="grid_landpoints">
+    <field id="areas" name="Areas" long_name="Mesh areas" unit="m2" operation="once" freq_offset="0ts" />
+    <field id="LandPoints" name="LandPoints" long_name="Land Points" unit="1" operation="once" freq_offset="0ts"/>
+    <field id="contfrac" name="Contfrac" long_name="Continental fraction" unit="1" operation="once" freq_offset="0ts"/>
+    <field id="zmaxh" name="zmaxh" long_name="Hydrologic soil depth" unit="m" operation="once" freq_offset="0ts"/>
+    <field id="ptn" name="ptn" long_name="Deep ground temperature" unit="K" grid_ref="grid_ngrnd"/>
+    <field id="npp" name="npp" long_name="Net Primary Production (positive from atm to land)" unit="gC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="q_cdrag" name="cdrag" long_name="Drag coefficient for LE and SH" unit="-"/>
+    <field id="soilalb_bg" name="soilalb_bg" long_name="Background bare soil albedo obained from MODIS related data-set" unit="1" grid_ref="grid_albtyp" operation="once" freq_offset="0ts"/>
+    <field id="soilalb_vis" name="soilalb_vis" long_name="Soil Albedo visible" unit="1"/>
+    <field id="soilalb_nir" name="soilalb_nir" long_name="Soil Albedo near infrared" unit="1"/>
+    <field id="vegalb_vis" name="vegalb_vis" long_name="Vegetation Albedo visible" unit="1"/>
+    <field id="vegalb_nir" name="vegalb_nir" long_name="Vegetation Albedo near infrared" unit="1"/>
+    <field id="vegalb_glob" name="vegalb_glob" long_name="Mean Vegetation Albedo" unit="1"> (vegalb_vis + vegalb_nir)*0.5 </field>
+    <field id="z0m" name="z0m" long_name="Surface roughness for momentum" unit="m"/>
+    <field id="z0h" name="z0h" long_name="Surface roughness for heat" unit="m"/>
+    <field id="albedo_vis" name="alb_vis" long_name="Albedo visible" unit="1"/>
+    <field id="albedo_nir" name="alb_nir" long_name="Albedo near infrared" unit="1"/>
+    <field id="albedo_glob" name="albedo_glob" long_name="Mean albedo" unit="1"> (albedo_vis + albedo_nir)*0.5 </field>
+    <field id="asoilcol" name="asoilcol" long_name="Availability of data for the soil color interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="aalb_bg" name="aalb_bg" long_name="Availability of data for the albedo interpolation from MODIS related data-set (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="atext" name="atext" long_name="Availability of data for the soil texture interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="areftemp" name="areftemp" long_name="Availability of data for the reftemp interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="vevapp" name="evap_sec" long_name="Total Evaporation" unit="kg/m^2/s"/>
+    <field id="vevapp_day" name="evap" field_ref="vevapp" long_name="Evaporation per day" unit="mm/d" > vevapp*86400  </field>
+    <field id="tsol_rad" name="tsol_rad" long_name="Radiative surface temperature" unit="C"/>
+    <field id="vevapnu" name="vevapnu" long_name="Bare soil evaporation" unit="kg/m^2/s"/>
+    <field id="temp_sol_new" name="AvgSurfT" long_name="Average surface temperature" unit="K"/>
+    <field id="temp_sol_new_C" name="temp_sol" field_ref="temp_sol_new" long_name="Average surface temperature" unit="C" > temp_sol_new - 273.15  </field>
+    <field id="tsol_max" name="tsol_max" field_ref="temp_sol_new_C" long_name="Maximum Surface Temperature" unit="C" operation="maximum"/>
+    <field id="tsol_min" name="tsol_min" field_ref="temp_sol_new_C" long_name="Minimum Surface Temperature" unit="C" operation="minimum"/>
+    <field id="qsurf" name="qsurf" long_name="Near surface specific humidity" unit="g/g"/>
+    <field id="fluxsens" name="fluxsens" long_name="Sensible Heat Flux" unit="W/m^2"/>
+    <field id="fluxlat" name="fluxlat" long_name="Latent Heat Flux" unit="W/m^2"/>
+    <field id="emis" name="emis" long_name="Surface emissivity" unit="1"/>
+    <field id="precip_rain" name="precip_rain" long_name="Rainfall rate" unit="mm/s"/>
+    <field id="precip_snow" name="precip_snow" long_name="Snowfall rate" unit="mm/s"/>
+    <field id="netrad" name="netrad" long_name="Net radiation" unit="W/m^2"/>
+    <field id="lai" name="lai" long_name="Leaf Area Index per PFT" unit="1" grid_ref="grid_nvm"/>
+    <field id="alaimap" name="alaimap" long_name="Availability of data for the lai interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="reinf_slope" name="reinf_slope" long_name="Slope index for each grid box" unit="1" operation="once" freq_offset="0ts"/>
+    <field id="aslope" name="aslope" long_name="Availability of data for the slope interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="njsc" name="soilindex" long_name="Index of soil texture" unit="1" operation="once" freq_offset="0ts"/>
+    <field id="clayfraction" name="clayfraction" long_name="Fraction of clay particles in soil (grid-cell mean)" unit="1" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+    <field id="sandfraction" name="sandfraction" long_name="Fraction of sand particles in soil (grid-cell mean)" unit="1" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+    <field id="siltfraction" name="siltfraction" long_name="Fraction of silt particles in soil (grid-cell mean)" unit="1" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+    <field id="runoff" name="runoff_sec" long_name="Surface runoff" unit="mm/s" />
+    <field id="drainage" name="drainage_sec" long_name="Deep drainage" unit="mm/s"/>
+    <field id="mrro" name="mrro" long_name="Total Runoff" unit="kg m-2 s-1" > runoff + drainage </field>
+    <field id="evap_bare_lim" name="evap_bare_lim" long_name="Bare soil resistance (hydrol)" unit="0-1" />
+    <field id="evap_bare_lim_ns" name="evap_bare_lim_ns" long_name="Bare soil resistance (hydrol) for soil type" unit="0-1" grid_ref="grid_nstm" />
+    <field id="evapnu_soil" name="evapnu_soil" long_name="Bare soil evap for soil type" unit="mm/d" grid_ref="grid_nstm" > this*86400 </field>
+    <field id="drainage_soil" name="drainage_soil" long_name="Drainage for soil type" unit="mm/d" grid_ref="grid_nstm" > this*86400 </field>
+    <field id="transpir_soil" name="transpir_soil" long_name="Transpir for soil type" unit="mm/d" grid_ref="grid_nstm" > this*86400 </field>
+    <field id="runoff_soil" name="runoff_soil" long_name="Runoff for soil type" unit="mm/d" grid_ref="grid_nstm" > this*86400 </field>
+    <field id="temp_air" name="tair" long_name="Air Temperature" unit="K"/>
+    <field id="tairmax" field_ref="temp_air" name="tairmax" long_name="Maximum air temperature for the period of the output frequency" unit="K" operation="maximum"/>
+    <field id="tasmax" field_ref="tairmax" name="tasmax" long_name="Daily maximum of the Air Temperature" unit="K" operation="average" freq_op="1d"> @tairmax </field>
+    <field id="tairmin" field_ref="temp_air" name="tairmin" long_name="Minimum air temperature for the period of the output frequency" unit="K" operation="minimum"/>
+    <field id="tasmin" field_ref="tairmin" name="tasmin" long_name="Daily minimum of the Air Temperature" unit="K" operation="average" freq_op="1d"> @tairmin </field>
+    <field id="qair" name="qair" long_name="Air Humidity" unit="g/g"/>
+    <field id="roughheight" name="roughheight" long_name="Effective roughness height" unit="m"/>
+    <field id="transpir" name="transpir" long_name="Transpiration" unit="mm/d" grid_ref="grid_nvm"/>
+    <field id="inter" name="inter" long_name="Interception loss" unit="mm/d" grid_ref="grid_nvm"/>
+    <field id="snow" name="snow" long_name="Snow mass" unit="kg/m^2"/>
+    <field id="snowmelt" name="snowmelt" long_name="Snow melt" unit="kg/m^2/s"/>
+    <field id="tot_melt" name="tot_melt" long_name="Total melt from ice and snow" unit="kg/m^2/s"/>
+    <field id="snowmelt_from_maxmass" name="snowmelt_from_maxmass" long_name="Snow melt above threshold" unit="kg/m^2"/>
+    <field id="soilcap" name="soilcap" long_name="Surface heat capacity considering snow and soil surface" unit="J/m^2/K"/>
+    <field id="snowage" name="snowage" long_name="Snow age on vegetated and bare soil area" unit="d"/>
+    <field id="snownobio" name="snownobio" long_name="Snow on nobio area" unit="kg/m^2" grid_ref="grid_nnobio"/>
+    <field id="snownobioage" name="snownobioage" long_name="Snow age on nobio area" unit="d" grid_ref="grid_nnobio"/>
+    <field id="snowage_glob" name="snowage_glob" long_name="Snow age on total area including snow on vegetated and bare soil and nobio area" unit="d"/>
+    <field id="frac_snow" name="frac_snow" long_name="Snow fraction on total area including snow on vegetated and bare soil and nobio area" unit="%" > this*100 </field>
+    <field id="frac_snow_veg" name="frac_snow_veg" long_name="Snow fraction on vegetated area" unit="1"/>
+    <field id="frac_snow_nobio" name="frac_snow_nobio" long_name="Snow fraction on nobio area" unit="1" grid_ref="grid_nnobio"/>
+    <field id="vegetfrac" name="vegetfrac" long_name="Fraction of vegetation" unit="1" grid_ref="grid_nvm"/>
+    <field id="maxvegetfrac" name="maxvegetfrac" long_name="Maximum fraction of vegetation" unit="1" grid_ref="grid_nvm"/>
+    <field id="aveget" name="aveget" long_name="Availability of data for the vegetation fraction interpolation (negative values if no data found)" unit="1"  operation="once"  freq_offset="0ts"/>
+    <field id="aveget5k" name="aveget5k" long_name="Availability of data for the Olson vegetation fraction interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="tot_bare_soil" name="tot_bare_soil" long_name="Total Bare Soil Fraction" unit="%"/>
+    <field id="nobiofrac" name="nobiofrac" long_name="Fraction of other surface types" unit="1" grid_ref="grid_nnobio"/>
+    <field id="frac_bare" name="frac_bare" long_name="Bare soil fraction for each PFT" unit="1" grid_ref="grid_nvm"/>
+    <field id="soiltile" name="soiltile" long_name="Fraction of soil tiles" unit="%" grid_ref="grid_nstm" operation="once" freq_offset="0ts"/>
+    <field id="humtot_top" name="mrsos" long_name="Moisture in top 10cm (6 top soil layers with CWRR)" unit="kg m-2"/>
+    <field id="humtot" name="humtot" long_name="Total soil moisture" unit="Kg/m^2"/>
+    <field id="humtot_frozen" name="humtot_frozen" long_name="Total frozen soil moisture" unit="kg/m^2"/>
+    <field id="humtot_liquid" name="humtot_liquid" long_name="Total liquid soil moisture" unit="kg/m^2"> humtot-humtot_frozen </field>
+    <field id="tmc" name="humtot_soil" long_name="Soil Moisture for soil tiles" unit="Kg/m^2" grid_ref="grid_nstm"/>
+    <field id="rstruct" name="rstruct" long_name="Structural resistance" unit="s/m" grid_ref="grid_nvm"/>
+    <field id="r_soil" name="r_soil" long_name="Soil resistance" unit="s/m"/>
+    <field id="gpp" name="gpp" long_name="Net assimilation of carbon by the vegetation" unit="gC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="gpp_ipcc2" name="gpp_ipcc2" long_name="Net assimilation of carbon by the vegetation" unit="kgC/m^2/s" > this/1000 </field>
+    <field id="gppgrass" name="gppGrass" long_name="Gross Primary Production on grass tiles" unit="kgC/m^2/s" > this/1000 </field>
+    <field id="gppcrop" name="gppCrop" long_name="Gross Primary Production on crop tiles" unit="kgC/m^2/s" > this/1000 </field>
+    <field id="gpptree" name="gppTree" long_name="Gross Primary Production on tree tiles" unit="kgC/m^2/s" > this/1000 </field>
+    <field id="nee" name="nee" long_name="Net Ecosystem Exchange" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="maint_resp" name="maint_resp" long_name="Maintenance respiration per PFT" unit="gC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="hetero_resp" name="hetero_resp" long_name="Heterotrophic respiration per PFT" unit="gC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="growth_resp" name="growth_resp" long_name="Growth respiration per PFT" unit="gC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="resp_maint_part_weighted" name="resp_maint_part_weighted" long_name="Maintenance respiration weighted over all PFT fractions" unit="gC/m^2/d" grid_ref="grid_nparts"/>
+    <field id="resp_growth_part_weighted" name="resp_growth_part_weighted" long_name="Heterotrophic respiration weighted over all PFT fractions" unit="gC/m^2/d" grid_ref="grid_nparts"/>
+    <field id="rh_ipcc2" name="rh_ipcc2" long_name="Heterotrophic respiration" unit="kgC/m^2/s"  > this/1000 </field>
+    <field id="rhGrass" name="rhGrass" long_name="Heterotrophic respiration on grass tiles" unit="kgC/m^2/s"  > this/1000 </field>
+    <field id="rhCrop" name="rhCrop" long_name="Heterotrophic respiration on crop tiles" unit="kgC/m^2/s"  > this/1000 </field>
+    <field id="rhTree" name="rhTree" long_name="Heterotrophic respiration on tree tiles" unit="kgC/m^2/s"  > this/1000 </field>
+    <field id="precisol" name="precisol" long_name="Throughfall+Totmelt per PFT" unit="mm/d" grid_ref="grid_nvm" > this*86400 </field>
+    <field id="throughfall" name="throughfall" long_name="Throughfall per PFT" unit="mm/d" grid_ref="grid_nvm" > this*86400 </field>
+    <field id="drysoil_frac" name="drysoil_frac" long_name="Fraction of visibly dry soil" unit="1"/>
+    <field id="evapot" name="evapot" long_name="Potential evaporation" unit="mm/s"/>
+    <field id="evapot_corr" name="evapot_corr" long_name="Potential evaporation correction" unit="mm/s"/>
+    <field id="swnet" name="swnet" long_name="Net solar radiation" unit="W/m^2"/>
+    <field id="swdown" name="swdown" long_name="Incident solar radiation" unit="W/m^2"/>
+    <field id="lwdown" name="lwdown" long_name="Absorbed downward longwave radiation" unit="W/m^2"/>
+    <field id="lwnet" name="lwnet" long_name="Net surface longwave radiation" unit="W/m^2"/>
+    <field id="diffevap" name="diffevap" long_name="Difference betwence vevapp and composing fluxes in enerbil" unit="Kg/m^2/s"/>
+    <field id="dtes" name="dtes" long_name="Change of thermal energy content of surface for which the energy balance is calculated" unit="J/m2"/>
+    <field id="k_litt" name="k_litt" long_name="Litter cond" unit="mm/d"/>
+    <field id="beta" name="beta" long_name="Beta Function" unit="1"/>
+    <field id="raero" name="raero" long_name="Aerodynamic resistance" unit="s/m"/>
+    <field id="wind" name="Wind" long_name="Wind speed" unit="m/s"/>
+    <field id="qsatt" name="qsatt" long_name="Surface saturated humidity" unit="g/g"/>
+    <field id="vbeta1" name="vbeta1" long_name="Beta for sublimation" unit="1"/>
+    <field id="vbeta4" name="vbeta4" long_name="Beta for bare soil" unit="1"/>
+    <field id="vbeta5" name="vbeta5" long_name="Beta for floodplains" unit="1"/>
+    <field id="gsmean" name="gsmean" long_name="beta for CO2" unit="molCO2 m-2 s-1" grid_ref="grid_nvm"/>
+    <field id="humrel" name="humrel" long_name="Soil moisture stress for transpiration (it is not the relative humidity)" unit="1" grid_ref="grid_nvm"/>
+    <field id="cimean" name="cimean" long_name="Stomatal CO2 concentation" unit="mmole/m2/s" grid_ref="grid_nvm"/>
+    <field id="vbeta3" name="vbeta3" long_name="Beta for Transpiration" unit="1" grid_ref="grid_nvm"/>
+    <field id="rveget" name="rveget" long_name="Canopy resistance" unit="s/m" grid_ref="grid_nvm"/>
+    <field id="vbeta2" name="vbeta2" long_name="Beta for Interception loss" unit="1" grid_ref="grid_nvm"/>
+    <field id="qsintveg_tot" name="CanopInt" long_name="Water on canopy (grid-cell total)" unit="Kg/m^2"/>  
+    <field id="qsintveg" name="qsintveg" long_name="Water on canopy per PFT" unit="Kg/m^2" grid_ref="grid_nvm"/>
+    <field id="qsintmax" name="qsintmax" long_name="Maximum Interception capacity per PFT" unit="Kg/m^2" grid_ref="grid_nvm"/>
+    <field id="prveg" name="prveg" long_name="Rainfall interception by canopy" unit="kg m-2 s-1"/>
+    <field id="evspsblveg" name="evspsblveg" long_name="Evaporation from canopy" unit="kg m-2 s-1"/>
+    <field id="evspsblsoi" name="evspsblsoi" long_name="Water Evaporation from soil and sublimation" unit="kg m-2 s-1"/>
+    <field id="tran" name="tran" long_name="Transpiration" unit="kg m-2 s-1"/>
+    <field id="treeFrac" name="treeFrac" long_name="Tree Cover Fraction" unit="%"/>
+    <field id="treeFracNdlEvg" name="treeFracNdlEvg" long_name="Fraction for needleleaf evergreen trees" unit="%"/>
+    <field id="treeFracBdlEvg" name="treeFracBdlEvg" long_name="Fraction for broadleaf evergreen trees" unit="%"/>
+    <field id="treeFracNdlDcd" name="treeFracNdlDcd" long_name="Fraction for needleleaf deciduous trees" unit="%"/>
+    <field id="treeFracBdlDcd" name="treeFracBdlDcd" long_name="Fraction for broadleaf deciduous trees" unit="%"/>
+    <field id="grassFracC3" name="grassFracC3" long_name="C3 Grass Fraction" unit="%"/>
+    <field id="grassFracC4" name="grassFracC4" long_name="C4 Grass Fraction" unit="%"/>
+    <field id="grassFrac" name="grassFrac" long_name="Total Grass Fraction" unit="%"> grassFracC3+grassFracC4 </field>
+    <field id="cropFracC3" name="cropFracC3" long_name="C3 Crop Fraction" unit="%"/>
+    <field id="cropFracC4" name="cropFracC4" long_name="C4 Crop Fraction" unit="%"/>
+    <field id="cropFrac" name="cropFrac" long_name="Total Crop Fraction" unit="%"> cropFracC3+cropFracC4 </field>
+    <field id="vegFrac" name="vegFrac" long_name="Total vegetated fraction" unit="%"> treeFrac+grassFrac+cropFrac </field>
+    <field id="baresoilFrac" name="baresoilFrac" long_name="Fraction of entire grid cell covered by bare soil PFT(pft=1)" unit="%"/>
+    <field id="residualFrac" name="residualFrac" long_name="Fraction of entire grid cell that is land but neither vegetation-covered nor bare soil (nobio)" unit="%"/>
+    <field id="PAR" name="PAR" long_name="Photosynthetic active radiation, half of swdown" unit="umol phot/m^2/s"/>
+    <field id="PARsun" name="PARsun" long_name="PAR received by sun leaves" unit="umol phot/m^2/s" grid_ref="grid_nvm"/>
+    <field id="PARsh" name="PARsh" long_name="PAR received by shaded leaves" unit="umol phot/m^2/s" grid_ref="grid_nvm"/>
+    <field id="laisun" name="laisun" long_name="Sunlit Leaf Area Index" unit="1" grid_ref="grid_nvm"/>
+    <field id="laish" name="laish" long_name="Shaded Leaf Area Index" unit="1" grid_ref="grid_nvm"/>
+    <field id="PARsuntab" name="PARsuntab" long_name="PAR received by sun leaves over LAI layers" unit="umol phot/m^2/s" grid_ref="grid_nlaip1"/>
+    <field id="PARshtab" name="PARshtab" long_name="PAR received by shaded leaves over LAI layers" unit="umol phot/m^2/s" grid_ref="grid_nlaip1"/>
+    <field id="coszang" name="coszang" long_name="Cosine of the solar zenith angle" unit="1"/>
+    <field id="PARdf" name="PARdf" long_name="Diffuse photosynthetic active radiation" unit="umol phot/m^2/s"/>
+    <field id="PARdr" name="PARdr" long_name="Direct photosynthetic active radiation" unit="umol phot/m^2/s"/>
+    <field id="CRF" name="CRF" long_name="Canopy reduction factor for net NO flux calculation" unit="1" grid_ref="grid_nvm" />
+    <field id="flx_co2_bbg_year" name="flx_co2_bbg_year" long_name="CO2 emissions from biomass burning - Read in an input file" unit="kgC/m^2/yr" operation="once" freq_offset="0ts"/>
+    <field id="N_qt_WRICE_year" name="N_qt_WRICE_year" long_name="N fertilizers applied on wetland rice - Read in an input file" unit="kgN/yr" operation="once" freq_offset="0ts"/>
+    <field id="N_qt_OTHER_year" name="N_qt_OTHER_year" long_name="N fertilizers applied on other crops and grasses - Read in an input file" unit="kgN/yr" operation="once" freq_offset="0ts"/>
+    <field id="achem_wrice" name="achem_wrice" long_name="Availability of data for the rice fertilizers interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="achem_other" name="achem_other" long_name="Availability of data for the other crops fertilizers interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="achem_co2" name="achem_co2" long_name="Availability of data for the co2 bbg interpolation (negative values if no data found)" unit="1"  operation="once" freq_offset="0ts"/>
+    <field id="flx_iso" name="flx_iso" long_name="Isoprene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_mono" name="flx_mono" long_name="Monoterpene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_ORVOC" name="flx_ORVOC" long_name="Other Volatile Organic Compound emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_MBO" name="flx_MBO" long_name="2-methyl-3-buten-2-ol emissions from vegetation (mainly pines in America)" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_methanol" name="flx_methanol" long_name="Methanol emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_acetone" name="flx_acetone" long_name="Acetone emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_acetal" name="flx_acetal" long_name="Acetaldehyde emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_formal" name="flx_formal" long_name="Formaldehyde emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_acetic" name="flx_acetic" long_name="Acetic acid emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_formic" name="flx_formic" long_name="Formic acid emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_apinen" name="flx_apinen" long_name="Alpha pinene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_bpinen" name="flx_bpinen" long_name="Beta pinene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_limonen" name="flx_limonen" long_name="Limonene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_myrcen" name="flx_myrcen" long_name="Myrcene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_sabinen" name="flx_sabinen" long_name="Sabinene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_camphen" name="flx_camphen" long_name="Camphene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_3caren" name="flx_3caren" long_name="3-Carene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_tbocimen" name="flx_tbocimen" long_name="T-beta Ocimene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_othermono" name="flx_othermono" long_name="Emissions of other monoterpenes from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_sesquiter" name="flx_sesquiter" long_name="Sesquiterpene emissions from vegetation" unit="kgC/m^2/s" grid_ref="grid_nvm" />
+    <field id="flx_fertil_no" name="flx_fertil_no" long_name="Biogenic nitrogen oxide soil emission due to N-fertilisation" unit="ngN/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_no_soil" name="flx_no_soil" long_name="Nitrogen Oxide emissions from soil, before deposition on canopy" unit="ngN/m^2/s" grid_ref="grid_nvm"/>
+    <field id="flx_no" name="flx_no" long_name="Net nitrogen Oxide emissions from soil, after deposition on canopy" unit="ngN/m^2/s" grid_ref="grid_nvm"/>
+    <field id="fco2" name="fco2" long_name="Function for CO2 impact on BVOC (isoprene)" unit="1" grid_ref="grid_nvm" />
+    <field id="cim" name="cim" long_name="Intercellular CO2 over nlai" unit="ppm" grid_ref="grid_nvm" enabled=".FALSE." />
+    <field id="pb" name="Psurf" long_name="Surface pressure" unit="Pa" > this*100.0 </field>
+    <field id="slowflow" name="Qb" long_name="Slowflow hydrographs of gridbox outflow" unit="m^3/s"/> 
+    <field id="LAImean" name="LAImean" long_name="Mean Leaf Area Index (mean over the area covered by PFTs, incl. PFT=1)" unit="1"/>
+    <field id="mcs" name="SoilSat" long_name="Mean volumetric water content at saturation" unit="m^3/m^3" grid_ref="grid_nslm" operation="once"  freq_offset="0ts"/>
+    <field id="nroot" name="RootDist" long_name="Cumulative root density (grid-cell average)" unit="1"  grid_ref="grid_nslm" operation="once"  freq_offset="0ts"/>
+    <field id="dlh" name="SoilThick" long_name="Hydrological soil layer thickness" unit="m"  grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+    <field id="water2infilt" name="water2infilt" long_name="Storage of surface runoff kept for future infiltration(already included in humtot)" unit="Kg/m^2" grid_ref="grid_nstm"/>  
+    <field id="pkappa" name="pkappa" long_name="Soil thermal conductivity" unit="W/m/K" grid_ref="grid_ngrnd"/>  
+    <field id="pkappa_snow" name="pkappa_snow" long_name="Snow thermal conductivity" unit="W/m/K" grid_ref="grid_nsnow"/>  
+    <field id="pcapa" name="pcapa" long_name="Volumetric soil heat capacity" unit="J/m^3/K" grid_ref="grid_ngrnd"/>   
+    <field id="pcapa_spec" name="pcapa_spec" long_name="Specific soil heat capacity" unit="J/kg/K" grid_ref="grid_ngrnd"/>  
+    <field id="pcapa_snow" name="pcapa_snow" long_name="Snow heat capacity" unit="J/m^3/K" grid_ref="grid_nsnow"/>  
+    <field id="snowtemp" name="snowtemp" long_name="snow temperature" unit="K" grid_ref="grid_nsnow"/>  
+    <field id="snowtemp_weighted" name="snowtemp_weighted" long_name="mean snow temperature weighted by snow density" unit="K"/>  
+    <field id="snowliq" name="snowliq" long_name="Snow liquid content where land" unit="kg/m^2" grid_ref="grid_nsnow"/>  
+    <field id="snowliqtot" name="snowliqtot" long_name="Snow liquid content integrated over snow depth where land" unit="kg/m^2"/>  
+    <field id="snowdz" name="snowdz" long_name="Snow layer thickness in the snow fraction" unit="m" grid_ref="grid_nsnow"/>  
+    <field id="snowdepth" name="snowdepth" long_name="Total snow thickness (averaging over the entire land portion, including the snow-free fraction)" unit="m"/>  
+    <field id="snowrho" name="snowrho" long_name="Snow denisty" unit="Kg/m^3" grid_ref="grid_nsnow"/>  
+    <field id="snowheat" name="snowheat" long_name="Snow heat content" unit="J/m^2" grid_ref="grid_nsnow"/>  
+    <field id="del_snowheattot" name="del_snowheattot" long_name="Variation of Snow heat content integrated over snow depth" unit="J/m^2"/>  
+    <field id="snowgrain" name="snowgrain" long_name="Snow grain size" unit="m" grid_ref="grid_nsnow"/>  
+    <field id="snowflxtot" name="snowflxtot" long_name="Total snow flux (including snow on vegetated and bare soil and nobio areas)" unit="W/m^2"/>
+
+    <!-- Routing -->
+    <field id="basinmap" name="basinmap" long_name="Aproximate map of the river basins" operation="once" freq_offset="0ts"/>
+    <field id="nbrivers" name="nbrivers" long_name="Number or rivers in the outflow grid box" operation="once" freq_offset="0ts"/>
+    <field id="swampmap" name="swampmap" long_name="Map of swamp areas" unit="m^2" operation="once" freq_offset="0ts"/>
+    <field id="irrigmap" name="irrigmap" long_name="Map of irrigated areas" unit="m^2" operation="once" freq_offset="0ts"/>
+    <field id="floodmap" name="floodmap" long_name="Map of floodplains areas" unit="m^2" operation="once" freq_offset="0ts"/>
+    <field id="mask_coast" name="mask_coast" long_name="Mask of coastal gridcell which can recieve coastalflow" unit="" operation="once" freq_offset="0ts"/>
+    <field id="coastalflow" name="coastalflow" long_name="Diffuse coastal flow" unit="m^3/s"/>
+    <field id="riverflow" name="riverflow" long_name="River flow to the oceans" unit="m^3/s"/>
+    <field id="coastalflow_cpl" name="coastalflow_cpl" long_name="Diffuse coastal flow, variable distributed over a time period before sent to ocean." unit="m^3/s"/>
+    <field id="riverflow_cpl" name="riverflow_cpl" long_name="River flow to the oceans, variable distributed over a time period before sent to ocean." unit="m^3/s"/>
+    <field id="hydrographs" name="hydrographs" long_name="Hydrographs of gridbox outflow" unit="m^3/s"/>
+    <field id="fastr" name="fastr" long_name="Fast flow reservoir" unit="kg/m^2"/>
+    <field id="slowr" name="slowr" long_name="Slow flow reservoir" unit="kg/m^2"/>
+    <field id="streamr" name="streamr" long_name="Stream flow reservoir" unit="kg/m^2"/>
+    <field id="lake_overflow" name="lake_overflow" long_name="Water overflow when lake reservoir exceeds maximum capacity" unit="kg/m2/s"/>
+    <field id="lake_overflow_coast" name="lake_overflow_coast" long_name="Water overflow when lake reservoir exceeds maximum capacity distributed on coast grid cells" unit="m3/s"/>
+    <field id="laker" name="lakevol" long_name="Endorheic lake flow reservoir" unit="kg/m^2"/>
+    <field id="pondr" name="pondr" long_name="Pond flow reservoir" unit="kg/m^2"/>
+    <field id="SurfStor" name="SurfStor" long_name="Surface water Storage" unit="Kg/m^2"> laker+pondr+floodr </field>
+    <field id="delfastr" name="delfastr" long_name="Accumulated storage change for fast flow reservoir" unit="kg/m^2" operation="accumulate"/>
+    <field id="delfastr_daily" field_ref="delfastr" name="delfastr_daily" long_name="Mean of storage change in fast flow reservoir accumulated over each day" unit="kg/m^2/d" freq_op="1d" operation="average" > @delfastr </field>
+    <field id="delslowr" name="delslowr" long_name="Accumulated storage change for slow flow reservoir" unit="kg/m^2" operation="accumulate" />
+    <field id="delslowr_daily" field_ref="delslowr" name="delslowr_daily" long_name="Mean of storage change for slow flow reservoir accumulated over each day" unit="kg/m^2/d" freq_op="1d" operation="average" > @delslowr </field>
+    <field id="delstreamr" name="delstreamr" long_name="Accumulated storage change for stream flow reservoir" unit="kg/m^2" operation="accumulate" />
+    <field id="delstreamr_daily" field_ref="delstreamr" name="delstreamr_daily" long_name="Mean of storage change in stream flow reservoir accumulated each day" unit="kg/m^2/d" freq_op="1d" operation="average" > @delstreamr </field>
+    <field id="dellaker" name="dellakevol" long_name="Accumulated storage change for lake reservoir" unit="kg/m^2" operation="accumulate"/>
+    <field id="dellaker_daily" field_ref="dellaker" name="dellakevol_daily" long_name="Mean of storage change for lake reservoir accumulated each day" unit="kg/m^2/d" freq_op="1d" operation="average" > @dellaker </field>
+    <field id="delpondr" name="delpondr" long_name="Accumulated storage change for ponds reservoir" unit="kg/m^2" operation="accumulate"/>
+    <field id="delpondr_daily" field_ref="delpondr"  name="delpondr_daily" long_name="Mean of storage change for ponds reservoir accumulated over each day" freq_op="1d" unit="kg/m^2/d" operation="average" > @delpondr </field>
+    <field id="delfloodr" name="delfloodr" long_name="Accumulated storage change for floodplains reservoir" unit="kg/m^2" operation="accumulate" />
+    <field id="delfloodr_daily" field_ref="delfloodr" name="delfloodr_daily" long_name="Mean of storage change for floodplains reservoir accumulated over each day" unit="kg/m^2/d" freq_op="1d" operation="average" > @delfloodr </field>
+    <field id="delstock_routing_daily" name="delstock_routing_daily" long_name="Mean of storage change in all routing reservoirs accumulated each day" unit="kg/m^2/d"> delstreamr_daily + delfastr_daily + delslowr_daily + delfloodr_daily + delpondr_daily + dellaker_daily </field> 
+    <field id="delriv" name="delriv" long_name="Change in River Storage (sum of stream and fast reservoirs)" unit="kg/m^2"> delstreamr + delfastr </field> 
+    <field id="delsurfwater" name="delsurfwater" long_name="Change in surface water storage (sum of stream, fast, floodplains, lakes and ponds reservoirs)" unit="kg/m^2"> delstreamr + delfastr + delfloodr + dellaker + delpondr </field> 
+    <field id="surfwater" name="surfwater" long_name="Surface water storage (sum of stream, fast, floodplains, lakes and ponds reservoirs)" unit="kg/m^2"> streamr + fastr + floodr + laker + pondr </field> 
+    <field id="wbr_fast" name="wbr_fast" long_name="Water budget residu of the fast reservoir" unit="kg/m^2/s"/>
+    <field id="wbr_slow" name="wbr_slow" long_name="Water budget residu of the slow reservoir" unit="kg/m^2/s"/>
+    <field id="wbr_stream" name="wbr_stream" long_name="Water budget residu of the stream reservoir" unit="kg/m^2/s"/>
+    <field id="wbr_lake" name="wbr_lake" long_name="Water budget residu of the lake reservoir" unit="kg/m^2/s"/>
+    <field id="irrigation" name="irrigation_sec" long_name="Irrigation" unit="mm/s"/>
+    <field id="netirrig" name="netirrig_sec" long_name="Irrigation requirement" unit="mm/s"/>
+    <field id="floodh" name="floodh" long_name="Floodplains height" unit="mm"/>
+    <field id="floodr" name="floodr" long_name="Floodplains flow reservoir" unit="kg/m^2"/>
+    <field id="floodout" name="floodout" long_name="Flow out of floodplains" unit="mm/d" > this*86400 </field>
+    <field id="riversret" name="riversret" long_name="Water flow return from lakes and swamps into the soil" unit="mm/d" > this*86400 </field>
+    <field id="reinfiltration" name="reinfiltration" long_name="Reinfiltration from floodplains and ponds" unit="mm/d" > this*86400 </field>
+
+    <!-- ALMA -->
+    <field id="twbr" name="TWBR" long_name="Total water budget residu" unit="Kg/m^2/s"/>
+    <field id="soilflx" name="Qg" long_name="Ground heat flux" unit="W/m^2"/>
+    <field id="Qv" name="Qv" long_name="Energy of sublimation" unit="W/m^2"/>
+    <field id="surfheat_incr" name="DelSurfHeat" long_name="Accumulated change in surface layer heat" unit="J/m^2" operation="accumulate"/>
+    <field id="coldcont_incr" name="DelColdCont" long_name="Accumulated change in snow surface layer cold content" unit="J/m^2" operation="accumulate"/>
+    <field id="dr_corrnum" name="Qsb_corrnum" long_name="Adjustement flux added to drainage (numerical errors in tridiag)" unit="kg/m^2/s"/>
+    <field id="delsoilmoist" name="DelSoilMoist" long_name="Accumulated change in soil moisture (grid-cell total)" unit="kg/m^2" operation="accumulate"/>
+    <field id="delsoilmoist_daily" field_ref="delsoilmoist"  name="DelSoilMoist_daily" long_name="Change in soil moisture acumulated over each day (grid-cell total)" unit="kg/m^2/d" freq_op="1d" operation="average" > @delsoilmoist </field>
+
+    <field id="delintercept" name="DelIntercept" long_name="Accumulated change in interception storage (grid-cell total)" unit="kg/m^2" operation="accumulate"/>
+    <field id="delintercept_daily" field_ref="delintercept" name="DelIntercept_daily" long_name="Change in interception storage accumulated over each day" unit="kg/m^2/d" freq_op="1d" operation="average" > @delintercept </field>
+
+    <field id="delswe" name="DelSWE" long_name="Accumulated change in Snow Water Equivalent (grid-cell total)" unit="kg/m^2" operation="accumulate"/>
+    <field id="delswe_daily" field_ref="delswe" name="DelSWE_daily" long_name="Change in Snow Water Equivalent accumulated over each day" unit="kg/m^2/d" freq_op="1d" operation="average" > @delswe </field>
+    <field id="PotSurfT" name="PotSurfT" long_name="Potential (Unstressed) surface temperature" unit="K"/>
+    <field id="soilmoist" name="SoilMoist" long_name="3D average layer soil moisture" unit="kg/m^2" grid_ref="grid_nslm"/>
+    <field id="soilmoist_liquid" name="SoilMoistLiquid" long_name="3D average layer liquid soil moisture" unit="kg/m^2" grid_ref="grid_nslm"/>
+    <field id="soilmoist_frozen" name="SoilMoistFrozen" long_name="3D average layer frozen soil moisture" unit="kg/m^2" grid_ref="grid_nslm"> soilmoist-soilmoist_liquid </field>
+    <field id="soilwet" name="SoilWet" long_name="Total soil wetness" unit="1"/>
+    <field id="mrsow" name="mrsow" long_name="Total soil wetness above wilting point" unit="1"/>
+    <field id="ECanop" name="ECanop" long_name="Interception evaporation" unit="kg/m^2/s"/>
+    <field id="TVeg" name="TVeg" long_name="Transpiration" unit="kg/m^2/s"/>
+    <field id="vevapflo" name="vevapflo" long_name="Floodplains evaporation" unit="kg/m^2/s"/>
+    <field id="vevapsno" name="vevapsno" long_name="Snow sublimation" unit="kg/m^2/s"/>
+    <field id="ACond" name="ACond" long_name="Aerodynamic conductance" unit="m/s"/>
+    <field id="albedo_snow" name="SAlbedo" long_name="Snow albedo" unit="1"/>
+    <field id="temp_hydro" name="temp_hydro" long_name="Temperature profile on hydrological levels" unit="K" grid_ref="grid_nslm"/>
+    <field id="kk_moy" name="kk_moy" long_name="Mean hydraulic conductivity over soiltiles" unit="10^(-6) m/s" grid_ref="grid_nslm" > this*1000/86400 </field>
+    <field id="psi_moy" name="psi_moy" long_name="Mean soil pressure head over soiltiles" unit="m" grid_ref="grid_nslm"/>
+    <field id="profil_froz_hydro" name="profil_froz_hydro" long_name="Frozen fraction for each hydrological soil layer average over soil types" unit="1" grid_ref="grid_nslm"/>
+    <field id="profil_liquid_hydro" name="profil_liquid_hydro" long_name="Liquid fraction for each hydrological soil layer average over soil types" unit="1" grid_ref="grid_nslm"> 1.-profil_froz_hydro </field>
+    <field id="snowdz_read_prev" name="snowdz_read_prev" long_name="snowdz read from file, value from previous day" unit="m" grid_ref="grid_nsnow"/>
+    <field id="snowdz_read_current" long_name="" unit="m" grid_ref="grid_nsnow"/>
+    <field id="snowdz_read_next" long_name="" unit="m" grid_ref="grid_nsnow"/>
+    <field id="snowrho_read_prev" long_name="snowrho read from file, value from previous day" unit="kg/m^3" grid_ref="grid_nsnow"/>
+    <field id="snowrho_read_current" long_name="" unit="kg/m^3" grid_ref="grid_nsnow"/>
+    <field id="snowrho_read_next" long_name="" unit="kg/m^3" grid_ref="grid_nsnow"/>
+    <field id="snowtemp_read_prev" long_name="snowtemp read from file, value from previous day" unit="K" grid_ref="grid_nsnow"/>
+    <field id="snowtemp_read_current" long_name="" unit="K" grid_ref="grid_nsnow"/>
+    <field id="snowtemp_read_next" long_name="" unit="K" grid_ref="grid_nsnow"/>
+    <field id="mask_snow_interp_out" long_name="Mask read from file" operation="once" unit="1" grid_ref="grid_nsnow" freq_offset="0ts"/>
+    <field id="nudgincsm" name="nudgincsm" long_name="Nudging increment of water in soil moisture" unit="Kg/m^2"/>
+    <field id="nudgincswe" name="nudgincswe" long_name="Nudging increment of water in snow" unit="kg/m^2"/>
+    <field id="cnc" name="cnc" long_name="Canopy covered area percentage (fraction of total land)" unit="%"/> 
+    <field id="mcfc" name="mcfc" long_name="Mean volumetric water content at field capacity (total land average)" unit="m^3/m^3" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+    <field id="mcw" name="mcw" long_name="Mean volumetric water content at wilting point (total land average)" unit="m^3/m^3" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+    <field id="mcr" name="mcr" long_name="Mean volumetric residual water content (total land average)" unit="m^3/m^3" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+    <field id="tmcs" name="tmcs" long_name="Total soil moisture at saturation (total land average)" unit="kg/m^2" operation="once" freq_offset="0ts"/>
+    <field id="tmcfc" name="tmcfc" long_name="Total soil moisture at field capacity (total land average)" unit="kg/m^2" operation="once" freq_offset="0ts"/>
+    <field id="wilt" name="wilt" long_name="Wilting point (in % of soil volume)" unit="%" grid_ref="grid_nslm" operation="once" > mcw*100 </field>  
+    <field id="fldcapacity" name="fldcapacity" long_name="Field capacity (in % of soil volume)" grid_ref="grid_nslm" unit="%" operation="once" > mcfc*100 </field>
+    <field id="ksat" name="ksat" long_name="Saturated Hydraulic conductivity (at each hydrologic node)" unit="10^(-6) m/s" grid_ref="grid_nslm" operation="once" freq_offset="0ts"> this*1000/86400 </field> <!-- ym check this value. jg why ?  -->
+    <field id="alphavg" name="alphavg" long_name="Van Genuchten alpha parameter (at each hydrologic node)" unit="m(-1)" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/> 
+    <field id="nvg" name="nvg" long_name="Van Genuchten n parameter (at each hydrologic node)" unit="-" grid_ref="grid_nslm" operation="once" freq_offset="0ts"/>
+
+    <field id="fraclut" name="fracLut" long_name="fraction of grid cell for each land use tile"  unit="%" grid_ref="grid_nlut"> this*100 </field>
+    <field id="nwdFraclut" name="nwdFraclut" long_name="fraction of land use tile that is non-woody vegetation"  unit="1" grid_ref="grid_nlut"/>
+    <field id="humtot_lut" name="mrsoLut" long_name="Total soil moisture" unit="kg m-2" grid_ref="grid_nlut" />
+    <field id="humtot_top_lut" name="mrsosLut" long_name="Moisture in Upper Portion of Soil Column of land use tile" unit="kg m-2" grid_ref="grid_nlut"/>
+    <field id="mrro_lut" name="mrroLut" long_name="Total runoff from land use tile" unit="kg m-2 s-1" grid_ref="grid_nlut"/>
+    <field id="gpplut" name="gppLut" long_name="Gross primary productivity on Landuse tiles" unit="kgC m-2 s-1" grid_ref="grid_nlut" />
+    <field id="znetco2" name="znetco2" long_name="Sum CO2 flux over PFTs (variable in interface to LMDZ)" unit="kgC m-2 s-1" />
+    <field id="zcarblu" name="zcarblu" long_name="Land Cover Change CO2 flux (variable in interface to LMDZ)" unit="kgC m-2 s-1" />
+    <field id="zcarbwh" name="zcarbwh" long_name="Wood harvest CO2 flux (variable in interface to LMDZ)" unit="kgC m-2 s-1" />
+    <field id="zcarbha" name="zcarbha" long_name="Crop harvesting CO2 flux (variable in interface to LMDZ)" unit="kgC m-2 s-1" />
+  </field_group>
+
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of output variables in stomate                                                                 -->
+  <!-- ========================================================================================================= -->
+
+  <field_group id="stomate" grid_ref="grid_landpoints">
+    <field id="T2M_MONTH" name="T2M_MONTH" long_name="Monthly 2 m temperature" unit="K"/>
+    <field id="T2M_WEEK" name="T2M_WEEK" long_name="Weekly 2 m temperature" unit="K"/>
+    <field id="TSEASON" name="TSEASON" long_name="Seasonal 2 m temperature" unit="K"/>
+    <field id="TMIN_SPRING_TIME" name="TMIN_SPRING_TIME" long_name="Number of days after onset" unit="-" grid_ref="grid_nvm"/>
+    <field id="ONSET_DATE" name="ONSET_DATE" long_name="The day in the year when leaves start to grow" unit="days" grid_ref="grid_nvm"/>
+    <field id="FPC_MAX" name="FPC_MAX" long_name="Foliage projective cover" unit="-" grid_ref="grid_nvm"/>
+    <field id="MAXFPC_LASTYEAR" name="MAXFPC_LASTYEAR" long_name="Foliage projective cover of last year" unit="-" grid_ref="grid_nvm"/>
+    <field id="HET_RESP" name="HET_RESP" long_name="heterotr. resp. from ground" unit="gC/m^2 tot/pft/day" grid_ref="grid_nvm"/>
+    <field id="HET_RESP_SOIL" name="HET_RESP_SOIL" long_name="heterotr. resp. from soil" unit="gC/m^2 tot/pft/day" grid_ref="grid_nvm"/>
+    <field id="HET_RESP_LITTER" name="HET_RESP_LITTER" long_name="heterotr. resp. from litter" unit="gC/m^2 tot/pft/day" grid_ref="grid_nvm"/>
+    <field id="firefrac" name="FIREFRAC" long_name="Fire fraction on ground " unit="1/day" grid_ref="grid_nvm"/>
+    <field id="CO2_FIRE" name="CO2_FIRE" long_name="Output CO2 flux from fire " unit="gC/day/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="CO2_TAKEN" name="CO2_TAKEN" long_name="CO2 taken from atmosphere for initiate growth " unit="gC/day/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="LAI" name="LAI" long_name="Leaf Area Index per PFT" unit="-" grid_ref="grid_nvm"/>
+    <field id="VEGET_COV_MAX" name="VEGET_COV_MAX" long_name="Maximum vegetation fraction (LAI -&gt; infinity) " unit="-" grid_ref="grid_nvm"/>
+    <field id="NPP_STOMATE" name="NPP" long_name="Net primary productivity (positive from atm to land)" unit="gC/day/(m^2 tot)" grid_ref="grid_nvm"/>
+    <field id="GPP" name="GPP" long_name="Gross primary productivity (positive from atm to land)" unit="gC/day/m^2" grid_ref="grid_nvm"/>
+    <field id="LEAF_M" name="LEAF_M" long_name="Leaf mass" unit="gC/m^2 " grid_ref="grid_nvm"/>
+    <field id="SAP_M_AB" name="SAP_M_AB" long_name="Sap mass above ground" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="SAP_M_BE" name="SAP_M_BE" long_name="Sap mass below ground" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="HEART_M_AB" name="HEART_M_AB" long_name="Heartwood mass above ground" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="HEART_M_BE" name="HEART_M_BE" long_name="Heartwood mass below ground" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="ROOT_M" name="ROOT_M" long_name="Root mass" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="FRUIT_M" name="FRUIT_M" long_name="Fruit mass" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="RESERVE_M" name="RESERVE_M" long_name="Carbohydrate reserve mass" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="MAINT_RESP" name="MAINT_RESP" long_name="Maintenance respiration" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="GROWTH_RESP" name="GROWTH_RESP" long_name="Growth respiration" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="IND" name="IND" long_name="Density of individuals" unit="1/ m^2" grid_ref="grid_nvm"/>
+    <field id="ADAPTATION" name="ADAPTATION" long_name="Adaptation to climate (DGVM)" unit="-" grid_ref="grid_nvm"/>
+    <field id="REGENERATION" name="REGENERATION" long_name="Probability from regenerative (DGVM)" unit="-" grid_ref="grid_nvm"/>
+    <field id="CN_IND" name="CN_IND" long_name="crown area of individuals" unit="m^2" grid_ref="grid_nvm"/>
+    <field id="WOODMASS_IND" name="WOODMASS_IND" long_name="Woodmass of individuals" unit="gC/pft" grid_ref="grid_nvm"/>
+    <field id="TOTAL_M" name="TOTAL_M" long_name="Total living biomass" unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="MOISTRESS" name="MOISTRESS" long_name="weekly moisture stress" unit="-" grid_ref="grid_nvm"/>
+    <field id="TOTAL_TURN" name="TOTAL_TURN" long_name="total turnover rate" unit="gC/m^2/day " grid_ref="grid_nvm"/>
+    <field id="LEAF_TURN" name="LEAF_TURN" long_name="Leaf turnover" unit="gC/m^2/day " grid_ref="grid_nvm"/>
+    <field id="SAP_AB_TURN" name="SAP_AB_TURN" long_name="Sap turnover above" unit="gC/m^2/day " grid_ref="grid_nvm"/>
+    <field id="ROOT_TURN" name="ROOT_TURN" long_name="Root turnover" unit="gC/m^2/day " grid_ref="grid_nvm"/>
+    <field id="FRUIT_TURN" name="FRUIT_TURN" long_name="Fruit turnover" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="TOTAL_BM_LITTER" name="TOTAL_BM_LITTER" long_name="total conversion of biomass to litter" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="LEAF_BM_LITTER" name="LEAF_BM_LITTER" long_name="Leaf death" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="SAP_AB_BM_LITTER" name="SAP_AB_BM_LITTER" long_name="Sap death above ground" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="SAP_BE_BM_LITTER" name="SAP_BE_BM_LITTER" long_name="Sap death below ground" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="HEART_AB_BM_LITTER" name="HEART_AB_BM_LITTER" long_name="Heartwood death above ground" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="HEART_BE_BM_LITTER" name="HEART_BE_BM_LITTER" long_name="Heartwood death below ground" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="ROOT_BM_LITTER" name="ROOT_BM_LITTER" long_name="Root death" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="FRUIT_BM_LITTER" name="FRUIT_BM_LITTER" long_name="Fruit death" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="RESERVE_BM_LITTER" name="RESERVE_BM_LITTER" long_name="Carbohydrate reserve death" unit="gC/m^2/day" grid_ref="grid_nvm"/>
+    <field id="LITTER_STR_AB" name="LITTER_STR_AB" long_name="structural litter above ground" unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="LITTER_MET_AB" name="LITTER_MET_AB" long_name="metabolic litter above ground" unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="LITTER_STR_BE" name="LITTER_STR_BE" long_name="structural litter below ground" unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="LITTER_MET_BE" name="LITTER_MET_BE" long_name="metabolic litter below ground" unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="DEADLEAF_COVER" name="DEADLEAF_COVER" long_name="fraction of soil covered by dead leaves" unit="-"/>
+    <field id="TOTAL_SOIL_CARB" name="TOTAL_SOIL_CARB" long_name="total soil and litter carbon" unit="gC/m^2" grid_ref="grid_nvm"/>
+    <field id="CARBON_ACTIVE" name="CARBON_ACTIVE" long_name="active soil carbon in ground " unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="CARBON_SLOW" name="CARBON_SLOW" long_name="slow soil carbon in ground" unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="CARBON_PASSIVE" name="CARBON_PASSIVE" long_name="passive soil carbon in ground" unit="gC/m^2/pft" grid_ref="grid_nvm"/>
+    <field id="LITTERHUM" name="LITTERHUM" long_name="Litter humidity" unit="-"/>
+    <field id="BM_ALLOC_LEAF" name="BM_ALLOC_LEAF" long_name="biomass allocated to leaves" unit="gC/m**2/pft/dt" grid_ref="grid_nvm"/>
+    <field id="BM_ALLOC_SAP_AB" name="BM_ALLOC_SAP_AB" long_name="biomass allocated to sapwood above ground" unit="gC/m**2/pft/dt" grid_ref="grid_nvm"/>
+    <field id="BM_ALLOC_SAP_BE" name="BM_ALLOC_SAP_BE" long_name="biomass allocated to sapwood below ground" unit="gC/m**2/pft/dt" grid_ref="grid_nvm"/>
+    <field id="BM_ALLOC_ROOT" name="BM_ALLOC_ROOT" long_name="biomass allocated to roots" unit="gC/m**2/pft/dt" grid_ref="grid_nvm"/>
+    <field id="BM_ALLOC_FRUIT" name="BM_ALLOC_FRUIT" long_name="biomass allocated to fruits" unit="gC/m**2/pft/dt" grid_ref="grid_nvm"/>
+    <field id="BM_ALLOC_RES" name="BM_ALLOC_RES" long_name="biomass allocated to carbohydrate reserve" unit="gC/m**2/pft/dt" grid_ref="grid_nvm"/>
+    <field id="HERBIVORES" name="HERBIVORES" long_name="time constant of herbivore activity" unit="days" grid_ref="grid_nvm"/>
+    <field id="TURNOVER_TIME" name="TURNOVER_TIME" long_name="turnover time for grass leaves" unit="days" grid_ref="grid_nvm"/>
+    <field id="PROD10" name="PROD10" long_name="10 year wood product pool" unit="gC/m**2" grid_ref="grid_P11"/>
+    <field id="FLUX10" name="FLUX10" long_name="annual flux for each 10 year wood product pool" unit="gC/m**2/yr" grid_ref="grid_P10"/>
+    <field id="PROD100" name="PROD100" long_name="100 year wood product pool" unit="gC/m**2" grid_ref="grid_P101"/>
+    <field id="FLUX100" name="FLUX100" long_name="annual flux for each 100 year wood product pool" unit="gC/m**2/yr" grid_ref="grid_P100"/>
+    <field id="CONVFLUX" name="CONVFLUX" long_name="annual release right after deforestation (positive from atm to land)" unit="gC/m**2/day"/>
+    <field id="CFLUX_PROD10" name="CFLUX_PROD10" long_name="annual release from all 10 year wood product pools (positive from atm to land)" unit="gC/m**2/day"/>
+    <field id="CFLUX_PROD100" name="CFLUX_PROD100" long_name="annual release from all 100 year wood product pools (positive from atm to land)" unit="gC/m**2/day"/>
+    <field id="fDeforestToProduct_post" name="fDeforestToProduct_post" long_name="Decomposition out of product pools to CO2 (positive from land to atm) calculated as postprocessing" unit="gC/m**2/day"  > -1*(CONVFLUX+CFLUX_PROD10+CFLUX_PROD100) </field>
+    <field id="fDeforestToProduct" name="fDeforestToProduct" long_name="Decomposition out of product pools to CO2 (positive from land to atm)" unit="kgC/m**2/s" />
+    <field id="PROD10_HARVEST" name="PROD10_HARVEST" long_name="10 year wood product pool" unit="gC/m**2" grid_ref="grid_P11"/>
+    <field id="FLUX10_HARVEST" name="FLUX10_HARVEST" long_name="annual flux for each 10 year wood product pool" unit="gC/m**2/yr" grid_ref="grid_P10"/>
+    <field id="PROD100_HARVEST" name="PROD100_HARVEST" long_name="100 year wood product pool" unit="gC/m**2" grid_ref="grid_P101"/>
+    <field id="FLUX100_HARVEST" name="FLUX100_HARVEST" long_name="annual flux for each 100 year wood product pool" unit="gC/m**2/yr" grid_ref="grid_P100"/>
+    <field id="CONVFLUX_HARVEST" name="CONVFLUX_HARVEST" long_name="annual release right after wood harvest (positive from atm to land)" unit="gC/m**2/day"/>
+    <field id="CFLUX_PROD10_HARVEST" name="CFLUX_PROD10_HARVEST" long_name="annual release from all 10 year wood product pools (positive from atm to land)" unit="gC/m**2/day"/>
+    <field id="CFLUX_PROD100_HARVEST" name="CFLUX_PROD100_HARVEST" long_name="annual release from all 100 year wood product pools (positive from atm to land)" unit="gC/m**2/day"/>
+    <field id="WOOD_HARVEST" name="WOOD_HARVEST" long_name="harvested wood biomass as read in the map" unit="gC/m**2/day"/>
+    <field id="WOOD_HARVEST_PFT" name="WOOD_HARVEST_PFT" long_name="harvested wood biomass used per PFT" unit="gC/m**2/day" grid_ref="grid_nvm"/>
+    <field id="HARVEST_ABOVE" name="HARVEST_ABOVE" long_name="annual release product after harvest (positive from atm to land)" unit="gC/m**2/day"/>
+    <field id="RESOLUTION_X" name="RESOLUTION_X" long_name="E-W resolution" unit="m" operation="once"/>
+    <field id="RESOLUTION_Y" name="RESOLUTION_Y" long_name="N-S resolution" unit="m" operation="once"/>
+    <field id="CONTFRAC_STOMATE" name="CONTFRAC" long_name="Continental fraction" unit="1" operation="once"/>
+    <field id="VCMAX" name="VCMAX" long_name="Maximum rate of carboxylation" unit="-" grid_ref="grid_nvm"/>
+    <field id="LEAF_AGE" name="LEAF_AGE" long_name="leaf age" unit="days" grid_ref="grid_nvm"/>
+    <field id="mortality" name="MORTALITY" long_name="Fraction of trees that dies (gap)" unit="1/day" grid_ref="grid_nvm"/>
+    <field id="firedeath" name="FIREDEATH" long_name="Fraction of plants killed by fire" unit="1/day" grid_ref="grid_nvm"/>
+    <field id="IND_ESTAB" name="IND_ESTAB" long_name="Density of newly established saplings" unit="ind/m**2/day" grid_ref="grid_nvm"/>
+    <field id="ESTABTREE" name="ESTABTREE" long_name="Rate of tree establishement" unit="ind/m**2/day"/>
+    <field id="ESTABGRASS" name="ESTABGRASS" long_name="Rate of grass establishement" unit="ind/m**2/day"/>
+    <field id="light_death" name="LIGHT_DEATH" long_name="Fraction of plants that dies (light competition)" unit="1/day" grid_ref="grid_nvm"/>
+    <field id="AGE" name="AGE" long_name="age" unit="years" grid_ref="grid_nvm"/>
+    <field id="HEIGHT" name="HEIGHT" long_name="height" unit="m" grid_ref="grid_nvm"/>
+    <field id="WHEN_GROWTHINIT" name="WHEN_GROWTHINIT" long_name="Time elapsed from season beginning" unit="d" grid_ref="grid_nvm"/>
+    <field id="PFTPRESENT" name="PFTPRESENT" long_name="PFT exists" unit="d" grid_ref="grid_nvm"/>
+    <field id="GDD_MIDWINTER" name="GDD_MIDWINTER" long_name="Growing degree days, since midwinter" unit="degK" grid_ref="grid_nvm"/>
+    <field id="GDD_M5_DORMANCE" name="GDD_M5_DORMANCE" long_name="Growing degree days threshold" unit="degK" grid_ref="grid_nvm"/>
+    <field id="NCD_DORMANCE" name="NCD_DORMANCE" long_name="Number of chilling days, since leaves were lost" unit="d" grid_ref="grid_nvm"/>
+    <field id="ALLOW_INITPHENO" name="ALLOW_INITPHENO" long_name="Allow to declare beginning of the growing season" unit="-" grid_ref="grid_nvm"/>
+    <field id="BEGIN_LEAVES" name="BEGIN_LEAVES" long_name="Signal to start putting leaves on" unit="-" grid_ref="grid_nvm"/>
+    <field id="t2m_longterm" name="T2M_LONGTERM" long_name="Longterm(3 years) 2 m temperature" unit="K"/>
+    <field id="FIREINDEX" name="FIREINDEX" long_name="Fire index on ground" unit="-" grid_ref="grid_nvm"/>
+    <field id="cVeg" name="cVeg" long_name="Carbon in Vegetation" unit="kg C m-2"/>
+    <field id="cVegGrass" name="cVegGrass" long_name="Carbon mass in Vegetation on grass tiles" unit="kg C m-2"/>
+    <field id="cVegCrop" name="cVegCrop" long_name="Carbon mass in Vegetation on crop tiles" unit="kg C m-2"/>
+    <field id="cVegTree" name="cVegTree" long_name="Carbon mass in Vegetation on tree tiles" unit="kg C m-2"/>
+    <field id="cLitter" name="cLitter" long_name="Carbon in Litter Pool" unit="kg C m-2"/>
+    <field id="cLitterGrass" name="cLitterGrass" long_name="Carbon mass in litter on grass tiles" unit="kg C m-2"/>
+    <field id="cLitterCrop" name="cLitterCrop" long_name="Carbon mass in litter on crop tiles" unit="kg C m-2"/>
+    <field id="cLitterTree" name="cLitterTree" long_name="Carbon mass in litter on tree tiles" unit="kg C m-2"/>
+    <field id="cOther" name="cOther" long_name="Carbon mass in vegetation components other than leaves, stems, and roots (fruits and reserves)" unit="kg C m-2"/>
+    <field id="cSoil" name="cSoil" long_name="Carbon in Soil Pool" unit="kg C m-2"/>
+    <field id="cSoilGrass" name="cSoilGrass" long_name="Carbon mass in soil on grass tiles" unit="kg C m-2"/>
+    <field id="cSoilCrop" name="cSoilCrop" long_name="Carbon mass in soil on crop tiles" unit="kg C m-2"/>
+    <field id="cSoilTree" name="cSoilTree" long_name="Carbon mass in soil on tree tiles" unit="kg C m-2"/>
+    <field id="cLand" name="cLand" long_name="Total carbon in all terrestrial carbon pools" unit="kg C m-2" > cVeg+cSoil </field>
+    <field id="cProduct" name="cProduct" long_name="Carbon in Products of Land Use Change" unit="kg C m-2"/>
+    <field id="cMassVariation" name="cMassVariation" long_name="Terrestrial Carbon Mass Variation" unit="kg C m-2 s-1"/>
+    <field id="lai_ipcc" name="lai" long_name="Mean Leaf Area Index (mean over the entire land fraction)" unit="1"/>
+    <field id="gpp_ipcc" name="gpp" long_name="Gross Primary Production (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="ra" name="ra" long_name="Autotrophic Respiration (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="raGrass" name="raGrass" long_name="Autotrophic Respiration on grass tiles (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="raCrop" name="raCrop" long_name="Autotrophic Respiration on crop tiles (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="raTree" name="raTree" long_name="Autotrophic Respiration on tree tiles (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="npp_ipcc" name="npp" long_name="Net Primary Production (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="rh" name="rh" long_name="Heterotrophic Respiration (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="rhSoil" name="rhSoil" long_name="Carbon mass flux due to heterotrophic respiration from soil on land (positive from land to atm)" unit="kg C m-2 s-1" /> 
+    <field id="rhLitter" name="rhLitter" long_name="Carbon mass flux due to heterotrophic respiration from litter on land (positive from land to atm)" unit="kg C m-2 s-1" /> 
+    <field id="tSoilPools" name="tSoilPools" long_name="soil_carbon_turnover_rate : defined as 1/(turnover time) for soil pools." unit="s-1" grid_ref="grid_ncarb"/>
+    <field id="fFire" name="fFire" long_name="CO2 Emission from Fire (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="fHarvest" name="fHarvest" long_name="CO2 Flux to Atmosphere from Crop Harvesting (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="fWoodharvest" name="fWoodharvest" long_name="CO2 Flux to Atmosphere from Wood Harvesting (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="fLuc" name="fLuc" long_name="CO2 Flux to Atmosphere from Land Use Change (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="fAnthDisturb" name="fAnthDisturb" long_name="Carbon mass flux into atmosphere due to any human activity" unit="kg C m-2 s-1"  > (fHarvest+fLuc+fWoodharvest)*(-1) </field>
+    <field id="fHarvestToProduct" name="fHarvestToProduct" long_name="" unit="kg C m-2 s-1"  > (fHarvest+fWoodharvest)*(-1) </field>
+    <field id="nbp" name="nbp" long_name="Net Biospheric Production (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="fVegLitter" name="fVegLitter" long_name="Total Carbon Flux from Vegetation to Litter" unit="kg C m-2 s-1"/>
+    <field id="fLitterSoil" name="fLitterSoil" long_name="Total Carbon Flux from Litter to Soil" unit="kg C m-2 s-1"/>
+    <field id="cLeaf" name="cLeaf" long_name="Carbon in Leaves" unit="kg C m-2"/>
+    <field id="cStem" name="cStem" long_name="Carbon in Stem (sapwood and hardwood above surface)" unit="kg C m-2"/>
+    <field id="cWood" name="cWood" long_name="Carbon in Wood (sapwood and hardwood above and below surface)" unit="kg C m-2"/>
+    <field id="cRoot" name="cRoot" long_name="Carbon in Roots" unit="kg C m-2"/>
+    <field id="cMisc" name="cMisc" long_name="Carbon in Other Living Compartments" unit="kg C m-2"/>
+    <field id="cLitterAbove" name="cLitterAbove" long_name="Carbon in Above-Ground Litter" unit="kg C m-2"/>
+    <field id="cLitterBelow" name="cLitterBelow" long_name="Carbon in Below-Ground Litter" unit="kg C m-2"/>
+    <field id="cSoilFast" name="cSoilFast" long_name="Carbon in Fast Soil Pool" unit="kg C m-2"/>
+    <field id="cSoilMedium" name="cSoilMedium" long_name="Carbon in Medium Soil Pool" unit="kg C m-2"/>
+    <field id="cSoilSlow" name="cSoilSlow" long_name="Carbon in Slow Soil Pool" unit="kg C m-2"/>
+    <field id="cSoilPools" name="cSoilPools" long_name="Carbon in Soil Pools" unit="kg C m-2" grid_ref="grid_ncarb"/>
+    <field id="landCoverFrac" name="landCoverFrac" long_name="Fractional Land Cover of PFT" unit="%" grid_ref="grid_nvm"/>
+    <field id="treeFracPrimDec" name="treeFracPrimDec" long_name="Total Primary Deciduous Tree Cover Fraction" unit="%"/>
+    <field id="treeFracPrimEver" name="treeFracPrimEver" long_name="Total Primary Evergreen Tree Cover Fraction" unit="%"/>
+    <field id="c3PftFrac" name="c3PftFrac" long_name="Total C3 PFT Cover Fraction" unit="%"/>
+    <field id="c4PftFrac" name="c4PftFrac" long_name="Total C4 PFT Cover Fraction" unit="%"/>
+    <field id="rGrowth" name="rGrowth" long_name="Growth Autotrophic Respiration (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="rMaint" name="rMaint" long_name="Maintenance Autotrophic Respiration (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="rGrowth_ipcc" name="rGrowth_ipcc" long_name="Growth Autotrophic Respiration (positive from land to atm)" unit="kg C m-2 s-1" > rGrowth*(-1) </field> 
+    <field id="rMaint_ipcc" name="rMaint_ipcc" long_name="Maintenance Autotrophic Respiration (positive from land to atm)" unit="kg C m-2 s-1" > rMaint*(-1) </field> 
+    <field id="nppLeaf" name="nppLeaf" long_name="CO2 Flux from Atmosphere due to NPP Allocation to Leaf (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nppWood" name="nppWood" long_name="CO2 Flux from Atmosphere due to NPP Allocation to Wood (above and below surface) (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nppStem" name="nppStem" long_name="CO2 Flux from Atmosphere due to NPP Allocation to Stem (above surface) (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nppRoot" name="nppRoot" long_name="CO2 Flux from Atmosphere due to NPP Allocation to Root (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nppGrass" name="nppGrass" long_name="Net primary production on grass tiles (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nppCrop" name="nppCrop" long_name="Net primary production on crop tiles (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nppTree" name="nppTree" long_name="Net primary production on tree tiles (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nppOther" name="nppOther" long_name="Net primary production allocated to other pools (fruit and reserve) (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="nep" name="nep" long_name="Net Carbon Mass Flux out of Atmophere due to Net Ecosystem Productivity (positive from atm to land)" unit="kg C m-2 s-1"/>
+    <field id="wtd" name="WaterTableD" long_name="Water Table Depth" unit="m"/>
+    <field id="undermcr" name="undermcr" long_name="Number of soiltiles under residual moisture" unit="-"/>
+    <field id="tws" name="TWS" long_name="Total Water Storage" unit="Kg/m^2"> humtot+snow+qsintveg_tot+fastr+slowr+streamr+laker+pondr+floodr </field>
+    <field id="check_infilt" name="check_infilt" long_name="check water conservation of infilt" unit="mm/s"/>
+    <field id="check_tr" name="check_tr" long_name="check water conservation of tridiag with diag_tr2" unit="mm/s"/>
+    <field id="check_over" name="check_over" long_name="check water conservation of smooth_over_mcs" unit="mm/s"/>
+    <field id="check_under" name="check_under" long_name="check water conservation of smooth_under_mcs" unit="mm/s"/>
+    <field id="check_top" name="check_top" long_name="check water conservation in top soil layer (imposed - diagnosed flux at the surface)" unit="kg/m^2/s"/>
+    <field id="qflux" name="qflux" long_name="Upward water fluxes at the lowest interface of each soil layer" unit="kg/m^2/s" grid_ref="grid_nslm"/>
+    <field id="ru_corr" name="Qs_corr" long_name="Adjustement flux added to surface runoff" unit="kg/m^2/s"/>
+    <field id="ru_corr2" name="Qs_corr2" long_name="Adjustement flux added to surface runoff (case of negative surface runoff)" unit="kg/m^2/s"/>
+    <field id="dr_corr" name="Qsb_corr" long_name="Adjustement flux added to drainage" unit="kg/m^2/s"/>
+    <field id="dr_force" name="Qforce" long_name="Adjustement flux added to drainage to sustain a forced water table depth" unit="kg/m^2/s"/>
+    <field id="ru_infilt" name="Qs_infilt" long_name="Surface runoff from hydrol_soil_infilt" unit="kg/m^2/s"/>
+    <field id="qinfilt" name="Infilt" long_name="Infiltration flux" unit="kg/m^2/s"/>
+    
+    <field id="clitterlut" name="cLitterLut" long_name="Carbon in above and belowground litter pools on land use tiles" unit="kg C m-2" grid_ref="grid_nlut"/>
+    <field id="csoillut" name="cSoilLut" long_name="Carbon in soil pool on land use tiles"  unit="kg C m-2" grid_ref="grid_nlut"/>
+    <field id="cveglut" name="cvegLut" long_name="Carbon in vegetation on land use tiles"  unit="kg C m-2" grid_ref="grid_nlut"/>
+    <field id="lailut" name="laiLut" long_name="Leaf area index on Landuse tile"  unit="1" grid_ref="grid_nlut"/>
+    <field id="ctotfirelut" name="ctotfirelut" long_name=""  unit="kgC m-2 s-1" grid_ref="grid_nlut"/>
+    <field id="ralut" name="ralut" long_name="Plant respiration on land use tile"  unit="kgC m-2 s-1" grid_ref="grid_nlut"/>
+    <field id="rhlut" name="rhlut" long_name="Soil heterotrophic respiration on land use tile"  unit="kgC m-2 s-1" grid_ref="grid_nlut"/>
+    <field id="npplut" name="npplut" long_name="Net primary productivity on land use tile"  unit="kgC m-2 s-1" grid_ref="grid_nlut"/>
+    <field id="cproductlut" name="cproductLut" long_name="Carbon mass per unit area in that has been removed from the environment through land use change" unit="kgC m-2" grid_ref="grid_nlut" />
+    <field id="flulccproductlut" name="flulccproductlut" long_name="Carbon mass flux into wood and agricultural product pools due to anthropogenic land use or land cover change" unit="kgC m-2 s-1" grid_ref="grid_nlut" />
+    <field id="flulccresiduelut" name="flulccresiduelut" long_name="Carbon mass flux into soil and litter due to anthropogenic land use or land cover change" unit="kgC m-2 s-1" grid_ref="grid_nlut" />
+    <field id="flulccresidue" name="flulccresidue" long_name="Carbon mass flux into soil and litter due to anthropogenic land use or land cover change" unit="kgC m-2 s-1" grid_ref="grid_nvm" />
+    <field id="flulccatmlut" name="flulccatmlut" long_name="Surface upward mass flux of carbon dioxide expressed as carbon direct to atmosphere due to anthropogenic land use land cover change" unit="kgC m-2 s-1" grid_ref="grid_nlut" />
+    <field id="necbLut" name="necbLut" long_name="Surface net downward mass flux of carbon dioxide expressed as carbon due to all land processes" unit="kgC m-2 s-1" grid_ref="grid_nlut" > npplut - ralut - rhlut - flulccproductlut </field>
+    <field id="fProductDecomp" name="fProductDecomp" long_name="Decomposition out of Product Pools to CO2 in Atmosphere" unit="kgC m-2 s-1" > fLuc + fHarvest  </field>
+  </field_group>
+
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of output variables having more than one vertical axis                                         -->
+  <!-- ========================================================================================================= -->
+
+  <field id="profil_froz_hydro_ns" name="profil_froz_hydro_ns" long_name="Frozen fraction for each hydrological soil layer on soil types" unit="1" grid_ref="grid_nslm_nstm"/>
+  <field id="mc" name="moistc" long_name="Soil Moisture profile for all soil tiles" unit="m3/m3" grid_ref="grid_nslm_nstm"/>
+  <field id="mc_read_next" name="mc_read_next" long_name="Soil moisture read from file" unit="m3/m3" grid_ref="grid_nslm_nstm"/>
+  <field id="mc_read_current" name="mc_read_current" long_name="Soil moisture read from file and interpolated to current time step" unit="m3/m3" grid_ref="grid_nslm_nstm"/>
+  <field id="mc_read_prev" name="mc_read_prev" long_name="Soil moisture read from file, value from previous day" unit="m3/m3" grid_ref="grid_nslm_nstm"/>
+  <field id="mask_mc_interp_out" name="mask_mc_interp_out" long_name="Mask read from file" operation="once" unit="1" grid_ref="grid_nslm_nstm"/>
+  <field id="kfact_root" name="kfactroot" long_name="Root factor to increase Ks towards the surface, for all soil tiles" unit="%" grid_ref="grid_nslm_nstm"/>
+  <field id="vegetmax_soil" name="vegetsoil" long_name="PFT fraction for soil tiles" unit="1" grid_ref="grid_nvm_nstm"/>
+
+</field_definition>
+
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histLES_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histLES_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histLES_lmdz.xml	(revision 5499)
@@ -0,0 +1,628 @@
+<!-- $Id$ -->
+<file_definition>
+    <file_group id="defile">
+        <file id="histLES" name="XhistLES" output_freq="1h" output_level="11" enabled="false" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+            
+            <!-- VARS 1D -->
+<!--            <field_group operation="once">    -->
+<!--              <field field_ref="Ap" level="1" />    -->
+<!--              <field field_ref="Bp" level="1" />    -->
+<!--              <field field_ref="Alt" level="1" />    -->
+<!--            </field_group>    -->
+        
+            <!-- VARS 2D -->
+         <field_group group_ref="remap_1h">
+
+            <field_group operation="average" grid_ref="grid_out">
+                <field field_ref="phis" level="1" />
+                <field field_ref="aire" level="1" operation="once" />
+                <field field_ref="contfracATM" level="10" operation="once" />
+                <field field_ref="contfracOR" level="10" />
+                <field field_ref="flat" level="5" />
+                <field field_ref="slp" level="10" />
+                <field field_ref="sza" level="10" />
+                <field field_ref="ptstar" level="10" />
+                <field field_ref="pt0" level="10" />
+                <field field_ref="tsol" level="10" />
+                <field field_ref="t2m" level="10" />
+                <field field_ref="t2m_min" level="10" operation="minimum" />
+                <field field_ref="t2m_max" level="10" operation="maximum" />
+                <field field_ref="t2m_ter" level="10" />
+                <field field_ref="t2m_lic" level="10" />
+                <field field_ref="t2m_oce" level="10" />
+                <field field_ref="t2m_sic" level="10" />
+                <field field_ref="gusts" level="10" />
+                <field field_ref="wind10m" level="10" />
+                <field field_ref="wind10max" level="10" operation="maximum" />
+                <field field_ref="sicf" level="10" />
+                <field field_ref="q2m" level="10" />
+                <field field_ref="ustar" level="10" />
+                <field field_ref="u10m" level="10" />
+                <field field_ref="v10m" level="10" />
+                <field field_ref="psol" level="10" />
+                <field field_ref="qsurf" level="10" />
+                <field field_ref="ustar_ter" level="10" />
+                <field field_ref="ustar_lic" level="10" />
+                <field field_ref="ustar_oce" level="10" />
+                <field field_ref="ustar_sic" level="10" />
+                <field field_ref="wstar_ter" level="10" />
+                <field field_ref="wstar_lic" level="10" />
+                <field field_ref="wstar_oce" level="10" />
+                <field field_ref="wstar_sic" level="10" />
+                <field field_ref="wstar" level="10" />
+                <field field_ref="u10m_ter" level="10" />
+                <field field_ref="u10m_lic" level="10" />
+                <field field_ref="u10m_oce" level="10" />
+                <field field_ref="u10m_sic" level="10" />
+                <field field_ref="v10m_ter" level="10" />
+                <field field_ref="v10m_lic" level="10" />
+                <field field_ref="v10m_oce" level="10" />
+                <field field_ref="v10m_sic" level="10" />
+                <field field_ref="qsol" level="10" />
+                <field field_ref="ndayrain" level="10" operation="instant" />
+                <field field_ref="precip" level="5" />
+                <field field_ref="rain_fall" level="5" />
+                <field field_ref="rain_con" level="5" />
+                <field field_ref="plul" level="10" />
+                <field field_ref="plun" level="10" />
+                <field field_ref="pluc" level="5" />
+                <field field_ref="snow" level="5" />
+                <field field_ref="evap" level="10" />
+                <field field_ref="evap_ter" level="10" />
+                <field field_ref="evap_lic" level="10" />
+                <field field_ref="evap_oce" level="10" />
+                <field field_ref="evap_sic" level="10" />
+                <field field_ref="msnow" level="10" />
+                <field field_ref="fsnow" level="10" />
+                <field field_ref="tops" level="10" />
+                <field field_ref="tops0" level="10" />
+                <field field_ref="topl" level="10" />
+                <field field_ref="topl0" level="10" />
+                <field field_ref="SWupTOA" level="10" />
+                <field field_ref="SWupTOAclr" level="10" />
+                <field field_ref="SWdnTOA" level="10" />
+                <field field_ref="SWdnTOAclr" level="10" />
+                <field field_ref="nettop" level="10" />
+                <field field_ref="SWup200" level="15" />
+                <field field_ref="SWup200clr" level="15" />
+                <field field_ref="SWdn200" level="15" />
+                <field field_ref="SWdn200clr" level="15" />
+                <field field_ref="LWup200" level="15" />
+                <field field_ref="LWup200clr" level="15" />
+                <field field_ref="LWdn200" level="15" />
+                <field field_ref="LWdn200clr" level="15" />
+                <field field_ref="sols" level="10" />
+                <field field_ref="sols0" level="10" />
+                <field field_ref="soll" level="10" />
+                <field field_ref="soll0" level="10" />
+                <field field_ref="radsol" level="10" />
+                <field field_ref="SWupSFC" level="5" />
+                <field field_ref="SWupSFCclr" level="5" />
+                <field field_ref="SWdnSFC" level="5" />
+                <field field_ref="SWdnSFCclr" level="5" />
+                <field field_ref="LWupSFC" level="5" />
+                <field field_ref="LWupSFCclr" level="5" />
+                <field field_ref="LWdnSFC" level="5" />
+                <field field_ref="LWdnSFCclr" level="5" />
+                <field field_ref="bils" level="10" />
+                <field field_ref="bils_tke" level="10" />
+                <field field_ref="bils_diss" level="10" />
+                <field field_ref="bils_ec" level="10" />
+                <field field_ref="bils_kinetic" level="10" />
+                <field field_ref="bils_enthalp" level="10" />
+                <field field_ref="bils_latent" level="10" />
+                <field field_ref="sens" level="5" />
+                <field field_ref="sens_x" level="11" />
+                <field field_ref="sens_w" level="11" />
+                <field field_ref="flat_x" level="11" />
+                <field field_ref="flat_w" level="11" />
+                <field field_ref="delta_tsurf" level="11" />
+                <field field_ref="cdragh_x" level="11" />
+                <field field_ref="cdragh_w" level="11" />
+                <field field_ref="cdragm_x" level="11" />
+                <field field_ref="cdragm_w" level="11" />
+                <field field_ref="kh" level="11" />
+                <field field_ref="kh_x" level="11" />
+                <field field_ref="kh_w" level="11" />
+                <field field_ref="fder" level="10" />
+                <field field_ref="ffonte" level="10" />
+                <field field_ref="fqcalving" level="10" />
+                <field field_ref="fqfonte" level="10" />
+                <field field_ref="mrroli" level="10" />
+                <field field_ref="runofflic" level="10" />
+                <field field_ref="taux" level="10" />
+                <field field_ref="tauy" level="10" />
+                <field field_ref="taux_ter" level="10" />
+                <field field_ref="taux_lic" level="10" />
+                <field field_ref="taux_oce" level="10" />
+                <field field_ref="taux_sic" level="10" />
+                <field field_ref="tauy_ter" level="10" />
+                <field field_ref="tauy_lic" level="10" />
+                <field field_ref="tauy_oce" level="10" />
+                <field field_ref="tauy_sic" level="10" />
+                <field field_ref="pourc_ter" level="10" />
+                <field field_ref="pourc_lic" level="10" />
+                <field field_ref="pourc_oce" level="10" />
+                <field field_ref="pourc_sic" level="10" />
+                <field field_ref="fract_ter" level="10" />
+                <field field_ref="fract_lic" level="10" />
+                <field field_ref="fract_oce" level="10" />
+                <field field_ref="fract_sic" level="10" />
+                <field field_ref="tsol_ter" level="10" />
+                <field field_ref="tsol_lic" level="10" />
+                <field field_ref="tsol_oce" level="10" />
+                <field field_ref="tsol_sic" level="10" />
+                <field field_ref="evappot_ter" level="10" />
+                <field field_ref="evappot_lic" level="10" />
+                <field field_ref="evappot_oce" level="10" />
+                <field field_ref="evappot_sic" level="10" />
+                <field field_ref="sens_ter" level="10" />
+                <field field_ref="sens_lic" level="10" />
+                <field field_ref="sens_oce" level="10" />
+                <field field_ref="sens_sic" level="10" />
+                <field field_ref="lat_ter" level="10" />
+                <field field_ref="lat_lic" level="10" />
+                <field field_ref="lat_oce" level="10" />
+                <field field_ref="lat_sic" level="10" />
+                <field field_ref="flw_ter" level="10" />
+                <field field_ref="flw_lic" level="10" />
+                <field field_ref="flw_oce" level="10" />
+                <field field_ref="flw_sic" level="10" />
+                <field field_ref="fsw_ter" level="10" />
+                <field field_ref="fsw_lic" level="10" />
+                <field field_ref="fsw_oce" level="10" />
+                <field field_ref="fsw_sic" level="10" />
+                <field field_ref="wbils_ter" level="10" />
+                <field field_ref="wbils_lic" level="10" />
+                <field field_ref="wbils_oce" level="10" />
+                <field field_ref="wbils_sic" level="10" />
+                <field field_ref="wbilo_ter" level="10" />
+                <field field_ref="wbilo_lic" level="10" />
+                <field field_ref="wbilo_oce" level="10" />
+                <field field_ref="wbilo_sic" level="10" />
+                <field field_ref="wevap_ter" level="10" />
+                <field field_ref="wevap_lic" level="10" />
+                <field field_ref="wevap_oce" level="10" />
+                <field field_ref="wevap_sic" level="10" />
+                <field field_ref="wrain_ter" level="10" />
+                <field field_ref="wrain_lic" level="10" />
+                <field field_ref="wrain_oce" level="10" />
+                <field field_ref="wrain_sic" level="10" />
+                <field field_ref="wsnow_ter" level="10" />
+                <field field_ref="wsnow_lic" level="10" />
+                <field field_ref="wsnow_oce" level="10" />
+                <field field_ref="wsnow_sic" level="10" />
+                <field field_ref="cdrm" level="10" />
+                <field field_ref="cdrh" level="10" />
+                <field field_ref="cldl" level="10" />
+                <field field_ref="cldm" level="10" />
+                <field field_ref="cldh" level="10" />
+                <field field_ref="cldt" level="5" />
+                <field field_ref="cldq" level="10" />
+                <field field_ref="lwp" level="10" />
+                <field field_ref="iwp" level="10" />
+                <field field_ref="ue" level="10" />
+                <field field_ref="ve" level="10" />
+                <field field_ref="uq" level="10" />
+                <field field_ref="vq" level="10" />
+                <field field_ref="cape" level="10" />
+                <field field_ref="pbase" level="10" />
+                <field field_ref="ptop" level="10" />
+                <field field_ref="fbase" level="10" />
+                <field field_ref="plcl" level="10" />
+                <field field_ref="plfc" level="10" />
+                <field field_ref="wbeff" level="10" />
+                <field field_ref="convoccur" level="10" />
+                <field field_ref="prw" level="10" />
+                <field field_ref="prlw" level="10" />
+                <field field_ref="prsw" level="10" />
+                <field field_ref="s_pblh" level="10" />
+                <field field_ref="s_pblt" level="10" />
+                <field field_ref="s_lcl" level="10" />
+                <field field_ref="s_therm" level="10" />
+                <field field_ref="slab_bils_oce" level="10" />
+                <field field_ref="ale_bl" level="10" />
+                <field field_ref="alp_bl" level="10" />
+                <field field_ref="ale_wk" level="10" />
+                <field field_ref="alp_wk" level="10" />
+                <field field_ref="ale" level="10" />
+                <field field_ref="alp" level="10" />
+                <field field_ref="cin" level="10" />
+                <field field_ref="wape" level="10" />
+                <field field_ref="n2" level="10" />
+                <field field_ref="s2" level="10" />
+                <field field_ref="proba_notrig" level="10" />
+                <field field_ref="random_notrig" level="10" />
+                <field field_ref="ale_bl_stat" level="10" />
+                <field field_ref="ale_bl_trig" level="10" />
+                <field field_ref="alp_bl_det" level="10" />
+                <field field_ref="alp_bl_fluct_m" level="10" />
+                <field field_ref="alp_bl_fluct_tke" level="10" />
+                <field field_ref="alp_bl_conv" level="10" />
+                <field field_ref="alp_bl_stat" level="10" />
+
+                <field_group operation="average" detect_missing_value=".true.">
+                    <field field_ref="u850" level="10" />
+                    <field field_ref="u700" level="10" />
+                    <field field_ref="u500" level="10" />
+                    <field field_ref="u200" level="10" />
+                    <field field_ref="u100" level="10" />
+                    <field field_ref="u50" level="10" />
+                    <field field_ref="u10" level="10" />
+                    <field field_ref="v850" level="10" />
+                    <field field_ref="v700" level="10" />
+                    <field field_ref="v500" level="10" />
+                    <field field_ref="v200" level="10" />
+                    <field field_ref="v100" level="10" />
+                    <field field_ref="v50" level="10" />
+                    <field field_ref="v10" level="10" />
+                    <field field_ref="w850" level="10" />
+                    <field field_ref="w700" level="10" />
+                    <field field_ref="w500" level="10" />
+                    <field field_ref="w200" level="10" />
+                    <field field_ref="w100" level="10" />
+                    <field field_ref="w50" level="10" />
+                    <field field_ref="w10" level="10" />
+                    <field field_ref="t850" level="10" />
+                    <field field_ref="t700" level="10" />
+                    <field field_ref="t500" level="10" />
+                    <field field_ref="t200" level="10" />
+                    <field field_ref="t100" level="10" />
+                    <field field_ref="t50" level="10" />
+                    <field field_ref="t10" level="10" />
+                    <field field_ref="q850" level="10" />
+                    <field field_ref="q700" level="10" />
+                    <field field_ref="q500" level="10" />
+                    <field field_ref="q200" level="10" />
+                    <field field_ref="q100" level="10" />
+                    <field field_ref="q50" level="10" />
+                    <field field_ref="q10" level="10" />
+                    <field field_ref="z850" level="10" />
+                    <field field_ref="z700" level="10" />
+                    <field field_ref="z500" level="10" />
+                    <field field_ref="z200" level="10" />
+                    <field field_ref="z100" level="10" />
+                    <field field_ref="z50" level="10" />
+                    <field field_ref="z10" level="10" />
+                </field_group>
+
+                <field field_ref="t_oce_sic" level="10" />
+                <field field_ref="weakinv" level="10" />
+                <field field_ref="dthmin" level="10" />
+                <field field_ref="u10_ter" level="10" />
+                <field field_ref="u10_lic" level="10" />
+                <field field_ref="u10_oce" level="10" />
+                <field field_ref="u10_sic" level="10" />
+                <field field_ref="v10_ter" level="10" />
+                <field field_ref="v10_lic" level="10" />
+                <field field_ref="v10_oce" level="10" />
+                <field field_ref="v10_sic" level="10" />
+                <field field_ref="rh2m" level="10" />
+                <field field_ref="rh2m_min" level="10" operation="minimum" />
+                <field field_ref="rh2m_max" level="10" operation="maximum" />
+                <field field_ref="qsat2m" level="10" />
+                <field field_ref="tpot" level="10" />
+                <field field_ref="tpote" level="10" />
+                <field field_ref="SWnetOR" level="10" />
+                <field field_ref="SWdownOR" level="10" />
+                <field field_ref="LWdownOR" level="10" />
+                <field field_ref="snowl" level="10" />
+                <field field_ref="cape_max" level="10" operation="maximum" />
+                <field field_ref="solldown" level="10" />
+                <field field_ref="dtsvdfo" level="10" />
+                <field field_ref="dtsvdft" level="10" />
+                <field field_ref="dtsvdfg" level="10" />
+                <field field_ref="dtsvdfi" level="10" />
+                <field field_ref="rugs" level="10" />
+                <field field_ref="z0m" level="10" />
+                <field field_ref="z0h" level="10" />
+                <field field_ref="topswad" level="10" />
+                <field field_ref="topswad0" level="10" />
+                <field field_ref="topswai" level="10" />
+                <field field_ref="solswad" level="10" />
+                <field field_ref="solswad0" level="10" />
+                <field field_ref="solswai" level="10" />
+                <field field_ref="od550_ASBCM" level="10" />
+                <field field_ref="od550_ASPOMM" level="10" />
+                <field field_ref="od550_ASSO4M" level="10" />
+                <field field_ref="od550_CSSO4M" level="10" />
+                <field field_ref="od550_SSSSM" level="10" />
+                <field field_ref="od550_ASSSM" level="10" />
+                <field field_ref="od550_CSSSM" level="10" />
+                <field field_ref="od550_CIDUSTM" level="10" />
+                <field field_ref="od550_AIBCM" level="10" />
+                <field field_ref="od550_AIPOMM" level="10" />
+                <field field_ref="od550_ASNO3M" level="10" />
+                <field field_ref="od550_CSNO3M" level="10" />
+                <field field_ref="od550_CINO3M" level="10" />
+                <field field_ref="od550_STRAT" level="10" />
+                <field field_ref="od550aer" level="10" />
+                <field field_ref="od865aer" level="10" />
+                <field field_ref="abs550aer" level="10" />
+                <field field_ref="od550lt1aer" level="10" />
+                <field field_ref="sconcso4" level="10" />
+                <field field_ref="sconcoa" level="10" />
+                <field field_ref="sconcbc" level="10" />
+                <field field_ref="sconcss" level="10" />
+                <field field_ref="sconcdust" level="10" />
+                <field field_ref="sconcno3" level="10" />
+                <field field_ref="loadso4" level="10" />
+                <field field_ref="loadoa" level="10" />
+                <field field_ref="loadbc" level="10" />
+                <field field_ref="loadss" level="10" />
+                <field field_ref="loaddust" level="10" />
+                <field field_ref="loadno3" level="10" />
+                <field field_ref="swtoaas_nat" level="10" />
+                <field field_ref="swsrfas_nat" level="10" />
+                <field field_ref="swtoacs_nat" level="10" />
+                <field field_ref="swsrfcs_nat" level="10" />
+                <field field_ref="swtoaas_ant" level="10" />
+                <field field_ref="swsrfas_ant" level="10" />
+                <field field_ref="swtoacs_ant" level="10" />
+                <field field_ref="swsrfcs_ant" level="10" />
+                <field field_ref="swtoacf_nat" level="10" />
+                <field field_ref="swsrfcf_nat" level="10" />
+                <field field_ref="swtoacf_ant" level="10" />
+                <field field_ref="swsrfcf_ant" level="10" />
+                <field field_ref="swtoacf_zero" level="10" />
+                <field field_ref="swsrfcf_zero" level="10" />
+                <field field_ref="cldncl" level="10" />
+                <field field_ref="reffclwtop" level="10" />
+                <field field_ref="cldnvi" level="10" />
+                <field field_ref="lcc" level="10" />
+                <field field_ref="wvapp" level="10" />
+                <field field_ref="albe_ter" level="10" />
+                <field field_ref="albe_lic" level="10" />
+                <field field_ref="albe_oce" level="10" />
+                <field field_ref="albe_sic" level="10" />
+                <field field_ref="ages_ter" level="10" />
+                <field field_ref="ages_lic" level="10" />
+                <field field_ref="ages_oce" level="10" />
+                <field field_ref="ages_sic" level="10" />
+                <field field_ref="snow_ter" level="10" />
+                <field field_ref="snow_lic" level="10" />
+                <field field_ref="snow_oce" level="10" />
+                <field field_ref="snow_sic" level="10" />
+                <field field_ref="rugs_ter" level="10" />
+                <field field_ref="rugs_lic" level="10" />
+                <field field_ref="rugs_oce" level="10" />
+                <field field_ref="rugs_sic" level="10" />
+                <field field_ref="z0m_ter" level="10" />
+                <field field_ref="z0m_lic" level="10" />
+                <field field_ref="z0m_oce" level="10" />
+                <field field_ref="z0m_sic" level="10" />
+                <field field_ref="z0h_ter" level="10" />
+                <field field_ref="z0h_lic" level="10" />
+                <field field_ref="z0h_oce" level="10" />
+                <field field_ref="z0h_sic" level="10" />
+                <field field_ref="alb1" level="10" />
+                <field field_ref="alb2" level="10" />
+                <field field_ref="ftime_con" level="10" operation="instant" />
+                <field field_ref="wake_h" level="10" />
+                <field field_ref="wake_s" level="10" />
+                <field field_ref="epmax" level="10" />
+                <field field_ref="plulth" level="10" />
+                <field field_ref="plulst" level="10" />
+                <field field_ref="lmaxth" level="10" />
+                <field field_ref="ftime_th" level="10" />
+                <field field_ref="ftime_deepcv" level="10" />
+                <field field_ref="f0_th" level="10" />
+                <field field_ref="zmax_th" level="10" />
+                <field field_ref="rsut4co2" level="10" />
+                <field field_ref="rlut4co2" level="10" />
+                <field field_ref="rsutcs4co2" level="10" />
+                <field field_ref="rlutcs4co2" level="10" />
+                <field field_ref="dqphy2d" level="10" />
+                <field field_ref="dqlphy2d" level="10" />
+                <field field_ref="dqsphy2d" level="10" />
+                <field field_ref="dqdyn2d" level="10" />
+                <field field_ref="dqldyn2d" level="10" />
+                <field field_ref="dqsdyn2d" level="10" />
+                <field field_ref="dqcon2d" level="10" />
+                <field field_ref="dqwak2d" level="10" />
+                <field field_ref="dqlsc2d" level="10" />
+                <field field_ref="dqvdf2d" level="10" />
+                <field field_ref="dqeva2d" level="10" />
+                <field field_ref="dqlscth2d" level="10" />
+                <field field_ref="dqlscst2d" level="10" />
+                <field field_ref="dqthe2d" level="10" />
+                <field field_ref="dqajs2d" level="10" />
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_presnivs" >
+                <field field_ref="tke" level="10" />
+                <field field_ref="tke_ter" level="10" />
+                <field field_ref="tke_lic" level="10" />
+                <field field_ref="tke_oce" level="10" />
+                <field field_ref="tke_sic" level="10" />
+                <field field_ref="tke_max_ter" level="10" operation="maximum" />
+                <field field_ref="tke_max_lic" level="10" operation="maximum" />
+                <field field_ref="tke_max_oce" level="10" operation="maximum" />
+                <field field_ref="tke_max_sic" level="10" operation="maximum" />
+                <field field_ref="l_mix_ter" level="10" />
+                <field field_ref="l_mix_lic" level="10" />
+                <field field_ref="l_mix_oce" level="10" />
+                <field field_ref="l_mix_sic" level="10" />
+                <field field_ref="l_mixmin_ter" level="10" />
+                <field field_ref="l_mixmin_lic" level="10" />
+                <field field_ref="l_mixmin_oce" level="10" />
+                <field field_ref="l_mixmin_sic" level="10" />
+
+
+                <field field_ref="cldtau" level="10" />
+                <field field_ref="cldemi" level="10" />
+                <field field_ref="tke_max" level="10" operation="maximum" />
+                <field field_ref="kz" level="10" />
+                <field field_ref="kz_max" level="10" operation="maximum" />
+                <field field_ref="concso4" level="10" />
+                <field field_ref="concoa" level="10" />
+                <field field_ref="concbc" level="10" />
+                <field field_ref="concss" level="10" />
+                <field field_ref="concdust" level="10" />
+                <field field_ref="concno3" level="10" />
+                <field field_ref="ec550aer" level="10" />
+                <field field_ref="lwcon" level="10" />
+                <field field_ref="iwcon" level="10" />
+                <field field_ref="temp" level="10" />
+                <field field_ref="theta" level="10" />
+                <field field_ref="ovap" level="10" />
+                <field field_ref="ovapinit" level="10" />
+                <field field_ref="oliq" level="10" />
+                <field field_ref="ocond" level="10" />
+                <field field_ref="geop" level="10" />
+                <field field_ref="geoph" level="10" />
+                <field field_ref="vitu" level="10" />
+                <field field_ref="vitv" level="10" />
+                <field field_ref="vitw" level="10" />
+                <field field_ref="pres" level="10" />
+                <field field_ref="paprs" level="10" />
+                <field field_ref="mass" level="10" />
+                <field field_ref="zfull" level="10" />
+                <field field_ref="zhalf" level="10" />
+                <field field_ref="rneb" level="10" />
+                <field field_ref="rnebcon" level="10" />
+                <field field_ref="rnebls" level="10" />
+                <field field_ref="rneblsvol" level="10" />
+                <field field_ref="rhum" level="10" />
+                <field field_ref="ozone" level="10" />
+                <field field_ref="ozone_daylight" level="10" />
+                <field field_ref="upwd" level="10" />
+                <field field_ref="ep" level="10" />
+                <field field_ref="duphy" level="10" />
+                <field field_ref="dtphy" level="10" />
+                <field field_ref="dqphy" level="10" />
+                <field field_ref="dqlphy" level="10" />
+                <field field_ref="dqsphy" level="10" />
+                <field field_ref="pr_con_l" level="10" />
+                <field field_ref="pr_con_i" level="10" />
+                <field field_ref="pr_lsc_l" level="10" />
+                <field field_ref="pr_lsc_i" level="10" />
+                <field field_ref="re" level="10" />
+                <field field_ref="fl" level="10" />
+                <field field_ref="scdnc" level="10" />
+                <field field_ref="reffclws" level="10" />
+                <field field_ref="reffclwc" level="10" />
+                <field field_ref="lcc3d" level="10" />
+                <field field_ref="lcc3dcon" level="10" />
+                <field field_ref="lcc3dstra" level="10" />
+                <field field_ref="cldwatmxrat" level="10" />
+                <field field_ref="icc3dcon" level="10" />
+                <field field_ref="icc3dstra" level="10" />
+                <field field_ref="cldicemxrat" level="10" />
+                <field field_ref="clwcon" level="10" />
+                <field field_ref="Ma" level="10" />
+                <field field_ref="dnwd" level="10" />
+                <field field_ref="dnwd0" level="10" />
+                <field field_ref="mc" level="10" />
+                <field field_ref="dtdyn" level="10" />
+                <field field_ref="dqdyn" level="10" />
+                <field field_ref="dqldyn" level="10" />
+                <field field_ref="dqsdyn" level="10" />
+                <field field_ref="dudyn" level="10" />
+                <field field_ref="dvdyn" level="10" />
+                <field field_ref="dtcon" level="10" />
+                <field field_ref="ducon" level="10" />
+                <field field_ref="dvcon" level="10" />
+                <field field_ref="dqcon" level="10" />
+                <field field_ref="dtwak" level="10" />
+                <field field_ref="dqwak" level="10" />
+                <field field_ref="wake_deltat" level="10" />
+                <field field_ref="wake_deltaq" level="10" />
+                <field field_ref="wake_omg" level="10" />
+                <field field_ref="wdtrainA" level="1" />
+                <field field_ref="wdtrainM" level="1" />
+                <field field_ref="Vprecip" level="10" />
+                <field field_ref="ftd" level="10" />
+                <field field_ref="fqd" level="10" />
+                <field field_ref="dtlsc" level="10" />
+                <field field_ref="dtlschr" level="10" />
+                <field field_ref="dqlsc" level="10" />
+                <field field_ref="beta_prec" level="10" />
+                <field field_ref="dtvdf" level="10" />
+                <field field_ref="dtvdf_x" level="11" />
+                <field field_ref="dtvdf_w" level="11" />
+                <field field_ref="dtdis" level="10" />
+                <field field_ref="dqvdf" level="10" />
+                <field field_ref="dqvdf_x" level="11" />
+                <field field_ref="dqvdf_w" level="11" />
+                <field field_ref="dteva" level="10" />
+                <field field_ref="dqeva" level="10" />
+                <field field_ref="dqlscth" level="10" />
+                <field field_ref="dqlscst" level="10" />
+                <field field_ref="dtlscth" level="10" />
+                <field field_ref="dtlscst" level="10" />
+                <field field_ref="ptconvth" level="10" />
+                <field field_ref="ptconv" level="10" />
+                <field field_ref="ratqs" level="10" />
+                <field field_ref="dtthe" level="10" />
+                <field field_ref="f_th" level="10" />
+                <field field_ref="e_th" level="10" />
+                <field field_ref="w_th" level="10" />
+                <field field_ref="lambda_th" level="10" />
+                <field field_ref="q_th" level="10" />
+                <field field_ref="a_th" level="10" />
+                <field field_ref="s_th" level="10" />
+                <field field_ref="s_env" level="10" />
+                <field field_ref="sigma_th" level="10" />
+                <field field_ref="sigma_env" level="10" />
+                <field field_ref="d_th" level="10" />
+                <field field_ref="dqthe" level="10" />
+                <field field_ref="dtajs" level="10" />
+                <field field_ref="dqajs" level="10" />
+                <field field_ref="dtswr" level="10" />
+                <field field_ref="dtsw0" level="10" />
+                <field field_ref="dtlwr" level="10" />
+                <field field_ref="dtlw0" level="10" />
+                <field field_ref="dtec" level="10" />
+                <field field_ref="duvdf" level="10" />
+                <field field_ref="dvvdf" level="10" />
+                <field field_ref="duoro" level="10" />
+                <field field_ref="dvoro" level="10" />
+                <field field_ref="dulif" level="10" />
+                <field field_ref="dvlif" level="10" />
+                <field field_ref="du_gwd_hines" level="10" />
+                <field field_ref="dv_gwd_hines" level="10" />
+                <field field_ref="du_gwd_front" level="10" />
+                <field field_ref="dv_gwd_front" level="10" />
+                <field field_ref="east_gwstress" level="10" />
+                <field field_ref="west_gwstress" level="10" />
+                <field field_ref="dtoro" level="10" />
+                <field field_ref="dtlif" level="10" />
+                <field field_ref="dthin" level="10" />
+                <field field_ref="rsu" level="10" />
+                <field field_ref="rsd" level="10" />
+                <field field_ref="rlu" level="10" />
+                <field field_ref="rld" level="10" />
+                <field field_ref="rsucs" level="10" />
+                <field field_ref="rsdcs" level="10" />
+                <field field_ref="rlucs" level="10" />
+                <field field_ref="rldcs" level="10" />
+                <field field_ref="tnt" level="10" />
+                <field field_ref="tntc" level="10" />
+                <field field_ref="tntr" level="10" />
+                <field field_ref="tntscpbl" level="10" />
+                <field field_ref="tnhus" level="10" />
+                <field field_ref="tnhusc" level="10" />
+                <field field_ref="tnhusscpbl" level="10" />
+                <field field_ref="evu" level="10" />
+                <field field_ref="h2o" level="10" />
+                <field field_ref="mcd" level="10" />
+                <field field_ref="dmc" level="10" />
+                <field field_ref="ref_liq" level="10" />
+                <field field_ref="ref_ice" level="10" />
+                <field field_ref="rsu4co2" level="10" />
+                <field field_ref="rlu4co2" level="10" />
+                <field field_ref="rsucs4co2" level="10" />
+                <field field_ref="rlucs4co2" level="10" />
+                <field field_ref="rsd4co2" level="10" />
+                <field field_ref="rld4co2" level="10" />
+                <field field_ref="rsdcs4co2" level="10" />
+                <field field_ref="rldcs4co2" level="10" />
+            </field_group>
+          </field_group>
+          
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdayCOSP_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdayCOSP_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdayCOSP_lmdz.xml	(revision 5499)
@@ -0,0 +1,102 @@
+<file_definition>
+      <file_group id="defile">
+        <file id="histdayCOSP" name="histdayCOSP" output_freq="1d" output_level="0"  enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+          
+            <field_group group_ref="remap_1d">
+              <!-- VARS Calipso and PARASOL -->
+              <field_group operation="average" freq_op="3h" detect_missing_value=".true." >
+                <field field_ref="cllcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pcllcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pclmcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pclhcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pcltcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cllcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cllcalipsoliq"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipsoliq"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipsoliq"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipsoliq"         level="5"grid_ref="grid_out" />
+                <field field_ref="cllcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clcalipso"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoice"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoliq"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoun"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsotmp"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="clcalipsotmpice"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="clcalipsotmpliq"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="clcalipsotmpun"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="parasol_refl"  level="5" grid_ref="grid_out_sza"/>
+                <field field_ref="parasol_crefl"  level="5" grid_ref="grid_out_sza"/>
+                <field field_ref="Ncrefl"  level="5" grid_ref="grid_out_sza"/>
+       		<field field_ref="cfad_lidarsr532"  level="10" grid_ref="grid4Dsrbin_out"/>
+                <field field_ref="atb532" level="10"grid_ref="grid4Dcol_out" />
+                <field field_ref="beta_mol532" level="10" grid_ref="grid_out_heightmlev"/>
+                <field field_ref="clopaquecalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clthincalipso"           level="5" grid_ref="grid_out"/>
+                <field field_ref="clzopaquecalipso"        level="5" grid_ref="grid_out"/>
+                <field field_ref="clcalipsoopaque"   level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsothin"     level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsozopaque"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoopacity"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="proftemp"  level="5" grid_ref="grid_out_height" />
+                <field field_ref="profSR"  level="5" grid_ref="grid4Dcol2_out"/>
+              </field_group>
+            <!-- VARS CLOUDSAT et/ou Calipso -->
+             <field_group operation="average" freq_op="3h" detect_missing_value=".true.">                       <field field_ref="cltlidarradar"  level="5" grid_ref="grid_out"/>
+               <field field_ref="clcalipso2"  level="5" grid_ref="grid_out_height"/>
+               <field field_ref="cfadDbze94"  level="10" grid_ref="grid4Ddbze_out"/>
+               <field field_ref="dbze94" level="10" grid_ref="grid4Dcol_out" />
+              </field_group>
+             <!-- VARS ISCCP -->
+             <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="sunlit" level="5" grid_ref="grid_out"/>
+                <field field_ref="clisccp2" level="5"grid_ref="grid4Dtau_out" />
+                <field field_ref="boxtauisccp" level="5" grid_ref="grid_out_column"/>
+                <field field_ref="boxptopisccp" level="5" grid_ref="grid_out_column"/>
+                <field field_ref="tclisccp" level="5" grid_ref="grid_out"/>
+                <field field_ref="ctpisccp" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauisccp" level="5"grid_ref="grid_out" /> 
+                <field field_ref="albisccp" level="5" grid_ref="grid_out"/>
+                <field field_ref="meantbisccp" level="10" grid_ref="grid_out"/>
+                <field field_ref="meantbclrisccp" level="10"grid_ref="grid_out" />
+             </field_group>
+             <!-- VARS MISR -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="clMISR" level="5" grid_ref="grid4Dmisr_out"/>
+            </field_group>
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="cllmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clmmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clhmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="cltmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clwmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="climodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tautmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauwmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauimodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tautlogmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauilogmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauwlogmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="reffclwmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="reffclimodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="pctmodis"  level="5" grid_ref="grid_out"/>
+                <field field_ref="lwpmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="iwpmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clmodis" level="5" grid_ref="grid4Dtau_out"/>
+                <field field_ref="crimodis" level="10" grid_ref="grid4Dreffi_out"/>
+                <field field_ref="crlmodis" level="10" grid_ref="grid4Dreffl_out"/>
+            </field_group>
+          </field_group>
+        </file>
+     </file_group>
+</file_definition>
+   
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdayNMC_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdayNMC_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdayNMC_lmdz.xml	(revision 5499)
@@ -0,0 +1,31 @@
+<file_definition>
+    <file_group id="defile">
+        <file id="histdayNMC" name="histdayNMC" output_freq="1d" output_level="5" enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" freq_op="1ts" detect_missing_value=".true.">
+<!--            <field field_ref="tnondef" level="5" /> -->
+                <field field_ref="ta" level="1" />
+                <field field_ref="zg" level="5" />
+                <field field_ref="hus" level="5" />
+                <field field_ref="hur" level="5" />
+                <field field_ref="ua" level="5" />
+                <field field_ref="va" level="5" />
+                <field field_ref="wap" level="5" />
+<!--            <field field_ref="psbg" level="5" /> -->
+                <field field_ref="tro3" level="5" />
+                <field field_ref="tro3_daylight" level="5" />
+                <field field_ref="uv" level="6" />
+                <!-- <field field_ref="vq" level="6" /> -->
+                <field field_ref="vT" level="6" />
+                <field field_ref="wq" level="6" />
+                <field field_ref="vphi" level="6" />
+                <field field_ref="wT" level="6" />
+                <field field_ref="u2" level="6" />
+                <field field_ref="v2" level="6" />
+                <field field_ref="T2" level="6" />
+            </field_group>
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histday_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histday_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histday_lmdz.xml	(revision 5499)
@@ -0,0 +1,646 @@
+<!-- $Id: file_def_histday_lmdz.xml 3516 2019-05-21 15:29:11Z fairhead $ -->
+<file_definition type="one_file">
+    <file_group id="defile">
+        <file id="histday" name="../histday" output_freq="1d" output_level="1" enabled="TRUE" compression_level="2" sync_freq="1d" append="true">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+            
+            <!-- VARS 1D -->
+<!--            <field_group operation="once">  -->
+<!--              <field field_ref="Ap" level="1" />  -->
+<!--              <field field_ref="Bp" level="1" /> -->
+<!--              <field field_ref="Alt" level="1" /> -->
+<!--            </field_group> -->
+        
+            <!-- VARS 2D -->
+           <field_group group_ref="remap_1d">
+           
+              <field_group operation="average" grid_ref="grid_out" >
+                <field field_ref="phis" level="1" />
+                <field field_ref="aire" level="1" operation="once" />
+                <field field_ref="contfracATM" level="1" operation="once" />
+                <field field_ref="contfracOR" level="1" />
+                <field field_ref="flat" level="1" />
+                <field field_ref="slp" level="1" />
+                <field field_ref="sza" level="1" />
+                <field field_ref="ptstar" level="1" />
+                <field field_ref="pt0" level="1" />
+                <field field_ref="tsol" level="1" />
+                <field field_ref="t2m" level="1" />
+                <field field_ref="t2m_min" level="1" operation="minimum" />
+                <field field_ref="t2m_max" level="1" operation="maximum" />
+                <field field_ref="t2m_ter" level="6" />
+                <field field_ref="t2m_lic" level="6" />
+                <field field_ref="t2m_oce" level="6" />
+                <field field_ref="t2m_sic" level="6" />
+                <field field_ref="gusts" level="1" />
+                <field field_ref="wind10m" level="1" />
+                <field field_ref="wind10max" level="1" operation="maximum" />
+                <field field_ref="sicf" level="1" />
+                <field field_ref="q2m" level="1" />
+                <field field_ref="ustar" level="1" />
+                <field field_ref="u10m" level="1" />
+                <field field_ref="v10m" level="1" />
+                <field field_ref="psol" level="1" />
+                <field field_ref="qsurf" level="10" />
+                <field field_ref="ustar_ter" level="6" />
+                <field field_ref="ustar_lic" level="6" />
+                <field field_ref="ustar_oce" level="6" />
+                <field field_ref="ustar_sic" level="6" />
+                <field field_ref="wstar_ter" level="6" />
+                <field field_ref="wstar_lic" level="6" />
+                <field field_ref="wstar_oce" level="6" />
+                <field field_ref="wstar_sic" level="6" />
+                <field field_ref="wstar" level="5" />
+                <field field_ref="u10m_ter" level="6" />
+                <field field_ref="u10m_lic" level="6" />
+                <field field_ref="u10m_oce" level="6" />
+                <field field_ref="u10m_sic" level="6" />
+                <field field_ref="v10m_ter" level="6" />
+                <field field_ref="v10m_lic" level="6" />
+                <field field_ref="v10m_oce" level="6" />
+                <field field_ref="v10m_sic" level="6" />
+                <field field_ref="qsol" level="10" />
+                <field field_ref="ndayrain" level="10" operation="instant" />
+                <field field_ref="precip" level="1" />
+                <field field_ref="rain_fall" level="1" />
+                <field field_ref="rain_con" level="1" />
+                <field field_ref="plul" level="1" />
+                <field field_ref="plun" level="1" />
+                <field field_ref="pluc" level="1" />
+                <field field_ref="snow" level="1" />
+                <field field_ref="evap" level="1" />
+                <field field_ref="evap_ter" level="6" />
+                <field field_ref="evap_lic" level="6" />
+                <field field_ref="evap_oce" level="6" />
+                <field field_ref="evap_sic" level="6" />
+                <field field_ref="msnow" level="10" />
+                <field field_ref="fsnow" level="10" />
+                <field field_ref="tops" level="1" />
+                <field field_ref="tops0" level="5" />
+                <field field_ref="topl" level="1" />
+                <field field_ref="topl0" level="5" />
+                <field field_ref="SWupTOA" level="4" />
+                <field field_ref="SWupTOAclr" level="4" />
+                <field field_ref="SWdnTOA" level="4" />
+                <field field_ref="SWdnTOAclr" level="4" />
+                <field field_ref="nettop" level="4" />
+                <field field_ref="SWup200" level="15" />
+                <field field_ref="SWup200clr" level="15" />
+                <field field_ref="SWdn200" level="15" />
+                <field field_ref="SWdn200clr" level="15" />
+                <field field_ref="LWup200" level="15" />
+                <field field_ref="LWup200clr" level="15" />
+                <field field_ref="LWdn200" level="15" />
+                <field field_ref="LWdn200clr" level="15" />
+                <field field_ref="sols" level="1" />
+                <field field_ref="sols0" level="5" />
+                <field field_ref="soll" level="1" />
+                <field field_ref="soll0" level="5" />
+                <field field_ref="radsol" level="7" />
+                <field field_ref="SWupSFC" level="4" />
+                <field field_ref="SWupSFCclr" level="4" />
+                <field field_ref="SWdnSFC" level="1" />
+                <field field_ref="SWdnSFCclr" level="4" />
+                <field field_ref="LWupSFC" level="4" />
+                <field field_ref="LWupSFCclr" level="4" />
+                <field field_ref="LWdnSFC" level="4" />
+                <field field_ref="LWdnSFCclr" level="4" />
+                <field field_ref="bils" level="2" />
+                <field field_ref="bils_tke" level="2" />
+                <field field_ref="bils_diss" level="2" />
+                <field field_ref="bils_ec" level="2" />
+                <field field_ref="bils_kinetic" level="2" />
+                <field field_ref="bils_enthalp" level="2" />
+                <field field_ref="bils_latent" level="2" />
+                <field field_ref="sens" level="1" />
+                <field field_ref="sens_x" level="11" />
+                <field field_ref="sens_w" level="11" />
+                <field field_ref="flat_x" level="11" />
+                <field field_ref="flat_w" level="11" />
+                <field field_ref="delta_tsurf" level="11" />
+                <field field_ref="cdragh_x" level="11" />
+                <field field_ref="cdragh_w" level="11" />
+                <field field_ref="cdragm_x" level="11" />
+                <field field_ref="cdragm_w" level="11" />
+                <field field_ref="kh" level="11" />
+                <field field_ref="kh_x" level="11" />
+                <field field_ref="kh_w" level="11" />
+                <field field_ref="fder" level="2" />
+                <field field_ref="ffonte" level="10" />
+                <field field_ref="fqcalving" level="10" />
+                <field field_ref="fqfonte" level="10" />
+                <field field_ref="mrroli" level="10" />
+                <field field_ref="runofflic" level="10" />
+                <field field_ref="taux" level="10" />
+                <field field_ref="tauy" level="10" />
+                <field field_ref="taux_ter" level="6" />
+                <field field_ref="taux_lic" level="6" />
+                <field field_ref="taux_oce" level="6" />
+                <field field_ref="taux_sic" level="6" />
+                <field field_ref="tauy_ter" level="6" />
+                <field field_ref="tauy_lic" level="6" />
+                <field field_ref="tauy_oce" level="6" />
+                <field field_ref="tauy_sic" level="6" />
+                <field field_ref="pourc_ter" level="7" />
+                <field field_ref="pourc_lic" level="7" />
+                <field field_ref="pourc_oce" level="7" />
+                <field field_ref="pourc_sic" level="7" />
+                <field field_ref="fract_ter" level="6" />
+                <field field_ref="fract_lic" level="6" />
+                <field field_ref="fract_oce" level="6" />
+                <field field_ref="fract_sic" level="6" />
+                <field field_ref="tsol_ter" level="6" />
+                <field field_ref="tsol_lic" level="6" />
+                <field field_ref="tsol_oce" level="6" />
+                <field field_ref="tsol_sic" level="6" />
+                <field field_ref="evappot_ter" level="6" />
+                <field field_ref="evappot_lic" level="6" />
+                <field field_ref="evappot_oce" level="6" />
+                <field field_ref="evappot_sic" level="6" />
+                <field field_ref="sens_ter" level="6" />
+                <field field_ref="sens_lic" level="6" />
+                <field field_ref="sens_oce" level="6" />
+                <field field_ref="sens_sic" level="6" />
+                <field field_ref="lat_ter" level="6" />
+                <field field_ref="lat_lic" level="6" />
+                <field field_ref="lat_oce" level="6" />
+                <field field_ref="lat_sic" level="6" />
+                <field field_ref="flw_ter" level="10" />
+                <field field_ref="flw_lic" level="10" />
+                <field field_ref="flw_oce" level="10" />
+                <field field_ref="flw_sic" level="10" />
+                <field field_ref="fsw_ter" level="10" />
+                <field field_ref="fsw_lic" level="10" />
+                <field field_ref="fsw_oce" level="10" />
+                <field field_ref="fsw_sic" level="10" />
+                <field field_ref="wbils_ter" level="10" />
+                <field field_ref="wbils_lic" level="10" />
+                <field field_ref="wbils_oce" level="10" />
+                <field field_ref="wbils_sic" level="10" />
+                <field field_ref="wbilo_ter" level="10" />
+                <field field_ref="wbilo_lic" level="10" />
+                <field field_ref="wbilo_oce" level="10" />
+                <field field_ref="wbilo_sic" level="10" />
+                <field field_ref="wevap_ter" level="10" />
+                <field field_ref="wevap_lic" level="10" />
+                <field field_ref="wevap_oce" level="10" />
+                <field field_ref="wevap_sic" level="10" />
+                <field field_ref="wrain_ter" level="10" />
+                <field field_ref="wrain_lic" level="10" />
+                <field field_ref="wrain_oce" level="10" />
+                <field field_ref="wrain_sic" level="10" />
+                <field field_ref="wsnow_ter" level="10" />
+                <field field_ref="wsnow_lic" level="10" />
+                <field field_ref="wsnow_oce" level="10" />
+                <field field_ref="wsnow_sic" level="10" />
+                <field field_ref="cdrm" level="10" />
+                <field field_ref="cdrh" level="10" />
+                <field field_ref="cldl" level="1" />
+                <field field_ref="cumCO2" level="5" />
+                <field field_ref="cldm" level="1" />
+                <field field_ref="cldh" level="1" />
+                <field field_ref="cldt" level="1" />
+                <field field_ref="cldq" level="1" />
+                <field field_ref="lwp" level="5" />
+                <field field_ref="iwp" level="5" />
+                <field field_ref="ue" level="10" />
+                <field field_ref="ve" level="10" />
+                <field field_ref="uq" level="10" />
+                <field field_ref="vq" level="10" />
+                <field field_ref="cape" level="10" />
+                <field field_ref="pbase" level="5" />
+                <field field_ref="ptop" level="5" />
+                <field field_ref="fbase" level="10" />
+                <field field_ref="plcl" level="10" />
+                <field field_ref="plfc" level="10" />
+                <field field_ref="wbeff" level="10" />
+                <field field_ref="convoccur" level="10" />
+                <field field_ref="prw" level="1" />
+                <field field_ref="prlw" level="1" />
+                <field field_ref="prsw" level="1" />
+                <field field_ref="s_pblh" level="10" />
+                <field field_ref="s_pblt" level="10" />
+                <field field_ref="s_lcl" level="10" />
+                <field field_ref="s_therm" level="10" />
+                <field field_ref="slab_bils_oce" level="1" />
+                <field field_ref="ale_bl" level="1" />
+                <field field_ref="alp_bl" level="1" />
+                <field field_ref="ale_wk" level="1" />
+                <field field_ref="alp_wk" level="1" />
+                <field field_ref="ale" level="1" />
+                <field field_ref="alp" level="1" />
+                <field field_ref="cin" level="1" />
+                <field field_ref="wape" level="1" />
+                <field field_ref="n2" level="1" />
+                <field field_ref="s2" level="1" />
+                <field field_ref="proba_notrig" level="1" />
+                <field field_ref="random_notrig" level="1" />
+                <field field_ref="cv_gen" level="1" />
+                <field field_ref="ale_bl_stat" level="1" />
+                <field field_ref="ale_bl_trig" level="1" />
+                <field field_ref="alp_bl_det" level="1" />
+                <field field_ref="alp_bl_fluct_m" level="1" />
+                <field field_ref="alp_bl_fluct_tke" level="1" />
+                <field field_ref="alp_bl_conv" level="1" />
+                <field field_ref="alp_bl_stat" level="1" />
+                <field field_ref="colO3_strat" level="6" />     <!-- Added ThL -->
+                <field field_ref="colO3_trop"  level="6" />     <!-- Added ThL -->
+
+                <field_group operation="average" detect_missing_value=".true.">
+                    <field field_ref="u850" level="10" />
+                    <field field_ref="u700" level="10" />
+                    <field field_ref="u500" level="10" />
+                    <field field_ref="u200" level="10" />
+                    <field field_ref="u100" level="10" />
+                    <field field_ref="u50" level="10" />
+                    <field field_ref="u10" level="10" />
+                    <field field_ref="v850" level="10" />
+                    <field field_ref="v700" level="10" />
+                    <field field_ref="v500" level="10" />
+                    <field field_ref="v200" level="10" />
+                    <field field_ref="v100" level="10" />
+                    <field field_ref="v50" level="10" />
+                    <field field_ref="v10" level="10" />
+                    <field field_ref="w850" level="10" />
+                    <field field_ref="w700" level="10" />
+                    <field field_ref="w500" level="10" />
+                    <field field_ref="w200" level="10" />
+                    <field field_ref="w100" level="10" />
+                    <field field_ref="w50" level="10" />
+                    <field field_ref="w10" level="10" />
+                    <field field_ref="t850" level="10" />
+                    <field field_ref="t700" level="10" />
+                    <field field_ref="t500" level="10" />
+                    <field field_ref="t200" level="10" />
+                    <field field_ref="t100" level="10" />
+                    <field field_ref="t50" level="10" />
+                    <field field_ref="t10" level="10" />
+                    <field field_ref="q850" level="10" />
+                    <field field_ref="q700" level="10" />
+                    <field field_ref="q500" level="10" />
+                    <field field_ref="q200" level="10" />
+                    <field field_ref="q100" level="10" />
+                    <field field_ref="q50" level="10" />
+                    <field field_ref="q10" level="10" />
+                    <field field_ref="z850" level="10" />
+                    <field field_ref="z700" level="10" />
+                    <field field_ref="z500" level="10" />
+                    <field field_ref="z200" level="10" />
+                    <field field_ref="z100" level="10" />
+                    <field field_ref="z50" level="10" />
+                    <field field_ref="z10" level="10" />
+                </field_group>
+
+                <field field_ref="t_oce_sic" level="10" />
+                <field field_ref="weakinv" level="1" />
+                <field field_ref="dthmin" level="1" />
+                <field field_ref="u10_ter" level="4" />
+                <field field_ref="u10_lic" level="4" />
+                <field field_ref="u10_oce" level="4" />
+                <field field_ref="u10_sic" level="4" />
+                <field field_ref="v10_ter" level="4" />
+                <field field_ref="v10_lic" level="4" />
+                <field field_ref="v10_oce" level="4" />
+                <field field_ref="v10_sic" level="4" />
+                <field field_ref="rh2m" level="5" />
+                <field field_ref="rh2m_min" level="5" operation="minimum" />
+                <field field_ref="rh2m_max" level="5" operation="maximum" />
+                <field field_ref="qsat2m" level="5" />
+                <field field_ref="tpot" level="5" />
+                <field field_ref="tpote" level="5" />
+                <field field_ref="SWnetOR" level="10" />
+                <field field_ref="SWdownOR" level="10" />
+                <field field_ref="LWdownOR" level="10" />
+                <field field_ref="snowl" level="1" />
+                <field field_ref="cape_max" level="1" operation="maximum" />
+                <field field_ref="solldown" level="1" />
+                <field field_ref="dtsvdfo" level="10" />
+                <field field_ref="dtsvdft" level="10" />
+                <field field_ref="dtsvdfg" level="10" />
+                <field field_ref="dtsvdfi" level="10" />
+                <field field_ref="rugs" level="10" />
+                <field field_ref="z0m" level="10" />
+                <field field_ref="z0h" level="10" />
+                <field field_ref="topswad" level="1" />
+                <field field_ref="topswad0" level="1" />
+                <field field_ref="topswai" level="10" />
+                <field field_ref="solswad" level="10" />
+                <field field_ref="solswad0" level="10" />
+                <field field_ref="solswai" level="10" />
+                <field field_ref="toplwad" level="1" />
+                <field field_ref="toplwad0" level="1" />
+                <field field_ref="toplwai" level="10" />
+                <field field_ref="sollwad" level="10" />
+                <field field_ref="sollwad0" level="10" />
+                <field field_ref="sollwai" level="10" />
+                <field field_ref="od550_ASBCM" level="6" />
+                <field field_ref="od550_ASPOMM" level="6" />
+                <field field_ref="od550_ASSO4M" level="6" />
+                <field field_ref="od550_CSSO4M" level="6" />
+                <field field_ref="od550_SSSSM" level="6" />
+                <field field_ref="od550_ASSSM" level="6" />
+                <field field_ref="od550_CSSSM" level="6" />
+                <field field_ref="od550_CIDUSTM" level="6" />
+                <field field_ref="od550_AIBCM" level="6" />
+                <field field_ref="od550_AIPOMM" level="6" />
+                <field field_ref="od550_ASNO3M" level="6" />
+                <field field_ref="od550_CSNO3M" level="6" />
+                <field field_ref="od550_CINO3M" level="6" />
+                <field field_ref="od550_STRAT" level="2" />
+                <field field_ref="od550aer" level="6" />
+                <field field_ref="dryod550aer" level="6" />
+                <field field_ref="od865aer" level="6" />
+                <field field_ref="abs550aer" level="6" />
+                <field field_ref="od550lt1aer" level="6" />
+                <field field_ref="sconcso4" level="6" />
+                <field field_ref="sconcoa" level="6" />
+                <field field_ref="sconcbc" level="6" />
+                <field field_ref="sconcss" level="6" />
+                <field field_ref="sconcdust" level="6" />
+                <field field_ref="sconcno3" level="6" />
+                <field field_ref="loadso4" level="6" />
+                <field field_ref="loadoa" level="6" />
+                <field field_ref="loadbc" level="6" />
+                <field field_ref="loadss" level="6" />
+                <field field_ref="loaddust" level="6" />
+                <field field_ref="loadno3" level="6" />
+                <field field_ref="swtoaas_nat" level="6" />
+                <field field_ref="swsrfas_nat" level="6" />
+                <field field_ref="swtoacs_nat" level="6" />
+                <field field_ref="swsrfcs_nat" level="6" />
+                <field field_ref="swtoaas_ant" level="6" />
+                <field field_ref="swsrfas_ant" level="6" />
+                <field field_ref="swtoacs_ant" level="6" />
+                <field field_ref="swsrfcs_ant" level="6" />
+                <field field_ref="swtoacf_nat" level="6" />
+                <field field_ref="swsrfcf_nat" level="6" />
+                <field field_ref="swtoacf_ant" level="6" />
+                <field field_ref="swsrfcf_ant" level="6" />
+                <field field_ref="swtoacf_zero" level="6" />
+                <field field_ref="swsrfcf_zero" level="6" />
+                <field field_ref="cldncl" level="6" />
+                <field field_ref="reffclwtop" level="6" />
+                <field field_ref="cldnvi" level="6" />
+                <field field_ref="lcc" level="6" />
+                <field field_ref="wvapp" level="10" />
+                <field field_ref="albe_ter" level="7" />
+                <field field_ref="albe_lic" level="7" />
+                <field field_ref="albe_oce" level="7" />
+                <field field_ref="albe_sic" level="7" />
+                <field field_ref="ages_ter" level="10" />
+                <field field_ref="ages_lic" level="10" />
+                <field field_ref="ages_oce" level="10" />
+                <field field_ref="ages_sic" level="10" />
+                <field field_ref="snow_ter" level="10" />
+                <field field_ref="snow_lic" level="10" />
+                <field field_ref="snow_oce" level="10" />
+                <field field_ref="snow_sic" level="10" />
+                <field field_ref="rugs_ter" level="6" />
+                <field field_ref="rugs_lic" level="6" />
+                <field field_ref="rugs_oce" level="6" />
+                <field field_ref="rugs_sic" level="6" />
+                <field field_ref="z0m_ter" level="6" />
+                <field field_ref="z0m_lic" level="6" />
+                <field field_ref="z0m_oce" level="6" />
+                <field field_ref="z0m_sic" level="6" />
+                <field field_ref="z0h_ter" level="6" />
+                <field field_ref="z0h_lic" level="6" />
+                <field field_ref="z0h_oce" level="6" />
+                <field field_ref="z0h_sic" level="6" />
+                <field field_ref="alb1" level="10" />
+                <field field_ref="alb2" level="10" />
+                <field field_ref="ftime_con" level="10" operation="instant" />
+                <field field_ref="wake_h" level="5" />
+                <field field_ref="wake_dens" level="5" />
+                <field field_ref="wake_s" level="5" />
+                <field field_ref="epmax" level="10" />
+                <field field_ref="plulth" level="10" />
+                <field field_ref="plulst" level="10" />
+                <field field_ref="lmaxth" level="10" />
+                <field field_ref="ftime_th" level="10" />
+                <field field_ref="ftime_deepcv" level="10" />
+                <field field_ref="f0_th" level="10" />
+                <field field_ref="zmax_th" level="4" />
+                <field field_ref="rsut4co2" level="10" />
+                <field field_ref="rlut4co2" level="10" />
+                <field field_ref="rsutcs4co2" level="10" />
+                <field field_ref="rlutcs4co2" level="10" />
+                <field field_ref="dqphy2d" level="10" />
+                <field field_ref="dqlphy2d" level="10" />
+                <field field_ref="dqsphy2d" level="10" />
+                <field field_ref="dqdyn2d" level="10" />
+                <field field_ref="dqldyn2d" level="10" />
+                <field field_ref="dqsdyn2d" level="10" />
+                <field field_ref="dqcon2d" level="10" />
+                <field field_ref="dqwak2d" level="10" />
+                <field field_ref="dqlsc2d" level="10" />
+                <field field_ref="dqvdf2d" level="10" />
+                <field field_ref="dqeva2d" level="10" />
+                <field field_ref="dqlscth2d" level="10" />
+                <field field_ref="dqlscst2d" level="10" />
+                <field field_ref="dqthe2d" level="10" />
+                <field field_ref="dqajs2d" level="10" />
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_presnivs">
+                <field field_ref="CO2" level="5" />
+                <field field_ref="dCO2_vdf" level="5" />
+                <field field_ref="dCO2_the" level="5" />
+                <field field_ref="dCO2_con" level="5" />
+                <field field_ref="cldtau" level="5" />
+                <field field_ref="cldemi" level="5" />
+                <field field_ref="tke_max" level="10" operation="maximum" />
+                <field field_ref="kz" level="10" />
+                <field field_ref="kz_max" level="10" operation="maximum" />
+                <field field_ref="concso4" level="6" />
+                <field field_ref="concoa" level="6" />
+                <field field_ref="concbc" level="6" />
+                <field field_ref="concss" level="6" />
+                <field field_ref="concdust" level="6" />
+                <field field_ref="concno3" level="6" />
+                <field field_ref="ec550aer" level="6" />
+                <field field_ref="lwcon" level="5" />
+                <field field_ref="iwcon" level="5" />
+                <field field_ref="temp" level="3" />
+                <field field_ref="theta" level="3" />
+                <field field_ref="ovap" level="3" />
+                <field field_ref="ovapinit" level="10" />
+                <field field_ref="oliq" level="3" />
+                <field field_ref="ocond" level="3" />
+                <field field_ref="geop" level="3" />
+                <field field_ref="geoph" level="3" />
+                <field field_ref="vitu" level="3" />
+                <field field_ref="vitv" level="3" />
+                <field field_ref="vitw" level="3" />
+                <field field_ref="pres" level="3" />
+                <field field_ref="paprs" level="3" />
+                <field field_ref="mass" level="3" />
+                <field field_ref="zfull" level="3" />
+                <field field_ref="zhalf" level="3" />
+                <field field_ref="rneb" level="5" />
+                <field field_ref="rnebcon" level="5" />
+                <field field_ref="rnebls" level="5" />
+                <field field_ref="rneblsvol" level="5" />
+                <field field_ref="rhum" level="5" />
+                <field field_ref="ozone" level="10" />
+                <field field_ref="upwd" level="10" />
+                <field field_ref="ep" level="10" />
+                <field field_ref="duphy" level="10" />
+                <field field_ref="dtphy" level="10" />
+                <field field_ref="dqphy" level="10" />
+                <field field_ref="dqlphy" level="10" />
+                <field field_ref="dqsphy" level="10" />
+                <field field_ref="pr_con_l" level="10" />
+                <field field_ref="pr_con_i" level="10" />
+                <field field_ref="pr_lsc_l" level="10" />
+                <field field_ref="pr_lsc_i" level="10" />
+                <field field_ref="re" level="10" />
+                <field field_ref="fl" level="10" />
+                <field field_ref="scdnc" level="6" />
+                <field field_ref="reffclws" level="6" />
+                <field field_ref="reffclwc" level="6" />
+                <field field_ref="lcc3d" level="6" />
+                <field field_ref="lcc3dcon" level="6" />
+                <field field_ref="lcc3dstra" level="6" />
+                <field field_ref="cldwatmxrat" level="6" />
+                <field field_ref="icc3dcon" level="6" />
+                <field field_ref="icc3dstra" level="6" />
+                <field field_ref="cldicemxrat" level="6" />
+                <field field_ref="clwcon" level="10" />
+                <field field_ref="Ma" level="10" />
+                <field field_ref="dnwd" level="10" />
+                <field field_ref="dnwd0" level="10" />
+                <field field_ref="mc" level="5" />
+                <field field_ref="dtdyn" level="10" />
+                <field field_ref="dqdyn" level="10" />
+                <field field_ref="dqldyn" level="10" />
+                <field field_ref="dqsdyn" level="10" />
+                <field field_ref="dudyn" level="10" />
+                <field field_ref="dvdyn" level="10" />
+                <field field_ref="dtcon" level="10" />
+                <field field_ref="ducon" level="10" />
+                <field field_ref="dvcon" level="10" />
+                <field field_ref="dqcon" level="10" />
+                <field field_ref="dtwak" level="5" />
+                <field field_ref="dqwak" level="5" />
+                <field field_ref="wake_deltat" level="5" />
+                <field field_ref="wake_deltaq" level="5" />
+                <field field_ref="wake_omg" level="5" />
+                <field field_ref="wdtrainA" level="1" />
+                <field field_ref="wdtrainM" level="1" />
+                <field field_ref="Vprecip" level="10" />
+                <field field_ref="ftd" level="5" />
+                <field field_ref="fqd" level="5" />
+                <field field_ref="dtlsc" level="10" />
+                <field field_ref="dtlschr" level="10" />
+                <field field_ref="dqlsc" level="10" />
+                <field field_ref="beta_prec" level="10" />
+                <field field_ref="dtvdf" level="10" />
+                <field field_ref="dtvdf_x" level="11" />
+                <field field_ref="dtvdf_w" level="11" />
+                <field field_ref="dtdis" level="10" />
+                <field field_ref="dqvdf" level="10" />
+                <field field_ref="dqvdf_x" level="11" />
+                <field field_ref="dqvdf_w" level="11" />
+                <field field_ref="dteva" level="10" />
+                <field field_ref="dqeva" level="10" />
+                <field field_ref="dqlscth" level="10" />
+                <field field_ref="dqlscst" level="10" />
+                <field field_ref="dtlscth" level="10" />
+                <field field_ref="dtlscst" level="10" />
+                <field field_ref="ptconvth" level="10" />
+                <field field_ref="ptconv" level="10" />
+                <field field_ref="ratqs" level="10" />
+                <field field_ref="dtthe" level="10" />
+                <field field_ref="f_th" level="10" />
+                <field field_ref="e_th" level="10" />
+                <field field_ref="w_th" level="10" />
+                <field field_ref="lambda_th" level="10" />
+                <field field_ref="q_th" level="10" />
+                <field field_ref="a_th" level="10" />
+                <field field_ref="s_th" level="10" />
+                <field field_ref="s_env" level="10" />
+                <field field_ref="sigma_th" level="10" />
+                <field field_ref="sigma_env" level="10" />
+                <field field_ref="d_th" level="10" />
+                <field field_ref="dqthe" level="10" />
+                <field field_ref="dtajs" level="10" />
+                <field field_ref="dqajs" level="10" />
+                <field field_ref="dtswr" level="10" />
+                <field field_ref="dtsw0" level="10" />
+                <field field_ref="dtlwr" level="10" />
+                <field field_ref="dtlw0" level="10" />
+                <field field_ref="dtec" level="10" />
+                <field field_ref="duvdf" level="10" />
+                <field field_ref="dvvdf" level="10" />
+                <field field_ref="duoro" level="10" />
+                <field field_ref="dvoro" level="10" />
+                <field field_ref="dulif" level="10" />
+                <field field_ref="dvlif" level="10" />
+                <field field_ref="du_gwd_hines" level="10" />
+                <field field_ref="dv_gwd_hines" level="10" />
+                <field field_ref="du_gwd_front" level="10" />
+                <field field_ref="dv_gwd_front" level="10" />
+                <field field_ref="east_gwstress" level="10" />
+                <field field_ref="west_gwstress" level="10" />
+                <field field_ref="dtoro" level="10" />
+                <field field_ref="dtlif" level="10" />
+                <field field_ref="dthin" level="10" />
+                <field field_ref="rsu" level="10" />
+                <field field_ref="rsd" level="10" />
+                <field field_ref="rlu" level="10" />
+                <field field_ref="rld" level="10" />
+                <field field_ref="rsucs" level="10" />
+                <field field_ref="rsdcs" level="10" />
+                <field field_ref="rlucs" level="10" />
+                <field field_ref="rldcs" level="10" />
+                <field field_ref="tnt" level="10" />
+                <field field_ref="tntc" level="10" />
+                <field field_ref="tntr" level="10" />
+                <field field_ref="tntscpbl" level="10" />
+                <field field_ref="tnhus" level="10" />
+                <field field_ref="tnhusc" level="10" />
+                <field field_ref="tnhusscpbl" level="10" />
+                <field field_ref="evu" level="10" />
+                <field field_ref="h2o" level="10" />
+                <field field_ref="mcd" level="10" />
+                <field field_ref="dmc" level="10" />
+                <field field_ref="ref_liq" level="10" />
+                <field field_ref="ref_ice" level="10" />
+                <field field_ref="rsu4co2" level="10" />
+                <field field_ref="rlu4co2" level="10" />
+                <field field_ref="rsucs4co2" level="10" />
+                <field field_ref="rlucs4co2" level="10" />
+                <field field_ref="rsd4co2" level="10" />
+                <field field_ref="rld4co2" level="10" />
+                <field field_ref="rsdcs4co2" level="10" />
+                <field field_ref="rldcs4co2" level="10" />
+                <field field_ref="treedrg_ter" level="6" />
+                <field field_ref="treedrg_lic" level="6" />
+                <field field_ref="treedrg_oce" level="6" />
+                <field field_ref="treedrg_sic" level="6" />
+                <field field_ref="tke" level="10" />
+                <field field_ref="tke_ter" level="4" />
+                <field field_ref="tke_lic" level="4" />
+                <field field_ref="tke_oce" level="4" />
+                <field field_ref="tke_sic" level="4" />
+                <field field_ref="tke_max_ter" level="4" operation="maximum" />
+                <field field_ref="tke_max_lic" level="4" operation="maximum" />
+                <field field_ref="tke_max_oce" level="4" operation="maximum" />
+                <field field_ref="tke_max_sic" level="4" operation="maximum" />
+                <field field_ref="l_mix_ter" level="10" />
+                <field field_ref="l_mix_lic" level="10" />
+                <field field_ref="l_mix_oce" level="10" />
+                <field field_ref="l_mix_sic" level="10" />
+                <field field_ref="l_mixmin_ter" level="10" />
+                <field field_ref="l_mixmin_lic" level="10" />
+                <field field_ref="l_mixmin_oce" level="10" />
+                <field field_ref="l_mixmin_sic" level="10" />
+                <field field_ref="ozone_daylight" level="10" />
+            </field_group>
+            
+          </field_group>
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdaystrataer_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdaystrataer_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histdaystrataer_lmdz.xml	(revision 5499)
@@ -0,0 +1,13 @@
+<file_definition>
+    <file_group id="defile">
+        <file id="histdaystrataer" name="histdaystrataer" output_freq="1d" output_level="5" enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <field_group group_ref="fields_strataer_3D" operation="average" freq_op="1ts" level="1" />
+            <field_group group_ref="fields_strataer_2D" operation="average" freq_op="1ts" level="1" />
+            <field_group group_ref="fields_strataer_trac_3D" operation="average" freq_op="1ts" level="1" />
+            <field_group group_ref="fields_strataer_trac_2D" operation="average" freq_op="1ts" level="1" />
+            
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhfCOSP_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhfCOSP_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhfCOSP_lmdz.xml	(revision 5499)
@@ -0,0 +1,101 @@
+<file_definition>
+     <file_group id="defile">
+        <file id="histhfCOSP" name="histhfCOSP" output_freq="3h" output_level="0"  enabled=".TRUE." compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+            <!-- VARS Calipso and PARASOL -->
+            <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="cllcalipso"         level="5" />
+                <field field_ref="clmcalipso"         level="5" />
+                <field field_ref="clhcalipso"         level="5" />
+                <field field_ref="cltcalipso"         level="5" />
+                <field field_ref="pcllcalipso"         level="5" />
+                <field field_ref="pclmcalipso"         level="5" />
+                <field field_ref="pclhcalipso"         level="5" />
+                <field field_ref="pcltcalipso"         level="5" />
+                <field field_ref="cllcalipsoice"         level="5" />
+                <field field_ref="clmcalipsoice"         level="5" />
+                <field field_ref="clhcalipsoice"         level="5" />
+                <field field_ref="cltcalipsoice"         level="5" />
+                <field field_ref="cllcalipsoliq"         level="5" />
+                <field field_ref="clmcalipsoliq"         level="5" />
+                <field field_ref="clhcalipsoliq"         level="5" />
+                <field field_ref="cltcalipsoliq"         level="5" />
+                <field field_ref="cllcalipsoun"         level="5" />
+                <field field_ref="clmcalipsoun"         level="5" />
+                <field field_ref="clhcalipsoun"         level="5" />
+                <field field_ref="cltcalipsoun"         level="5" />
+                <field field_ref="clcalipso"  level="5" />
+                <field field_ref="clcalipsoice"  level="5" />
+                <field field_ref="clcalipsoliq"  level="5" />
+                <field field_ref="clcalipsoun"  level="5" />
+                <field field_ref="clcalipsotmp"  level="5" />
+                <field field_ref="clcalipsotmpice"  level="5" />
+                <field field_ref="clcalipsotmpliq"  level="5" />
+                <field field_ref="clcalipsotmpun"  level="5" />
+                <field field_ref="parasol_refl"  level="5" />
+                <field field_ref="parasol_crefl"  level="5" />
+                <field field_ref="Ncrefl"  level="5" />
+       		    <field field_ref="cfad_lidarsr532"  level="10" />
+                <field field_ref="atb532" level="10" />
+                <field field_ref="beta_mol532" level="10" />
+                <field field_ref="clopaquecalipso"       level="10" />
+                <field field_ref="clthincalipso"         level="10" />
+                <field field_ref="clzopaquecalipso"      level="10" />
+                <field field_ref="clcalipsoopaque"   level="10" />
+                <field field_ref="clcalipsothin"     level="10" />
+                <field field_ref="clcalipsozopaque"  level="10" />
+                <field field_ref="clcalipsoopacity"  level="10" />
+                <field field_ref="proftemp"  level="5" />
+                <field field_ref="profSR"  level="5" />
+              </field_group>
+             <!-- VARS CLOUDSAT et/ou Calipso -->
+            <field_group operation="instant" freq_op="3h" detect_missing_value=".true."> 
+               <field field_ref="cltlidarradar"  level="5"/>
+               <field field_ref="clcalipso2"  level="5" />
+               <field field_ref="cfadDbze94"  level="10" />
+               <field field_ref="dbze94" level="10" />
+              </field_group>
+             <!-- VARS ISCCP -->
+            <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="sunlit" level="5" />
+                <field field_ref="clisccp2" level="5" />
+                <field field_ref="boxtauisccp" level="5" />
+                <field field_ref="boxptopisccp" level="5" />
+                <field field_ref="tclisccp" level="5" />
+                <field field_ref="ctpisccp" level="5" />
+                <field field_ref="tauisccp" level="5" /> 
+                <field field_ref="albisccp" level="5" />
+                <field field_ref="meantbisccp" level="10" />
+                <field field_ref="meantbclrisccp" level="10" />
+             </field_group>
+             <!-- VARS MISR -->
+            <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="clMISR" level="5" />
+            </field_group>
+            <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="cllmodis" level="5" />
+                <field field_ref="clmmodis" level="5" />
+                <field field_ref="clhmodis" level="5" />
+                <field field_ref="cltmodis" level="5" />
+                <field field_ref="clwmodis" level="5" />
+                <field field_ref="climodis" level="5" />
+                <field field_ref="tautmodis" level="5" />
+                <field field_ref="tauwmodis" level="5" />
+                <field field_ref="tauimodis" level="5" />
+                <field field_ref="tautlogmodis" level="5" />
+                <field field_ref="tauilogmodis" level="5" />
+                <field field_ref="tauwlogmodis" level="5" />
+                <field field_ref="reffclwmodis" level="5" />
+                <field field_ref="reffclimodis" level="5" />
+                <field field_ref="pctmodis"  level="5" />
+                <field field_ref="lwpmodis" level="5" />
+                <field field_ref="iwpmodis" level="5" />
+                <field field_ref="clmodis" level="5" />
+                <field field_ref="crimodis" level="10" />
+                <field field_ref="crlmodis" level="10" />
+            </field_group>
+
+        </file>
+     </file_group>
+</file_definition>
+   
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhfNMC_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhfNMC_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhfNMC_lmdz.xml	(revision 5499)
@@ -0,0 +1,35 @@
+<!-- $Id$ -->
+<file_definition>
+    <file_group id="defile">
+        <file id="histhfNMC" name="histhfNMC" output_freq="6h" output_level="0" enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <field_group group_ref="remap_6h">
+
+            <!-- VARS 3D -->
+              <field_group operation="instant" grid_ref="grid_out_plev" detect_missing_value=".true.">
+<!--            <field field_ref="tnondef" level="5" />  -->
+                <field field_ref="ta" level="1" />
+                <field field_ref="zg" level="5" />
+                <field field_ref="hus" level="5" />
+                <field field_ref="hur" level="5" />
+                <field field_ref="ua" level="5" />
+                <field field_ref="va" level="5" />
+                <field field_ref="wap" level="5" />
+<!--            <field field_ref="psbg" level="5" /> -->
+                <field field_ref="tro3" level="5" />
+                <field field_ref="tro3_daylight" level="5" />
+                <field field_ref="uv" level="6" />
+                <!-- <field field_ref="vq" level="6" /> -->
+                <field field_ref="vT" level="6" />
+                <field field_ref="wq" level="6" />
+                <field field_ref="vphi" level="6" />
+                <field field_ref="wT" level="6" />
+                <field field_ref="u2" level="6" />
+                <field field_ref="v2" level="6" />
+                <field field_ref="T2" level="6" />
+              </field_group>
+            </field_group>
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhf_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhf_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histhf_lmdz.xml	(revision 5499)
@@ -0,0 +1,668 @@
+<!-- $Id$ -->
+<file_definition>
+    <file_group id="defile">
+        <file id="histhf" name="histhf" output_freq="3h" output_level="0" enabled="FALSE" compression_level="2" sync_freq="3h">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+            
+            <!-- VARS 1D -->
+<!--            <field_group operation="once"> -->
+<!--              <field field_ref="Ap" level="1" /> -->
+<!--              <field field_ref="Bp" level="1" /> -->
+<!--              <field field_ref="Alt" level="1" /> -->
+<!--            </field_group> -->
+        
+            <!-- VARS 2D -->
+            <field_group group_ref="remap_3h" >
+              <field_group grid_ref="grid_out" > 
+                <field field_ref="phis" level="10" />
+                <field field_ref="aire" level="10" operation="once" />
+                <field field_ref="contfracATM" level="5" operation="once" />
+                <field field_ref="contfracOR" level="5" />
+                <field field_ref="flat" level="10" />
+                <field field_ref="slp" level="10" />
+                <field field_ref="sza" level="10" />
+                <field field_ref="ptstar" level="10" />
+                <field field_ref="pt0" level="10" />
+                <field field_ref="tsol" level="10" />
+                <field field_ref="t2m" level="5" />
+                <field field_ref="t2m_min" level="10" operation="minimum" />
+                <field field_ref="t2m_max" level="10" operation="maximum" />
+                <field field_ref="t2m_ter" level="10" />
+                <field field_ref="t2m_lic" level="10" />
+                <field field_ref="t2m_oce" level="10" />
+                <field field_ref="t2m_sic" level="10" />
+                <field field_ref="gusts" level="10" />
+                <field field_ref="wind10m" level="10" />
+                <field field_ref="wind100m" level="10" />
+                <field field_ref="wind10max" level="10" operation="maximum" />
+                <field field_ref="sicf" level="10" />
+                <field field_ref="q2m" level="5" />
+                <field field_ref="ustar" level="10" />
+                <field field_ref="u10m" level="5" />
+                <field field_ref="v10m" level="5" />
+                <field field_ref="psol" level="5" />
+                <field field_ref="qsurf" level="5" />
+                <field field_ref="ustar_ter" level="10" />
+                <field field_ref="ustar_lic" level="10" />
+                <field field_ref="ustar_oce" level="10" />
+                <field field_ref="ustar_sic" level="10" />
+                <field field_ref="wstar_ter" level="10" />
+                <field field_ref="wstar_lic" level="10" />
+                <field field_ref="wstar_oce" level="10" />
+                <field field_ref="wstar_sic" level="10" />
+                <field field_ref="wstar" level="10" />
+                <field field_ref="u10m_ter" level="10" />
+                <field field_ref="u10m_lic" level="10" />
+                <field field_ref="u10m_oce" level="10" />
+                <field field_ref="u10m_sic" level="10" />
+                <field field_ref="v10m_ter" level="10" />
+                <field field_ref="v10m_lic" level="10" />
+                <field field_ref="v10m_oce" level="10" />
+                <field field_ref="v10m_sic" level="10" />
+                <field field_ref="qsol" level="10" />
+                <field field_ref="ndayrain" level="10" operation="instant" />
+                <field field_ref="precip" level="5" />
+                <field field_ref="rain_fall" level="10" />
+                <field field_ref="rain_con" level="10" />
+                <field field_ref="plul" level="10" />
+                <field field_ref="plun" level="10" />
+                <field field_ref="pluc" level="10" />
+                <field field_ref="snow" level="5" />
+                <field field_ref="evap" level="10" />
+                <field field_ref="evap_ter" level="10" />
+                <field field_ref="evap_lic" level="10" />
+                <field field_ref="evap_oce" level="10" />
+                <field field_ref="evap_sic" level="10" />
+                <field field_ref="msnow" level="10" />
+                <field field_ref="fsnow" level="10" />
+                <field field_ref="tops" level="10" />
+                <field field_ref="tops0" level="10" />
+                <field field_ref="topl" level="10" />
+                <field field_ref="topl0" level="10" />
+                <field field_ref="SWupTOA" level="10" />
+                <field field_ref="SWupTOAclr" level="10" />
+                <field field_ref="SWdnTOA" level="10" />
+                <field field_ref="SWdnTOAclr" level="10" />
+                <field field_ref="nettop" level="10" />
+                <field field_ref="SWup200" level="15" />
+                <field field_ref="SWup200clr" level="15" />
+                <field field_ref="SWdn200" level="15" />
+                <field field_ref="SWdn200clr" level="15" />
+                <field field_ref="LWup200" level="15" />
+                <field field_ref="LWup200clr" level="15" />
+                <field field_ref="LWdn200" level="15" />
+                <field field_ref="LWdn200clr" level="15" />
+                <field field_ref="sols" level="10" />
+                <field field_ref="sols0" level="10" />
+                <field field_ref="soll" level="10" />
+                <field field_ref="soll0" level="10" />
+                <field field_ref="radsol" level="10" />
+                <field field_ref="SWupSFC" level="10" />
+                <field field_ref="SWupSFCclr" level="10" />
+                <field field_ref="SWdnSFC" level="10" />
+                <field field_ref="SWdnSFCclr" level="10" />
+                <field field_ref="LWupSFC" level="10" />
+                <field field_ref="LWupSFCclr" level="10" />
+                <field field_ref="LWdnSFC" level="10" />
+                <field field_ref="LWdnSFCclr" level="10" />
+                <field field_ref="bils" level="10" />
+                <field field_ref="bils_tke" level="10" />
+                <field field_ref="bils_diss" level="10" />
+                <field field_ref="bils_ec" level="10" />
+                <field field_ref="bils_kinetic" level="10" />
+                <field field_ref="bils_enthalp" level="10" />
+                <field field_ref="bils_latent" level="10" />
+                <field field_ref="sens" level="10" />
+                <field field_ref="sens_x" level="11" />
+                <field field_ref="sens_w" level="11" />
+                <field field_ref="flat_x" level="11" />
+                <field field_ref="flat_w" level="11" />
+                <field field_ref="delta_tsurf" level="11" />
+                <field field_ref="cdragh_x" level="11" />
+                <field field_ref="cdragh_w" level="11" />
+                <field field_ref="cdragm_x" level="11" />
+                <field field_ref="cdragm_w" level="11" />
+                <field field_ref="kh" level="11" />
+                <field field_ref="kh_x" level="11" />
+                <field field_ref="kh_w" level="11" />
+                <field field_ref="fder" level="10" />
+                <field field_ref="ffonte" level="10" />
+                <field field_ref="fqcalving" level="10" />
+                <field field_ref="fqfonte" level="10" />
+                <field field_ref="mrroli" level="10" />
+                <field field_ref="runofflic" level="10" />
+                <field field_ref="taux" level="10" />
+                <field field_ref="tauy" level="10" />
+                <field field_ref="taux_ter" level="10" />
+                <field field_ref="taux_lic" level="10" />
+                <field field_ref="taux_oce" level="10" />
+                <field field_ref="taux_sic" level="10" />
+                <field field_ref="tauy_ter" level="10" />
+                <field field_ref="tauy_lic" level="10" />
+                <field field_ref="tauy_oce" level="10" />
+                <field field_ref="tauy_sic" level="10" />
+                <field field_ref="pourc_ter" level="10" />
+                <field field_ref="pourc_lic" level="10" />
+                <field field_ref="pourc_oce" level="10" />
+                <field field_ref="pourc_sic" level="10" />
+                <field field_ref="fract_ter" level="10" />
+                <field field_ref="fract_lic" level="10" />
+                <field field_ref="fract_oce" level="10" />
+                <field field_ref="fract_sic" level="10" />
+                <field field_ref="tsol_ter" level="10" />
+                <field field_ref="tsol_lic" level="10" />
+                <field field_ref="tsol_oce" level="10" />
+                <field field_ref="tsol_sic" level="10" />
+                <field field_ref="evappot_ter" level="10" />
+                <field field_ref="evappot_lic" level="10" />
+                <field field_ref="evappot_oce" level="10" />
+                <field field_ref="evappot_sic" level="10" />
+                <field field_ref="sens_ter" level="7" />
+                <field field_ref="sens_lic" level="7" />
+                <field field_ref="sens_oce" level="7" />
+                <field field_ref="sens_sic" level="7" />
+                <field field_ref="lat_ter" level="7" />
+                <field field_ref="lat_lic" level="7" />
+                <field field_ref="lat_oce" level="7" />
+                <field field_ref="lat_sic" level="7" />
+                <field field_ref="flw_ter" level="10" />
+                <field field_ref="flw_lic" level="10" />
+                <field field_ref="flw_oce" level="10" />
+                <field field_ref="flw_sic" level="10" />
+                <field field_ref="fsw_ter" level="10" />
+                <field field_ref="fsw_lic" level="10" />
+                <field field_ref="fsw_oce" level="10" />
+                <field field_ref="fsw_sic" level="10" />
+                <field field_ref="wbils_ter" level="10" />
+                <field field_ref="wbils_lic" level="10" />
+                <field field_ref="wbils_oce" level="10" />
+                <field field_ref="wbils_sic" level="10" />
+                <field field_ref="wbilo_ter" level="10" />
+                <field field_ref="wbilo_lic" level="10" />
+                <field field_ref="wbilo_oce" level="10" />
+                <field field_ref="wbilo_sic" level="10" />
+                <field field_ref="wevap_ter" level="10" />
+                <field field_ref="wevap_lic" level="10" />
+                <field field_ref="wevap_oce" level="10" />
+                <field field_ref="wevap_sic" level="10" />
+                <field field_ref="wrain_ter" level="10" />
+                <field field_ref="wrain_lic" level="10" />
+                <field field_ref="wrain_oce" level="10" />
+                <field field_ref="wrain_sic" level="10" />
+                <field field_ref="wsnow_ter" level="10" />
+                <field field_ref="wsnow_lic" level="10" />
+                <field field_ref="wsnow_oce" level="10" />
+                <field field_ref="wsnow_sic" level="10" />
+                <field field_ref="cdrm" level="10" />
+                <field field_ref="cdrh" level="7" />
+                <field field_ref="cldl" level="10" />
+                <field field_ref="cldm" level="10" />
+                <field field_ref="cldh" level="10" />
+                <field field_ref="cldt" level="10" />
+                <field field_ref="cldq" level="10" />
+                <field field_ref="lwp" level="10" />
+                <field field_ref="iwp" level="10" />
+                <field field_ref="ue" level="10" />
+                <field field_ref="ve" level="10" />
+                <field field_ref="uq" level="10" />
+                <field field_ref="vq" level="10" />
+                <field field_ref="cape" level="10" />
+                <field field_ref="pbase" level="10" />
+                <field field_ref="ptop" level="10" />
+                <field field_ref="fbase" level="10" />
+                <field field_ref="plcl" level="10" />
+                <field field_ref="plfc" level="10" />
+                <field field_ref="wbeff" level="10" />
+                <field field_ref="convoccur" level="10" />
+                <field field_ref="prw" level="10" />
+                <field field_ref="prlw" level="10" />
+                <field field_ref="prsw" level="10" />
+                <field field_ref="s_pblh" level="10" />
+                <field field_ref="s_pblt" level="10" />
+                <field field_ref="s_lcl" level="10" />
+                <field field_ref="s_therm" level="10" />
+                <field field_ref="slab_bils_oce" level="10" />
+                <field field_ref="ale_bl" level="10" />
+                <field field_ref="alp_bl" level="10" />
+                <field field_ref="ale_wk" level="10" />
+                <field field_ref="alp_wk" level="10" />
+                <field field_ref="ale" level="10" />
+                <field field_ref="alp" level="10" />
+                <field field_ref="cin" level="10" />
+                <field field_ref="wape" level="10" />
+                <field field_ref="n2" level="6" />
+                <field field_ref="s2" level="6" />
+                <field field_ref="proba_notrig" level="6" />
+                <field field_ref="random_notrig" level="6" />
+                <field field_ref="cv_gen" level="6" />
+                <field field_ref="ale_bl_stat" level="6" />
+                <field field_ref="ale_bl_trig" level="6" />
+                <field field_ref="alp_bl_det" level="10" />
+                <field field_ref="alp_bl_fluct_m" level="10" />
+                <field field_ref="alp_bl_fluct_tke" level="10" />
+                <field field_ref="alp_bl_conv" level="10" />
+                <field field_ref="alp_bl_stat" level="10" />
+
+                <field_group operation="average" freq_op="1ts" detect_missing_value=".true.">
+                    <field field_ref="u850" level="10" />
+                    <field field_ref="u700" level="10" />
+                    <field field_ref="u500" level="10" />
+                    <field field_ref="u200" level="10" />
+                    <field field_ref="u100" level="10" />
+                    <field field_ref="u50" level="10" />
+                    <field field_ref="u10" level="10" />
+                    <field field_ref="v850" level="10" />
+                    <field field_ref="v700" level="10" />
+                    <field field_ref="v500" level="10" />
+                    <field field_ref="v200" level="10" />
+                    <field field_ref="v100" level="10" />
+                    <field field_ref="v50" level="10" />
+                    <field field_ref="v10" level="10" />
+                    <field field_ref="w850" level="10" />
+                    <field field_ref="w700" level="10" />
+                    <field field_ref="w500" level="10" />
+                    <field field_ref="w200" level="10" />
+                    <field field_ref="w100" level="10" />
+                    <field field_ref="w50" level="10" />
+                    <field field_ref="w10" level="10" />
+                    <field field_ref="t850" level="10" />
+                    <field field_ref="t700" level="10" />
+                    <field field_ref="t500" level="10" />
+                    <field field_ref="t200" level="10" />
+                    <field field_ref="t100" level="10" />
+                    <field field_ref="t50" level="10" />
+                    <field field_ref="t10" level="10" />
+                    <field field_ref="q850" level="10" />
+                    <field field_ref="q700" level="10" />
+                    <field field_ref="q500" level="10" />
+                    <field field_ref="q200" level="10" />
+                    <field field_ref="q100" level="10" />
+                    <field field_ref="q50" level="10" />
+                    <field field_ref="q10" level="10" />
+                    <field field_ref="z850" level="10" />
+                    <field field_ref="z700" level="10" />
+                    <field field_ref="z500" level="10" />
+                    <field field_ref="z200" level="10" />
+                    <field field_ref="z100" level="10" />
+                    <field field_ref="z50" level="10" />
+                    <field field_ref="z10" level="10" />
+                </field_group>
+
+                <field field_ref="t_oce_sic" level="10" />
+                <field field_ref="weakinv" level="10" />
+                <field field_ref="dthmin" level="10" />
+                <field field_ref="u10_ter" level="10" />
+                <field field_ref="u10_lic" level="10" />
+                <field field_ref="u10_oce" level="10" />
+                <field field_ref="u10_sic" level="10" />
+                <field field_ref="v10_ter" level="10" />
+                <field field_ref="v10_lic" level="10" />
+                <field field_ref="v10_oce" level="10" />
+                <field field_ref="v10_sic" level="10" />
+                <field field_ref="rh2m" level="10" />
+                <field field_ref="rh2m_min" level="10" operation="minimum" />
+                <field field_ref="rh2m_max" level="10" operation="maximum" />
+                <field field_ref="qsat2m" level="10" />
+                <field field_ref="tpot" level="10" />
+                <field field_ref="tpote" level="10" />
+                <field field_ref="SWnetOR" level="10" />
+                <field field_ref="SWdownOR" level="5" />
+                <field field_ref="LWdownOR" level="5" />
+                <field field_ref="snowl" level="10" />
+                <field field_ref="cape_max" level="10" operation="maximum" />
+                <field field_ref="solldown" level="10" />
+                <field field_ref="dtsvdfo" level="10" />
+                <field field_ref="dtsvdft" level="10" />
+                <field field_ref="dtsvdfg" level="10" />
+                <field field_ref="dtsvdfi" level="10" />
+                <field field_ref="rugs" level="10" />
+                <field field_ref="z0m" level="10" />
+                <field field_ref="z0h" level="10" />
+                <field field_ref="topswad" level="10" />
+                <field field_ref="topswad0" level="10" />
+                <field field_ref="topswai" level="10" />
+                <field field_ref="solswad" level="10" />
+                <field field_ref="solswad0" level="10" />
+                <field field_ref="solswai" level="10" />
+                <field field_ref="od550_ASBCM" level="10" />
+                <field field_ref="od550_ASPOMM" level="10" />
+                <field field_ref="od550_ASSO4M" level="10" />
+                <field field_ref="od550_CSSO4M" level="10" />
+                <field field_ref="od550_SSSSM" level="10" />
+                <field field_ref="od550_ASSSM" level="10" />
+                <field field_ref="od550_CSSSM" level="10" />
+                <field field_ref="od550_CIDUSTM" level="10" />
+                <field field_ref="od550_AIBCM" level="10" />
+                <field field_ref="od550_AIPOMM" level="10" />
+                <field field_ref="od550_ASNO3M" level="10" />
+                <field field_ref="od550_CSNO3M" level="10" />
+                <field field_ref="od550_CINO3M" level="10" />
+                <field field_ref="od550_STRAT" level="10" />
+                <field field_ref="od550aer" level="10" />
+                <field field_ref="od865aer" level="10" />
+                <field field_ref="abs550aer" level="10" />
+                <field field_ref="od550lt1aer" level="10" />
+                <field field_ref="sconcso4" level="10" />
+                <field field_ref="sconcoa" level="10" />
+                <field field_ref="sconcbc" level="10" />
+                <field field_ref="sconcss" level="10" />
+                <field field_ref="sconcdust" level="10" />
+                <field field_ref="sconcno3" level="10" />
+                <field field_ref="loadso4" level="10" />
+                <field field_ref="loadoa" level="10" />
+                <field field_ref="loadbc" level="10" />
+                <field field_ref="loadss" level="10" />
+                <field field_ref="loaddust" level="10" />
+                <field field_ref="loadno3" level="10" />
+                <field field_ref="swtoaas_nat" level="10" />
+                <field field_ref="swsrfas_nat" level="10" />
+                <field field_ref="swtoacs_nat" level="10" />
+                <field field_ref="swsrfcs_nat" level="10" />
+                <field field_ref="swtoaas_ant" level="10" />
+                <field field_ref="swsrfas_ant" level="10" />
+                <field field_ref="swtoacs_ant" level="10" />
+                <field field_ref="swsrfcs_ant" level="10" />
+                <field field_ref="swtoacf_nat" level="10" />
+                <field field_ref="swsrfcf_nat" level="10" />
+                <field field_ref="swtoacf_ant" level="10" />
+                <field field_ref="swsrfcf_ant" level="10" />
+                <field field_ref="swtoacf_zero" level="10" />
+                <field field_ref="swsrfcf_zero" level="10" />
+                <field field_ref="cldncl" level="10" />
+                <field field_ref="reffclwtop" level="10" />
+                <field field_ref="cldnvi" level="10" />
+                <field field_ref="lcc" level="10" />
+                <field field_ref="wvapp" level="10" />
+                <field field_ref="albe_ter" level="7" />
+                <field field_ref="albe_lic" level="7" />
+                <field field_ref="albe_oce" level="7" />
+                <field field_ref="albe_sic" level="7" />
+                <field field_ref="ages_ter" level="10" />
+                <field field_ref="ages_lic" level="10" />
+                <field field_ref="ages_oce" level="10" />
+                <field field_ref="ages_sic" level="10" />
+                <field field_ref="snow_ter" level="10" />
+                <field field_ref="snow_lic" level="10" />
+                <field field_ref="snow_oce" level="10" />
+                <field field_ref="snow_sic" level="10" />
+                <field field_ref="rugs_ter" level="10" />
+                <field field_ref="rugs_lic" level="10" />
+                <field field_ref="rugs_oce" level="10" />
+                <field field_ref="rugs_sic" level="10" />
+                <field field_ref="z0m_ter" level="10" />
+                <field field_ref="z0m_lic" level="10" />
+                <field field_ref="z0m_oce" level="10" />
+                <field field_ref="z0m_sic" level="10" />
+                <field field_ref="z0h_ter" level="10" />
+                <field field_ref="z0h_lic" level="10" />
+                <field field_ref="z0h_oce" level="10" />
+                <field field_ref="z0h_sic" level="10" />
+                <field field_ref="alb1" level="10" />
+                <field field_ref="alb2" level="10" />
+                <field field_ref="ftime_con" level="10" operation="instant" />
+                <field field_ref="wake_h" level="10" />
+                <field field_ref="wake_dens" level="10" />
+                <field field_ref="wake_s" level="10" />
+                <field field_ref="epmax" level="10" />
+                <field field_ref="plulth" level="10" />
+                <field field_ref="plulst" level="10" />
+                <field field_ref="lmaxth" level="10" />
+                <field field_ref="ftime_th" level="10" />
+                <field field_ref="ftime_deepcv" level="10" />
+                <field field_ref="f0_th" level="10" />
+                <field field_ref="zmax_th" level="10" />
+                <field field_ref="rsut4co2" level="10" />
+                <field field_ref="rlut4co2" level="10" />
+                <field field_ref="rsutcs4co2" level="10" />
+                <field field_ref="rlutcs4co2" level="10" />
+                <field field_ref="dqphy2d" level="10" />
+                <field field_ref="dqlphy2d" level="10" />
+                <field field_ref="dqsphy2d" level="10" />
+                <field field_ref="dqdyn2d" level="10" />
+                <field field_ref="dqldyn2d" level="10" />
+                <field field_ref="dqsdyn2d" level="10" />
+                <field field_ref="dqcon2d" level="10" />
+                <field field_ref="dqwak2d" level="10" />
+                <field field_ref="dqlsc2d" level="10" />
+                <field field_ref="dqvdf2d" level="10" />
+                <field field_ref="dqeva2d" level="10" />
+                <field field_ref="dqlscth2d" level="10" />
+                <field field_ref="dqlscst2d" level="10" />
+                <field field_ref="dqthe2d" level="10" />
+                <field field_ref="dqajs2d" level="10" />
+            </field_group>
+
+            <field_group operation="instant" freq_op="1ts" >
+                 <field field_ref="alt_tropo" level="10" />
+                 <field field_ref="map_prop_hc" level="10" />
+                 <field field_ref="map_prop_hist" level="10" />
+                 <field field_ref="map_emis_hc" level="10" />
+                 <field field_ref="map_iwp_hc" level="10" />
+                 <field field_ref="map_deltaz_hc" level="10" />
+                 <field field_ref="map_pcld_hc" level="10" />
+                 <field field_ref="map_tcld_hc" level="10" />
+                 <field field_ref="map_emis_hist" level="10" />
+                 <field field_ref="map_iwp_hist" level="10" />
+                 <field field_ref="map_deltaz_hist" level="10" />
+                 <field field_ref="map_rad_hist" level="10" />
+                 <field field_ref="map_emis_Cb" level="10" />
+                 <field field_ref="map_pcld_Cb" level="10" />
+                 <field field_ref="map_tcld_Cb" level="10" />
+                 <field field_ref="map_emis_Anv" level="10" />
+                 <field field_ref="map_pcld_Anv" level="10" />
+                 <field field_ref="map_tcld_Anv" level="10" />
+                 <field field_ref="map_emis_ThCi" level="10" />
+                 <field field_ref="map_pcld_ThCi" level="10" />
+                 <field field_ref="map_tcld_ThCi" level="10" />
+                 <field field_ref="map_ntot" level="10" />
+                 <field field_ref="map_hc" level="10" />
+                 <field field_ref="map_hist" level="10" />
+                 <field field_ref="map_Cb" level="10" />
+                 <field field_ref="map_ThCi" level="10" />
+                 <field field_ref="map_Anv" level="10" />
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_presnivs">
+                <field field_ref="tke" level="10" />
+                <field field_ref="tke_ter" level="10" />
+                <field field_ref="tke_lic" level="10" />
+                <field field_ref="tke_oce" level="10" />
+                <field field_ref="tke_sic" level="10" />
+                <field field_ref="tke_max_ter" level="10" operation="maximum" />
+                <field field_ref="tke_max_lic" level="10" operation="maximum" />
+                <field field_ref="tke_max_oce" level="10" operation="maximum" />
+                <field field_ref="tke_max_sic" level="10" operation="maximum" />
+                <field field_ref="l_mix_ter" level="10" />
+                <field field_ref="l_mix_lic" level="10" />
+                <field field_ref="l_mix_oce" level="10" />
+                <field field_ref="l_mix_sic" level="10" />
+                <field field_ref="l_mixmin_ter" level="10" />
+                <field field_ref="l_mixmin_lic" level="10" />
+                <field field_ref="l_mixmin_oce" level="10" />
+                <field field_ref="l_mixmin_sic" level="10" />
+                <field field_ref="treedrg_ter" level="10" />
+                <field field_ref="treedrg_lic" level="10" />
+                <field field_ref="treedrg_oce" level="10" />
+                <field field_ref="treedrg_sic" level="10" />
+
+                <field field_ref="cldtau" level="10" />
+                <field field_ref="cldemi" level="10" />
+                <field field_ref="tke_max" level="10" operation="maximum" />
+                <field field_ref="kz" level="10" />
+                <field field_ref="kz_max" level="10" operation="maximum" />
+                <field field_ref="concso4" level="10" />
+                <field field_ref="concoa" level="10" />
+                <field field_ref="concbc" level="10" />
+                <field field_ref="concss" level="10" />
+                <field field_ref="concdust" level="10" />
+                <field field_ref="concno3" level="10" />
+                <field field_ref="ec550aer" level="10" />
+                <field field_ref="lwcon" level="10" />
+                <field field_ref="iwcon" level="10" />
+                <field field_ref="temp" level="10" />
+                <field field_ref="theta" level="10" />
+                <field field_ref="ovap" level="10" />
+                <field field_ref="ovapinit" level="10" />
+                <field field_ref="oliq" level="10" />
+                <field field_ref="ocond" level="10" />
+                <field field_ref="geop" level="10" />
+                <field field_ref="geoph" level="10" />
+                <field field_ref="vitu" level="10" />
+                <field field_ref="vitv" level="10" />
+                <field field_ref="vitw" level="6" />
+                <field field_ref="pres" level="10" />
+                <field field_ref="paprs" level="10" />
+                <field field_ref="mass" level="10" />
+                <field field_ref="zfull" level="10" />
+                <field field_ref="zhalf" level="10" />
+                <field field_ref="rneb" level="10" />
+                <field field_ref="rnebcon" level="10" />
+                <field field_ref="rnebls" level="10" />
+                <field field_ref="rneblsvol" level="10" />
+                <field field_ref="rhum" level="10" />
+                <field field_ref="ozone" level="10" />
+                <field field_ref="upwd" level="10" />
+                <field field_ref="ep" level="10" />
+                <field field_ref="duphy" level="10" />
+                <field field_ref="dtphy" level="10" />
+                <field field_ref="dqphy" level="10" />
+                <field field_ref="dqlphy" level="10" />
+                <field field_ref="dqsphy" level="10" />
+                <field field_ref="pr_con_l" level="10" />
+                <field field_ref="pr_con_i" level="10" />
+                <field field_ref="pr_lsc_l" level="10" />
+                <field field_ref="pr_lsc_i" level="10" />
+                <field field_ref="re" level="10" />
+                <field field_ref="fl" level="10" />
+                <field field_ref="scdnc" level="10" />
+                <field field_ref="reffclws" level="10" />
+                <field field_ref="reffclwc" level="10" />
+                <field field_ref="lcc3d" level="10" />
+                <field field_ref="lcc3dcon" level="10" />
+                <field field_ref="lcc3dstra" level="10" />
+                <field field_ref="cldwatmxrat" level="10" />
+                <field field_ref="icc3dcon" level="10" />
+                <field field_ref="icc3dstra" level="10" />
+                <field field_ref="cldicemxrat" level="10" />
+                <field field_ref="clwcon" level="10" />
+                <field field_ref="Ma" level="10" />
+                <field field_ref="dnwd" level="10" />
+                <field field_ref="dnwd0" level="10" />
+                <field field_ref="mc" level="10" />
+                <field field_ref="dtdyn" level="10" />
+                <field field_ref="dqdyn" level="10" />
+                <field field_ref="dqldyn" level="10" />
+                <field field_ref="dqsdyn" level="10" />
+                <field field_ref="dudyn" level="10" />
+                <field field_ref="dvdyn" level="10" />
+                <field field_ref="dtcon" level="10" />
+                <field field_ref="ducon" level="10" />
+                <field field_ref="dvcon" level="10" />
+                <field field_ref="dqcon" level="10" />
+                <field field_ref="dtwak" level="10" />
+                <field field_ref="dqwak" level="10" />
+                <field field_ref="wake_deltat" level="10" />
+                <field field_ref="wake_deltaq" level="10" />
+                <field field_ref="wake_omg" level="10" />
+                <field field_ref="wdtrainA" level="10" />
+                <field field_ref="wdtrainM" level="10" />
+                <field field_ref="Vprecip" level="10" />
+                <field field_ref="ftd" level="10" />
+                <field field_ref="fqd" level="10" />
+                <field field_ref="dtlsc" level="10" />
+                <field field_ref="dtlschr" level="10" />
+                <field field_ref="dqlsc" level="10" />
+                <field field_ref="beta_prec" level="10" />
+                <field field_ref="dtvdf" level="10" />
+                <field field_ref="dtvdf_x" level="11" />
+                <field field_ref="dtvdf_w" level="11" />
+                <field field_ref="dtdis" level="10" />
+                <field field_ref="dqvdf" level="10" />
+                <field field_ref="dqvdf_x" level="11" />
+                <field field_ref="dqvdf_w" level="11" />
+                <field field_ref="dteva" level="10" />
+                <field field_ref="dqeva" level="10" />
+                <field field_ref="dqlscth" level="10" />
+                <field field_ref="dqlscst" level="10" />
+                <field field_ref="dtlscth" level="10" />
+                <field field_ref="dtlscst" level="10" />
+                <field field_ref="ptconvth" level="10" />
+                <field field_ref="ptconv" level="10" />
+                <field field_ref="ratqs" level="10" />
+                <field field_ref="dtthe" level="10" />
+                <field field_ref="f_th" level="10" />
+                <field field_ref="e_th" level="10" />
+                <field field_ref="w_th" level="10" />
+                <field field_ref="lambda_th" level="10" />
+                <field field_ref="q_th" level="10" />
+                <field field_ref="a_th" level="10" />
+                <field field_ref="s_th" level="10" />
+                <field field_ref="s_env" level="10" />
+                <field field_ref="sigma_th" level="10" />
+                <field field_ref="sigma_env" level="10" />
+                <field field_ref="d_th" level="10" />
+                <field field_ref="dqthe" level="10" />
+                <field field_ref="dtajs" level="10" />
+                <field field_ref="dqajs" level="10" />
+                <field field_ref="dtswr" level="10" />
+                <field field_ref="dtsw0" level="10" />
+                <field field_ref="dtlwr" level="10" />
+                <field field_ref="dtlw0" level="10" />
+                <field field_ref="dtec" level="10" />
+                <field field_ref="duvdf" level="10" />
+                <field field_ref="dvvdf" level="10" />
+                <field field_ref="duoro" level="10" />
+                <field field_ref="dvoro" level="10" />
+                <field field_ref="dulif" level="10" />
+                <field field_ref="dvlif" level="10" />
+                <field field_ref="du_gwd_hines" level="10" />
+                <field field_ref="dv_gwd_hines" level="10" />
+                <field field_ref="du_gwd_front" level="10" />
+                <field field_ref="dv_gwd_front" level="10" />
+                <field field_ref="east_gwstress" level="10" />
+                <field field_ref="west_gwstress" level="10" />
+                <field field_ref="dtoro" level="10" />
+                <field field_ref="dtlif" level="10" />
+                <field field_ref="dthin" level="10" />
+                <field field_ref="rsu" level="10" />
+                <field field_ref="rsd" level="10" />
+                <field field_ref="rlu" level="10" />
+                <field field_ref="rld" level="10" />
+                <field field_ref="rsucs" level="10" />
+                <field field_ref="rsdcs" level="10" />
+                <field field_ref="rlucs" level="10" />
+                <field field_ref="rldcs" level="10" />
+                <field field_ref="tnt" level="10" />
+                <field field_ref="tntc" level="10" />
+                <field field_ref="tntr" level="10" />
+                <field field_ref="tntscpbl" level="10" />
+                <field field_ref="tnhus" level="10" />
+                <field field_ref="tnhusc" level="10" />
+                <field field_ref="tnhusscpbl" level="10" />
+                <field field_ref="evu" level="10" />
+                <field field_ref="h2o" level="10" />
+                <field field_ref="mcd" level="10" />
+                <field field_ref="dmc" level="10" />
+                <field field_ref="ref_liq" level="10" />
+                <field field_ref="ref_ice" level="10" />
+                <field field_ref="rsu4co2" level="10" />
+                <field field_ref="rlu4co2" level="10" />
+                <field field_ref="rsucs4co2" level="10" />
+                <field field_ref="rlucs4co2" level="10" />
+                <field field_ref="rsd4co2" level="10" />
+                <field field_ref="rld4co2" level="10" />
+                <field field_ref="rsdcs4co2" level="10" />
+                <field field_ref="rldcs4co2" level="10" />
+              </field_group>
+
+              <!-- VARS 3D -->
+              <field_group operation="average" grid_ref="grid_out_spectband" >
+                <field field_ref="solbnd" level="10" />
+              </field_group>
+          </field_group>
+        
+        </file>
+    
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histins_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histins_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histins_lmdz.xml	(revision 5499)
@@ -0,0 +1,633 @@
+<!-- $Id$ -->
+<file_definition>
+    <file_group id="defile">
+        <file id="histins" name="Xhistins" output_freq="1ts" output_level="11" enabled="false" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+            
+            <!-- VARS 1D -->
+<!--            <field_group operation="once">    -->
+<!--              <field field_ref="Ap" level="1" />    -->
+<!--              <field field_ref="Bp" level="1" />    -->
+<!--              <field field_ref="Alt" level="1" />    -->
+<!--            </field_group>    -->
+        
+            <!-- VARS 2D -->
+           <field_group >
+
+             <field_group operation="instant"freq_op="1ts" grid_ref="grid_out" >
+                <field field_ref="phis" level="10" />
+                <field field_ref="aire" level="10" operation="once" />
+                <field field_ref="contfracATM" level="1" operation="once" />
+                <field field_ref="contfracOR" level="1" />
+                <field field_ref="flat" level="10" />
+                <field field_ref="slp" level="1" />
+                <field field_ref="sza" level="1" />
+                <field field_ref="ptstar" level="1" />
+                <field field_ref="pt0" level="1" />
+                <field field_ref="tsol" level="1" />
+                <field field_ref="t2m" level="1" />
+                <field field_ref="t2m_min" level="10" operation="minimum" />
+                <field field_ref="t2m_max" level="10" operation="maximum" />
+                <field field_ref="t2m_ter" level="10" />
+                <field field_ref="t2m_lic" level="10" />
+                <field field_ref="t2m_oce" level="10" />
+                <field field_ref="t2m_sic" level="10" />
+                <field field_ref="gusts" level="1" />
+                <field field_ref="wind10m" level="1" />
+                <field field_ref="wind10max" level="10" operation="maximum" />
+                <field field_ref="sicf" level="10" />
+                <field field_ref="q2m" level="1" />
+                <field field_ref="ustar" level="1" />
+                <field field_ref="u10m" level="1" />
+                <field field_ref="v10m" level="1" />
+                <field field_ref="psol" level="1" />
+                <field field_ref="qsurf" level="10" />
+                <field field_ref="ustar_ter" level="10" />
+                <field field_ref="ustar_lic" level="10" />
+                <field field_ref="ustar_oce" level="10" />
+                <field field_ref="ustar_sic" level="10" />
+                <field field_ref="wstar_ter" level="10" />
+                <field field_ref="wstar_lic" level="10" />
+                <field field_ref="wstar_oce" level="10" />
+                <field field_ref="wstar_sic" level="10" />
+                <field field_ref="wstar" level="10" />
+                <field field_ref="u10m_ter" level="10" />
+                <field field_ref="u10m_lic" level="10" />
+                <field field_ref="u10m_oce" level="10" />
+                <field field_ref="u10m_sic" level="10" />
+                <field field_ref="v10m_ter" level="10" />
+                <field field_ref="v10m_lic" level="10" />
+                <field field_ref="v10m_oce" level="10" />
+                <field field_ref="v10m_sic" level="10" />
+                <field field_ref="qsol" level="10" />
+                <field field_ref="ndayrain" level="10" operation="instant"  />
+                <field field_ref="precip" level="1" />
+                <field field_ref="rain_fall" level="1" />
+                <field field_ref="rain_con" level="1" />
+                <field field_ref="plul" level="1" />
+                <field field_ref="plun" level="1" />
+                <field field_ref="pluc" level="1" />
+                <field field_ref="snow" level="10" />
+                <field field_ref="evap" level="10" />
+                <field field_ref="evap_ter" level="10" />
+                <field field_ref="evap_lic" level="10" />
+                <field field_ref="evap_oce" level="10" />
+                <field field_ref="evap_sic" level="10" />
+                <field field_ref="msnow" level="10" />
+                <field field_ref="fsnow" level="10" />
+                <field field_ref="tops" level="10" />
+                <field field_ref="tops0" level="10" />
+                <field field_ref="topl" level="10" />
+                <field field_ref="topl0" level="10" />
+                <field field_ref="SWupTOA" level="10" />
+                <field field_ref="SWupTOAclr" level="10" />
+                <field field_ref="SWdnTOA" level="10" />
+                <field field_ref="SWdnTOAclr" level="10" />
+                <field field_ref="nettop" level="10" />
+                <field field_ref="SWup200" level="15" />
+                <field field_ref="SWup200clr" level="15" />
+                <field field_ref="SWdn200" level="15" />
+                <field field_ref="SWdn200clr" level="15" />
+                <field field_ref="LWup200" level="15" />
+                <field field_ref="LWup200clr" level="15" />
+                <field field_ref="LWdn200" level="15" />
+                <field field_ref="LWdn200clr" level="15" />
+                <field field_ref="sols" level="10" />
+                <field field_ref="sols0" level="10" />
+                <field field_ref="soll" level="10" />
+                <field field_ref="soll0" level="10" />
+                <field field_ref="radsol" level="10" />
+                <field field_ref="SWupSFC" level="10" />
+                <field field_ref="SWupSFCclr" level="10" />
+                <field field_ref="SWdnSFC" level="10" />
+                <field field_ref="SWdnSFCclr" level="10" />
+                <field field_ref="LWupSFC" level="10" />
+                <field field_ref="LWupSFCclr" level="10" />
+                <field field_ref="LWdnSFC" level="10" />
+                <field field_ref="LWdnSFCclr" level="10" />
+                <field field_ref="bils" level="10" />
+                <field field_ref="bils_tke" level="10" />
+                <field field_ref="bils_diss" level="10" />
+                <field field_ref="bils_ec" level="10" />
+                <field field_ref="bils_kinetic" level="10" />
+                <field field_ref="bils_enthalp" level="10" />
+                <field field_ref="bils_latent" level="10" />
+                <field field_ref="sens" level="10" />
+                <field field_ref="sens_x" level="11" />
+                <field field_ref="sens_w" level="11" />
+                <field field_ref="flat_x" level="11" />
+                <field field_ref="flat_w" level="11" />
+                <field field_ref="delta_tsurf" level="11" />
+                <field field_ref="cdragh_x" level="11" />
+                <field field_ref="cdragh_w" level="11" />
+                <field field_ref="cdragm_x" level="11" />
+                <field field_ref="cdragm_w" level="11" />
+                <field field_ref="kh" level="11" />
+                <field field_ref="kh_x" level="11" />
+                <field field_ref="kh_w" level="11" />
+                <field field_ref="fder" level="10" />
+                <field field_ref="ffonte" level="10" />
+                <field field_ref="fqcalving" level="10" />
+                <field field_ref="fqfonte" level="10" />
+                <field field_ref="mrroli" level="10" />
+                <field field_ref="runofflic" level="10" />
+                <field field_ref="taux" level="10" />
+                <field field_ref="tauy" level="10" />
+                <field field_ref="taux_ter" level="10" />
+                <field field_ref="taux_lic" level="10" />
+                <field field_ref="taux_oce" level="10" />
+                <field field_ref="taux_sic" level="10" />
+                <field field_ref="tauy_ter" level="10" />
+                <field field_ref="tauy_lic" level="10" />
+                <field field_ref="tauy_oce" level="10" />
+                <field field_ref="tauy_sic" level="10" />
+                <field field_ref="pourc_ter" level="10" />
+                <field field_ref="pourc_lic" level="10" />
+                <field field_ref="pourc_oce" level="10" />
+                <field field_ref="pourc_sic" level="10" />
+                <field field_ref="fract_ter" level="10" />
+                <field field_ref="fract_lic" level="10" />
+                <field field_ref="fract_oce" level="10" />
+                <field field_ref="fract_sic" level="10" />
+                <field field_ref="tsol_ter" level="10" />
+                <field field_ref="tsol_lic" level="10" />
+                <field field_ref="tsol_oce" level="10" />
+                <field field_ref="tsol_sic" level="10" />
+                <field field_ref="evappot_ter" level="10" />
+                <field field_ref="evappot_lic" level="10" />
+                <field field_ref="evappot_oce" level="10" />
+                <field field_ref="evappot_sic" level="10" />
+                <field field_ref="sens_ter" level="10" />
+                <field field_ref="sens_lic" level="10" />
+                <field field_ref="sens_oce" level="10" />
+                <field field_ref="sens_sic" level="10" />
+                <field field_ref="lat_ter" level="10" />
+                <field field_ref="lat_lic" level="10" />
+                <field field_ref="lat_oce" level="10" />
+                <field field_ref="lat_sic" level="10" />
+                <field field_ref="flw_ter" level="10" />
+                <field field_ref="flw_lic" level="10" />
+                <field field_ref="flw_oce" level="10" />
+                <field field_ref="flw_sic" level="10" />
+                <field field_ref="fsw_ter" level="10" />
+                <field field_ref="fsw_lic" level="10" />
+                <field field_ref="fsw_oce" level="10" />
+                <field field_ref="fsw_sic" level="10" />
+                <field field_ref="wbils_ter" level="10" />
+                <field field_ref="wbils_lic" level="10" />
+                <field field_ref="wbils_oce" level="10" />
+                <field field_ref="wbils_sic" level="10" />
+                <field field_ref="wbilo_ter" level="10" />
+                <field field_ref="wbilo_lic" level="10" />
+                <field field_ref="wbilo_oce" level="10" />
+                <field field_ref="wbilo_sic" level="10" />
+                <field field_ref="wevap_ter" level="10" />
+                <field field_ref="wevap_lic" level="10" />
+                <field field_ref="wevap_oce" level="10" />
+                <field field_ref="wevap_sic" level="10" />
+                <field field_ref="wrain_ter" level="10" />
+                <field field_ref="wrain_lic" level="10" />
+                <field field_ref="wrain_oce" level="10" />
+                <field field_ref="wrain_sic" level="10" />
+                <field field_ref="wsnow_ter" level="10" />
+                <field field_ref="wsnow_lic" level="10" />
+                <field field_ref="wsnow_oce" level="10" />
+                <field field_ref="wsnow_sic" level="10" />
+                <field field_ref="cdrm" level="10" />
+                <field field_ref="cdrh" level="10" />
+                <field field_ref="cldl" level="10" />
+                <field field_ref="cldm" level="10" />
+                <field field_ref="cldh" level="10" />
+                <field field_ref="cldt" level="2" />
+                <field field_ref="cumCO2" level="10" />
+                <field field_ref="cldq" level="10" />
+                <field field_ref="lwp" level="10" />
+                <field field_ref="iwp" level="10" />
+                <field field_ref="ue" level="10" />
+                <field field_ref="ve" level="10" />
+                <field field_ref="uq" level="10" />
+                <field field_ref="vq" level="10" />
+                <field field_ref="cape" level="10" />
+                <field field_ref="pbase" level="10" />
+                <field field_ref="ptop" level="10" />
+                <field field_ref="fbase" level="10" />
+                <field field_ref="plcl" level="10" />
+                <field field_ref="plfc" level="10" />
+                <field field_ref="wbeff" level="10" />
+                <field field_ref="convoccur" level="10" />
+                <field field_ref="prw" level="10" />
+                <field field_ref="prlw" level="10" />
+                <field field_ref="prsw" level="10" />
+                <field field_ref="s_pblh" level="10" />
+                <field field_ref="s_pblt" level="10" />
+                <field field_ref="s_lcl" level="10" />
+                <field field_ref="s_therm" level="10" />
+                <field field_ref="slab_bils_oce" level="10" />
+                <field field_ref="ale_bl" level="1" />
+                <field field_ref="alp_bl" level="1" />
+                <field field_ref="ale_wk" level="1" />
+                <field field_ref="alp_wk" level="1" />
+                <field field_ref="ale" level="1" />
+                <field field_ref="alp" level="1" />
+                <field field_ref="cin" level="1" />
+                <field field_ref="wape" level="1" />
+                <field field_ref="n2" level="1" />
+                <field field_ref="s2" level="1" />
+                <field field_ref="proba_notrig" level="1" />
+                <field field_ref="random_notrig" level="1" />
+                <field field_ref="cv_gen" level="1" />
+                <field field_ref="ale_bl_stat" level="1" />
+                <field field_ref="ale_bl_trig" level="1" />
+                <field field_ref="alp_bl_det" level="1" />
+                <field field_ref="alp_bl_fluct_m" level="1" />
+                <field field_ref="alp_bl_fluct_tke" level="1" />
+                <field field_ref="alp_bl_conv" level="1" />
+                <field field_ref="alp_bl_stat" level="1" />
+
+                <field_group operation="instant" freq_op="1ts" detect_missing_value=".true.">
+                    <field field_ref="u850" level="10" />
+                    <field field_ref="u700" level="10" />
+                    <field field_ref="u500" level="10" />
+                    <field field_ref="u200" level="10" />
+                    <field field_ref="u100" level="10" />
+                    <field field_ref="u50" level="10" />
+                    <field field_ref="u10" level="10" />
+                    <field field_ref="v850" level="10" />
+                    <field field_ref="v700" level="10" />
+                    <field field_ref="v500" level="10" />
+                    <field field_ref="v200" level="10" />
+                    <field field_ref="v100" level="10" />
+                    <field field_ref="v50" level="10" />
+                    <field field_ref="v10" level="10" />
+                    <field field_ref="w850" level="10" />
+                    <field field_ref="w700" level="10" />
+                    <field field_ref="w500" level="10" />
+                    <field field_ref="w200" level="10" />
+                    <field field_ref="w100" level="10" />
+                    <field field_ref="w50" level="10" />
+                    <field field_ref="w10" level="10" />
+                    <field field_ref="t850" level="10" />
+                    <field field_ref="t700" level="10" />
+                    <field field_ref="t500" level="10" />
+                    <field field_ref="t200" level="10" />
+                    <field field_ref="t100" level="10" />
+                    <field field_ref="t50" level="10" />
+                    <field field_ref="t10" level="10" />
+                    <field field_ref="q850" level="10" />
+                    <field field_ref="q700" level="10" />
+                    <field field_ref="q500" level="10" />
+                    <field field_ref="q200" level="10" />
+                    <field field_ref="q100" level="10" />
+                    <field field_ref="q50" level="10" />
+                    <field field_ref="q10" level="10" />
+                    <field field_ref="z850" level="10" />
+                    <field field_ref="z700" level="10" />
+                    <field field_ref="z500" level="10" />
+                    <field field_ref="z200" level="10" />
+                    <field field_ref="z100" level="10" />
+                    <field field_ref="z50" level="10" />
+                    <field field_ref="z10" level="10" />
+                </field_group>
+
+                <field field_ref="t_oce_sic" level="10" />
+                <field field_ref="weakinv" level="10" />
+                <field field_ref="dthmin" level="10" />
+                <field field_ref="u10_ter" level="10" />
+                <field field_ref="u10_lic" level="10" />
+                <field field_ref="u10_oce" level="10" />
+                <field field_ref="u10_sic" level="10" />
+                <field field_ref="v10_ter" level="10" />
+                <field field_ref="v10_lic" level="10" />
+                <field field_ref="v10_oce" level="10" />
+                <field field_ref="v10_sic" level="10" />
+                <field field_ref="rh2m" level="10" />
+                <field field_ref="rh2m_min" level="10" operation="minimum"  />
+                <field field_ref="rh2m_max" level="10" operation="maximum"  />
+                <field field_ref="qsat2m" level="10" />
+                <field field_ref="tpot" level="10" />
+                <field field_ref="tpote" level="10" />
+                <field field_ref="SWnetOR" level="2" />
+                <field field_ref="SWdownOR" level="2" />
+                <field field_ref="LWdownOR" level="2" />
+                <field field_ref="snowl" level="10" />
+                <field field_ref="cape_max" level="10" operation="maximum" />
+                <field field_ref="solldown" level="10" />
+                <field field_ref="dtsvdfo" level="10" />
+                <field field_ref="dtsvdft" level="10" />
+                <field field_ref="dtsvdfg" level="10" />
+                <field field_ref="dtsvdfi" level="10" />
+                <field field_ref="rugs" level="10" />
+                <field field_ref="z0m" level="10" />
+                <field field_ref="z0h" level="10" />
+                <field field_ref="topswad" level="10" />
+                <field field_ref="topswad0" level="10" />
+                <field field_ref="topswai" level="10" />
+                <field field_ref="solswad" level="10" />
+                <field field_ref="solswad0" level="10" />
+                <field field_ref="solswai" level="10" />
+                <field field_ref="od550_ASBCM" level="10" />
+                <field field_ref="od550_ASPOMM" level="10" />
+                <field field_ref="od550_ASSO4M" level="10" />
+                <field field_ref="od550_CSSO4M" level="10" />
+                <field field_ref="od550_SSSSM" level="10" />
+                <field field_ref="od550_ASSSM" level="10" />
+                <field field_ref="od550_CSSSM" level="10" />
+                <field field_ref="od550_CIDUSTM" level="10" />
+                <field field_ref="od550_AIBCM" level="10" />
+                <field field_ref="od550_AIPOMM" level="10" />
+                <field field_ref="od550_ASNO3M" level="10" />
+                <field field_ref="od550_CSNO3M" level="10" />
+                <field field_ref="od550_CINO3M" level="10" />
+                <field field_ref="od550_STRAT" level="10" />
+                <field field_ref="od550aer" level="10" />
+                <field field_ref="od865aer" level="10" />
+                <field field_ref="abs550aer" level="10" />
+                <field field_ref="od550lt1aer" level="10" />
+                <field field_ref="sconcso4" level="10" />
+                <field field_ref="sconcoa" level="10" />
+                <field field_ref="sconcbc" level="10" />
+                <field field_ref="sconcss" level="10" />
+                <field field_ref="sconcdust" level="10" />
+                <field field_ref="sconcno3" level="10" />
+                <field field_ref="loadso4" level="10" />
+                <field field_ref="loadoa" level="10" />
+                <field field_ref="loadbc" level="10" />
+                <field field_ref="loadss" level="10" />
+                <field field_ref="loaddust" level="10" />
+                <field field_ref="loadno3" level="10" />
+                <field field_ref="swtoaas_nat" level="10" />
+                <field field_ref="swsrfas_nat" level="10" />
+                <field field_ref="swtoacs_nat" level="10" />
+                <field field_ref="swsrfcs_nat" level="10" />
+                <field field_ref="swtoaas_ant" level="10" />
+                <field field_ref="swsrfas_ant" level="10" />
+                <field field_ref="swtoacs_ant" level="10" />
+                <field field_ref="swsrfcs_ant" level="10" />
+                <field field_ref="swtoacf_nat" level="10" />
+                <field field_ref="swsrfcf_nat" level="10" />
+                <field field_ref="swtoacf_ant" level="10" />
+                <field field_ref="swsrfcf_ant" level="10" />
+                <field field_ref="swtoacf_zero" level="10" />
+                <field field_ref="swsrfcf_zero" level="10" />
+                <field field_ref="cldncl" level="10" />
+                <field field_ref="reffclwtop" level="10" />
+                <field field_ref="cldnvi" level="10" />
+                <field field_ref="lcc" level="10" />
+                <field field_ref="wvapp" level="10" />
+                <field field_ref="ozone_daylight" level="10" />
+                <field field_ref="albe_ter" level="10" />
+                <field field_ref="albe_lic" level="10" />
+                <field field_ref="albe_oce" level="10" />
+                <field field_ref="albe_sic" level="10" />
+                <field field_ref="ages_ter" level="10" />
+                <field field_ref="ages_lic" level="10" />
+                <field field_ref="ages_oce" level="10" />
+                <field field_ref="ages_sic" level="10" />
+                <field field_ref="snow_ter" level="10" />
+                <field field_ref="snow_lic" level="10" />
+                <field field_ref="snow_oce" level="10" />
+                <field field_ref="snow_sic" level="10" />
+                <field field_ref="rugs_ter" level="10" />
+                <field field_ref="rugs_lic" level="10" />
+                <field field_ref="rugs_oce" level="10" />
+                <field field_ref="rugs_sic" level="10" />
+                <field field_ref="z0m_ter" level="10" />
+                <field field_ref="z0m_lic" level="10" />
+                <field field_ref="z0m_oce" level="10" />
+                <field field_ref="z0m_sic" level="10" />
+                <field field_ref="z0h_ter" level="10" />
+                <field field_ref="z0h_lic" level="10" />
+                <field field_ref="z0h_oce" level="10" />
+                <field field_ref="z0h_sic" level="10" />
+                <field field_ref="alb1" level="10" />
+                <field field_ref="alb2" level="10" />
+                <field field_ref="ftime_con" level="10" operation="instant" />
+                <field field_ref="wake_h" level="10" />
+                <field field_ref="wake_dens" level="10" />
+                <field field_ref="wake_s" level="10" />
+                <field field_ref="epmax" level="10" />
+                <field field_ref="plulth" level="10" />
+                <field field_ref="plulst" level="10" />
+                <field field_ref="lmaxth" level="10" />
+                <field field_ref="ftime_th" level="10" />
+                <field field_ref="ftime_deepcv" level="10" />
+                <field field_ref="f0_th" level="10" />
+                <field field_ref="zmax_th" level="4" />
+                <field field_ref="rsut4co2" level="10" />
+                <field field_ref="rlut4co2" level="10" />
+                <field field_ref="rsutcs4co2" level="10" />
+                <field field_ref="rlutcs4co2" level="10" />
+                <field field_ref="dqphy2d" level="10" />
+                <field field_ref="dqlphy2d" level="10" />
+                <field field_ref="dqsphy2d" level="10" />
+                <field field_ref="dqdyn2d" level="10" />
+                <field field_ref="dqldyn2d" level="10" />
+                <field field_ref="dqsdyn2d" level="10" />
+                <field field_ref="dqcon2d" level="10" />
+                <field field_ref="dqwak2d" level="10" />
+                <field field_ref="dqlsc2d" level="10" />
+                <field field_ref="dqvdf2d" level="10" />
+                <field field_ref="dqeva2d" level="10" />
+                <field field_ref="dqlscth2d" level="10" />
+                <field field_ref="dqlscst2d" level="10" />
+                <field field_ref="dqthe2d" level="10" />
+                <field field_ref="dqajs2d" level="10" />
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="instant" freq_op="1ts"  grid_ref="grid_out_presnivs" >
+                <field field_ref="tke" level="10" />
+                <field field_ref="tke_ter" level="10" />
+                <field field_ref="tke_lic" level="10" />
+                <field field_ref="tke_oce" level="10" />
+                <field field_ref="tke_sic" level="10" />
+                <field field_ref="tke_max_ter" level="10" operation="maximum" />
+                <field field_ref="tke_max_lic" level="10" operation="maximum" />
+                <field field_ref="tke_max_oce" level="10" operation="maximum" />
+                <field field_ref="tke_max_sic" level="10" operation="maximum" />
+                <field field_ref="l_mix_ter" level="10" />
+                <field field_ref="l_mix_lic" level="10" />
+                <field field_ref="l_mix_oce" level="10" />
+                <field field_ref="l_mix_sic" level="10" />
+                <field field_ref="l_mixmin_ter" level="10" />
+                <field field_ref="l_mixmin_lic" level="10" />
+                <field field_ref="l_mixmin_oce" level="10" />
+                <field field_ref="l_mixmin_sic" level="10" />
+                <field field_ref="CO2" level="10" />
+                <field field_ref="dCO2_vdf" level="10" />
+                <field field_ref="dCO2_the" level="10" />
+                <field field_ref="dCO2_con" level="10" />
+                
+                <field field_ref="cldtau" level="10" />
+                <field field_ref="cldemi" level="10" />
+                <field field_ref="tke_max" level="10" operation="maximum" />
+                <field field_ref="kz" level="10" />
+                <field field_ref="kz_max" level="10" operation="maximum" />
+                <field field_ref="concso4" level="10" />
+                <field field_ref="concoa" level="10" />
+                <field field_ref="concbc" level="10" />
+                <field field_ref="concss" level="10" />
+                <field field_ref="concdust" level="10" />
+                <field field_ref="concno3" level="10" />
+                <field field_ref="ec550aer" level="10" />
+                <field field_ref="lwcon" level="10" />
+                <field field_ref="iwcon" level="10" />
+                <field field_ref="temp" level="4" />
+                <field field_ref="theta" level="4" />
+                <field field_ref="ovap" level="4" />
+                <field field_ref="ovapinit" level="10" />
+                <field field_ref="oliq" level="4" />
+                <field field_ref="ocond" level="4" />
+                <field field_ref="geop" level="10" />
+                <field field_ref="geoph" level="10" />
+                <field field_ref="vitu" level="4" />
+                <field field_ref="vitv" level="4" />
+                <field field_ref="vitw" level="10" />
+                <field field_ref="pres" level="10" />
+                <field field_ref="paprs" level="10" />
+                <field field_ref="mass" level="10" />
+                <field field_ref="zfull" level="10" />
+                <field field_ref="zhalf" level="10" />
+                <field field_ref="rneb" level="10" />
+                <field field_ref="rnebcon" level="10" />
+                <field field_ref="rnebls" level="10" />
+                <field field_ref="rneblsvol" level="10" />
+                <field field_ref="rhum" level="10" />
+                <field field_ref="ozone" level="10" />
+                <field field_ref="upwd" level="10" />
+                <field field_ref="ep" level="10" />
+                <field field_ref="duphy" level="10" />
+                <field field_ref="dtphy" level="10" />
+                <field field_ref="dqphy" level="10" />
+                <field field_ref="dqlphy" level="10" />
+                <field field_ref="dqsphy" level="10" />
+                <field field_ref="pr_con_l" level="10" />
+                <field field_ref="pr_con_i" level="10" />
+                <field field_ref="pr_lsc_l" level="10" />
+                <field field_ref="pr_lsc_i" level="10" />
+                <field field_ref="re" level="10" />
+                <field field_ref="fl" level="10" />
+                <field field_ref="scdnc" level="10" />
+                <field field_ref="reffclws" level="10" />
+                <field field_ref="reffclwc" level="10" />
+                <field field_ref="lcc3d" level="10" />
+                <field field_ref="lcc3dcon" level="10" />
+                <field field_ref="lcc3dstra" level="10" />
+                <field field_ref="cldwatmxrat" level="10" />
+                <field field_ref="icc3dcon" level="10" />
+                <field field_ref="icc3dstra" level="10" />
+                <field field_ref="cldicemxrat" level="10" />
+                <field field_ref="clwcon" level="10" />
+                <field field_ref="Ma" level="10" />
+                <field field_ref="dnwd" level="10" />
+                <field field_ref="dnwd0" level="10" />
+                <field field_ref="mc" level="10" />
+                <field field_ref="dtdyn" level="10" />
+                <field field_ref="dqdyn" level="10" />
+                <field field_ref="dqldyn" level="10" />
+                <field field_ref="dqsdyn" level="10" />
+                <field field_ref="dudyn" level="10" />
+                <field field_ref="dvdyn" level="10" />
+                <field field_ref="dtcon" level="10" />
+                <field field_ref="ducon" level="10" />
+                <field field_ref="dvcon" level="10" />
+                <field field_ref="dqcon" level="10" />
+                <field field_ref="dtwak" level="10" />
+                <field field_ref="dqwak" level="10" />
+                <field field_ref="wake_deltat" level="10" />
+                <field field_ref="wake_deltaq" level="10" />
+                <field field_ref="wake_omg" level="10" />
+                <field field_ref="wdtrainA" level="4" />
+                <field field_ref="wdtrainM" level="4" />
+                <field field_ref="Vprecip" level="10" />
+                <field field_ref="ftd" level="10" />
+                <field field_ref="fqd" level="10" />
+                <field field_ref="dtlsc" level="10" />
+                <field field_ref="dtlschr" level="10" />
+                <field field_ref="dqlsc" level="10" />
+                <field field_ref="beta_prec" level="10" />
+                <field field_ref="dtvdf" level="10" />
+                <field field_ref="dtvdf_x" level="11" />
+                <field field_ref="dtvdf_w" level="11" />
+                <field field_ref="dtdis" level="10" />
+                <field field_ref="dqvdf" level="10" />
+                <field field_ref="dqvdf_x" level="11" />
+                <field field_ref="dqvdf_w" level="11" />
+                <field field_ref="dteva" level="10" />
+                <field field_ref="dqeva" level="10" />
+                <field field_ref="dqlscth" level="10" />
+                <field field_ref="dqlscst" level="10" />
+                <field field_ref="dtlscth" level="10" />
+                <field field_ref="dtlscst" level="10" />
+                <field field_ref="ptconvth" level="10" />
+                <field field_ref="ptconv" level="10" />
+                <field field_ref="ratqs" level="10" />
+                <field field_ref="dtthe" level="10" />
+                <field field_ref="f_th" level="10" />
+                <field field_ref="e_th" level="10" />
+                <field field_ref="w_th" level="10" />
+                <field field_ref="lambda_th" level="10" />
+                <field field_ref="q_th" level="10" />
+                <field field_ref="a_th" level="10" />
+                <field field_ref="s_th" level="10" />
+                <field field_ref="s_env" level="10" />
+                <field field_ref="sigma_th" level="10" />
+                <field field_ref="sigma_env" level="10" />
+                <field field_ref="d_th" level="10" />
+                <field field_ref="dqthe" level="10" />
+                <field field_ref="dtajs" level="10" />
+                <field field_ref="dqajs" level="10" />
+                <field field_ref="dtswr" level="10" />
+                <field field_ref="dtsw0" level="10" />
+                <field field_ref="dtlwr" level="10" />
+                <field field_ref="dtlw0" level="10" />
+                <field field_ref="dtec" level="10" />
+                <field field_ref="duvdf" level="10" />
+                <field field_ref="dvvdf" level="10" />
+                <field field_ref="duoro" level="10" />
+                <field field_ref="dvoro" level="10" />
+                <field field_ref="dulif" level="10" />
+                <field field_ref="dvlif" level="10" />
+                <field field_ref="du_gwd_hines" level="10" />
+                <field field_ref="dv_gwd_hines" level="10" />
+                <field field_ref="du_gwd_front" level="10" />
+                <field field_ref="dv_gwd_front" level="10" />
+                <field field_ref="east_gwstress" level="10" />
+                <field field_ref="west_gwstress" level="10" />
+                <field field_ref="dtoro" level="10" />
+                <field field_ref="dtlif" level="10" />
+                <field field_ref="dthin" level="10" />
+                <field field_ref="rsu" level="10" />
+                <field field_ref="rsd" level="10" />
+                <field field_ref="rlu" level="10" />
+                <field field_ref="rld" level="10" />
+                <field field_ref="rsucs" level="10" />
+                <field field_ref="rsdcs" level="10" />
+                <field field_ref="rlucs" level="10" />
+                <field field_ref="rldcs" level="10" />
+                <field field_ref="tnt" level="10" />
+                <field field_ref="tntc" level="10" />
+                <field field_ref="tntr" level="10" />
+                <field field_ref="tntscpbl" level="10" />
+                <field field_ref="tnhus" level="10" />
+                <field field_ref="tnhusc" level="10" />
+                <field field_ref="tnhusscpbl" level="10" />
+                <field field_ref="evu" level="10" />
+                <field field_ref="h2o" level="10" />
+                <field field_ref="mcd" level="10" />
+                <field field_ref="dmc" level="10" />
+                <field field_ref="ref_liq" level="10" />
+                <field field_ref="ref_ice" level="10" />
+                <field field_ref="rsu4co2" level="10" />
+                <field field_ref="rlu4co2" level="10" />
+                <field field_ref="rsucs4co2" level="10" />
+                <field field_ref="rlucs4co2" level="10" />
+                <field field_ref="rsd4co2" level="10" />
+                <field field_ref="rld4co2" level="10" />
+                <field field_ref="rsdcs4co2" level="10" />
+                <field field_ref="rldcs4co2" level="10" />
+            </field_group>
+          </field_group>
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmthCOSP_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmthCOSP_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmthCOSP_lmdz.xml	(revision 5499)
@@ -0,0 +1,104 @@
+<file_definition>
+     <file_group id="defile">
+        <file id="histmthCOSP" name="histmthCOSP" output_freq="1mo" output_level="0"  enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <field_group group_ref="remap_1mo">
+            
+            <!-- VARS Calipso and PARASOL -->
+              <field_group operation="average" freq_op="3h" detect_missing_value=".true." >
+                <field field_ref="cllcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pcllcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pclmcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pclhcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="pcltcalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cllcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipsoice"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cllcalipsoliq"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipsoliq"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipsoliq"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipsoliq"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cllcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clmcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clhcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="cltcalipsoun"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clcalipso"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoice"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoliq"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoun"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsotmp"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="clcalipsotmpice"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="clcalipsotmpliq"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="clcalipsotmpun"  level="5" grid_ref="grid_out_temp"/>
+                <field field_ref="parasol_refl"  level="5" grid_ref="grid_out_sza"/>
+                <field field_ref="parasol_crefl"  level="5" grid_ref="grid_out_sza"/>
+                <field field_ref="Ncrefl"  level="5" grid_ref="grid_out_sza"/>
+		<field field_ref="cfad_lidarsr532"  level="10" grid_ref="grid4Dsrbin_out"/>
+                <field field_ref="atb532" level="10" grid_ref="grid4Dcol_out"/>
+                <field field_ref="beta_mol532" level="10" grid_ref="grid_out_heightmlev"/>
+                <field field_ref="clopaquecalipso"       level="5" grid_ref="grid_out"/>
+                <field field_ref="clthincalipso"         level="5" grid_ref="grid_out"/>
+                <field field_ref="clzopaquecalipso"      level="5" grid_ref="grid_out"/>
+                <field field_ref="clcalipsoopaque"   level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsothin"     level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsozopaque"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="clcalipsoopacity"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="proftemp"  level="5" grid_ref="grid_out_height"/>
+                <field field_ref="profSR"  level="5" grid_ref="grid4Dcol2_out"/>
+              </field_group>
+             <!-- VARS CLOUDSAT et/ou Calipso -->
+              <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">                        
+                 <field field_ref="cltlidarradar"  level="5" grid_ref="grid_out"/>
+                 <field field_ref="clcalipso2"  level="5" grid_ref="grid_out_height"/>
+                 <field field_ref="cfadDbze94"  level="10" grid_ref="grid4Ddbze_out"/>
+                 <field field_ref="dbze94" level="10" grid_ref="grid4Dcol_out"/>
+              </field_group>
+             <!-- VARS ISCCP -->
+             <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="sunlit" level="5" grid_ref="grid_out"/>
+                <field field_ref="clisccp2" level="5" grid_ref="grid4Dtau_out"/>
+                <field field_ref="boxtauisccp" level="10" grid_ref="grid_out_column"/>
+                <field field_ref="boxptopisccp" level="10" grid_ref="grid_out_column"/>
+                <field field_ref="tclisccp" level="5" grid_ref="grid_out"/>
+                <field field_ref="ctpisccp" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauisccp" level="5" grid_ref="grid_out"/> 
+                <field field_ref="albisccp" level="5" grid_ref="grid_out"/>
+                <field field_ref="meantbisccp" level="10" grid_ref="grid_out"/>
+                <field field_ref="meantbclrisccp" level="10" grid_ref="grid_out"/>
+              </field_group>
+             <!-- VARS MISR -->
+             <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="clMISR" level="5" grid_ref="grid4Dmisr_out"/>
+             </field_group>
+             <field_group operation="instant" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="cllmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clmmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clhmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="cltmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clwmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="climodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tautmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauwmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauimodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tautlogmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauilogmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="tauwlogmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="reffclwmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="reffclimodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="pctmodis"  level="5" grid_ref="grid_out"/>
+                <field field_ref="lwpmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="iwpmodis" level="5" grid_ref="grid_out"/>
+                <field field_ref="clmodis" level="5" grid_ref="grid4Dtau_out"/>
+                <field field_ref="crimodis" level="10" grid_ref="grid4Dreffi_out"/>
+                <field field_ref="crlmodis" level="10" grid_ref="grid4Dreffl_out"/>
+             </field_group>
+           </field_group> 
+        </file>
+     </file_group>
+</file_definition>
+   
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmthNMC_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmthNMC_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmthNMC_lmdz.xml	(revision 5499)
@@ -0,0 +1,34 @@
+<file_definition>
+    <file_group id="defile">
+        <file id="histmthNMC" name="histmthNMC" output_freq="1mo" output_level="0" enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <field_group group_ref="remap_1mo">
+
+            <!-- VARS 3D -->
+              <field_group operation="average" grid_ref="grid_out_plev" freq_op="1ts" detect_missing_value=".true.">
+<!--            <field field_ref="tnondef" level="5" />  -->
+                <field field_ref="ta" level="1" />
+                <field field_ref="zg" level="5" />
+                <field field_ref="hus" level="5" />
+                <field field_ref="hur" level="5" />
+                <field field_ref="ua" level="5" />
+                <field field_ref="va" level="5" />
+                <field field_ref="wap" level="5" />
+<!--            <field field_ref="psbg" level="5" />  -->
+                <field field_ref="tro3" level="5" />
+                <field field_ref="tro3_daylight" level="5" />
+                <field field_ref="uv" level="6" />
+                <!-- <field field_ref="vq" level="6" /> -->
+                <field field_ref="vT" level="6" />
+                <field field_ref="wq" level="6" />
+                <field field_ref="vphi" level="6" />
+                <field field_ref="wT" level="6" />
+                <field field_ref="u2" level="6" />
+                <field field_ref="v2" level="6" />
+                <field field_ref="T2" level="6" />
+              </field_group>
+            </field_group>
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmth_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmth_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histmth_lmdz.xml	(revision 5499)
@@ -0,0 +1,702 @@
+<!-- $Id: file_def_histmth_lmdz.xml 3507 2019-05-17 12:18:26Z fairhead $ --> 
+<file_definition>
+        <file_group id="defile">
+        <file id="histmth" name="histmth" output_freq="1mo" output_level="5"  enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <!-- VARS 1D -->
+<!--            <field_group operation="once">  -->
+<!--              <field field_ref="Ap" level="1" />  -->
+<!--              <field field_ref="Bp" level="1" />  -->
+<!--              <field field_ref="Alt" level="1" />  -->
+<!--            </field_group>  -->
+
+            <field_group operation="once">
+              <field field_ref="Ahyb" level="1" />
+              <field field_ref="Ahyb_bounds" level="1" />
+              <field field_ref="Bhyb" level="1" />
+              <field field_ref="Bhyb_bounds" level="1" />
+              <field field_ref="Ahyb_mid" level="1" />
+              <field field_ref="Ahyb_mid_bounds" level="1" />
+              <field field_ref="Bhyb_mid" level="1" />
+              <field field_ref="Bhyb_mid_bounds" level="1" />
+            </field_group>
+
+            <field_group operation="instant">
+                <field field_ref="R_ecc" level="1" name="R_ecc" />
+                <field field_ref="R_peri" level="1" name="R_peri" />
+                <field field_ref="R_incl" level="1" name="R_incl" />
+                <field field_ref="solaire" level="1" name="solaire" />
+
+                <field field_ref="rsun1" level="1" name="rsun1" />
+                <field field_ref="rsun2" level="1" name="rsun2" />
+                <field field_ref="rsun3" level="1" name="rsun3" />
+                <field field_ref="rsun4" level="1" name="rsun4" />
+                <field field_ref="rsun5" level="1" name="rsun5" />
+                <field field_ref="rsun6" level="1" name="rsun6" />
+
+                <field field_ref="co2_ppm" level="1" name="co2_ppm" />
+                <field field_ref="CH4_ppb" level="1" name="CH4_ppb" />
+                <field field_ref="N2O_ppb" level="1" name="N2O_ppb" />
+                <field field_ref="CFC11_ppt" level="1" name="CFC11_ppt" />
+                <field field_ref="CFC12_ppt" level="1" name="CFC12_ppt" />
+            </field_group>
+            
+
+           <field_group group_ref="remap_1mo">
+             <!-- VARS 2D -->
+             <field_group operation="average" grid_ref="grid_out">
+                <field field_ref="io_lon" level="1" operation="once"/>
+                <field field_ref="io_lat" level="1" operation="once"/>
+    
+                <field field_ref="phis"         level="1"  />
+                <field field_ref="aire"         level="1"  />
+                <field field_ref="contfracATM"  level="10" />
+                <field field_ref="contfracOR"   level="10" />
+                <field field_ref="flat"         level="5" />
+                <field field_ref="slp"          level="1" />
+                <field field_ref="sza"          level="1" />
+                <field field_ref="ptstar"       level="1" />
+                <field field_ref="pt0"          level="1" />
+                <field field_ref="tsol"         level="1" />
+                <field field_ref="t2m"          level="1" />
+                <field id="ave_t2m_daily_min" field_ref="t2m_min" name="ave_t2m_daily_min" level="1" operation="average" freq_op="1d" expr="@t2m_min" />
+                <field id="ave_t2m_daily_max" field_ref="t2m_max" name="ave_t2m_daily_max" level="1" operation="average" freq_op="1d" expr="@t2m_max" />
+                <field field_ref="t2m_ter" level="10" />
+                <field field_ref="t2m_lic" level="10" />
+                <field field_ref="t2m_oce" level="10" />
+                <field field_ref="t2m_sic" level="10" />
+                <field field_ref="gusts" level="1" />
+                <field field_ref="wind10m" level="1" />
+                <field field_ref="wind10max" level="10" operation="maximum" />
+                <field field_ref="sicf"      level="1" />
+                <field field_ref="q2m"       level="1" />
+                <field field_ref="ustar"     level="1" />
+                <field field_ref="u10m"      level="1" />
+                <field field_ref="v10m"      level="1" />
+                <field field_ref="psol"      level="1" />
+                <field field_ref="qsurf"     level="1" />
+                <field field_ref="ustar_ter" level="10" />
+                <field field_ref="ustar_lic" level="10" />
+                <field field_ref="ustar_oce" level="10" />
+                <field field_ref="ustar_sic" level="10" />
+                <field field_ref="wstar_ter" level="10" />
+                <field field_ref="wstar_lic" level="10" />
+                <field field_ref="wstar_oce" level="10" />
+                <field field_ref="wstar_sic" level="10" />
+                <field field_ref="wstar"    level="5" />
+                <field field_ref="u10m_ter" level="10" />
+                <field field_ref="u10m_lic" level="10" />
+                <field field_ref="u10m_oce" level="10" />
+                <field field_ref="u10m_sic" level="10" />
+                <field field_ref="v10m_ter" level="10" />
+                <field field_ref="v10m_lic" level="10" />
+                <field field_ref="v10m_oce" level="10" />
+                <field field_ref="v10m_sic" level="10" />
+                <field field_ref="qsol"     level="1" />
+                <field field_ref="ndayrain" level="1" operation="instant" />
+                <field field_ref="precip"   level="1" />
+                <field field_ref="rain_fall"   level="1" />
+                <field field_ref="rain_con"   level="1" />
+                <field field_ref="plul"     level="1" />
+                <field field_ref="plun"     level="1" />
+                <field field_ref="pluc"     level="1" />
+                <field field_ref="snow"     level="1" />
+                <field field_ref="evap"     level="1" />
+                <field field_ref="evap_ter" level="1" />
+                <field field_ref="evap_lic" level="1" />
+                <field field_ref="evap_oce" level="1" />
+                <field field_ref="evap_sic" level="1" />
+                <field field_ref="msnow"    level="1" />
+                <field field_ref="fsnow"    level="1" />
+                <field field_ref="tops"     level="1" />
+                <field field_ref="tops0"    level="1" />
+                <field field_ref="topl"     level="1" />
+                <field field_ref="topl0"    level="1" />
+                <field field_ref="SWupTOA"  level="1" />
+                <field field_ref="SWupTOAclr"   level="1" />
+                <field field_ref="SWdnTOA"      level="1" />
+                <field field_ref="SWdnTOAclr"   level="1" />
+                <field field_ref="nettop"       level="1" />
+                <field field_ref="SWup200"      level="15" />
+                <field field_ref="SWup200clr"   level="15" />
+                <field field_ref="SWdn200"      level="15" />
+                <field field_ref="SWdn200clr"   level="15" />
+                <field field_ref="LWup200"      level="15" />
+                <field field_ref="LWup200clr"   level="15" />
+                <field field_ref="LWdn200"      level="15" />
+                <field field_ref="LWdn200clr"   level="15" />
+                <field field_ref="sols"  level="1" />
+                <field field_ref="sols0" level="1" />
+                <field field_ref="soll" level="1" />
+                <field field_ref="soll0" level="1" />
+                <field field_ref="radsol" level="1" />
+                <field field_ref="SWupSFC" level="1" />
+                <field field_ref="SWupSFCclr" level="1" />
+                <field field_ref="SWdnSFC" level="1" />
+                <field field_ref="SWdnSFCclr" level="1" />
+                <field field_ref="LWupSFC" level="1" />
+                <field field_ref="LWupSFCclr" level="1" />
+                <field field_ref="LWdnSFC" level="1" />
+                <field field_ref="LWdnSFCclr" level="1" />
+                <field field_ref="bils" level="1" />
+                <field field_ref="bils_tke" level="1" />
+                <field field_ref="bils_diss" level="1" />
+                <field field_ref="bils_ec" level="1" />
+                <field field_ref="bils_kinetic" level="1" />
+                <field field_ref="bils_enthalp" level="1" />
+                <field field_ref="bils_latent" level="1" />
+                <field field_ref="sens" level="1" />
+                <field field_ref="sens_x" level="11" />
+                <field field_ref="sens_w" level="11" />
+                <field field_ref="flat_x" level="11" />
+                <field field_ref="flat_w" level="11" />
+                <field field_ref="delta_tsurf" level="11" />
+                <field field_ref="cdragh_x" level="11" />
+                <field field_ref="cdragh_w" level="11" />
+                <field field_ref="cdragm_x" level="11" />
+                <field field_ref="cdragm_w" level="11" />
+                <field field_ref="kh" level="11" />
+                <field field_ref="kh_x" level="11" />
+                <field field_ref="kh_w" level="11" />
+                <field field_ref="fder" level="1" />
+                <field field_ref="ffonte" level="1" />
+                <field field_ref="fqcalving" level="1" />
+                <field field_ref="fqfonte" level="1" />
+                <field field_ref="mrroli" level="1" />
+                <field field_ref="runofflic" level="5" />
+                <field field_ref="taux" level="1" />
+                <field field_ref="tauy" level="1" />
+                <field field_ref="taux_ter" level="1" />
+                <field field_ref="taux_lic" level="1" />
+                <field field_ref="taux_oce" level="1" />
+                <field field_ref="taux_sic" level="1" />
+                <field field_ref="tauy_ter" level="1" />
+                <field field_ref="tauy_lic" level="1" />
+                <field field_ref="tauy_oce" level="1" />
+                <field field_ref="tauy_sic" level="1" />
+                <field field_ref="pourc_ter" level="1" />
+                <field field_ref="pourc_lic" level="1" />
+                <field field_ref="pourc_oce" level="1" />
+                <field field_ref="pourc_sic" level="1" />
+                <field field_ref="fract_ter" level="1" />
+                <field field_ref="fract_lic" level="1" />
+                <field field_ref="fract_oce" level="1" />
+                <field field_ref="fract_sic" level="1" />
+                <field field_ref="tsol_ter" level="1" />
+                <field field_ref="tsol_lic" level="1" />
+                <field field_ref="tsol_oce" level="1" />
+                <field field_ref="tsol_sic" level="1" />
+                <field field_ref="evappot_ter" level="1" />
+                <field field_ref="evappot_lic" level="4" />
+                <field field_ref="evappot_oce" level="4" />
+                <field field_ref="evappot_sic" level="4" />
+                <field field_ref="sens_ter" level="1" />
+                <field field_ref="sens_lic" level="1" />
+                <field field_ref="sens_oce" level="1" />
+                <field field_ref="sens_sic" level="1" />
+                <field field_ref="lat_ter" level="1" />
+                <field field_ref="lat_lic" level="1" />
+                <field field_ref="lat_oce" level="1" />
+                <field field_ref="lat_sic" level="1" />
+                <field field_ref="flw_ter" level="1" />
+                <field field_ref="flw_lic" level="1" />
+                <field field_ref="flw_oce" level="1" />
+                <field field_ref="flw_sic" level="1" />
+                <field field_ref="fsw_ter" level="1" />
+                <field field_ref="fsw_lic" level="1" />
+                <field field_ref="fsw_oce" level="1" />
+                <field field_ref="fsw_sic" level="1" />
+                <field field_ref="wbils_ter" level="1" />
+                <field field_ref="wbils_lic" level="1" />
+                <field field_ref="wbils_oce" level="1" />
+                <field field_ref="wbils_sic" level="1" />
+                <field field_ref="wbilo_ter" level="1" />
+                <field field_ref="wbilo_lic" level="1" />
+                <field field_ref="wbilo_oce" level="1" />
+                <field field_ref="wbilo_sic" level="1" />
+                <field field_ref="wevap_ter" level="1" />
+                <field field_ref="wevap_lic" level="1" />
+                <field field_ref="wevap_oce" level="1" />
+                <field field_ref="wevap_sic" level="1" />
+                <field field_ref="wrain_ter" level="1" />
+                <field field_ref="wrain_lic" level="1" />
+                <field field_ref="wrain_oce" level="1" />
+                <field field_ref="wrain_sic" level="1" />
+                <field field_ref="wsnow_ter" level="1" />
+                <field field_ref="wsnow_lic" level="1" />
+                <field field_ref="wsnow_oce" level="1" />
+                <field field_ref="wsnow_sic" level="1" />
+                <field field_ref="cdrm" level="1" />
+                <field field_ref="cdrh" level="1" />
+                <field field_ref="cldl" level="1" />
+                <field field_ref="cldm" level="1" />
+                <field field_ref="cldh" level="1" />
+                <field field_ref="cldt" level="1" />
+                <field field_ref="cldq" level="1" />
+                <field field_ref="lwp" level="1" />
+                <field field_ref="iwp" level="1" />
+                <field field_ref="ue" level="1" />
+                <field field_ref="ve" level="1" />
+                <field field_ref="uq" level="1" />
+                <field field_ref="vq" level="1" />
+                <field field_ref="uwat" level="1" />
+                <field field_ref="vwat" level="1" />
+                <field field_ref="cape" level="1" />
+                <field field_ref="pbase" level="1" />
+                <field field_ref="ptop" level="1" />
+                <field field_ref="fbase" level="1" />
+                <field field_ref="plcl" level="1" />
+                <field field_ref="plfc" level="1" />
+                <field field_ref="wbeff" level="1" />
+                <field field_ref="convoccur" level="10" />
+                <field field_ref="prw" level="1" />
+                <field field_ref="prlw" level="1" />
+                <field field_ref="prsw" level="1" />
+                <field field_ref="s_pblh" level="1" />
+                <field field_ref="s_pblt" level="1" />
+                <field field_ref="s_lcl" level="1" />
+                <field field_ref="s_therm" level="1" />
+                <field field_ref="slab_bils_oce" level="1" />
+                <field field_ref="ale_bl" level="1" />
+                <field field_ref="alp_bl" level="1" />
+                <field field_ref="ale_wk" level="1" />
+                <field field_ref="alp_wk" level="1" />
+                <field field_ref="ale" level="1" />
+                <field field_ref="alp" level="1" />
+                <field field_ref="cin" level="1" />
+                <field field_ref="wape" level="1" />
+                <field field_ref="n2" level="1" />
+                <field field_ref="s2" level="1" />
+                <field field_ref="proba_notrig" level="1" />
+                <field field_ref="random_notrig" level="1" />
+                <field field_ref="cv_gen" level="1" />
+                <field field_ref="ale_bl_stat" level="1" />
+                <field field_ref="ale_bl_trig" level="1" />
+                <field field_ref="alp_bl_det" level="1" />
+                <field field_ref="alp_bl_fluct_m" level="1" />
+                <field field_ref="alp_bl_fluct_tke" level="1" />
+                <field field_ref="alp_bl_conv" level="1" />
+                <field field_ref="alp_bl_stat" level="1" />
+                <field field_ref="colO3_strat" level="2" />     <!-- Added ThL -->
+                <field field_ref="colO3_trop"  level="2" />     <!-- Added ThL -->
+
+                <field_group operation="average" detect_missing_value=".true.">
+                    <field field_ref="u850" level="10" />
+                    <field field_ref="u700" level="10" />
+                    <field field_ref="u500" level="10" />
+                    <field field_ref="u200" level="10" />
+                    <field field_ref="u100" level="10" />
+                    <field field_ref="u50" level="10" />
+                    <field field_ref="u10" level="10" />
+                    <field field_ref="v850" level="10" />
+                    <field field_ref="v700" level="10" />
+                    <field field_ref="v500" level="10" />
+                    <field field_ref="v200" level="10" />
+                    <field field_ref="v100" level="10" />
+                    <field field_ref="v50" level="10" />
+                    <field field_ref="v10" level="10" />
+                    <field field_ref="w850" level="10" />
+                    <field field_ref="w700" level="10" />
+                    <field field_ref="w500" level="10" />
+                    <field field_ref="w200" level="10" />
+                    <field field_ref="w100" level="10" />
+                    <field field_ref="w50" level="10" />
+                    <field field_ref="w10" level="10" />
+                    <field field_ref="t850" level="10" />
+                    <field field_ref="t700" level="10" />
+                    <field field_ref="t500" level="10" />
+                    <field field_ref="t200" level="10" />
+                    <field field_ref="t100" level="10" />
+                    <field field_ref="t50" level="10" />
+                    <field field_ref="t10" level="10" />
+                    <field field_ref="q850" level="10" />
+                    <field field_ref="q700" level="10" />
+                    <field field_ref="q500" level="10" />
+                    <field field_ref="q200" level="10" />
+                    <field field_ref="q100" level="10" />
+                    <field field_ref="q50" level="10" />
+                    <field field_ref="q10" level="10" />
+                    <field field_ref="z850" level="10" />
+                    <field field_ref="z700" level="10" />
+                    <field field_ref="z500" level="10" />
+                    <field field_ref="z200" level="10" />
+                    <field field_ref="z100" level="10" />
+                    <field field_ref="z50" level="10" />
+                    <field field_ref="z10" level="10" />
+                </field_group>
+
+                <field field_ref="t_oce_sic" level="1" />
+                <field field_ref="weakinv" level="10" />
+                <field field_ref="dthmin" level="10" />
+                <field field_ref="u10_ter" level="10" />
+                <field field_ref="u10_lic" level="10" />
+                <field field_ref="u10_oce" level="10" />
+                <field field_ref="u10_sic" level="10" />
+                <field field_ref="v10_ter" level="10" />
+                <field field_ref="v10_lic" level="10" />
+                <field field_ref="v10_oce" level="10" />
+                <field field_ref="v10_sic" level="10" />
+                <field field_ref="rh2m" level="5" />
+                <field field_ref="rh2m_min" level="10" operation="minimum" />
+                <field field_ref="rh2m_max" level="10" operation="maximum" />
+                <field field_ref="qsat2m" level="10" />
+                <field field_ref="tpot" level="10" />
+                <field field_ref="tpote" level="10" />
+                <field field_ref="SWnetOR" level="10" />
+                <field field_ref="SWdownOR" level="10" />
+                <field field_ref="LWdownOR" level="10" />
+                <field field_ref="snowl" level="10" />
+                <field field_ref="cape_max" level="10" operation="maximum" />
+                <field field_ref="solldown" level="10" />
+                <field field_ref="dtsvdfo" level="10" />
+                <field field_ref="dtsvdft" level="10" />
+                <field field_ref="dtsvdfg" level="10" />
+                <field field_ref="dtsvdfi" level="10" />
+                <field field_ref="rugs" level="10" />
+                <field field_ref="z0m" level="10" />
+                <field field_ref="z0h" level="10" />
+                <field field_ref="topswad" level="1" />
+                <field field_ref="topswad0" level="1" />
+                <field field_ref="topswai" level="10" />
+                <field field_ref="solswad" level="10" />
+                <field field_ref="solswad0" level="10" />
+                <field field_ref="solswai" level="10" />
+                <field field_ref="toplwad" level="1" />
+                <field field_ref="toplwad0" level="1" />
+                <field field_ref="toplwai" level="10" />
+                <field field_ref="sollwad" level="10" />
+                <field field_ref="sollwad0" level="10" />
+                <field field_ref="sollwai" level="10" />
+                <field field_ref="od550_ASBCM" level="7" />
+                <field field_ref="od550_ASPOMM" level="7" />
+                <field field_ref="od550_ASSO4M" level="7" />
+                <field field_ref="od550_CSSO4M" level="7" />
+                <field field_ref="od550_SSSSM" level="7" />
+                <field field_ref="od550_ASSSM" level="7" />
+                <field field_ref="od550_CSSSM" level="7" />
+                <field field_ref="od550_CIDUSTM" level="7" />
+                <field field_ref="od550_AIBCM" level="7" />
+                <field field_ref="od550_AIPOMM" level="7" />
+                <field field_ref="od550_ASNO3M" level="7" />
+                <field field_ref="od550_CSNO3M" level="7" />
+                <field field_ref="od550_CINO3M" level="7" />
+                <field field_ref="od550_STRAT" level="2" />
+                <field field_ref="dryod550_ASBCM" level="7" />
+                <field field_ref="dryod550_ASPOMM" level="7" />
+                <field field_ref="dryod550_ASSO4M" level="7" />
+                <field field_ref="dryod550_CSSO4M" level="7" />
+                <field field_ref="dryod550_SSSSM" level="7" />
+                <field field_ref="dryod550_ASSSM" level="7" />
+                <field field_ref="dryod550_CSSSM" level="7" />
+                <field field_ref="dryod550_CIDUSTM" level="7" />
+                <field field_ref="dryod550_AIBCM" level="7" />
+                <field field_ref="dryod550_AIPOMM" level="7" />
+                <field field_ref="dryod550_ASNO3M" level="7" />
+                <field field_ref="dryod550_CSNO3M" level="7" />
+                <field field_ref="dryod550_CINO3M" level="7" />
+                <field field_ref="od550aer" level="2" />
+                <field field_ref="dryod550aer" level="2" />
+                <field field_ref="od865aer" level="2" />
+                <field field_ref="abs550aer" level="2" />
+                <field field_ref="od550lt1aer" level="2" />
+                <field field_ref="sconcso4" level="2" />
+                <field field_ref="sconcoa" level="2" />
+                <field field_ref="sconcbc" level="2" />
+                <field field_ref="sconcss" level="11" />
+                <field field_ref="sconcdust" level="11" />
+                <field field_ref="sconcno3" level="11" />
+                <field field_ref="loadso4" level="11" />
+                <field field_ref="loadoa" level="11" />
+                <field field_ref="loadbc" level="11" />
+                <field field_ref="loadss" level="11" />
+                <field field_ref="loaddust" level="11" />
+                <field field_ref="loadno3" level="11" />
+                <field field_ref="swtoaas_nat" level="11" />
+                <field field_ref="swsrfas_nat" level="11" />
+                <field field_ref="swtoacs_nat" level="11" />
+                <field field_ref="swsrfcs_nat" level="11" />
+                <field field_ref="swtoaas_ant" level="11" />
+                <field field_ref="swsrfas_ant" level="11" />
+                <field field_ref="swtoacs_ant" level="11" />
+                <field field_ref="swsrfcs_ant" level="11" />
+                <field field_ref="swtoacf_nat" level="11" />
+                <field field_ref="swsrfcf_nat" level="11" />
+                <field field_ref="swtoacf_ant" level="11" />
+                <field field_ref="swsrfcf_ant" level="11" />
+                <field field_ref="swtoacf_zero" level="11" />
+                <field field_ref="swsrfcf_zero" level="11" />
+                <field field_ref="cldncl" level="11" />
+                <field field_ref="reffclwtop" level="11" />
+                <field field_ref="cldnvi" level="11" />
+                <field field_ref="lcc" level="11" />
+                <field field_ref="wvapp" level="2" />
+                <field field_ref="albe_ter" level="3" />
+                <field field_ref="albe_lic" level="3" />
+                <field field_ref="albe_oce" level="3" />
+                <field field_ref="albe_sic" level="3" />
+                <field field_ref="ages_ter" level="10" />
+                <field field_ref="ages_lic" level="3" />
+                <field field_ref="ages_oce" level="10" />
+                <field field_ref="ages_sic" level="3" />
+                <field field_ref="snow_ter" level="10" />
+                <field field_ref="snow_lic" level="3" />
+                <field field_ref="snow_oce" level="10" />
+                <field field_ref="snow_sic" level="3" />
+                <field field_ref="rugs_ter" level="3" />
+                <field field_ref="rugs_lic" level="3" />
+                <field field_ref="rugs_oce" level="3" />
+                <field field_ref="rugs_sic" level="3" />
+                <field field_ref="z0m_ter" level="3" />
+                <field field_ref="z0m_lic" level="3" />
+                <field field_ref="z0m_oce" level="3" />
+                <field field_ref="z0m_sic" level="3" />
+                <field field_ref="z0h_ter" level="3" />
+                <field field_ref="z0h_lic" level="3" />
+                <field field_ref="z0h_oce" level="3" />
+                <field field_ref="z0h_sic" level="3" />
+                <field field_ref="alb1" level="3" />
+                <field field_ref="alb2" level="3" />
+                <field field_ref="ftime_con" level="4" operation="instant" />
+                <field field_ref="wake_h" level="4" />
+                <field field_ref="wake_dens" level="4" />
+                <field field_ref="wake_s" level="4" />
+                <field field_ref="epmax" level="2" />
+                <field field_ref="plulth" level="10" />
+                <field field_ref="plulst" level="10" />
+                <field field_ref="lmaxth" level="10" />
+                <field field_ref="ftime_th" level="4" />
+                <field field_ref="ftime_deepcv" level="4" />
+                <field field_ref="f0_th" level="4" />
+                <field field_ref="zmax_th" level="4" />
+                <field field_ref="rsut4co2" level="10" />
+                <field field_ref="rlut4co2" level="10" />
+                <field field_ref="rsutcs4co2" level="10" />
+                <field field_ref="rlutcs4co2" level="10" />
+                <field field_ref="dqphy2d" level="2" />
+                <field field_ref="dqlphy2d" level="2" />
+                <field field_ref="dqsphy2d" level="2" />
+                <field field_ref="dqdyn2d" level="4" />
+                <field field_ref="dqldyn2d" level="4" />
+                <field field_ref="dqsdyn2d" level="4" />
+                <field field_ref="dqcon2d" level="4" />
+                <field field_ref="dqwak2d" level="4" />
+                <field field_ref="dqlsc2d" level="4" />
+                <field field_ref="dqvdf2d" level="4" />
+                <field field_ref="dqeva2d" level="4" />
+                <field field_ref="dqlscth2d" level="10" />
+                <field field_ref="dqlscst2d" level="10" />
+                <field field_ref="dqthe2d" level="4" />
+                <field field_ref="dqajs2d" level="4" />
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_presnivs">
+                <field field_ref="tke" level="7" />
+                <field field_ref="tke_ter" level="10" />
+                <field field_ref="tke_lic" level="10" />
+                <field field_ref="tke_oce" level="10" />
+                <field field_ref="tke_sic" level="10" />
+                <field field_ref="tke_max_ter" level="10" operation="maximum" />
+                <field field_ref="tke_max_lic" level="10" operation="maximum" />
+                <field field_ref="tke_max_oce" level="10" operation="maximum" />
+                <field field_ref="tke_max_sic" level="10" operation="maximum" />
+                <field field_ref="l_mix_ter" level="10" />
+                <field field_ref="l_mix_lic" level="10" />
+                <field field_ref="l_mix_oce" level="10" />
+                <field field_ref="l_mix_sic" level="10" />
+                <field field_ref="l_mixmin_ter" level="10" />
+                <field field_ref="l_mixmin_lic" level="10" />
+                <field field_ref="l_mixmin_oce" level="10" />
+                <field field_ref="l_mixmin_sic" level="10" />
+                <field field_ref="treedrg_ter" level="10" />
+                <field field_ref="treedrg_lic" level="10" />
+                <field field_ref="treedrg_oce" level="10" />
+                <field field_ref="treedrg_sic" level="10" />
+                
+                
+                <field field_ref="cldtau" level="10" />
+                <field field_ref="cldemi" level="10" />
+                <field field_ref="tke_max" level="4" operation="maximum" />
+                <field field_ref="kz" level="4" />
+                <field field_ref="kz_max" level="4" operation="maximum" />
+                <field field_ref="concso4" level="2" />
+                <field field_ref="concoa" level="2" />
+                <field field_ref="concbc" level="2" />
+                <field field_ref="concss" level="2" />
+                <field field_ref="concdust" level="2" />
+                <field field_ref="concno3" level="2" />
+                <field field_ref="ec550aer" level="2" />
+                <field field_ref="lwcon" level="7" />
+                <field field_ref="iwcon" level="7" />
+                <field field_ref="temp" level="1" />
+                <field field_ref="theta" level="3" />
+                <field field_ref="ovap" level="1" />
+                <field field_ref="ovapinit" level="10" />
+                <field field_ref="oliq" level="1" />
+                <field field_ref="ocond" level="1" />
+                <field field_ref="geop" level="3" />
+                <field field_ref="geoph" level="3" />
+                <field field_ref="vitu" level="1" />
+                <field field_ref="vitv" level="1" />
+                <field field_ref="vitw" level="1" />
+                <field field_ref="pres" level="1" />
+                <field field_ref="paprs" level="3" />
+                <field field_ref="mass" level="3" />
+                <field field_ref="zfull" level="1" />
+                <field field_ref="zhalf" level="7" />
+                <field field_ref="rneb" level="1" />
+                <field field_ref="rnebcon" level="7" />
+                <field field_ref="rnebls" level="7" />
+                <field field_ref="rneblsvol" level="7" />
+                <field field_ref="rhum" level="1" />
+                <field field_ref="ozone" level="3" />
+                <field field_ref="ozone_daylight" level="2" />
+                <field field_ref="upwd" level="7" />
+                <field field_ref="ep" level="7" />
+                <field field_ref="duphy" level="7" />
+                <field field_ref="dtphy" level="7" />
+                <field field_ref="dqphy" level="7" />
+                <field field_ref="dqlphy" level="7" />
+                <field field_ref="dqsphy" level="7" />
+                <field field_ref="pr_con_l" level="3" />
+                <field field_ref="pr_con_i" level="3" />
+                <field field_ref="pr_lsc_l" level="3" />
+                <field field_ref="pr_lsc_i" level="3" />
+                <field field_ref="re" level="5" />
+                <field field_ref="fl" level="5" />
+                <field field_ref="scdnc" level="11" />
+                <field field_ref="reffclws" level="11" />
+                <field field_ref="reffclwc" level="11" />
+                <field field_ref="lcc3d" level="11" />
+                <field field_ref="lcc3dcon" level="11" />
+                <field field_ref="lcc3dstra" level="11" />
+                <field field_ref="cldwatmxrat" level="5" />
+                <field field_ref="icc3dcon" level="11" />
+                <field field_ref="icc3dstra" level="11" />
+                <field field_ref="cldicemxrat" level="5" />
+                <field field_ref="clwcon" level="7" />
+                <field field_ref="Ma" level="7" />
+                <field field_ref="dnwd" level="7" />
+                <field field_ref="dnwd0" level="7" />
+                <field field_ref="mc" level="7" />
+                <field field_ref="dtdyn" level="7" />
+                <field field_ref="dqdyn" level="7" />
+                <field field_ref="dqldyn" level="7" />
+                <field field_ref="dqsdyn" level="7" />
+                <field field_ref="dudyn" level="7" />
+                <field field_ref="dvdyn" level="7" />
+                <field field_ref="dtcon" level="7" />
+                <field field_ref="ducon" level="7" />
+                <field field_ref="dvcon" level="7" />
+                <field field_ref="dqcon" level="7" />
+                <field field_ref="dtwak" level="7" />
+                <field field_ref="dqwak" level="7" />
+                <field field_ref="wake_deltat" level="7" />
+                <field field_ref="wake_deltaq" level="7" />
+                <field field_ref="wake_omg" level="7" />
+                <field field_ref="wdtrainA" level="9" />
+                <field field_ref="wdtrainM" level="9" />
+                <field field_ref="Vprecip" level="11" />
+                <field field_ref="ftd" level="7" />
+                <field field_ref="fqd" level="7" />
+                <field field_ref="dtlsc" level="7" />
+                <field field_ref="dtlschr" level="7" />
+                <field field_ref="dqlsc" level="7" />
+                <field field_ref="beta_prec" level="9" />
+                <field field_ref="dtvdf" level="7" />
+                <field field_ref="dtvdf_x" level="11" />
+                <field field_ref="dtvdf_w" level="11" />
+                <field field_ref="dtdis" level="7" />
+                <field field_ref="dqvdf" level="7" />
+                <field field_ref="dqvdf_x" level="11" />
+                <field field_ref="dqvdf_w" level="11" />
+                <field field_ref="dteva" level="7" />
+                <field field_ref="dqeva" level="7" />
+                <field field_ref="dqlscth" level="10" />
+                <field field_ref="dqlscst" level="10" />
+                <field field_ref="dtlscth" level="10" />
+                <field field_ref="dtlscst" level="10" />
+                <field field_ref="ptconvth" level="7" />
+                <field field_ref="ptconv" level="7" />
+                <field field_ref="ratqs" level="7" />
+                <field field_ref="dtthe" level="7" />
+                <field field_ref="f_th" level="7" />
+                <field field_ref="e_th" level="9" />
+                <field field_ref="w_th" level="7" />
+                <field field_ref="lambda_th" level="10" />
+                <field field_ref="q_th" level="9" />
+                <field field_ref="a_th" level="9" />
+                <field field_ref="s_th" level="9" />
+                <field field_ref="s_env" level="9" />
+                <field field_ref="sigma_th" level="9" />
+                <field field_ref="sigma_env" level="9" />
+                <field field_ref="d_th" level="9" />
+                <field field_ref="dqthe" level="7" />
+                <field field_ref="dtajs" level="7" />
+                <field field_ref="dqajs" level="7" />
+                <field field_ref="dtswr" level="7" />
+                <field field_ref="dtsw0" level="7" />
+                <field field_ref="dtlwr" level="7" />
+                <field field_ref="dtlw0" level="7" />
+                <field field_ref="dtec"  level="7" />
+                <field field_ref="duvdf" level="7" />
+                <field field_ref="dvvdf" level="7" />
+                <field field_ref="duoro" level="7" />
+                <field field_ref="dvoro" level="7" />
+                <field field_ref="dulif" level="7" />
+                <field field_ref="dvlif" level="7" />
+                <field field_ref="du_gwd_hines" level="7" />
+                <field field_ref="dv_gwd_hines" level="7" />
+                <field field_ref="du_gwd_front" level="7" />
+                <field field_ref="dv_gwd_front" level="7" />
+                <field field_ref="east_gwstress" level="10" />
+                <field field_ref="west_gwstress" level="10" />
+                <field field_ref="dtoro" level="10" />
+                <field field_ref="dtlif" level="7" />
+                <field field_ref="dthin" level="7" />
+                <field field_ref="rsu" level="5" />
+                <field field_ref="rsd" level="10" />
+                <field field_ref="rlu" level="10" />
+                <field field_ref="rld" level="10" />
+                <field field_ref="rsucs" level="10" />
+                <field field_ref="rsdcs" level="10" />
+                <field field_ref="rlucs" level="10" />
+                <field field_ref="rldcs" level="10" />
+                <field field_ref="tnt"  level="10" />
+                <field field_ref="tntc" level="10" />
+                <field field_ref="tntr" level="10" />
+                <field field_ref="tntscpbl" level="10" />
+                <field field_ref="tnhus"    level="10" />
+                <field field_ref="tnhusc"   level="10" />
+                <field field_ref="tnhusscpbl" level="10" />
+                <field field_ref="evu" level="10" />
+                <field field_ref="h2o" level="10" />
+                <field field_ref="mcd" level="10" />
+                <field field_ref="dmc" level="10" />
+                <field field_ref="ref_liq" level="5" />
+                <field field_ref="ref_ice" level="10" />
+                <field field_ref="rsu4co2" level="10" />
+                <field field_ref="rlu4co2" level="10" />
+                <field field_ref="rsucs4co2" level="10" />
+                <field field_ref="rlucs4co2" level="10" />
+                <field field_ref="rsd4co2" level="10" />
+                <field field_ref="rld4co2" level="10" />
+                <field field_ref="rsdcs4co2" level="10" />
+                <field field_ref="rldcs4co2" level="10" />
+                <field field_ref="stratomask" level="1" />
+                <field field_ref="cool_volc" level="1" />
+                <field field_ref="heat_volc" level="1" />
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_spectband">
+                <field field_ref="solbnd" level="10" />
+            </field_group>
+         
+          </field_group>
+
+        </file>
+
+        </file_group>
+    </file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histstn_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histstn_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histstn_lmdz.xml	(revision 5499)
@@ -0,0 +1,628 @@
+<file_definition>
+    <file_group id="defile">
+        <file id="histstn" name="histstn" output_freq="1800s" output_level="0" enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <!-- VARS 1D -->
+<!--            <field_group operation="once">  -->
+<!--              <field field_ref="Ap" level="1" />  -->
+<!--              <field field_ref="Bp" level="1" />  -->
+<!--              <field field_ref="Alt" level="1" />  -->
+<!--            </field_group>  -->
+        
+            <!-- VARS 2D -->
+           <field_group group_ref="remap_1800s">
+
+             <field_group operation="average" grid_ref="grid_out">
+                <field field_ref="phis" level="1" />
+                <field field_ref="aire" level="1" operation="once" />
+                <field field_ref="contfracATM" level="10" operation="once" />
+                <field field_ref="contfracOR" level="10" />
+                <field field_ref="flat" level="10" />
+                <field field_ref="slp" level="10" />
+                <field field_ref="sza" level="10" />
+                <field field_ref="ptstar" level="10" />
+                <field field_ref="pt0" level="10" />
+                <field field_ref="tsol" level="10" />
+                <field field_ref="t2m" level="10" />
+                <field field_ref="t2m_min" level="10" operation="minimum" />
+                <field field_ref="t2m_max" level="10" operation="maximum" />
+                <field field_ref="t2m_ter" level="10" />
+                <field field_ref="t2m_lic" level="10" />
+                <field field_ref="t2m_oce" level="10" />
+                <field field_ref="t2m_sic" level="10" />
+                <field field_ref="gusts" level="10" />
+                <field field_ref="wind10m" level="10" />
+                <field field_ref="wind10max" level="10" />
+                <field field_ref="sicf" level="10" />
+                <field field_ref="q2m" level="10" />
+                <field field_ref="ustar" level="10" />
+                <field field_ref="u10m" level="10" />
+                <field field_ref="v10m" level="10" />
+                <field field_ref="psol" level="10" />
+                <field field_ref="qsurf" level="10" />
+                <field field_ref="ustar_ter" level="10" />
+                <field field_ref="ustar_lic" level="10" />
+                <field field_ref="ustar_oce" level="10" />
+                <field field_ref="ustar_sic" level="10" />
+                <field field_ref="wstar_ter" level="10" />
+                <field field_ref="wstar_lic" level="10" />
+                <field field_ref="wstar_oce" level="10" />
+                <field field_ref="wstar_sic" level="10" />
+                <field field_ref="wstar" level="10" />
+                <field field_ref="u10m_ter" level="10" />
+                <field field_ref="u10m_lic" level="10" />
+                <field field_ref="u10m_oce" level="10" />
+                <field field_ref="u10m_sic" level="10" />
+                <field field_ref="v10m_ter" level="10" />
+                <field field_ref="v10m_lic" level="10" />
+                <field field_ref="v10m_oce" level="10" />
+                <field field_ref="v10m_sic" level="10" />
+                <field field_ref="qsol" level="10" />
+                <field field_ref="ndayrain" level="10" operation="instant" />
+                <field field_ref="precip" level="10" />
+                <field field_ref="rain_fall" level="10" />
+                <field field_ref="rain_con" level="10" />
+                <field field_ref="plul" level="10" />
+                <field field_ref="plun" level="10" />
+                <field field_ref="pluc" level="10" />
+                <field field_ref="snow" level="10" />
+                <field field_ref="evap" level="10" />
+                <field field_ref="evap_ter" level="10" />
+                <field field_ref="evap_lic" level="10" />
+                <field field_ref="evap_oce" level="10" />
+                <field field_ref="evap_sic" level="10" />
+                <field field_ref="msnow" level="10" />
+                <field field_ref="fsnow" level="10" />
+                <field field_ref="tops" level="10" />
+                <field field_ref="tops0" level="10" />
+                <field field_ref="topl" level="10" />
+                <field field_ref="topl0" level="10" />
+                <field field_ref="SWupTOA" level="10" />
+                <field field_ref="SWupTOAclr" level="10" />
+                <field field_ref="SWdnTOA" level="10" />
+                <field field_ref="SWdnTOAclr" level="10" />
+                <field field_ref="nettop" level="10" />
+                <field field_ref="SWup200" level="15" />
+                <field field_ref="SWup200clr" level="15" />
+                <field field_ref="SWdn200" level="15" />
+                <field field_ref="SWdn200clr" level="15" />
+                <field field_ref="LWup200" level="15" />
+                <field field_ref="LWup200clr" level="15" />
+                <field field_ref="LWdn200" level="15" />
+                <field field_ref="LWdn200clr" level="15" />
+                <field field_ref="sols" level="10" />
+                <field field_ref="sols0" level="10" />
+                <field field_ref="soll" level="10" />
+                <field field_ref="soll0" level="10" />
+                <field field_ref="radsol" level="10" />
+                <field field_ref="SWupSFC" level="10" />
+                <field field_ref="SWupSFCclr" level="10" />
+                <field field_ref="SWdnSFC" level="10" />
+                <field field_ref="SWdnSFCclr" level="10" />
+                <field field_ref="LWupSFC" level="10" />
+                <field field_ref="LWupSFCclr" level="10" />
+                <field field_ref="LWdnSFC" level="10" />
+                <field field_ref="LWdnSFCclr" level="10" />
+                <field field_ref="bils" level="10" />
+                <field field_ref="bils_tke" level="10" />
+                <field field_ref="bils_diss" level="10" />
+                <field field_ref="bils_ec" level="10" />
+                <field field_ref="bils_kinetic" level="10" />
+                <field field_ref="bils_enthalp" level="10" />
+                <field field_ref="bils_latent" level="10" />
+                <field field_ref="sens" level="10" />
+                <field field_ref="sens_x" level="11" />
+                <field field_ref="sens_w" level="11" />
+                <field field_ref="flat_x" level="11" />
+                <field field_ref="flat_w" level="11" />
+                <field field_ref="delta_tsurf" level="11" />
+                <field field_ref="cdragh_x" level="11" />
+                <field field_ref="cdragh_w" level="11" />
+                <field field_ref="cdragm_x" level="11" />
+                <field field_ref="cdragm_w" level="11" />
+                <field field_ref="kh" level="11" />
+                <field field_ref="kh_x" level="11" />
+                <field field_ref="kh_w" level="11" />
+                <field field_ref="fder" level="10" />
+                <field field_ref="ffonte" level="10" />
+                <field field_ref="fqcalving" level="10" />
+                <field field_ref="fqfonte" level="10" />
+                <field field_ref="mrroli" level="10" />
+                <field field_ref="runofflic" level="10" />
+                <field field_ref="taux" level="10" />
+                <field field_ref="tauy" level="10" />
+                <field field_ref="taux_ter" level="10" />
+                <field field_ref="taux_lic" level="10" />
+                <field field_ref="taux_oce" level="10" />
+                <field field_ref="taux_sic" level="10" />
+                <field field_ref="tauy_ter" level="10" />
+                <field field_ref="tauy_lic" level="10" />
+                <field field_ref="tauy_oce" level="10" />
+                <field field_ref="tauy_sic" level="10" />
+                <field field_ref="pourc_ter" level="10" />
+                <field field_ref="pourc_lic" level="10" />
+                <field field_ref="pourc_oce" level="10" />
+                <field field_ref="pourc_sic" level="10" />
+                <field field_ref="fract_ter" level="10" />
+                <field field_ref="fract_lic" level="10" />
+                <field field_ref="fract_oce" level="10" />
+                <field field_ref="fract_sic" level="10" />
+                <field field_ref="tsol_ter" level="10" />
+                <field field_ref="tsol_lic" level="10" />
+                <field field_ref="tsol_oce" level="10" />
+                <field field_ref="tsol_sic" level="10" />
+                <field field_ref="evappot_ter" level="10" />
+                <field field_ref="evappot_lic" level="10" />
+                <field field_ref="evappot_oce" level="10" />
+                <field field_ref="evappot_sic" level="10" />
+                <field field_ref="sens_ter" level="10" />
+                <field field_ref="sens_lic" level="10" />
+                <field field_ref="sens_oce" level="10" />
+                <field field_ref="sens_sic" level="10" />
+                <field field_ref="lat_ter" level="10" />
+                <field field_ref="lat_lic" level="10" />
+                <field field_ref="lat_oce" level="10" />
+                <field field_ref="lat_sic" level="10" />
+                <field field_ref="flw_ter" level="10" />
+                <field field_ref="flw_lic" level="10" />
+                <field field_ref="flw_oce" level="10" />
+                <field field_ref="flw_sic" level="10" />
+                <field field_ref="fsw_ter" level="10" />
+                <field field_ref="fsw_lic" level="10" />
+                <field field_ref="fsw_oce" level="10" />
+                <field field_ref="fsw_sic" level="10" />
+                <field field_ref="wbils_ter" level="10" />
+                <field field_ref="wbils_lic" level="10" />
+                <field field_ref="wbils_oce" level="10" />
+                <field field_ref="wbils_sic" level="10" />
+                <field field_ref="wbilo_ter" level="10" />
+                <field field_ref="wbilo_lic" level="10" />
+                <field field_ref="wbilo_oce" level="10" />
+                <field field_ref="wbilo_sic" level="10" />
+                <field field_ref="wevap_ter" level="10" />
+                <field field_ref="wevap_lic" level="10" />
+                <field field_ref="wevap_oce" level="10" />
+                <field field_ref="wevap_sic" level="10" />
+                <field field_ref="wrain_ter" level="10" />
+                <field field_ref="wrain_lic" level="10" />
+                <field field_ref="wrain_oce" level="10" />
+                <field field_ref="wrain_sic" level="10" />
+                <field field_ref="wsnow_ter" level="10" />
+                <field field_ref="wsnow_lic" level="10" />
+                <field field_ref="wsnow_oce" level="10" />
+                <field field_ref="wsnow_sic" level="10" />
+                <field field_ref="cdrm" level="10" />
+                <field field_ref="cdrh" level="10" />
+                <field field_ref="cldl" level="10" />
+                <field field_ref="cldm" level="10" />
+                <field field_ref="cldh" level="10" />
+                <field field_ref="cldt" level="10" />
+                <field field_ref="cldq" level="10" />
+                <field field_ref="lwp" level="10" />
+                <field field_ref="iwp" level="10" />
+                <field field_ref="ue" level="10" />
+                <field field_ref="ve" level="10" />
+                <field field_ref="uq" level="10" />
+                <field field_ref="vq" level="10" />
+                <field field_ref="cape" level="10" />
+                <field field_ref="pbase" level="10" />
+                <field field_ref="ptop" level="10" />
+                <field field_ref="fbase" level="10" />
+                <field field_ref="plcl" level="10" />
+                <field field_ref="plfc" level="10" />
+                <field field_ref="wbeff" level="10" />
+                <field field_ref="convoccur" level="10" />
+                <field field_ref="prw" level="10" />
+                <field field_ref="prlw" level="10" />
+                <field field_ref="prsw" level="10" />
+                <field field_ref="s_pblh" level="10" />
+                <field field_ref="s_pblt" level="10" />
+                <field field_ref="s_lcl" level="10" />
+                <field field_ref="s_therm" level="10" />
+                <field field_ref="slab_bils_oce" level="10" />
+                <field field_ref="ale_bl" level="10" />
+                <field field_ref="alp_bl" level="10" />
+                <field field_ref="ale_wk" level="10" />
+                <field field_ref="alp_wk" level="10" />
+                <field field_ref="ale" level="10" />
+                <field field_ref="alp" level="10" />
+                <field field_ref="cin" level="10" />
+                <field field_ref="wape" level="10" />
+                <field field_ref="n2" level="10" />
+                <field field_ref="s2" level="10" />
+                <field field_ref="proba_notrig" level="10" />
+                <field field_ref="random_notrig" level="10" />
+                <field field_ref="cv_gen" level="10" />
+                <field field_ref="ale_bl_stat" level="10" />
+                <field field_ref="ale_bl_trig" level="10" />
+                <field field_ref="alp_bl_det" level="10" />
+                <field field_ref="alp_bl_fluct_m" level="10" />
+                <field field_ref="alp_bl_fluct_tke" level="10" />
+                <field field_ref="alp_bl_conv" level="10" />
+                <field field_ref="alp_bl_stat" level="10" />
+
+                <field_group operation="average" detect_missing_value=".true.">
+                    <field field_ref="u850" level="10" />
+                    <field field_ref="u700" level="10" />
+                    <field field_ref="u500" level="10" />
+                    <field field_ref="u200" level="10" />
+                    <field field_ref="u100" level="10" />
+                    <field field_ref="u50" level="10" />
+                    <field field_ref="u10" level="10" />
+                    <field field_ref="v850" level="10" />
+                    <field field_ref="v700" level="10" />
+                    <field field_ref="v500" level="10" />
+                    <field field_ref="v200" level="10" />
+                    <field field_ref="v100" level="10" />
+                    <field field_ref="v50" level="10" />
+                    <field field_ref="v10" level="10" />
+                    <field field_ref="w850" level="10" />
+                    <field field_ref="w700" level="10" />
+                    <field field_ref="w500" level="10" />
+                    <field field_ref="w200" level="10" />
+                    <field field_ref="w100" level="10" />
+                    <field field_ref="w50" level="10" />
+                    <field field_ref="w10" level="10" />
+                    <field field_ref="t850" level="10" />
+                    <field field_ref="t700" level="10" />
+                    <field field_ref="t500" level="10" />
+                    <field field_ref="t200" level="10" />
+                    <field field_ref="t100" level="10" />
+                    <field field_ref="t50" level="10" />
+                    <field field_ref="t10" level="10" />
+                    <field field_ref="q850" level="10" />
+                    <field field_ref="q700" level="10" />
+                    <field field_ref="q500" level="10" />
+                    <field field_ref="q200" level="10" />
+                    <field field_ref="q100" level="10" />
+                    <field field_ref="q50" level="10" />
+                    <field field_ref="q10" level="10" />
+                    <field field_ref="z850" level="10" />
+                    <field field_ref="z700" level="10" />
+                    <field field_ref="z500" level="10" />
+                    <field field_ref="z200" level="10" />
+                    <field field_ref="z100" level="10" />
+                    <field field_ref="z50" level="10" />
+                    <field field_ref="z10" level="10" />
+                </field_group>
+
+                <field field_ref="t_oce_sic" level="10" />
+                <field field_ref="weakinv" level="10" />
+                <field field_ref="dthmin" level="10" />
+                <field field_ref="u10_ter" level="10" />
+                <field field_ref="u10_lic" level="10" />
+                <field field_ref="u10_oce" level="10" />
+                <field field_ref="u10_sic" level="10" />
+                <field field_ref="v10_ter" level="10" />
+                <field field_ref="v10_lic" level="10" />
+                <field field_ref="v10_oce" level="10" />
+                <field field_ref="v10_sic" level="10" />
+                <field field_ref="rh2m" level="10" />
+                <field field_ref="rh2m_min" level="10" operation="minimum" />
+                <field field_ref="rh2m_max" level="10" operation="maximum" />
+                <field field_ref="qsat2m" level="10" />
+                <field field_ref="tpot" level="10" />
+                <field field_ref="tpote" level="10" />
+                <field field_ref="SWnetOR" level="10" />
+                <field field_ref="SWdownOR" level="10" />
+                <field field_ref="LWdownOR" level="10" />
+                <field field_ref="snowl" level="10" />
+                <field field_ref="cape_max" level="10" operation="maximum" />
+                <field field_ref="solldown" level="10" />
+                <field field_ref="dtsvdfo" level="10" />
+                <field field_ref="dtsvdft" level="10" />
+                <field field_ref="dtsvdfg" level="10" />
+                <field field_ref="dtsvdfi" level="10" />
+                <field field_ref="rugs" level="10" />
+                <field field_ref="z0m" level="10" />
+                <field field_ref="z0h" level="10" />
+                <field field_ref="topswad" level="10" />
+                <field field_ref="topswad0" level="10" />
+                <field field_ref="topswai" level="10" />
+                <field field_ref="solswad" level="10" />
+                <field field_ref="solswad0" level="10" />
+                <field field_ref="solswai" level="10" />
+                <field field_ref="od550_ASBCM" level="10" />
+                <field field_ref="od550_ASPOMM" level="10" />
+                <field field_ref="od550_ASSO4M" level="10" />
+                <field field_ref="od550_CSSO4M" level="10" />
+                <field field_ref="od550_SSSSM" level="10" />
+                <field field_ref="od550_ASSSM" level="10" />
+                <field field_ref="od550_CSSSM" level="10" />
+                <field field_ref="od550_CIDUSTM" level="10" />
+                <field field_ref="od550_AIBCM" level="10" />
+                <field field_ref="od550_AIPOMM" level="10" />
+                <field field_ref="od550_ASNO3M" level="10" />
+                <field field_ref="od550_CSNO3M" level="10" />
+                <field field_ref="od550_CINO3M" level="10" />
+                <field field_ref="od550_STRAT" level="10" />
+                <field field_ref="od550aer" level="10" />
+                <field field_ref="od865aer" level="10" />
+                <field field_ref="abs550aer" level="10" />
+                <field field_ref="od550lt1aer" level="10" />
+                <field field_ref="sconcso4" level="10" />
+                <field field_ref="sconcoa" level="10" />
+                <field field_ref="sconcbc" level="10" />
+                <field field_ref="sconcss" level="10" />
+                <field field_ref="sconcdust" level="10" />
+                <field field_ref="sconcno3" level="10" />
+                <field field_ref="loadso4" level="10" />
+                <field field_ref="loadoa" level="10" />
+                <field field_ref="loadbc" level="10" />
+                <field field_ref="loadss" level="10" />
+                <field field_ref="loaddust" level="10" />
+                <field field_ref="loadno3" level="10" />
+                <field field_ref="swtoaas_nat" level="10" />
+                <field field_ref="swsrfas_nat" level="10" />
+                <field field_ref="swtoacs_nat" level="10" />
+                <field field_ref="swsrfcs_nat" level="10" />
+                <field field_ref="swtoaas_ant" level="10" />
+                <field field_ref="swsrfas_ant" level="10" />
+                <field field_ref="swtoacs_ant" level="10" />
+                <field field_ref="swsrfcs_ant" level="10" />
+                <field field_ref="swtoacf_nat" level="10" />
+                <field field_ref="swsrfcf_nat" level="10" />
+                <field field_ref="swtoacf_ant" level="10" />
+                <field field_ref="swsrfcf_ant" level="10" />
+                <field field_ref="swtoacf_zero" level="10" />
+                <field field_ref="swsrfcf_zero" level="10" />
+                <field field_ref="cldncl" level="10" />
+                <field field_ref="reffclwtop" level="10" />
+                <field field_ref="cldnvi" level="10" />
+                <field field_ref="lcc" level="10" />
+                <field field_ref="wvapp" level="10" />
+                <field field_ref="albe_ter" level="10" />
+                <field field_ref="albe_lic" level="10" />
+                <field field_ref="albe_oce" level="10" />
+                <field field_ref="albe_sic" level="10" />
+                <field field_ref="ages_ter" level="10" />
+                <field field_ref="ages_lic" level="10" />
+                <field field_ref="ages_oce" level="10" />
+                <field field_ref="ages_sic" level="10" />
+                <field field_ref="snow_ter" level="10" />
+                <field field_ref="snow_lic" level="10" />
+                <field field_ref="snow_oce" level="10" />
+                <field field_ref="snow_sic" level="10" />
+                <field field_ref="rugs_ter" level="10" />
+                <field field_ref="rugs_lic" level="10" />
+                <field field_ref="rugs_oce" level="10" />
+                <field field_ref="rugs_sic" level="10" />
+                <field field_ref="z0m_ter" level="10" />
+                <field field_ref="z0m_lic" level="10" />
+                <field field_ref="z0m_oce" level="10" />
+                <field field_ref="z0m_sic" level="10" />
+                <field field_ref="z0h_ter" level="10" />
+                <field field_ref="z0h_lic" level="10" />
+                <field field_ref="z0h_oce" level="10" />
+                <field field_ref="z0h_sic" level="10" />
+                <field field_ref="alb1" level="10" />
+                <field field_ref="alb2" level="10" />
+                <field field_ref="ftime_con" level="10" operation="instant" />
+                <field field_ref="wake_h" level="10" />
+                <field field_ref="wake_dens" level="10" />
+                <field field_ref="wake_s" level="10" />
+                <field field_ref="epmax" level="10" />
+                <field field_ref="plulth" level="10" />
+                <field field_ref="plulst" level="10" />
+                <field field_ref="lmaxth" level="10" />
+                <field field_ref="ftime_th" level="10" />
+                <field field_ref="ftime_deepcv" level="10" />
+                <field field_ref="f0_th" level="10" />
+                <field field_ref="zmax_th" level="10" />
+                <field field_ref="rsut4co2" level="10" />
+                <field field_ref="rlut4co2" level="10" />
+                <field field_ref="rsutcs4co2" level="10" />
+                <field field_ref="rlutcs4co2" level="10" />
+                <field field_ref="dqphy2d" level="10" />
+                <field field_ref="dqlphy2d" level="10" />
+                <field field_ref="dqsphy2d" level="10" />
+                <field field_ref="dqdyn2d" level="10" />
+                <field field_ref="dqldyn2d" level="10" />
+                <field field_ref="dqsdyn2d" level="10" />
+                <field field_ref="dqcon2d" level="10" />
+                <field field_ref="dqwak2d" level="10" />
+                <field field_ref="dqlsc2d" level="10" />
+                <field field_ref="dqvdf2d" level="10" />
+                <field field_ref="dqeva2d" level="10" />
+                <field field_ref="dqlscth2d" level="10" />
+                <field field_ref="dqlscst2d" level="10" />
+                <field field_ref="dqthe2d" level="10" />
+                <field field_ref="dqajs2d" level="10" />
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_presnivs" >
+                <field field_ref="tke" level="10" />
+                <field field_ref="tke_ter" level="10" />
+                <field field_ref="tke_lic" level="10" />
+                <field field_ref="tke_oce" level="10" />
+                <field field_ref="tke_sic" level="10" />
+                <field field_ref="tke_max_ter" level="10" operation="maximum" />
+                <field field_ref="tke_max_lic" level="10" operation="maximum" />
+                <field field_ref="tke_max_oce" level="10" operation="maximum" />
+                <field field_ref="tke_max_sic" level="10" operation="maximum" />
+                <field field_ref="l_mix_ter" level="10" />
+                <field field_ref="l_mix_lic" level="10" />
+                <field field_ref="l_mix_oce" level="10" />
+                <field field_ref="l_mix_sic" level="10" />
+                <field field_ref="l_mixmin_ter" level="10" />
+                <field field_ref="l_mixmin_lic" level="10" />
+                <field field_ref="l_mixmin_oce" level="10" />
+                <field field_ref="l_mixmin_sic" level="10" />
+
+                <field field_ref="cldtau" level="10" />
+                <field field_ref="cldemi" level="10" />
+                <field field_ref="tke_max" level="10" operation="maximum" />
+                <field field_ref="kz" level="10" />
+                <field field_ref="kz_max" level="10" operation="maximum" />
+                <field field_ref="concso4" level="10" />
+                <field field_ref="concoa" level="10" />
+                <field field_ref="concbc" level="10" />
+                <field field_ref="concss" level="10" />
+                <field field_ref="concdust" level="10" />
+                <field field_ref="concno3" level="10" />
+                <field field_ref="ec550aer" level="10" />
+                <field field_ref="lwcon" level="10" />
+                <field field_ref="iwcon" level="10" />
+                <field field_ref="temp" level="10" />
+                <field field_ref="theta" level="10" />
+                <field field_ref="ovap" level="10" />
+                <field field_ref="ovapinit" level="10" />
+                <field field_ref="oliq" level="10" />
+                <field field_ref="ocond" level="10" />
+                <field field_ref="geop" level="10" />
+                <field field_ref="geoph" level="10" />
+                <field field_ref="vitu" level="10" />
+                <field field_ref="vitv" level="10" />
+                <field field_ref="vitw" level="10" />
+                <field field_ref="pres" level="10" />
+                <field field_ref="paprs" level="10" />
+                <field field_ref="mass" level="10" />
+                <field field_ref="zfull" level="10" />
+                <field field_ref="zhalf" level="10" />
+                <field field_ref="rneb" level="10" />
+                <field field_ref="rnebcon" level="10" />
+                <field field_ref="rnebls" level="10" />
+                <field field_ref="rneblsvol" level="10" />
+                <field field_ref="rhum" level="10" />
+                <field field_ref="ozone" level="10" />
+                <field field_ref="ozone_daylight" level="10" />
+                <field field_ref="upwd" level="10" />
+                <field field_ref="ep" level="10" />
+                <field field_ref="duphy" level="10" />
+                <field field_ref="dtphy" level="10" />
+                <field field_ref="dqphy" level="10" />
+                <field field_ref="dqlphy" level="10" />
+                <field field_ref="dqsphy" level="10" />
+                <field field_ref="pr_con_l" level="10" />
+                <field field_ref="pr_con_i" level="10" />
+                <field field_ref="pr_lsc_l" level="10" />
+                <field field_ref="pr_lsc_i" level="10" />
+                <field field_ref="re" level="10" />
+                <field field_ref="fl" level="10" />
+                <field field_ref="scdnc" level="10" />
+                <field field_ref="reffclws" level="10" />
+                <field field_ref="reffclwc" level="10" />
+                <field field_ref="lcc3d" level="10" />
+                <field field_ref="lcc3dcon" level="10" />
+                <field field_ref="lcc3dstra" level="10" />
+                <field field_ref="cldwatmxrat" level="10" />
+                <field field_ref="icc3dcon" level="10" />
+                <field field_ref="icc3dstra" level="10" />
+                <field field_ref="cldicemxrat" level="10" />
+                <field field_ref="clwcon" level="10" />
+                <field field_ref="Ma" level="10" />
+                <field field_ref="dnwd" level="10" />
+                <field field_ref="dnwd0" level="10" />
+                <field field_ref="mc" level="10" />
+                <field field_ref="dtdyn" level="10" />
+                <field field_ref="dqdyn" level="10" />
+                <field field_ref="dqldyn" level="10" />
+                <field field_ref="dqsdyn" level="10" />
+                <field field_ref="dudyn" level="10" />
+                <field field_ref="dvdyn" level="10" />
+                <field field_ref="dtcon" level="10" />
+                <field field_ref="ducon" level="10" />
+                <field field_ref="dvcon" level="10" />
+                <field field_ref="dqcon" level="10" />
+                <field field_ref="dtwak" level="10" />
+                <field field_ref="dqwak" level="10" />
+                <field field_ref="wake_deltat" level="10" />
+                <field field_ref="wake_deltaq" level="10" />
+                <field field_ref="wake_omg" level="10" />
+                <field field_ref="wdtrainA" level="10" />
+                <field field_ref="wdtrainM" level="10" />
+                <field field_ref="Vprecip" level="10" />
+                <field field_ref="ftd" level="10" />
+                <field field_ref="fqd" level="10" />
+                <field field_ref="dtlsc" level="10" />
+                <field field_ref="dtlschr" level="10" />
+                <field field_ref="dqlsc" level="10" />
+                <field field_ref="beta_prec" level="10" />
+                <field field_ref="dtvdf" level="10" />
+                <field field_ref="dtvdf_x" level="11" />
+                <field field_ref="dtvdf_w" level="11" />
+                <field field_ref="dtdis" level="10" />
+                <field field_ref="dqvdf" level="10" />
+                <field field_ref="dqvdf_x" level="11" />
+                <field field_ref="dqvdf_w" level="11" />
+                <field field_ref="dteva" level="10" />
+                <field field_ref="dqeva" level="10" />
+                <field field_ref="dqlscth" level="10" />
+                <field field_ref="dqlscst" level="10" />
+                <field field_ref="dtlscth" level="10" />
+                <field field_ref="dtlscst" level="10" />
+                <field field_ref="ptconvth" level="10" />
+                <field field_ref="ptconv" level="10" />
+                <field field_ref="ratqs" level="10" />
+                <field field_ref="dtthe" level="10" />
+                <field field_ref="f_th" level="10" />
+                <field field_ref="e_th" level="10" />
+                <field field_ref="w_th" level="10" />
+                <field field_ref="lambda_th" level="10" />
+                <field field_ref="q_th" level="10" />
+                <field field_ref="a_th" level="10" />
+                <field field_ref="s_th" level="10" />
+                <field field_ref="s_env" level="10" />
+                <field field_ref="sigma_th" level="10" />
+                <field field_ref="sigma_env" level="10" />
+                <field field_ref="d_th" level="10" />
+                <field field_ref="dqthe" level="10" />
+                <field field_ref="dtajs" level="10" />
+                <field field_ref="dqajs" level="10" />
+                <field field_ref="dtswr" level="10" />
+                <field field_ref="dtsw0" level="10" />
+                <field field_ref="dtlwr" level="10" />
+                <field field_ref="dtlw0" level="10" />
+                <field field_ref="dtec" level="10" />
+                <field field_ref="duvdf" level="10" />
+                <field field_ref="dvvdf" level="10" />
+                <field field_ref="duoro" level="10" />
+                <field field_ref="dvoro" level="10" />
+                <field field_ref="dulif" level="10" />
+                <field field_ref="dvlif" level="10" />
+                <field field_ref="du_gwd_hines" level="10" />
+                <field field_ref="dv_gwd_hines" level="10" />
+                <field field_ref="du_gwd_front" level="10" />
+                <field field_ref="dv_gwd_front" level="10" />
+                <field field_ref="east_gwstress" level="10" />
+                <field field_ref="west_gwstress" level="10" />
+                <field field_ref="dtoro" level="10" />
+                <field field_ref="dtlif" level="10" />
+                <field field_ref="dthin" level="10" />
+                <field field_ref="rsu" level="10" />
+                <field field_ref="rsd" level="10" />
+                <field field_ref="rlu" level="10" />
+                <field field_ref="rld" level="10" />
+                <field field_ref="rsucs" level="10" />
+                <field field_ref="rsdcs" level="10" />
+                <field field_ref="rlucs" level="10" />
+                <field field_ref="rldcs" level="10" />
+                <field field_ref="tnt" level="10" />
+                <field field_ref="tntc" level="10" />
+                <field field_ref="tntr" level="10" />
+                <field field_ref="tntscpbl" level="10" />
+                <field field_ref="tnhus" level="10" />
+                <field field_ref="tnhusc" level="10" />
+                <field field_ref="tnhusscpbl" level="10" />
+                <field field_ref="evu" level="10" />
+                <field field_ref="h2o" level="10" />
+                <field field_ref="mcd" level="10" />
+                <field field_ref="dmc" level="10" />
+                <field field_ref="ref_liq" level="10" />
+                <field field_ref="ref_ice" level="10" />
+                <field field_ref="rsu4co2" level="10" />
+                <field field_ref="rlu4co2" level="10" />
+                <field field_ref="rsucs4co2" level="10" />
+                <field field_ref="rlucs4co2" level="10" />
+                <field field_ref="rsd4co2" level="10" />
+                <field field_ref="rld4co2" level="10" />
+                <field field_ref="rsdcs4co2" level="10" />
+                <field field_ref="rldcs4co2" level="10" />
+            </field_group>
+          </field_group>
+          
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histstrataer_lmdz.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histstrataer_lmdz.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_histstrataer_lmdz.xml	(revision 5499)
@@ -0,0 +1,16 @@
+<!-- $Id$ -->
+<file_definition>
+    <file_group id="defile">
+        <file id="histstrataer" name="histstrataer" output_freq="1mo" output_level="0" enabled="FALSE" compression_level="2">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+            <field_group group_ref="remap_1d">
+              <field_group group_ref="fields_strataer_3D" grid_ref="grid_out_presnivs" level="1" />
+              <field_group group_ref="fields_strataer_2D" grid_ref="grid_out"  level="1" />
+              <field_group group_ref="fields_strataer_trac_3D"  grid_ref="grid_out_presnivs" level="1" />
+              <field_group group_ref="fields_strataer_trac_2D" grid_ref="grid_out" level="1" />
+           </field_group> 
+           
+        </file>
+    </file_group>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_orchidee.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_orchidee.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/file_def_orchidee.xml	(revision 5499)
@@ -0,0 +1,958 @@
+<!-- =========================================================================================================== -->
+<!-- file_def_orchidee.xml : Definition of output files                                                          -->
+<!--                                                                                                             -->
+<!-- Definition of each output file and the list of variables they will include.                                 -->
+<!-- Change this file by adding the files and/or variables you want to write.                                    -->
+<!-- Only variables and groups existing in field_def_orchidee.xml can be used.                                   -->
+<!--                                                                                                             -->
+<!-- Note: The keyword _AUTO_ will be changed by the drivers using libIGCM configurations. It can also be        -->
+<!-- changed manually. For example instead of _AUTO_ set :  enabled=".TRUE." or enabled=".FALSE."                -->
+<!-- output_freq="1mo" for monthly, output_freq="1d" for daily, output_freq="10800s" for 3-hour output frequency,-->
+<!-- output_level="1" for few variables, output_level="12" for writing all variables (depending on file).        -->
+<!--                                                                                                             -->
+<!-- Each file can have different output frequence, different variable content and different output_level.       --> 
+<!-- A file will contain all the variables listed in its section having level lower or equal to output_level     -->
+<!-- which is specified for the file.                                                                            -->
+<!--                                                                                                             -->
+<!-- All variables needed for the monitoring done by libIGCM are set to level="0". Set output_level=0 for file   -->
+<!-- sechiba_history, stomate_history and stomate_ipcc_history to output only these variables. These files       -->
+<!-- should have output_freq="1mo" for a correct monitoring except for SPINUP_ANALYTIC where the frequency       -->
+<!-- should be output_freq="1y".                                                                                 -->
+<!--                                                                                                             -->
+<!-- Key word compression_level activates the corresponding compresion level of netcd4/hdf5 where 0              -->
+<!-- corresponds to no compression and 4 is a middle compression here set as default.                            -->
+<!--                                                                                                             -->
+<!-- field group "remap_1xx" do only have a meaning for unstructured grid when remapping of output is activated. -->
+<!-- For this case, remap_1xx will set a corresponding freq_op done from the fortran code.                       -->
+<!-- For regular grid, this group do not contain any attributes so it'll not make any difference.                -->
+<!--                                                                                                             -->
+<!-- $HeadURL: svn://forge.ipsl.jussieu.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/file_def_orchidee.xml $               -->
+<!-- $Date: 2019-11-29 15:58:40 +0100 (Fri, 29 Nov 2019) $                                                      -->
+<!-- $Revision: 6369 $                                                                                           -->
+<!-- =========================================================================================================== -->
+
+<file_definition type="one_file" par_access="collective" enabled=".TRUE." min_digits="4" compression_level="2" >
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of output files -->
+  <!-- ========================================================================================================= -->
+
+  <!-- Definition of output files with sechiba diagnostics -->
+
+  <!-- Sechiba file 1 -->
+  <file id="sechiba1" name="../sechiba_history" output_level="11" output_freq="1d" enabled=".TRUE.">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+
+   <field_group group_ref="remap_1d" grid_ref="grid_landpoints_out" >
+    <!-- level 1 -->
+    <field field_ref="areas" level="0"/>
+    <field field_ref="LandPoints" level="20"/>
+    <field field_ref="contfrac" level="0"/>
+    <field field_ref="vevapp_day" level="0"/>
+    <field field_ref="coastalflow" level="0"/>
+    <field field_ref="riverflow" level="0"/>
+    <field field_ref="coastalflow_cpl" level="1"/>
+    <field field_ref="riverflow_cpl" level="1"/>
+    <field field_ref="temp_sol_new_C" level="0"/>
+    <field field_ref="mrsow" level="1"/>
+    <field field_ref="ksat" grid_ref="grid_nslm_out" level="1"/>
+    <field field_ref="precip_rain" level="0" name="rain" unit="mm/d" > @precip_rain*86400  </field>
+    <field field_ref="precip_snow" level="0" name="snowf" unit="mm/d" > @precip_snow*86400  </field>
+    <field field_ref="netrad" level="1"/>
+    <field field_ref="lai" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="reinf_slope" level="1"/>
+    <field field_ref="njsc" level="1"/>
+    <field field_ref="basinmap" level="1"/>
+    <field field_ref="nbrivers" level="1"/>
+    <field field_ref="npp" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="wtd" level="1"/>
+    <field field_ref="tws" level="1"/>
+    <!-- level 2 -->
+    <field field_ref="vevapsno" name="subli" level="0" unit="mm/d" > @vevapsno*86400  </field>
+    <field field_ref="runoff" name="runoff" level="0" unit="mm/d" > @runoff*86400  </field>
+    <field field_ref="drainage" name="drainage" level="0" unit="mm/d" > @drainage*86400  </field>
+    <field field_ref="riversret" level="2"/>
+    <field field_ref="hydrographs" level="2"/>
+    <field field_ref="vevapnu" name="evapnu" level="0" unit="mm/d" > @vevapnu*86400  </field>
+    <field field_ref="evap_bare_lim" level="2"/>
+    <field field_ref="evap_bare_lim_ns" grid_ref="grid_nstm_out" level="2"/>
+    <field field_ref="evapnu_soil" grid_ref="grid_nstm_out" level="2"/>
+    <field field_ref="drainage_soil" grid_ref="grid_nstm_out" level="2"/>
+    <field field_ref="transpir_soil" grid_ref="grid_nstm_out" level="2"/>
+    <field field_ref="runoff_soil" grid_ref="grid_nstm_out" level="2"/>
+    <field field_ref="temp_air" level="0"/>
+    <field field_ref="qair" level="2"/>
+    <field field_ref="soilalb_bg" grid_ref="grid_albtyp_out" level="2"/>
+    <field field_ref="albedo_vis" level="0"/>
+    <field field_ref="albedo_nir" level="0"/>
+    <field field_ref="soilalb_vis" level="2"/>
+    <field field_ref="soilalb_nir" level="2"/>
+    <field field_ref="vegalb_vis" level="2"/>
+    <field field_ref="vegalb_nir" level="2"/>
+    <field field_ref="z0h" level="2"/>
+    <field field_ref="z0m" level="2"/>
+    <field field_ref="roughheight" level="2"/>
+    <field field_ref="transpir" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="inter" grid_ref="grid_nvm_out" level="0"/>
+    <!-- for water budget control -->
+    <field field_ref="delsoilmoist_daily" level="0" />
+    <field field_ref="delintercept_daily" level="0" />
+    <field field_ref="delswe_daily" level="0" />
+    <field field_ref="delfastr_daily" level="1" />
+    <field field_ref="delslowr_daily" level="1" />
+    <field field_ref="delstreamr_daily" level="1" />
+    <field field_ref="dellaker_daily" level="1" />
+    <field field_ref="delpondr_daily" level="1" />
+    <field field_ref="delfloodr_daily" level="1" />
+    <field field_ref="delstock_routing_daily" level="0" />
+    <field field_ref="vevapflo" name="evapflo" level="2" unit="mm/d" > @vevapflo*86400 </field>
+    <field field_ref="undermcr" level="2"/>
+    <field field_ref="ru_corr" level="2"/>
+    <field field_ref="ru_corr2" level="2"/>
+    <field field_ref="dr_corr" level="2"/>
+    <field field_ref="dr_force" level="2"/>
+    <field field_ref="ru_infilt" level="2"/>
+    <field field_ref="qinfilt" level="2"/>
+    <field field_ref="dr_corrnum" level="2"/>
+    <!-- level 3 -->
+    <field field_ref="tsol_max" level="3"/>
+    <field field_ref="tsol_min" level="3"/>
+    <field field_ref="fluxsens" level="0"/>
+    <field field_ref="fluxlat" level="0"/>
+    <field field_ref="snow" level="0"/>
+    
+    <field field_ref="snowage" level="3"/>
+    <field field_ref="snownobio" grid_ref="grid_nnobio_out" level="0"/>
+    <field field_ref="snownobioage" grid_ref="grid_nnobio_out" level="3"/>
+    <field field_ref="vegetfrac" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="maxvegetfrac" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="tot_bare_soil" level="3"/>
+    <field field_ref="nobiofrac" grid_ref="grid_nnobio_out" level="0"/>
+    <field field_ref="reinfiltration" level="3"/>
+    <field field_ref="frac_bare" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="soiltile" grid_ref="grid_nstm_out" level="3"/>
+    <field field_ref="qflux" grid_ref="grid_nslm_out" level="3"/> 
+    <field field_ref="check_top" level="3"/>
+    <field field_ref="check_infilt" level="3"/>
+    <field field_ref="check_tr" level="3"/>
+    <field field_ref="check_over" level="3"/>
+    <field field_ref="check_under" level="3"/>
+    
+    <!-- level 4 -->
+    <field field_ref="humtot" level="4"/>
+    <field field_ref="tmc" grid_ref="grid_nstm_out" level="4"/>
+    <field field_ref="qsintveg" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="rstruct" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="r_soil" level="4"/>
+    <field field_ref="gpp" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="gpp_ipcc2" level="4"/>
+    <field field_ref="gppgrass" level="4"/>
+    <field field_ref="gppcrop" level="0"/>
+    <field field_ref="gpptree" level="4"/>
+    <field field_ref="nee" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="maint_resp" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="hetero_resp" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="growth_resp" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="rh_ipcc2" level="4"/>
+    <field field_ref="rhGrass" level="4"/>
+    <field field_ref="rhCrop" level="0"/>
+    <field field_ref="rhTree" level="4"/>
+    <field field_ref="precisol" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="throughfall" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="drysoil_frac" level="4"/>
+    <field field_ref="evapot" level="4"/>
+    <field field_ref="evapot_corr" level="4"/>
+    <!-- level 5 -->
+    <field field_ref="swnet" level="5"/>
+    <field field_ref="swdown" level="0"/>
+    <field field_ref="lwdown" level="0"/>
+    <field field_ref="lwnet" level="5"/>
+    <field field_ref="diffevap" level="5"/>
+    <field field_ref="temp_hydro" grid_ref="grid_nslm_out" level="5"/>
+    <field field_ref="snowmelt" level="5"/>
+    <field field_ref="tot_melt" level="5"/>
+    <field field_ref="snowmelt_from_maxmass" level="5"/>
+    <field field_ref="soilcap" level="5"/>
+    <!-- level 6 -->
+    <field field_ref="twbr" level="0"/>
+    <field field_ref="ptn" grid_ref="grid_ngrnd_out" level="6"/>
+    <!-- level 7 -->
+    <field field_ref="fastr" level="7"/>
+    <field field_ref="slowr" level="7"/>
+    <field field_ref="streamr" level="7"/>
+    <field field_ref="laker" level="7"/>
+    <field field_ref="lake_overflow" level="7"/>
+    <field field_ref="mask_coast" level="7"/>
+    <!-- level 8 -->
+    <field field_ref="wbr_fast" level="8"/>
+    <field field_ref="wbr_slow" level="8"/>
+    <field field_ref="wbr_stream" level="8"/>
+    <field field_ref="wbr_lake" level="8"/>
+    <field field_ref="pondr" level="8"/>
+    <field field_ref="swampmap" level="8"/>
+    <field field_ref="irrigation" name="irrigation" level="8" unit="mm/d" > @irrigation*86400  </field>
+    <field field_ref="netirrig" name="netirrig" level="8" unit="mm/d" > @netirrig*86400  </field>
+    <field field_ref="irrigmap" level="8"/>
+    <field field_ref="floodmap" level="8"/>
+    <field field_ref="floodh" level="8"/>
+    <field field_ref="floodr" level="8"/>
+    <field field_ref="floodout" level="8"/>
+    <field field_ref="k_litt" level="8"/>
+    <field field_ref="beta" level="8"/>
+    <field field_ref="raero" level="8"/>
+    <field field_ref="q_cdrag" level="8"/>
+    <field field_ref="wind" level="8"/>
+    <field field_ref="qsatt" level="8"/>
+    <field field_ref="vbeta1" level="8"/>
+    <field field_ref="vbeta4" level="8"/>
+    <field field_ref="vbeta5" level="8"/>
+    <field field_ref="gsmean" grid_ref="grid_nvm_out" level="8"/>
+    <field field_ref="humrel" grid_ref="grid_nvm_out" level="0"/>
+    <!-- level 10 -->
+    <field field_ref="cimean" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="vbeta3" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="rveget" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="vbeta2" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="qsintmax" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="dtes" level="10"/>
+    <field field_ref="tairmax"  level="10"/>
+    <field field_ref="tasmax"  level="10"/>
+    <field field_ref="tairmin"  level="10"/>
+    <field field_ref="tasmin"  level="10"/>
+    <!-- level 11 -->
+    <field field_ref="clayfraction" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="sandfraction" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="siltfraction" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="humtot_top" level="0"/>
+    <field field_ref="humtot" name="mrso" level="0"/>
+    <field field_ref="runoff" name="mrros" level="11"/>
+    <field field_ref="mrro" level="11"/>
+    <field field_ref="prveg" level="11"/>
+    <field field_ref="evspsblveg" level="11"/>
+    <field field_ref="evspsblsoi" level="11"/>
+    <field field_ref="tran" level="11"/>
+    <field field_ref="vegFrac" level="11"/>
+    <field field_ref="treeFrac" level="11"/>
+    <field field_ref="treeFracNdlEvg" level="11"/>
+    <field field_ref="treeFracBdlEvg" level="11"/>
+    <field field_ref="treeFracNdlDcd" level="11"/>
+    <field field_ref="treeFracBdlDcd" level="11"/>
+    <field field_ref="grassFrac" level="11"/>
+    <field field_ref="grassFracC3" level="11"/>
+    <field field_ref="grassFracC4" level="11"/>
+    <field field_ref="cropFrac" level="11"/>
+    <field field_ref="cropFracC3" level="11"/>
+    <field field_ref="cropFracC4" level="11"/>
+    <field field_ref="baresoilFrac" level="11"/>
+    <field field_ref="residualFrac" level="11"/>
+    <field field_ref="PAR" level="11"/>
+    <field field_ref="PARsun" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="PARsh" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="laisun" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="laish" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="PARsuntab" grid_ref="grid_nlaip1_out" level="11"/>
+    <field field_ref="PARshtab" grid_ref="grid_nlaip1_out" level="11"/>
+    <field field_ref="coszang" level="11"/>
+    <field field_ref="PARdf" level="11"/>
+    <field field_ref="PARdr" level="11"/>
+    <field field_ref="flx_fertil_no" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="CRF" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_co2_bbg_year" level="11"/>
+    <field field_ref="N_qt_WRICE_year" level="11"/>
+    <field field_ref="N_qt_OTHER_year" level="11"/>
+    <field field_ref="flx_iso" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_mono" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_ORVOC" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_MBO" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_methanol" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_acetone" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_acetal" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_formal" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_acetic" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_formic" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_no_soil" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_no" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="pb" level="11"/>
+    <field field_ref="slowflow" level="11"/>
+    <field field_ref="qsintveg_tot" level="11"/>
+    <field field_ref="LAImean" level="0"/>
+    <field field_ref="mcs" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="mcr" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="nvg" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="alphavg" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="nroot" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="dlh" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="water2infilt" grid_ref="grid_nstm_out" level="11"/>
+    <field field_ref="flx_apinen" grid_ref="grid_nvm_out"  level="11" />
+    <field field_ref="flx_bpinen" grid_ref="grid_nvm_out"  level="11" />
+    <field field_ref="flx_limonen" grid_ref="grid_nvm_out" level="11" />
+    <field field_ref="flx_myrcen" grid_ref="grid_nvm_out"  level="11" />
+    <field field_ref="flx_sabinen" grid_ref="grid_nvm_out" level="11" />
+    <field field_ref="flx_camphen" grid_ref="grid_nvm_out" level="11" />
+    <field field_ref="flx_3caren" grid_ref="grid_nvm_out"  level="11" />
+    <field field_ref="flx_tbocimen" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_othermono" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="flx_sesquiter" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="fco2" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="cim" grid_ref="grid_nvm_out" level="11"/>
+    <field field_ref="kk_moy" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="psi_moy" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="profil_froz_hydro" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="pkappa" grid_ref="grid_ngrnd_out"  level="11"/>
+    <field field_ref="pkappa_snow" grid_ref="grid_nsnow_out" level="11"/>
+    <field field_ref="pcapa" grid_ref="grid_ngrnd_out"  level="11"/>
+    <field field_ref="pcapa_spec" grid_ref="grid_ngrnd_out"  level="11"/>
+    <field field_ref="pcapa_snow" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowtemp" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowtemp_weighted"  level="0"/>
+    <field field_ref="snowliq" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowdz" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowrho" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowheat" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowgrain" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowdepth"  level="11"/>
+    <field field_ref="asoilcol"  level="11"/>
+    <field field_ref="aalb_bg"  level="11"/>
+    <field field_ref="atext"  level="11"/>
+    <field field_ref="areftemp"  level="11"/>
+    <field field_ref="alaimap"  level="11"/>
+    <field field_ref="aslope"  level="11"/>
+    <field field_ref="aveget"  level="11"/>
+    <field field_ref="aveget5k"  level="11"/>
+    <field field_ref="achem_wrice"  level="11"/>
+    <field field_ref="achem_other"  level="11"/>
+    <field field_ref="achem_co2"  level="11"/>
+    <field field_ref="frac_snow"  level="0"/>
+    <field field_ref="snowliqtot"  level="11"/>
+    <field field_ref="albedo_snow"  level="11"/>
+    <field field_ref="snowage_glob"  level="11"/>
+    <field field_ref="lake_overflow_coast" level="7"/>
+    <field field_ref="fraclut" grid_ref="grid_nlut_out" level="11"/>
+    <field field_ref="nwdFraclut" grid_ref="grid_nlut_out" level="11"/>
+    <field field_ref="humtot_lut" grid_ref="grid_nlut_out"  level="11"/>
+    <field field_ref="humtot_top_lut" grid_ref="grid_nlut_out"  level="11"/>
+    <field field_ref="mrro_lut" grid_ref="grid_nlut_out"  level="11"/>
+    <field field_ref="gpplut" grid_ref="grid_nlut_out"  level="11"/>
+    <field field_ref="nudgincswe" level="11"/>
+    <field field_ref="nudgincsm" level="11"/>
+    <field field_ref="cnc" level="11"/>
+    <field field_ref="mcfc" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="mcw" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="tmcs" level="11"/>
+    <field field_ref="tmcfc" level="11"/>
+    <field field_ref="wilt" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="fldcapacity" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="znetco2" level="11" />
+    <field field_ref="zcarblu" level="11" />
+    <field field_ref="zcarbwh" level="11" />
+    <field field_ref="zcarbha" level="11" />
+    <field field_ref="frac_snow_veg"  level="12"/>
+    <field field_ref="frac_snow_nobio" grid_ref="grid_nnobio_out"  level="12"/>
+    <field field_ref="snowdz_read_current" grid_ref="grid_nsnow_out"  level="12"/>
+    <field field_ref="snowrho_read_current" grid_ref="grid_nsnow_out"  level="12"/>
+    <field field_ref="snowtemp_read_current" grid_ref="grid_nsnow_out"  level="12"/>
+    <field field_ref="mask_snow_interp_out" grid_ref="grid_nsnow_out"  level="12"/>
+   </field_group>
+  </file>
+
+  <!-- Sechiba file 2 -->
+  <file id="sechiba2" name="../sechiba_out_2" output_level="0" output_freq="1d" enabled=".FALSE.">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+   <field_group group_ref="remap_1d" grid_ref="grid_landpoints_out" >
+    <!-- level 1 -->
+    <field field_ref="areas" level="1"/>
+    <field field_ref="LandPoints" level="20"/>
+    <field field_ref="contfrac" level="1"/>
+    <field field_ref="humtot_top" level="1"/>
+    <field field_ref="mrro" level="1"/>
+    <field field_ref="ptn" grid_ref="grid_ngrnd_out" level="1"/>
+    <field field_ref="wtd" level="1"/>
+    <field field_ref="tws" level="1"/>
+    
+    <!-- level 2 -->
+    <field field_ref="q_cdrag" level="2"/>
+    <field field_ref="soilalb_vis" level="2"/>
+    <field field_ref="soilalb_nir" level="2"/>
+    <field field_ref="vegalb_vis" level="2"/>
+    <field field_ref="vegalb_nir" level="2"/>
+    <field field_ref="z0m" level="2"/>
+    <field field_ref="z0h" level="2"/>
+    <field field_ref="coastalflow" level="2"/>
+    <field field_ref="riverflow" level="2"/>
+    <field field_ref="tsol_rad" level="2"/>
+    <field field_ref="vevapnu" name="evapnu" level="2" unit="mm/d" > @vevapnu*86400  </field>
+    <field field_ref="temp_sol_new_C" level="2"/>
+    <field field_ref="qsurf" level="2"/>
+    <field field_ref="fluxsens" level="2"/>
+    <field field_ref="fluxlat" level="2"/>
+    <field field_ref="emis" level="2"/>
+    <field field_ref="riversret" level="2"/>
+    <field field_ref="hydrographs" level="2"/>
+    <field field_ref="undermcr" level="2"/>
+    <field field_ref="ru_corr" level="2"/>
+    <field field_ref="ru_corr2" level="2"/>
+    <field field_ref="dr_corr" level="2"/>
+    <field field_ref="dr_force" level="2"/>
+    <field field_ref="ru_infilt" level="2"/>
+    <field field_ref="qinfilt" level="2"/>
+    <field field_ref="dr_corrnum" level="2"/>
+    <!-- level 3 -->
+    <field field_ref="vevapp_day" level="3"/>
+    <field field_ref="precip_rain" level="3" name="rain" unit="mm/d" > @precip_rain*86400  </field>
+    <field field_ref="precip_snow" level="3" name="snowf" unit="mm/d" > @precip_snow*86400  </field>
+    <field field_ref="netrad" level="3"/>
+    <field field_ref="lai" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="basinmap" level="3"/>
+    <field field_ref="nbrivers" level="3"/>
+    <field field_ref="check_infilt" level="3"/>
+    <field field_ref="check_tr" level="3"/>
+    <field field_ref="check_over" level="3"/>
+    <field field_ref="check_under" level="3"/>
+      
+
+    <!-- level 4 -->
+    <field field_ref="vevapsno" name="subli" level="4" unit="mm/d" > @vevapsno*86400  </field>
+    <field field_ref="runoff" name="runoff" level="4" unit="mm/d" > @runoff*86400  </field>
+    <field field_ref="drainage" name="drainage" level="4" unit="mm/d" > @drainage*86400  </field>
+    <field field_ref="temp_air" level="4"/>
+    <field field_ref="qair" level="4"/>
+    <field field_ref="albedo_vis" level="4"/>
+    <field field_ref="albedo_nir" level="4"/>
+    <field field_ref="roughheight" level="4"/>
+    <field field_ref="transpir" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="inter" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="evapnu_soil" grid_ref="grid_nstm_out" level="4"/>
+    <field field_ref="drainage_soil" grid_ref="grid_nstm_out" level="4"/>
+    <field field_ref="transpir_soil" grid_ref="grid_nstm_out" level="4"/>
+    <field field_ref="runoff_soil" grid_ref="grid_nstm_out" level="4"/>
+    <!-- level 5 -->
+    <field field_ref="tsol_max" level="5"/>
+    <field field_ref="tsol_min" level="5"/>
+    <field field_ref="snow" level="5"/>
+    <field field_ref="snowage" level="5"/>
+    <field field_ref="snownobio" grid_ref="grid_nnobio_out" level="5"/>
+    <field field_ref="snownobioage" grid_ref="grid_nnobio_out" level="5"/>
+    <field field_ref="snowmelt" level="5"/>
+    <field field_ref="tot_melt" level="5"/>
+    <field field_ref="snowmelt_from_maxmass" level="5"/>
+    <field field_ref="soilcap" level="5"/>
+    <field field_ref="vegetfrac" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="maxvegetfrac" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="nobiofrac" grid_ref="grid_nnobio_out" level="5"/>
+    <field field_ref="temp_hydro" grid_ref="grid_nslm_out"  level="5"/>
+    <!-- level 6 -->
+    <field field_ref="humtot" level="6"/>
+    <field field_ref="humtot_liquid" level="6"/>
+    <field field_ref="tmc" grid_ref="grid_nstm_out" level="6"/>
+    <field field_ref="qsintveg" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="rstruct" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="r_soil" level="6"/>
+    <field field_ref="gpp" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="nee" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="maint_resp" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="hetero_resp" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="growth_resp" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="npp" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="precisol" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="drysoil_frac" level="6"/>
+    <field field_ref="evapot" level="6"/>
+    <field field_ref="evapot_corr" level="6"/>
+    <field field_ref="twbr" level="6"/>
+    <!-- level 7 -->
+    <field field_ref="swnet" level="7"/>
+    <field field_ref="swdown" level="7"/>
+    <field field_ref="lwdown" level="7"/>
+    <field field_ref="lwnet" level="7"/>
+    <field field_ref="diffevap" level="7"/>
+    <!-- level 8 -->
+    <field field_ref="fastr" level="8"/>
+    <field field_ref="slowr" level="8"/>
+    <field field_ref="streamr" level="8"/>
+    <field field_ref="floodr" level="8"/>
+    <field field_ref="floodh" level="8"/>
+    <field field_ref="pondr" level="8"/>
+    <field field_ref="laker" level="8"/>
+    <field field_ref="irrigation" name="irrigation" level="8" unit="mm/d" > @irrigation*86400  </field>
+    <field field_ref="netirrig" name="netirrig" level="8" unit="mm/d" > @netirrig*86400  </field>
+    <field field_ref="irrigmap" level="8"/>
+    <field field_ref="floodmap" level="8"/>
+    <field field_ref="swampmap" level="8"/>
+
+    <!-- for water budget control -->
+    <!-- Note! The _daily variables need an output frequency of at least one day -->
+    <field field_ref="delsoilmoist_daily" level="8" />
+    <field field_ref="delintercept_daily" level="8" />
+    <field field_ref="delswe_daily" level="8" />
+    <field field_ref="delfastr_daily" level="8" />
+    <field field_ref="delslowr_daily" level="8" />
+    <field field_ref="delstreamr_daily" level="8" />
+    <field field_ref="dellaker_daily" level="8" />
+    <field field_ref="delpondr_daily" level="8" />
+    <field field_ref="delfloodr_daily" level="8" />
+    <field field_ref="delstock_routing_daily" level="8" />
+    <field field_ref="vevapflo" name="evapflo" level="8" unit="mm/d" > @vevapflo*86400 </field>
+
+    <!-- level 9 -->
+    <field field_ref="beta" level="9"/>
+    <field field_ref="raero" level="9"/>
+    <field field_ref="wind" level="9"/>
+    <field field_ref="qsatt" level="9"/>
+    <field field_ref="vbeta1" level="9"/>
+    <field field_ref="vbeta4" level="9"/>
+    <field field_ref="gsmean" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="vbeta5" level="9"/>
+    <field field_ref="reinf_slope" level="9"/>
+    <field field_ref="njsc" level="9"/>
+    <field field_ref="humrel" grid_ref="grid_nvm_out" level="9"/>
+    <!-- level 10 -->
+    <field field_ref="cimean" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="vbeta3" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="rveget" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="vbeta2" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="qsintmax" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="PAR" level="10"/>
+    <field field_ref="PARsun" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="PARsh" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="laisun" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="laish" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="PARsuntab" grid_ref="grid_nlaip1_out" level="10"/>
+    <field field_ref="PARshtab" grid_ref="grid_nlaip1_out" level="10"/>
+    <field field_ref="coszang" level="10"/>
+    <field field_ref="PARdf" level="10"/>
+    <field field_ref="PARdr" level="10"/>
+    <field field_ref="flx_fertil_no" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="CRF" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_co2_bbg_year" level="10"/>
+    <field field_ref="N_qt_WRICE_year" level="10"/>
+    <field field_ref="N_qt_OTHER_year" level="10"/>
+    <field field_ref="flx_iso" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_mono" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_ORVOC" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_MBO" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_methanol" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_acetone" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_acetal" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_formal" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_acetic" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_formic" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_no_soil" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="flx_no" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="pb" level="11"/>
+    <field field_ref="slowflow" level="11"/>
+    <field field_ref="qsintveg_tot" level="11"/>
+    <field field_ref="LAImean" level="11"/>
+    <field field_ref="mcs" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="mcr" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="nvg" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="alphavg" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="nroot" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="dlh" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="water2infilt" grid_ref="grid_nstm_out" level="11"/>
+    <field field_ref="kk_moy" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="psi_moy" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="profil_froz_hydro" grid_ref="grid_nslm_out" level="11"/>
+    <field field_ref="pkappa" grid_ref="grid_ngrnd_out"  level="11"/>
+    <field field_ref="pkappa_snow" grid_ref="grid_nsnow_out" level="11"/>
+    <field field_ref="pcapa" grid_ref="grid_ngrnd_out"  level="11"/>
+    <field field_ref="pcapa_spec" grid_ref="grid_ngrnd_out"  level="11"/>
+    <field field_ref="pcapa_snow" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowtemp" grid_ref="grid_nsnow_out"  level="0"/>
+    <field field_ref="snowtemp_weighted"  level="11"/>
+    <field field_ref="snowliq" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowdz" grid_ref="grid_nsnow_out"  level="0"/>
+    <field field_ref="snowrho" grid_ref="grid_nsnow_out"  level="0"/>
+    <field field_ref="snowheat" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowgrain" grid_ref="grid_nsnow_out"  level="11"/>
+    <field field_ref="snowdepth"  level="11"/>
+    <field field_ref="mc" grid_ref="grid_nslm_nstm_out" level="0"/>   <!-- mc is a 4 dimensional variable -->
+    <field field_ref="znetco2" level="11" />
+    <field field_ref="zcarblu" level="11" />
+    <field field_ref="zcarbwh" level="11" />
+    <field field_ref="zcarbha" level="11" />
+    </field_group>
+  </file>
+
+  <!-- Sechiba file 3 -->
+  <!-- This files contains all variables having more than one vertical axis -->
+  <file id="sechiba3" name="../sechiba_history_4dim" output_level="11" output_freq="1d" enabled=".TRUE.">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+   <field_group group_ref="remap_1d" grid_ref="grid_landpoints_out" >
+    <field field_ref="areas" level="1"/>
+    <field field_ref="contfrac" level="1"/>
+    <field field_ref="mc" grid_ref="grid_nslm_nstm_out" level="1"/>
+    <field field_ref="mc_read_current" grid_ref="grid_nslm_nstm_out" level="2"/>
+    <field field_ref="kfact_root" grid_ref="grid_nslm_nstm_out" level="3"/>
+    <field field_ref="vegetmax_soil" grid_ref="grid_nvm_nstm_out" level="3"/>
+    <field field_ref="profil_froz_hydro_ns" grid_ref="grid_nslm_nstm_out" level="11"/>
+   </field_group>  
+  </file>
+
+
+  <!-- Sechiba alma file 1 -->
+  <file id="sechiba1_alma" name="../sechiba_history_alma" output_level="10" output_freq="1d" enabled=".FALSE.">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+   <field_group group_ref="remap_1d" grid_ref="grid_landpoints_out" >
+    <field field_ref="areas" level="1"/>
+    <field field_ref="LandPoints" level="20"/>
+    <field field_ref="contfrac" level="1"/>
+    <field field_ref="soilflx" level="1"/>
+    <field field_ref="Qv" level="1"/>
+    <field field_ref="runoff" name="Qs" level="1"/>
+    <field field_ref="drainage" name="Qsb" level="1"/>
+    <field field_ref="coastalflow" name="CoastalFlow" level="1"/>
+    <field field_ref="riverflow" name="RiverFlow" level="1"/>
+    <field field_ref="surfheat_incr" level="1"/>
+    <field field_ref="coldcont_incr" level="1"/>
+    <field field_ref="fluxsens" name="Qh" level="1"/>
+    <field field_ref="fluxlat" name="Qle" level="1"/>
+    <field field_ref="lwnet" name="LWnet" level="1"/>
+    <field field_ref="swnet" name="SWnet" level="1"/>
+    <field field_ref="precip_rain" name="Rainf" level="1"/>
+    <field field_ref="precip_snow" name="Snowf" level="1"/>
+    <field field_ref="vevapp" name="Evap" level="1"/>
+    <field field_ref="tot_melt" name="Qsm" level="1"/>
+    <field field_ref="irrigation" name="Qirrig" level="1"/>
+    <field field_ref="netirrig" name="Qirrig_req" long_name="Irrigation requirement" level="1"/>
+    <field field_ref="temp_sol_new" level="1"/>
+    <field field_ref="fastr" level="1"/>
+    <field field_ref="slowr" level="1"/>
+    <field field_ref="streamr" level="1"/>
+    <field field_ref="laker" level="1"/>
+    <field field_ref="pondr" level="1"/>
+    <field field_ref="PotSurfT" level="1"/>
+    <field field_ref="albedo_glob" level="1"/>
+    <field field_ref="soilalb_bg" grid_ref="grid_albtyp_out" name="Albedo_Background" level="1"/>
+    <field field_ref="SurfStor" level="1"/>
+    <field field_ref="snow" name="SWE" long_name="Snow Water Equivalent" level="1"/>
+    <field field_ref="soilwet" level="1"/>
+    <field field_ref="evapot_corr" name="PotEvap" long_name="Potential evapotranspiration" unit="kg/m^2/s" level="1"/>
+    <field field_ref="evapot" name="PotEvapOld" long_name="Potential evapotranspiration old method" unit="kg/m^2/s" level="1"/>
+    <field field_ref="ECanop" level="1"/>
+    <field field_ref="TVeg" level="1"/>
+    <field field_ref="vevapsno" name="SubSnow" level="1"/>
+    <field field_ref="irrigmap" name="IrrigationMap" level="1"/>
+    <field field_ref="floodmap" name="FloodplainsMap" level="1"/>
+    <field field_ref="swampmap" name="SwampMap" level="1"/>
+    <field field_ref="hydrographs" name="Dis" level="1"/>
+    <field field_ref="gpp" grid_ref="grid_nvm_out" name="GPP" level="1"/>
+    <field field_ref="nee" grid_ref="grid_nvm_out" name="NEE" level="1"/>
+    <field field_ref="maint_resp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="hetero_resp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="growth_resp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="npp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="z0m" name="Z0m" long_name="Roughness height for momentum" level="1"/>
+    <field field_ref="z0h" name="Z0h" long_name="Roughness height for heat" level="1"/>
+    <field field_ref="roughheight" name="EffectHeight" long_name="Effective displacement height (h-d)" level="1"/>
+    <field field_ref="delsoilmoist" level="1"/>
+    <field field_ref="delintercept" level="1"/>
+    <field field_ref="delswe" level="1"/>
+    <field field_ref="vevapnu" name="ESoil" level="1"/>
+    <field field_ref="vevapflo" name="EWater" level="1"/>
+    <field field_ref="ACond" level="1"/>
+    <field field_ref="temp_air" name="Tair" level="2"/>
+    <field field_ref="qair" name="Qair" level="2"/>
+    <field field_ref="vegetfrac" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="maxvegetfrac" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="nobiofrac" grid_ref="grid_nnobio_out" level="3"/>
+    <field field_ref="soilmoist" grid_ref="grid_nslm_out" level="7"/>
+    <field field_ref="humtot" name="RootMoist" long_name="Root zone soil water" level="1"/>
+    <field field_ref="ptn" grid_ref="grid_ngrnd_out" name="SoilTemp" level="7"/>
+    <field field_ref="vbeta1" name="SnowFrac" level="7"/>
+    <field field_ref="albedo_snow" level="7"/>
+    <field field_ref="snowdz" grid_ref="grid_nsnow_out" name="SnowDepth" level="7"/>
+    <field field_ref="temp_sol_new" name="RadT" level="1"/>
+    <field field_ref="twbr" level="1"/>
+   </field_group>
+  </file>
+
+  <!-- Sechiba alma file 2 -->
+  <file id="sechiba2_alma" name="../sechiba_out_2_alma" output_level="10" output_freq="1d" enabled=".FALSE.">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+   <field_group group_ref="remap_1d" grid_ref="grid_landpoints_out" >
+    <field field_ref="areas" level="1"/>
+    <field field_ref="LandPoints" level="20"/>
+    <field field_ref="contfrac" level="1"/>
+    <field field_ref="soilflx" level="1"/>
+    <field field_ref="Qv" level="1"/>
+    <field field_ref="runoff" name="Qs" level="1"/>
+    <field field_ref="drainage" name="Qsb" level="1"/>
+    <field field_ref="coastalflow" name="CoastalFlow" level="1"/>
+    <field field_ref="riverflow" name="RiverFlow" level="1"/>
+    <field field_ref="surfheat_incr" level="1"/>
+    <field field_ref="coldcont_incr" level="1"/>
+    <field field_ref="fluxsens" name="Qh" level="1"/>
+    <field field_ref="fluxlat" name="Qle" level="1"/>
+    <field field_ref="lwnet" name="LWnet" level="1"/>
+    <field field_ref="swnet" name="SWnet" level="1"/>
+    <field field_ref="precip_rain" name="Rainf" level="1"/>
+    <field field_ref="precip_snow" name="Snowf" level="1"/>
+    <field field_ref="vevapp" name="Evap" level="1"/>
+    <field field_ref="tot_melt" name="Qsm" level="1"/>
+    <field field_ref="irrigation" name="Qirrig" level="1"/>
+    <field field_ref="netirrig" name="Qirrig_req" long_name="Irrigation requirement" level="1"/>
+    <field field_ref="temp_sol_new" level="1"/>
+    <field field_ref="fastr" level="1"/>
+    <field field_ref="slowr" level="1"/>
+    <field field_ref="streamr" level="1"/>
+    <field field_ref="laker" level="1"/>
+    <field field_ref="pondr" level="1"/>
+    <field field_ref="albedo_glob" level="1"/>
+    <field field_ref="SurfStor" level="1"/>
+    <field field_ref="snow" name="SWE" long_name="Snow Water Equivalent" level="1"/>
+    <field field_ref="soilwet" level="1"/>
+    <field field_ref="ECanop" level="1"/>
+    <field field_ref="TVeg" level="1"/>
+    <field field_ref="vevapsno" name="SubSnow" level="1"/>
+    <field field_ref="irrigmap" name="IrrigationMap" level="1"/>
+    <field field_ref="floodmap" name="FloodplainsMap" level="1"/>
+    <field field_ref="swampmap" name="SwampMap" level="1"/>
+    <field field_ref="hydrographs" name="Dis" level="1"/>
+    <field field_ref="gpp" grid_ref="grid_nvm_out" name="GPP" level="1"/>
+    <field field_ref="nee" grid_ref="grid_nvm_out" name="NEE" level="1"/>
+    <field field_ref="maint_resp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="hetero_resp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="growth_resp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="npp" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="delsoilmoist" level="1"/>
+    <field field_ref="delintercept" level="1"/>
+    <field field_ref="delswe" level="1"/>
+    <field field_ref="vevapnu" name="ESoil" level="1"/>
+    <field field_ref="vevapflo" name="EWater" level="1"/>
+    <field field_ref="ACond" level="1"/>
+    <field field_ref="soilmoist" grid_ref="grid_nslm_out" level="7"/>
+    <field field_ref="humtot" name="RootMoist" long_name="Root zone soil water" level="1"/>
+    <field field_ref="ptn" grid_ref="grid_ngrnd_out" name="SoilTemp" level="7"/>
+    <field field_ref="vbeta1" name="SnowFrac" level="7"/>
+    <field field_ref="albedo_snow" level="7"/>
+    <field field_ref="snowdz" grid_ref="grid_nsnow_out" name="SnowDepth" level="7"/>
+    <field field_ref="vegetfrac" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="maxvegetfrac" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="nobiofrac" grid_ref="grid_nnobio_out" level="3"/>
+    <field field_ref="temp_sol_new" name="RadT" level="5"/>
+   </field_group>
+
+  </file>
+
+  <!-- Definition of files with stomate diagnostics -->
+  <!-- Stomate file 1 -->
+  <file id="stomate1" name="../stomate_history" output_level="10" output_freq="1d" enabled=".TRUE.">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+   <field_group group_ref="remap_1d" grid_ref="grid_landpoints_out" >
+     
+    <!-- level 1 -->
+    <field field_ref="RESOLUTION_X" level="0"/>
+    <field field_ref="RESOLUTION_Y" level="0"/>
+    <field field_ref="CONTFRAC_STOMATE" level="0"/>
+    <field field_ref="areas" level="0"/>
+    <field field_ref="T2M_MONTH" level="1"/>
+    <field field_ref="T2M_WEEK" level="1"/>
+    <field field_ref="firefrac" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="CO2_FIRE" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="CO2_TAKEN" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="LAI" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="VEGET_COV_MAX" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="NPP_STOMATE" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="GPP" grid_ref="grid_nvm_out" level="0"/>
+    <!-- level 2 -->
+    <field field_ref="LEAF_M" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="SAP_M_AB" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="SAP_M_BE" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="HEART_M_AB" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="HEART_M_BE" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="ROOT_M" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="FRUIT_M" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="RESERVE_M" grid_ref="grid_nvm_out" level="2"/>
+    <field field_ref="MAINT_RESP" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="GROWTH_RESP" grid_ref="grid_nvm_out" level="0"/>
+    <!-- level 3 -->
+    <field field_ref="IND" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="ADAPTATION" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="REGENERATION" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="CN_IND" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="WOODMASS_IND" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="MOISTRESS" grid_ref="grid_nvm_out" level="3"/>
+    <field field_ref="HET_RESP" grid_ref="grid_nvm_out" level="0"/>
+    <!-- level 4 -->
+    <field field_ref="SAP_AB_TURN" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="ROOT_TURN" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="FRUIT_TURN" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="TOTAL_BM_LITTER" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="LEAF_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="SAP_AB_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="SAP_BE_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="HEART_AB_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="HEART_BE_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="ROOT_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="FRUIT_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="RESERVE_BM_LITTER" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="TOTAL_M" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="TOTAL_TURN" grid_ref="grid_nvm_out" level="4"/>
+    <field field_ref="LEAF_TURN" grid_ref="grid_nvm_out" level="4"/>
+    <!-- level 5 -->
+    <field field_ref="LITTER_STR_AB" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="LITTER_MET_AB" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="LITTER_STR_BE" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="LITTER_MET_BE" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="DEADLEAF_COVER" level="5"/>
+    <field field_ref="TOTAL_SOIL_CARB" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="CARBON_ACTIVE" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="CARBON_SLOW" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="CARBON_PASSIVE" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="LITTERHUM" level="5"/>
+    <field field_ref="BM_ALLOC_LEAF" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="BM_ALLOC_SAP_AB" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="BM_ALLOC_SAP_BE" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="BM_ALLOC_ROOT" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="BM_ALLOC_FRUIT" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="BM_ALLOC_RES" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="HERBIVORES" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="TURNOVER_TIME" grid_ref="grid_nvm_out" level="5"/>
+    <field field_ref="PROD10" grid_ref="grid_P11_out" level="5"/>
+    <field field_ref="FLUX10" grid_ref="grid_P10_out" level="5"/>
+    <field field_ref="PROD100" grid_ref="grid_P101_out" level="5"/>
+    <field field_ref="FLUX100" grid_ref="grid_P100_out" level="5"/>
+    <field field_ref="CONVFLUX" level="0"/>
+    <field field_ref="CFLUX_PROD10" level="0"/>
+    <field field_ref="CFLUX_PROD100" level="0"/>
+    <field field_ref="fDeforestToProduct" level="5"/>
+    <field field_ref="fDeforestToProduct_post" level="5"/>
+    <field field_ref="PROD10_HARVEST" grid_ref="grid_P11_out" level="5"/>
+    <field field_ref="FLUX10_HARVEST" grid_ref="grid_P10_out" level="5"/>
+    <field field_ref="PROD100_HARVEST" grid_ref="grid_P101_out" level="5"/>
+    <field field_ref="FLUX100_HARVEST" grid_ref="grid_P100_out" level="5"/>
+    <field field_ref="CONVFLUX_HARVEST" level="5"/>
+    <field field_ref="CFLUX_PROD10_HARVEST" level="5"/>
+    <field field_ref="CFLUX_PROD100_HARVEST" level="5"/>
+    <field field_ref="WOOD_HARVEST" level="0"/>
+    <field field_ref="WOOD_HARVEST_PFT" grid_ref="grid_nvm_out" level="0"/>
+    <field field_ref="HARVEST_ABOVE" level="0"/>
+    <!-- level 6 -->
+    <field field_ref="VCMAX" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="LEAF_AGE" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="mortality" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="firedeath" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="IND_ESTAB" grid_ref="grid_nvm_out" level="6"/>
+    <field field_ref="ESTABTREE" level="6"/>
+    <field field_ref="ESTABGRASS" level="6"/>
+    <field field_ref="light_death" grid_ref="grid_nvm_out" level="6"/>
+    <!-- level 7 -->
+    <field field_ref="AGE" grid_ref="grid_nvm_out" level="7"/>
+    <field field_ref="HEIGHT" grid_ref="grid_nvm_out" level="7"/>
+    <!-- level 9 -->
+    <field field_ref="WHEN_GROWTHINIT" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="PFTPRESENT" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="GDD_MIDWINTER" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="GDD_M5_DORMANCE" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="NCD_DORMANCE" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="ALLOW_INITPHENO" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="BEGIN_LEAVES" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="t2m_longterm" level="9"/>
+    <field field_ref="TSEASON"  level="9"/>
+    <field field_ref="TMIN_SPRING_TIME" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="ONSET_DATE" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="FPC_MAX" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="MAXFPC_LASTYEAR" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="clitterlut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="csoillut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="cveglut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="lailut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="ctotfirelut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="ralut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="rhlut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="npplut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="cproductlut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="flulccproductlut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="flulccresiduelut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="flulccresidue" grid_ref="grid_nvm_out" level="9"/>
+    <field field_ref="flulccatmlut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="necbLut" grid_ref="grid_nlut_out" level="9"/>
+    <field field_ref="fProductDecomp" level="9"/>
+
+    <!-- level 10 -->
+    <field field_ref="FIREINDEX" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="HET_RESP_SOIL" grid_ref="grid_nvm_out" level="10"/>
+    <field field_ref="HET_RESP_LITTER" grid_ref="grid_nvm_out" level="10"/>
+ 
+   </field_group>  
+    
+  </file>
+
+  <!-- Stomate file 2 -->
+  <file id="stomate2" name="../stomate_ipcc_history" output_level="1" output_freq="1d" enabled=".TRUE.">
+<variable id="LongName" type="string">LMDZOR configuration</variable>
+   <field_group group_ref="remap_1d" grid_ref="grid_landpoints_out" >
+    <!-- level 1 -->
+    <field field_ref="RESOLUTION_X" level="1"/>
+    <field field_ref="RESOLUTION_Y" level="1"/>
+    <field field_ref="CONTFRAC_STOMATE" level="0"/>
+    <field field_ref="areas" level="0"/>
+    <field field_ref="cVeg" level="1"/>
+    <field field_ref="cVegGrass" level="1"/>
+    <field field_ref="cVegCrop" level="0"/>
+    <field field_ref="cVegTree" level="1"/>
+    <field field_ref="cLitter" level="1"/>
+    <field field_ref="cLitterGrass" level="1"/>
+    <field field_ref="cLitterCrop" level="0"/>
+    <field field_ref="cLitterTree" level="1"/>
+    <field field_ref="cOther" level="1"/>
+    <field field_ref="cSoil" level="1"/>
+    <field field_ref="cSoilGrass" level="1"/>
+    <field field_ref="cSoilCrop" level="0"/>
+    <field field_ref="cSoilTree" level="1"/>
+    <field field_ref="cLand" level="1"/>
+    <field field_ref="cProduct" level="0"/>
+    <field field_ref="cMassVariation" level="0"/>
+    <field field_ref="lai_ipcc" level="0"/>
+    <field field_ref="gpp_ipcc" level="0"/>
+    <field field_ref="ra" level="0"/>
+    <field field_ref="raGrass" level="1"/>
+    <field field_ref="raCrop" level="0"/>
+    <field field_ref="raTree" level="1"/>
+    <field field_ref="npp_ipcc" level="1"/>
+    <field field_ref="rh" level="1"/>
+    <field field_ref="rhSoil" level="1"/>
+    <field field_ref="rhLitter" level="1"/>
+    <field field_ref="resp_maint_part_weighted" grid_ref="grid_nparts_out" level="1"/>
+    <field field_ref="resp_growth_part_weighted" grid_ref="grid_nparts_out" level="1"/>
+    <field field_ref="tSoilPools" grid_ref="grid_ncarb_out" level="1"/>
+    <field field_ref="fFire" level="1"/>
+    <field field_ref="fHarvest" level="1"/>
+    <field field_ref="fWoodharvest" level="0"/>
+    <field field_ref="fLuc" level="0"/>
+    <field field_ref="fAnthDisturb" level="1"/>
+    <field field_ref="nbp" level="0"/>
+    <field field_ref="fVegLitter" level="0"/>
+    <field field_ref="fLitterSoil" level="0"/>
+    <field field_ref="cLeaf" level="0"/>
+    <field field_ref="cWood" level="0"/>
+    <field field_ref="cStem" level="1"/>
+    <field field_ref="cRoot" level="0"/>
+    <field field_ref="cMisc" level="0"/>
+    <field field_ref="cLitterAbove" level="0"/>
+    <field field_ref="cLitterBelow" level="0"/>
+    <field field_ref="cSoilFast" level="0"/>
+    <field field_ref="cSoilMedium" level="0"/>
+    <field field_ref="cSoilSlow" level="0"/>
+    <field field_ref="cSoilPools" grid_ref="grid_ncarb_out" level="1"/>
+    <field field_ref="landCoverFrac" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="treeFracPrimDec" level="0"/>
+    <field field_ref="treeFracPrimEver" level="0"/>
+    <field field_ref="c3PftFrac" level="0"/>
+    <field field_ref="c4PftFrac" level="0"/>
+    <field field_ref="rGrowth" level="0"/>
+    <field field_ref="rMaint" level="0"/>
+    <field field_ref="rGrowth_ipcc" level="1"/>
+    <field field_ref="rMaint_ipcc" level="1"/>
+    <field field_ref="nppLeaf" level="0"/>
+    <field field_ref="nppWood" level="0"/>
+    <field field_ref="nppStem" level="1"/>
+    <field field_ref="nppRoot" level="0"/>
+    <field field_ref="nppGrass" level="1"/>
+    <field field_ref="nppCrop" level="0"/>
+    <field field_ref="nppTree" level="1"/>
+    <field field_ref="nppOther" level="1"/>
+    <field field_ref="nep" level="0"/>
+   </field_group>
+    
+  </file>
+</file_definition>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/gcm.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/gcm.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/gcm.def	(revision 5499)
@@ -0,0 +1,54 @@
+## $Id$
+## nombre de pas par jour (multiple de iperiod) ( day_step=480 => dt=3min )
+day_step=480
+## periode pour le pas Matsuno (en pas)
+iperiod=5
+## choix de l'operateur de dissipation (star ou  non star )
+lstardis=y
+## nombre d'iterations de l'operateur de dissipation   gradiv
+nitergdiv=1
+## nombre d'iterations de l'operateur de dissipation  nxgradrot
+nitergrot=2
+## nombre d'iterations de l'operateur de dissipation  divgrad
+niterh=2
+## temps de dissipation des plus petites long.d ondes pour u,v (gradiv)
+tetagdiv=5400.
+## temps de dissipation des plus petites long.d ondes pour u,v(nxgradrot)
+tetagrot=5400.
+## temps de dissipation des plus petites long.d ondes pour  h ( divgrad)
+tetatemp=5400.
+## coefficient pour gamdissip
+coefdis=0.
+## choix du shema d'integration temporelle (Matsuno ou Matsuno-leapfrog)
+purmats=n
+## avec ou sans physique
+## 0: pas de physique (e.g. en mode Shallow Water)
+## 1: avec physique (e.g. physique phylmd)
+## 2: avec rappel newtonien dans la dynamique
+iflag_phys=1
+## avec ou sans fichiers de demarrage (start.nc, startphy.nc) ?
+## (sans fichiers de demarrage, initialisation des champs par iniacademic
+##  dans la dynamique)
+read_start=y
+## periode de la physique (en pas)
+iphysiq=5
+## longitude en degres du centre du zoom
+clon=0.
+## latitude en degres du centre du zoom
+clat=0.
+## facteur de grossissement du zoom,selon longitude
+grossismx=1.0
+## facteur de grossissement du zoom ,selon latitude
+grossismy=1.0
+##  Fonction  f(y)  hyperbolique  si = .true.  , sinon  sinusoidale
+fxyhypb=y
+## extension en longitude  de la zone du zoom  ( fraction de la zone totale)
+dzoomx=0.0
+## extension en latitude de la zone  du zoom  ( fraction de la zone totale)
+dzoomy=0.0
+##raideur du zoom en  X
+taux=3.
+##raideur du zoom en  Y
+tauy=3.
+##  Fonction  f(y) avec y = Sin(latit.) si = .true. , sinon y = latit.
+ysinus=y
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/guide.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/guide.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/guide.def	(revision 5499)
@@ -0,0 +1,16 @@
+# ok_guide=y : guidage active
+ok_guide= n
+#
+guide_u= y
+guide_v= y
+guide_T= n
+guide_P= n
+guide_Q= n
+
+ini_anal=n
+tau_min_u=0.0208333
+tau_max_u=0.125
+tau_min_v=0.0208333
+tau_max_v=0.125
+#tau_min_T=0.0208333
+#tau_max_T=10
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/iodef.xml
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/iodef.xml	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/iodef.xml	(revision 5499)
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!-- =========================================================================================================== -->
+<!-- iodef.xml : Configuration file for production of output files using XIOS                                    -->
+<!--             This file contains the context XIOS.                                                            -->
+<!--             The model components context will be add automatically by the comp.driver                       -->
+<!-- =========================================================================================================== -->
+
+<simulation>
+
+  <!-- =========================================================================================================== -->
+  <!-- XIOS context                                                                                                -->
+  <!-- =========================================================================================================== -->
+  <context id="xios">
+
+    <variable_definition>
+         <variable_group id="server">
+            <variable id="using_server2" type="bool">false</variable>
+            <variable id="ratio_server2" type="int">50</variable>
+         </variable_group>
+
+        <variable_group id="buffer">
+            <variable id="optimal_buffer_size" type="string">performance</variable>
+            <variable id="buffer_size_factor" type="double">1.0</variable>
+            <variable id="min_buffer_size" type="int">10000000</variable>
+         </variable_group>
+
+        <variable_group id="parameters" >
+          <variable id="using_server" type="bool">true</variable>
+          <variable id="info_level" type="int">1</variable>
+          <variable id="print_file" type="bool">false</variable>
+          <variable id="using_oasis" type="bool">false</variable>
+          <variable id="oasis_codes_id" type="string" >LMDZ,oceanx</variable>
+        </variable_group>
+      <variable id="activate_non_distributed_transformation" type="bool">true</variable>
+      <variable id="recv_field_timeout" type="double">3000.0</variable>
+      <variable id="call_oasis_enddef" type="bool">true</variable>
+    </variable_definition>
+
+  </context>
+
+  <!-- =========================================================================================================== -->
+  <!-- COMPONENT CONTEXT : the model components context will be add automatically by the comp.driver               -->
+<context id="orchidee" src="./context_orchidee.xml"/>
+<context id="orchidee" src="./context_input_orchidee.xml"/>
+<context id="LMDZ" src="./context_lmdz.xml"/>
+  
+</simulation>
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/orchidee.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/orchidee.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/orchidee.def	(revision 5499)
@@ -0,0 +1,232 @@
+#
+#**************************************************************************
+#                    Parameter file list for ORCHIDEE
+# See all optional parameters in modipsl/modeles/ORCHIDEE/orchidee.default
+#**************************************************************************
+
+# Input and output
+#**************************************************************************
+# Restart the time from the GCM. 
+# default = n
+SECHIBA_reset_time = y
+
+# Name of restart to read for initial conditions
+# default = NONE
+SECHIBA_restart_in= sechiba_rest_in.nc
+
+# Name of restart to read for initial conditions of STOMATE
+# default = NONE
+STOMATE_RESTART_FILEIN= stomate_rest_in.nc
+
+# Use XIOS for writing diagnostics file
+# default = y
+XIOS_ORCHIDEE_OK = y
+
+# Writefrequency in seconds in sechiba_history.nc
+# default = 0
+WRITE_STEP = 0
+
+# Print level for text output in out_orchidee_*
+# PRINTLEV = 1 : some output in initialization phase
+# PRINTLEV = 2 : more output in initialization phase and printing of new date
+# PRINTLEV = 3, 4,.. : more output also at each timestep
+PRINTLEV=1
+
+# Hydrology parameters
+#**************************************************************************
+# Activate the multi-layer diffusion scheme adapted from CWRR
+# default = y
+HYDROL_CWRR = y
+
+# Activate river routing
+# default = y
+RIVER_ROUTING = y
+
+# Activate creation of river_desc.nc file
+# RIVER_DESC will be activated only the first execution in the simulation. 
+RIVER_DESC= n
+
+# SOILTYPE_CLASSIF :  Type of classification used for the map of soil types (default zobler)
+SOILTYPE_CLASSIF = zobler 
+SOILALB_FILE     = soils_param.nc
+SOILCLASS_FILE   = soils_param.nc
+
+# DO_RSOIL : Reduce soil evaporation with a soil resistance (default n)
+DO_RSOIL = n
+
+# To make AVAN and NVAN constant with depth (default CWRR_AKS_A0=0, CWRR_AKS_POWER=0, CWRR_NKS_A0=0, CWRR_NKS_POWER=0 )
+CWRR_AKS_A0 = 0.
+CWRR_AKS_POWER = 0.
+CWRR_NKS_A0 = 0.
+CWRR_NKS_POWER = 0.
+
+#**************************************************************************
+# Activate Stomate component
+STOMATE_OK_STOMATE= y
+
+# Activate calculations of CO2 according to Farqhuar and Ball
+# default = y
+STOMATE_OK_CO2 = y
+
+# CDRAG_from_GCM: Use cdrag coefficient from gcm (default=y if coupled to LMDZ)
+CDRAG_from_GCM = y
+
+# Interception reservoir coefficient.
+# default = 0.1
+SECHIBA_QSINT = 0.02
+
+# Use 15 PFTs. Note that PFTmap.nc must contains 15PFTs.
+# PFT=10, 14 and 15 share the same parametrization except for VCMAX and LAI_MAX specified below.  
+NVM=15
+PFT_TO_MTC=1,2,3,4,5,6,7,8,9,10,11,12,13,10,10
+PFT_NAME__10='temperate C3           grass      '
+PFT_NAME__14='tropical  C3           grass      '
+PFT_NAME__15='boreal    C3           grass      '
+
+# STRESS_GS, STRESS_GM, STRESS_VCMAX : Stress on GS, GM and VCMAX
+# Default STRESS_GS=1, STRESS_GM=1, STRESS_VCMAX=1 for all PFTs
+STRESS_GS=1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.
+STRESS_GM=1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.
+STRESS_VCMAX=1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.
+
+# Optimized parameters for albedo (default values)
+ALB_LEAF_NIR = 0.,0.23,0.18,0.18,0.20,0.24,0.15,0.26,0.20,0.24,0.27,0.28,0.26,0.24,0.24
+ALB_LEAF_VIS = 0.,0.04,0.04,0.04,0.04,0.03,0.03,0.03,0.03,0.06,0.06,0.06,0.06,0.06,0.06
+SNOWA_AGED_NIR = 0.50,0,0,0.10,0.37,0.08,0.16,0.17,0.27,0.44,0.44,0.44,0.44,0.44,0.44
+SNOWA_DEC_NIR = 0.13,0,0,0.10,0.10,0.16,0.04,0.07,0.08,0.12,0.12,0.12,0.12,0.12,0.12
+SNOWA_AGED_VIS = 0.74,0,0,0.08,0.24,0.07,0.18,0.18,0.33,0.57,0.57,0.57,0.57,0.57,0.57
+SNOWA_DEC_VIS = 0.21,0,0,0.14,0.08,0.17,0.05,0.06,0.09,0.15,0.15,0.15,0.15,0.15,0.15
+
+# Optimized parameters for photosynthetic capacity 
+# Default values except for PFT=15
+VCMAX25__02 = 45.0
+VCMAX25__03 = 45.0
+VCMAX25__04 = 35.0
+VCMAX25__05 = 40.0
+VCMAX25__06 = 50.0
+VCMAX25__07 = 45.0
+VCMAX25__08 = 35.0
+VCMAX25__09 = 35.0
+VCMAX25__10 = 50.0
+VCMAX25__11 = 50.0
+VCMAX25__12 = 60.0
+VCMAX25__13 = 60.0
+VCMAX25__14 = 50.0
+VCMAX25__15 = 40.0
+
+# Optimized parameters for LAI
+# Default values except for PFT=15
+LAI_MAX__02 = 7.0
+LAI_MAX__03 = 5.0
+LAI_MAX__04 = 5.0
+LAI_MAX__05 = 4.0
+LAI_MAX__06 = 5.0
+LAI_MAX__07 = 3.5
+LAI_MAX__08 = 4.0
+LAI_MAX__09 = 3.0
+LAI_MAX__10 = 2.5
+LAI_MAX__11 = 2.0
+LAI_MAX__12 = 5.0
+LAI_MAX__13 = 5.0
+LAI_MAX__14 = 2.5
+LAI_MAX__15 = 2.0
+
+# Activate downregulation for CO2
+# Set DOWNREGULATION_CO2_NEW=y to activate new revised version of 
+# downregulation parametrization available in ORCHIDEE_2_0 for 
+# configurations v6.1.11 or later or in ORCHIDEE_2_2 from revision 6393 and later. 
+# When DOWNREGULATION_CO2_NEW=y, 
+# DOWNREGULATION_CO2 will be forced to false by the model.
+DOWNREGULATION_CO2_NEW=y
+DOWNREGULATION_CO2_BASELEVEL=380.
+
+# Activate harvest of wood
+DO_WOOD_HARVEST= y
+
+# Growth respiration (default values except for PFT=14 and PFT=15)
+FRAC_GROWTHRESP__02 = 0.35
+FRAC_GROWTHRESP__03 = 0.35
+FRAC_GROWTHRESP__04 = 0.28
+FRAC_GROWTHRESP__05 = 0.28
+FRAC_GROWTHRESP__06 = 0.28
+FRAC_GROWTHRESP__07 = 0.35
+FRAC_GROWTHRESP__08 = 0.35
+FRAC_GROWTHRESP__09 = 0.35
+FRAC_GROWTHRESP__10 = 0.28
+FRAC_GROWTHRESP__11 = 0.28
+FRAC_GROWTHRESP__12 = 0.28
+FRAC_GROWTHRESP__13 = 0.28
+FRAC_GROWTHRESP__14 = 0.35
+FRAC_GROWTHRESP__15 = 0.35
+
+# Maintenance respiration slope C (default values except for PFT=14 and PFT=15)
+MAINT_RESP_SLOPE_C__02 = 0.12
+MAINT_RESP_SLOPE_C__03 = 0.12
+MAINT_RESP_SLOPE_C__04 = 0.16
+MAINT_RESP_SLOPE_C__05 = 0.16
+MAINT_RESP_SLOPE_C__06 = 0.16
+MAINT_RESP_SLOPE_C__07 = 0.25
+MAINT_RESP_SLOPE_C__08 = 0.25
+MAINT_RESP_SLOPE_C__09 = 0.25
+MAINT_RESP_SLOPE_C__10 = 0.16
+MAINT_RESP_SLOPE_C__11 = 0.12
+MAINT_RESP_SLOPE_C__12 = 0.16
+MAINT_RESP_SLOPE_C__13 = 0.12
+MAINT_RESP_SLOPE_C__14 = 0.12
+MAINT_RESP_SLOPE_C__15 = 0.25
+
+# Soil turnover (default CARBON_TAU=7, CARBON_TAU_IPASSOVE=300)
+CARBON_TAU_ISLOW = 7
+CARBON_TAU_IPASSIVE = 300
+
+# Take carbon from atmosphere if carbohydrate reserve too small, PFT dependent
+# Set to y for all pft except C4 grass (pft=11) and tropical C3 grass (pft=14)
+ALWAYS_INIT =  y, y, y, y, y, y, y, y, y, y, n, y, y, n, y
+
+# Do not use default fire module
+# Default FIRE_DISABLE=y
+FIRE_DISABLE = y
+
+# Parameters related to vegetation map
+#**************************************************************************
+# Update vegetation frequency
+# The maximum vegetation fractions will be update at this period
+# default = 1Y
+VEGET_UPDATE= 0Y
+
+# Read lai map (default n)
+LAI_MAP=  n
+
+# Parameters related to surface and thermal physical properties
+#************************************************************************
+# Read bare soil albedo from file with background MODIS data
+# Default ALB_BG_MODIS=y
+ALB_BG_MODIS = y
+ALB_BG_FILE  = alb_bg.nc
+
+# ROUGH_DYN : Account for a dynamic roughness height (activation of Su et al. parametrization) (default y)
+ROUGH_DYN=y
+
+# OK_FREEZE :  Activate the complet soil freezing scheme (default y)
+OK_FREEZE=y
+
+# DEPTH_MAX_T (m) :  Maximum depth of the soil thermodynamics (default 90)
+DEPTH_MAX_T=90
+
+# OK_EXPLICITSNOW :  Activate explict snow scheme (default y)
+OK_EXPLICITSNOW=y
+ 
+# READ_REFTEMP :  Initialize soil temperature using climatological temperature (default y if OK_FREEZE=y)
+READ_REFTEMP=y
+
+# Parameters related to chemistry bvoc 
+#************************************************************************
+# CHEMISTRY_OK_BVOC :  Activate chemistry
+CHEMISTRY_BVOC= n
+
+# CO2 FOR BVOC - WILKINSON :  CO2 inhibition effect for isoprene based on Wilkinson approach?
+CO2_FOR_BVOC_WILKINSON=n
+
+# CO2 FOR BVOC - POSSELL :  CO2 inhibition effect for isoprene based on Possell approach?
+CO2_FOR_BVOC_POSSELL=n
+
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/physiq.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/physiq.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/physiq.def	(revision 5499)
@@ -0,0 +1,532 @@
+#
+# $Id: physiq.def_NPv6.1 3668 2018-03-20 14:55:33Z lfairhead $
+#
+
+##############################################################
+# PARAMETRES ET CLES DE LA PHYSIQUE LMDZ
+##############################################################
+# D: Valeur par default
+#
+
+###########################################################
+# divers. Devrait aller dans config.def ?
+###########################################################
+##   Si=.T. ,  lecture du fichier limit avec la bonne annee 
+ok_limitvrai=n
+
+###########################################################
+# Parametres couche limite de surface
+###########################################################
+
+          #  ...
+f_cdrag_stable=1
+
+          # Facteur sur les coefficients de trainee terrestres
+f_cdrag_ter=1
+
+          # Vitesse minimum dans les calculs de trainee Cd ( || V || + Vmin )
+min_wind_speed=0.1
+
+          #  Modelisation des bosquets
+ifl_pbltree=1
+Cd_frein=0.016
+
+###########################################################
+# parameter des flux air-mer
+###########################################################
+
+          # Facteur sur les flux sensibles et latent
+          # Introduit pour reduire l evaporation quand on avait z0h=z0m
+          # CONSEILLE : 1
+f_cdrag_oce=1
+
+          # Flag controlant le calcul des z0
+iflag_z0_oce=1
+
+          # Rapport entre les Z0 latent et sensible
+f_z0qh_oce=1.55
+
+          # Activation des rafales : Oui 1 ou non 0
+iflag_gusts=2
+
+          # facteur pour les rafales des thermiques (bounary layer)
+f_gust_bl=0.845
+
+          # facteur pour les poches (wake)
+f_gust_wk=0.2
+
+          # facteur sur qsat pour tenir compte de la salinite
+f_qsat_oce=0.98
+
+          #cdmmax : valeur max de Cd moment. Sur ocean seulement
+cdmmax=0.2
+
+          #cdhmax : valeur max de Cd evap/sensible. Sur ocean seulement
+cdhmax=0.2
+
+####################################################################
+# Couche limite turbulente
+####################################################################
+
+          # Nouvelle version de Mellor et Yamada
+new_yamada4=y
+
+          # Choix du schema numerique pour new_yamada4=y
+          #  1 schema de MAR. Bien pour CL stables mais detruit les stratocu
+          #  5 schema de MAR modifie. Precaunise.
+yamada4_num=5
+
+          # Flag de controle de la couche limite stable
+iflag_corr_sta=4
+
+          # min sur les fonction de stabilite a la surface
+f_ri_cd_min=0.01
+
+          # max du Ric pour Kz. Decouplage plus grand pour Ric plus grand.
+yamada4_ric=0.18
+
+          # Longueur de melange minimum pour Kz
+lmixmin=0
+
+          #shema de la couche de surface (D:1, 1:LMD, 8:Mellor-Yamada) 
+iflag_pbl=12
+
+          # Seuils pour la diffusion turbulente
+ksta_ter=1e-07
+ksta=1e-10
+
+          #ok_kzmin : calcul Kzmin dans la CL de surface (D: y)
+ok_kzmin=n
+
+          # Creation de TKE par orographie sous-maille
+addtkeoro=2
+alphatkeoro=1
+smallscales_tkeoro=y
+
+
+####################################################################
+# Ondes de gravite / Orographie sous maille
+####################################################################
+
+          #  Orodr  ou  non   pour l orographie
+ok_orodr=y
+
+          #  Orolf  ou  non   pour l orographie              
+ok_orolf=y
+
+          #Rugoro : inclusion de l orographie sous maille dans le Cd de surface
+          # Obsolete avec l activation des ondes de gravite
+f_rugoro=0
+
+          # Parametres controlant l effet de l orographie sous maille
+sso_gfrcri=0.7
+sso_gkdrag=0.6
+sso_gkwake=0.4
+sso_gklift=0.1
+
+          # Random gravity waves
+          #Activitate the stochastic parameterization of convective GWs
+          # (should be equal to ok_strato)
+ok_gwd_rando=y
+
+          # Scale the momentum fluxes due to convective GWs
+gwd_rando_ruwmax=0.5
+
+          #Scale the saturated momentum flux of  convective GWs 
+gwd_rando_sat=0.6
+
+          # Important pour controler la periode de la QBO
+gwd_front_ruwmax=3
+
+
+###############################################################
+# Rayonnement
+###############################################################
+          # activation du nouveau code de rayonnement RRTM
+          # 0 : Ancien code et 1 : RRTM (D=0)
+iflag_rrtm=1
+
+          # Nombre de bandes pour le SW. Mettre 2 si iflag_rrtm=0
+NSW=6
+
+    # Albedo et inertie des calottes
+alb_vis_sno_lic=0.96
+alb_nir_sno_lic=0.68
+    # Controle de l'inertie des glaciers et banquises
+    # inertie_sno : pour la neige (y compris sur les points "ter"
+    #      quand orchidee n'est pas actif utilisÃ©)
+    # inertie_lic/sic : pour les "land ice" et "sea ice"
+inertie_sno=350
+    # iflag_sic=1 pour forcer Ã  garder l'inertie des "sea ice"
+    # a inertie_sic meme si la surface est couverte de neige
+iflag_sic=1
+inertie_lic=2000
+inertie_sic=2000
+    # tau_gl = constante de rappel de la temperature a la surface de la glace (en nombre de jours)
+    # Utilise celon le forcage : tau_gl=2 pour Amip et tau_gl=1 pour Hadisst2
+tau_gl= 2.
+          # ???
+iflag_albedo=1
+
+          # Frequence appel rayonnement. Nombre appels par jour
+nbapp_cv=48
+
+          # Pour pouvoir revenir a un bug purement informatique de duplication
+          # des constantes thermodynamiques entre LMDZ et RRTM
+          # n : FORTEMENT CONSEILLE
+ok_bad_ecmwf_thermo=n
+
+###############################################################
+# Parametres nuages
+###############################################################
+
+          #seuils de la precipitation des nuages strateformes (D: 2.6e-4 2.6e-4)
+cld_lc_lsc=0.00065
+cld_lc_con=0.00065
+
+          #constante de temps pour eleminer eau lsc et convective
+          # (D: 3600. 3600.)
+cld_tau_lsc=900
+cld_tau_con=900
+
+          #facteurs correctifs sur la vitesse de chute des cristaux de glace (D: 1 1)
+ffallv_lsc=0.8
+ffallv_con=0.8
+
+          # coefficient sur la reevaporation de la pluie (D: 2.e-5 n)
+          # regle a 3.e-5 sur des cas de cumulus en 1D
+coef_eva=0.0001
+
+          # flag pour la reevaporation de la pluie
+          # 0: rien
+          # 1: a l ancienne
+          # 2: prend en compte la surface nuageuse max au dessus pour calculer
+          #    le max de reevaporation, comme ecart a la saturation. CONSEILLE
+iflag_evap_prec=2
+
+          # Modification de la plage de temperature pour la phase mixte
+          # liquide/glace des nuages
+          # Controle par les t_glace_min/max, exposant_glace,
+          # iflag_t_glace (D=0)
+t_glace_min=243.15
+t_glace_max=273.15
+exposant_glace=0.5
+iflag_t_glace=3
+
+          # Activation de la thermodynamique de la glace
+iflag_ice_thermo=1
+
+          # normalement elle ne sert plus a rien dans fisrtilp
+          # sinon elle est un peu toxique:
+          # IF (zt(i) .LT. t_coup.and.reevap_ice) zrfln(i)=0. (Jean-Baptiste)
+reevap_ice=n
+
+          #Bergeron
+iflag_bergeron=2
+
+          # temperature dependency of qsat for iterative procedure
+          # temporary flag to switch between the old (CMIP5, D=0)
+          # and new versions (=1) versions 
+iflag_fisrtilp_qsat=4
+
+          #calcul des proprietes des nuages convectifs (D:1 0.375 1.e-4) 
+iflag_cldcon=6
+fact_cldcon=1
+
+          # ?????
+facttemps=0
+
+          #calcul eau condensee et fraction nuageuse a partir des PDF
+          # (D:0, 0:version avec ratqs sinon nouvelles PDFs)  
+iflag_pdf=1
+
+          #calcul epaisseur optique et emmissivite des nuages (D: y 1 0.01 0.3)
+ok_newmicro=y
+
+          # Controle des ratqs grande echelle
+iflag_ratqs=4
+ratqsp0=45000
+ratqsdp=10000
+ratqsbas=0.002
+ratqshaut=0.4
+
+          #rayon effectif pour les nuages de glace (D:35)
+rad_froid=35
+
+          # Rayons effectif des gouttes nuageuses
+          # ACTIF SI ok_cdnc=0 dans config.def. (D~9 a 12 microns)
+rad_chau1=12
+rad_chau2=11
+
+	  # Rayon effectif des gouttes si ok_cdnc=0
+          # Parameters in CDNC-maer link (Boucher&Lohmann 1995)
+bl95_b0=1.3
+bl95_b1=0.2
+
+          #  Choix ou non  de  New oliq               
+new_oliq=y
+
+          # Seuils oliqmax, oicemax (en g/kg).
+          # Au dela on precipite directement au sol
+oliqmax=0.0015
+oicemax=0.0015
+
+          #Rayons min et max effectifs des particules des nuages
+rei_min=16
+rei_max=61.29
+
+          # Distribution vetricale sous maille pour le schema de de nuages.
+          # 0: rien
+          # 1: Premiere version A. Jam,
+          # 2 : J. Jouhaud, parametre cloudth_vert_alpha D=0.5
+          # 3 : J. Jouhaud, parametre cloudth_vert_alpha D=0.5/C= 1.32
+          #                           cloudth_vert_alpha_th C=2:91
+iflag_cloudth_vert=3
+cloudth_vert_alpha=0.5
+cloudth_vert_alpha_th=0.5
+
+
+######################################################################
+# Convection 
+######################################################################
+
+          #Convection scheme switch
+          # (D:2, 1:LMD, 2:Tiedtke, 3:KE New Physics, 30:KE AR4)
+iflag_con=3
+
+          #output level of energy conservation diagnostics
+if_ebil=0
+
+          #maximum efficiency of cld water->precipitation conversion (D: 0.993)
+epmax=0.999
+
+          #dry convective adjustment at beginning of Emanuel convective scheme (D: n 0)
+ok_adj_ema=n
+iflag_clw=0
+
+          #Convective closure (D:1, 0:AR4, 2:ALE and ALP)
+iflag_clos=2
+
+          #Convective entrainment mixing law (D:1, 0:AR4=flat PDF, 1=PDF)
+iflag_mix=1
+
+          #weights of the bell shaped and flat PDF (used only if iflag_mix=1) (D: 1 0)
+qqa1=1
+qqa2=0
+
+          #Parameters of the bell shaped PDF; Fmax=center (D= 0.65), Gammas=width (D=0.05)
+cvl_corr=1
+
+          #Multiplicative factor of Emanuel convective scheme precipitation (D: 1.)
+Fmax=0.65
+
+          #altitude, in hPa, above LCL at which buoybase is computed,
+          # def = original: -40
+dpbase=-40
+
+          #reference fractional area of precipitating downdraughts,
+          # def = original: 0.01
+sigdz=0.003
+
+          #unsaturated fraction of precipitating downdraughts, def = original: 0.15
+spfac=0.15
+
+          #relaxation time of cloud base mass flux, def = original: 8000
+tau=8000
+
+          #flag for wb (= vert velocity at LFC);
+          # 0->wb=wbmax, 1->wb=f(plfc) bounded, 2->wb=f(plfc) linear, D=1
+          # Si iflag_wb>=10 : wbeff_min=iflag_wb*0.1
+          # wbmax : assymptotic value 
+flag_wb=50
+wbmax=2.8
+
+          # Divers tests
+ok_convstop=n
+tau_stop=15000
+ok_intermittent=n
+
+          # nouvel epluchage de C.Rio
+          #shedding coefficient (used when iflag_mix_adiab=1)
+iflag_mix_adiab=0
+coef_peel=0.25
+
+          #Conversion cld water->precip: Ep=f(pressure) if 0; Ep=f(temperature)
+          #if 1, def=1
+flag_epKEorig=1
+
+          # Case : flag_epKEorig=1
+          # elcrit : max condensed water concentration in kg/kg, D=0.0003,
+          # tlcrit : temperature in degre Celsius, at which Ep=Epmax, D=-55. (original)
+          # original: 0.0011, used only if flag_epKEorig=1
+elcrit=0.0003
+tlcrit=-55
+
+          # Case : flag_epKEorig=0
+          # pbcrit : pressure (hPa), above LCL below which Ep=0, D=150 (original)
+          # ptcrit : pressure (hPa), above LCL above which Ep=Epmax, D=500 (original)
+pbcrit=150
+ptcrit=500
+
+          # Prevent some crashes
+          # Filter out bad wakes
+flag_wk_check_trgl=n
+iflag_wk_check_trgl=2
+iflag_alp_wk_cond=1
+
+
+          # Check whether parcel level temperature and specific humidity
+          # are reasonable and demand that LCL be high enough
+cv_flag_feed=2
+
+          # save 20% CPU 
+ok_optim_yield=y
+
+          # Convective clouds
+iflag_cld_cv=0
+
+          # To get back to bug where convective output variables
+          # were set to 0 at the start of the physics
+ok_bug_cv_trac=n
+
+##########################################################
+# Fermeture convective et couplages
+##########################################################
+
+          # Appel separe des thermiques 
+iflag_pbl_split=10
+
+          #rendement sur la puissance fournie par les thermiques a la convection
+alp_bl_k=0.5
+
+          #Constant value to be added to Alp (D: 0.)
+alp_offset=0
+
+          #Convection must reach a level at which T<t_top_max to be active
+t_top_max=1000
+
+          ### nrlmd le 10/04/2012: Declenchement ###
+          #Declenchement par couche-limite (0: deterministe, 1: stochastique)
+iflag_trig_bl=1
+
+          #Surface critique au LCL
+s_trig=12000000
+
+          #Temps de decorrelation entre scenes de cumulus
+tau_trig_shallow=1200
+
+          #Temps de decorrelation entre scenes de cumulonimbus
+tau_trig_deep=1200
+
+          # Pour la stabilisation
+random_notrig_max=0.99
+
+          # Temperature a la quelle on fond les descentes glacees
+tmax_fonte_cv=278.15
+
+          #Fermeture par couche-limite (Nicolas Rochetin)
+          #(0: deterministe, 1: statistique, 2: statistique+convergence
+          # grande echelle)
+iflag_clos_bl=1
+
+          #coefficient in Wape->C_star formula: C_star=stark*sqrt(2*Wape),
+          # def: 0.33
+stark=0.33
+
+          #lifting efficiency of wakes; Alp=Alpk*Fip, Fip=power provided
+          # by wakes, def: 0.25
+alpk=0.25
+
+#
+##########################################################
+# Couche limite convective / modele du thermique
+##########################################################
+
+          # Convection seche (D:0, 0:ajustement sec,=>1:modele du thermique) 
+iflag_thermals=18
+
+          # pas de temps du spliting pour les thermiques
+          # TOURNE MAIS POSE PLUS DE PROBLEME QU ELLE N EN RESOUD
+nsplit_thermals=1
+
+          # tau_thermals pour avoir une constante de temps sur les thermiques.
+          # Non valide
+tau_thermals=0
+
+          # Flag controlant le detrainement et l entrainement
+iflag_thermals_ed=8
+
+          # On va chercher l air a z * ( 1+fact_thermals_ed_dz) pour calculer
+          # le detrainement (A. Jam)
+fact_thermals_ed_dz=0.07
+
+          # Une option de plus sur les thermiques.
+iflag_thermals_optflux=0
+
+          #couplage ou non avec la convection
+iflag_coupl=5
+
+          # Seuil pour desactiver les thermiques en cas de forte inversion
+          # en sommet de couche limite. Actif si iflag_thermals impair.
+seuil_inversion=-0.08
+
+          # Reactivation du calcul d un zmax continu pour les thermiques
+          # reactivation d une fermeture humide des thermiques
+          # iflag_thermals_closure=2 (D=1)
+iflag_thermals_closure=2
+
+
+##########################################################
+# Flags wakes
+##########################################################
+
+          #Wake scheme switch (D:0, 0:AR4, 1:New Physics)
+iflag_wake=1
+
+          #multiplicative factor of the damping by gravity waves, def: 4.
+coefgw=4
+
+          #wake density = number of wake centers per m2, def: 8.E-12
+          #wdens_ref=8.E-12
+wdens_ref_o=1e-09
+wdens_ref_l=8e-12
+
+          # Ajustement convectif prealable au calcul des poches
+ok_adjwk=y
+
+
+####################################################################
+#  Conservation 
+####################################################################
+
+          # The source terms of the TKE prognostic equation are diagnosed
+          # from tendencies (du, dv, dT) 
+          # associated with subrgrid scaleamotions and treated as an 
+          # additional heat source.
+          # Controled by a key, iflag_ener_conserv (D=-1):
+          # 0 : no conservation, -1 : old adhoc correction for kinetic E only
+          # (used for CMIP5) 
+          # 1 : conservation, 101 : conversion from kinetic to heat only,
+          # 110 conversion from potential to heat only
+iflag_ener_conserv=10
+
+          #Activation of corrections for water conservation (D: n). 
+          ##The default is n for compatibility with earlier versions.
+          ##generally it should be y.
+ok_conserv_q=y
+
+fl_cor_ebil=1
+
+####################################################################
+# Ozone
+####################################################################
+          # new treatment for ozone into the tropopause
+adjust_tropopause=y
+
+####################################################################
+#  Conservation de l'eau
+#####################################################################
+          # conservation de l eau sur les calottes
+ok_lic_cond=y
+
+cdnc_min=10.
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/run.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/run.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/run.def	(revision 5499)
@@ -0,0 +1,64 @@
+# $Id$
+#
+INCLUDEDEF=physiq.def
+INCLUDEDEF=gcm.def
+INCLUDEDEF=vert.def
+INCLUDEDEF=orchidee.def
+INCLUDEDEF=config.def
+INCLUDEDEF=reprobus.def
+INCLUDEDEF=guide.def
+INCLUDEDEF=inca.def
+## Type de calendrier utilise
+## valeur possible: earth_360d (defaut), earth_365d, earth_366d
+calend= gregorian
+## Jour de l etat initial ( = 350  si 20 Decembre ,par expl. ,comme ici )
+dayref= 1
+##  Annee de l etat  initial (   avec  4  chiffres   )
+anneeref= 1850
+## Nombre de jours d integration
+nday= 5
+## Remise a zero de la date initiale
+raz_date= 0
+## periode de sortie des variables de controle (en pas)
+iconser=240
+## periode d ecriture du fichier histoire (en jour)
+iecri=1
+## flag de sortie dynzon
+ok_dynzon=n
+## activation du calcul d equilibrage de charge
+adjust= n
+## activation du filtre fft
+use_filtre_fft=y
+## niveau d impression de controle
+prt_level=0
+###
+### Informations sur la configuration utilisee
+###
+### type_ocean = force / slab  /couple
+### type_ocean is modified automatically by the lmdz.driver 
+type_ocean= force
+### version_ocean = nemo / opa8
+version_ocean=nemo
+### activation passage courants surface ocean-glace
+cpl_current=y
+### VEGET= y si ORCHIDEE, =n si bucket
+### VEGET is modified automatically by the lmdz.driver 
+#ymVEGET= y
+VEGET= y
+### Choice of tracers type_trac=lmdz/inca/repr
+### type_trac is set automatically by the lmdz.driver
+type_trac= lmdz
+### config_inca=aero/chem needed only if type_trac=inca
+config_inca= none
+### To activate XIOS ouputs only, set n to use IOIPSL
+ok_all_xml= y
+### Only read by ce0l : Do not set land points on Antartic
+no_ter_antartique=y
+### Do not call phytrac to speed things up
+iflag_phytrac= 0
+### cpl_old_calving : use n for DYNAMICO and new coupling weight(MR025)
+cpl_old_calving= y
+
+whole_ensemble_size=4
+ensemble_pool_size=2
+ensemble_pool_rank=0
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/traceur.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/traceur.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/traceur.def	(revision 5499)
@@ -0,0 +1,5 @@
+4
+14 14 H2Ov
+10 10 H2Ol
+10 10 H2Oi
+00 00 Aga
Index: /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/vert.def
===================================================================
--- /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/vert.def	(revision 5499)
+++ /CONFIG_DEVT/LMDZOR_V6.2_work_ENSEMBLES/RUN_DIR/ENSEMBLE_TEMPLATE/vert.def	(revision 5499)
@@ -0,0 +1,10 @@
+vert_sampling=strato_custom
+vert_dzmin=0.017
+vert_dzlow=1.2
+vert_z0low=8.4
+vert_dzmid=9.
+vert_z0mid=60.
+vert_h_mid=20.
+vert_dzhig=10.
+vert_z0hig=75.
+vert_h_hig=20.
