<!-- =========================================================================================================== -->
<!-- field_def_orchidee.xml : Definition of all existing variables                                               -->
<!-- This file must only be changed if a call xios_orchidee_send_field is added, changed or removed              -->
<!--                                                                                                             -->
<!-- $HeadURL: svn://forge.ipsl.fr/orchidee/tags/ORCHIDEE_2_0/ORCHIDEE/src_xml/field_def_orchidee.xml $              -->
<!-- $Date: 2019-11-29 15:15:17 +0100 (ven. 29 nov. 2019) $                                                     -->
<!-- $Revision: 6367 $                                                                                           -->
<!-- =========================================================================================================== -->

<field_definition prec="4" operation="average" freq_op="1ts" enabled=".TRUE." default_value="9.96921e+36" detect_missing_value=".TRUE.">

  <!-- ========================================================================================================= -->
  <!-- Definition of input variables                                                                             -->
  <!-- The variables are interpolated to the model grid by XIOS                                                  -->
  <!-- ========================================================================================================= -->

  <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>
 

  <!-- ========================================================================================================= -->
  <!-- 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"/>
    <field id="LandPoints" name="LandPoints" long_name="Land Points" unit="1" operation="once"/>
    <field id="contfrac" name="Contfrac" long_name="Continental fraction" unit="1" operation="once"/>
    <field id="zmaxh" name="zmaxh" long_name="Hydrologic soil depth" unit="m" operation="once"/>
    <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"/>
    <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"/>
    <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"/>
    <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"/>
    <field id="areftemp" name="areftemp" long_name="Availability of data for the reftemp interpolation (negative values if no data found)" unit="1"  operation="once"/>
    <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"/>
    <field id="reinf_slope" name="reinf_slope" long_name="Slope index for each grid box" unit="1" operation="once"/>
    <field id="aslope" name="aslope" long_name="Availability of data for the slope interpolation (negative values if no data found)" unit="1"  operation="once"/>
    <field id="njsc" name="soilindex" long_name="Index of soil texture" unit="1" operation="once"/>
    <field id="clayfraction" name="clayfraction" long_name="Fraction of clay particles in soil (grid-cell mean)" unit="1" grid_ref="grid_nslm" operation="once"/>
    <field id="sandfraction" name="sandfraction" long_name="Fraction of sand particles in soil (grid-cell mean)" unit="1" grid_ref="grid_nslm" operation="once"/>
    <field id="siltfraction" name="siltfraction" long_name="Fraction of silt particles in soil (grid-cell mean)" unit="1" grid_ref="grid_nslm" operation="once"/>
    <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="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="q2m" name="q2m" long_name="2m Air Humidity" unit="g/g"/>
    <field id="t2m" name="t2m" long_name="2m Air temperature" unit="K"/>
    <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"/>
    <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"/>
    <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"/>
    <field id="dss" name="dss" long_name="Depth of dry soil in top reservoir" unit="m" grid_ref="grid_nvm"/>
    <field id="gqsb" name="gqsb" long_name="Upper Soil Moisture" unit="Kg/m^2"/>
    <field id="bqsb" name="bqsb" long_name="Lower Soil Moisture" unit="Kg/m^2"/>
    <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="gC/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="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="mm/d" grid_ref="grid_nvm"/>
    <field id="rveget" name="rveget" long_name="Canopy resistance" unit="s/m" grid_ref="grid_nvm"/>
    <field id="rsol" name="rsol" long_name="Soil resistance" unit="s/m"/>
    <field id="vbeta2" name="vbeta2" long_name="Beta for Interception loss" unit="mm/d" 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"/>
    <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"/>
    <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"/>
    <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"/>
    <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"/>
    <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"/>
    <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"/>   
    <field id="nroot" name="RootDist" long_name="Cumulative root density (grid-cell average)" unit="1"  grid_ref="grid_nslm" operation="once"/>   
    <field id="dlh" name="SoilThick" long_name="Hydrological soil layer thickness" unit="m"  grid_ref="grid_nslm" operation="once"/>   
    <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"/>
    <field id="nbrivers" name="nbrivers" long_name="Number or rivers in the outflow grid box" operation="once"/>
    <field id="swampmap" name="swampmap" long_name="Map of swamp areas" unit="m^2" operation="once"/>
    <field id="irrigmap" name="irrigmap" long_name="Map of irrigated areas" unit="m^2" operation="once"/>
    <field id="floodmap" name="floodmap" long_name="Map of floodplains areas" unit="m^2" operation="once"/>
    <field id="mask_coast" name="mask_coast" long_name="Mask of coastal gridcell which can recieve coastalflow" unit="" operation="once"/>
    <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" name="delstock_routing" long_name="Mean of storage change in all routing reservoirs accumulated each day" unit="kg/m^2"> 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="Qf" name="Qf" long_name="Energy of fusion" 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"/>
    <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"/>
    <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"/> 
    <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"/> 
    <field id="tmcs" name="tmcs" long_name="Total soil moisture at saturation (total land average)" unit="kg/m^2" operation="once"/>
    <field id="tmcfc" name="tmcfc" long_name="Total soil moisture at field capacity (total land average)" unit="kg/m^2" operation="once"/>
    <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" > this*1000/86400 </field>
    <field id="alphavg" name="alphavg" long_name="Van Genuchten alpha parameter (at each hydrologic node)" unit="m(-1)" grid_ref="grid_nslm" operation="once"/>
    <field id="nvg" name="nvg" long_name="Van Genuchten n parameter (at each hydrologic node)" unit="-" grid_ref="grid_nslm" operation="once"/>

    <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_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="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>

