Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/field_def.xml
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/field_def.xml	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/field_def.xml	(revision 9173)
@@ -787,5 +787,5 @@
  
      <!-- Asselin trends  calculated on odd time steps-->
-     <field_group id="trendT_odd"  grid_ref="grid_T_3D">
+     <field_group id="trendT_odd"  grid_ref="grid_T_3D" >
       <field id="ttrd_atf"      long_name="temperature-trend: asselin time filter"       unit="degree_C/s" />
       <field id="strd_atf"      long_name="salinity   -trend: asselin time filter"       unit="0.001/s" />
@@ -901,4 +901,5 @@
       <field id="ttrd_qsr_li"      long_name="layer integrated heat-trend : solar flux"   unit="W/m^2"  grid_ref="grid_T_3D"> ttrd_qsr_e3t * 1026.0 * 3991.86795711963 </field>
       <field id="ttrd_bbl_li"      long_name="layer integrated heat-trend: bottom boundary layer "     unit="W/m^2" > ttrd_bbl_e3t * 1026.0 * 3991.86795711963 </field>
+      <field id="ttrd_bbc_li"      long_name="layer integrated geothermal trend: bottom boundary layer "     unit="W/m^2" > ttrd_bbc_e3t * 1026.0 * 3991.86795711963 </field>
       <field id="strd_bbl_li"      long_name="layer integrated salt   -trend: bottom boundary layer "     unit="kg/(m^2 s)" > strd_bbl_e3t * 1026.0 * 0.001  </field>
       <field id="ttrd_evd_li"      long_name="layer integrated heat -trend: evd convection "       unit="W/m^2" >ttrd_evd_e3t * 1026.0 * 3991.86795711963  </field>
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/field_def_bgc.xml
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/field_def_bgc.xml	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/field_def_bgc.xml	(revision 9173)
@@ -77,35 +77,54 @@
        <field id="CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3" />
        <field id="CHN_E3T"  long_name="CHN * E3T"                                         unit="mg Chl/m2"  > CHN * e3t </field > 
+       <field id="CHN_INV"  field_ref="CHN_E3T"                                           unit="mg Chl/m2"   grid_ref="vert_sum" />
+       <field id="SURF_CHN" field_ref="CHN"                                               unit="mg Chl/m3"   grid_ref="grid_T_surface_extract" />
        <field id="CHD"      long_name="Chl-a concentration in     diatom phytoplankton"   unit="mg Chl/m3" />
        <field id="CHD_E3T"  long_name="CHD * E3T"                                         unit="mg Chl/m2"  > CHD * e3t </field >
+       <field id="CHD_INV"  field_ref="CHD_E3T"                                           unit="mg Chl/m2"   grid_ref="vert_sum" />
+       <field id="SURF_CHD" field_ref="CHD"                                               unit="mg Chl/m3"   grid_ref="grid_T_surface_extract" />
        <field id="PHN"      long_name="non-diatom phytoplankton"                          unit="mmol-N/m3" />
        <field id="PHN_E3T"  long_name="PHN * E3T"                                         unit="mmol-N/m2"  > PHN * e3t </field >
+       <field id="PHN_INV"  field_ref="PHN_E3T"                                           unit="mmol-N/m2"   grid_ref="vert_sum" />
        <field id="PHD"      long_name="diatom     phytoplankton"                          unit="mmol-N/m3" />
        <field id="PHD_E3T"  long_name="PHD * E3T"                                         unit="mmol-N/m2"  > PHD * e3t </field >
+       <field id="PHD_INV"  field_ref="PHD_E3T"                                           unit="mmol-N/m2"   grid_ref="vert_sum" />
        <field id="ZMI"      long_name="micro zooplankton"                                 unit="mmol-N/m3" />
        <field id="ZMI_E3T"  long_name="ZMI * E3T"                                         unit="mmol-N/m2"  > ZMI * e3t </field >
+       <field id="ZMI_INV"  field_ref="ZMI_E3T"                                           unit="mmol-N/m2"   grid_ref="vert_sum" />
        <field id="ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3" />
        <field id="ZME_E3T"  long_name="ZME * E3T"                                         unit="mmol-N/m2"  > ZME * e3t </field >
+       <field id="ZME_INV"  field_ref="ZME_E3T"                                           unit="mmol-N/m2"   grid_ref="vert_sum" />
        <field id="DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3" />
        <field id="DIN_E3T"  long_name="DIN * E3T"                                         unit="mmol-N/m2"  > DIN * e3t </field >
+       <field id="DIN_INV"  field_ref="DIN_E3T"                                           unit="mmol-N/m2"   grid_ref="vert_sum" />
        <field id="SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3" />
        <field id="SIL_E3T"  long_name="SIL * E3T"                                         unit="mmolSi/m2"  > SIL * e3t </field >
+       <field id="SIL_INV"  field_ref="SIL_E3T"                                           unit="mmolSi/m2"   grid_ref="vert_sum" />
        <field id="FER"      long_name="dissolved iron"                                    unit="mmolFe/m3" />
        <field id="FER_E3T"  long_name="FER * E3T"                                         unit="mmolFe/m2"  > FER * e3t </field >
+       <field id="FER_INV"  field_ref="FER_E3T"                                           unit="mmolFe/m2"   grid_ref="vert_sum" />
        <field id="DET"      long_name="detrital nitrogen"                                 unit="mmol-N/m3" />
        <field id="DET_E3T"  long_name="DET * E3T"                                         unit="mmol-N/m2"  > DET * e3t </field >
+       <field id="DET_INV"  field_ref="DET_E3T"                                           unit="mmol-N/m2"   grid_ref="vert_sum" />
        <field id="PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3" />
        <field id="PDS_E3T"  long_name="PDS * E3T"                                         unit="mmolSi/m2"  > PDS * e3t </field >
+       <field id="PDS_INV"  field_ref="PDS_E3T"                                           unit="mmolSi/m2"   grid_ref="vert_sum" />
        <field id="DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3" />
        <field id="DTC_E3T"  long_name="DTC * E3T"                                         unit="mmol-C/m2"  > DTC * e3t </field >
+       <field id="DTC_INV"  field_ref="DTC_E3T"                                           unit="mmol-C/m2"   grid_ref="vert_sum" />
        <field id="DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3" />
        <field id="DiC_E3T"  long_name="DiC * E3T"                                         unit="mmol-C/m2"  > DiC * e3t </field >
+       <field id="DiC_INV"  field_ref="DiC_E3T"                                           unit="mmol-C/m2"   grid_ref="vert_sum" />
        <field id="ALK"      long_name="alkalinity"                                        unit="meq/m3"    />
        <field id="ALK_E3T"  long_name="ALK * E3T"                                         unit="meq/m2"     > ALK * e3t </field >
+       <field id="ALK_INV"  field_ref="ALK_E3T"                                           unit="meq/m2"      grid_ref="vert_sum" />
        <field id="OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3" />
        <field id="OXY_E3T"  long_name="OXY * E3T"                                         unit="mmolO2/m2"  > OXY * e3t </field >
+       <field id="OXY_INV"  field_ref="OXY_E3T"                                           unit="mmolO2/m2"   grid_ref="vert_sum" />
 
       <!-- Ideal traceurs : variables available with key_idtra -->
-       <field id="IDTRA"    long_name="Ideal traceur concentration "                      unit="mmol/m3"    />
+       <field id="IDTRA"       long_name="Ideal traceur concentration "             unit="mmol/m3"    />
+       <field id="IDTRA_E3T"   long_name="IDTRA * E3T"                              unit="mmol/m2"  > IDTRA * e3t </field >
+       <field id="IDTRA_INV"   field_ref="IDTRA_E3T"                                unit="mmol/m2"   grid_ref="vert_sum" />
 
        <!-- PISCES with Kriest parametisation : variables available with key_kriest -->
@@ -122,16 +141,21 @@
        <field id="CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3" />
        <field id="CFC11_E3T"   long_name="CFC11 * E3T"                              unit="umol/m2"  > CFC11 * e3t </field >
+       <field id="CFC11_INV"   field_ref="CFC11_E3T"                                unit="umol/m2"   grid_ref="vert_sum" />
        <!-- CFC12 : variables available with key_cfc -->
        <field id="CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3" />
        <field id="CFC12_E3T"   long_name="CFC12 * E3T"                              unit="umol/m2"  > CFC12 * e3t </field >
+       <field id="CFC12_INV"   field_ref="CFC12_E3T"                                unit="umol/m2"   grid_ref="vert_sum" />
        <!-- SF6 : variables available with key_cfc -->
        <field id="SF6"         long_name="SF6 Concentration"                        unit="umol/m3" />
        <field id="SF6_E3T"     long_name="SF6 * E3T"                                unit="umol/m2"  > SF6 * e3t </field >
+       <field id="SF6_INV"     field_ref="SF6_E3T"                                  unit="umol/m2"   grid_ref="vert_sum" />
        <!-- Bomb C14 : variables available with key_c14b -->
        <field id="C14B"        long_name="Bomb C14 Concentration"                   unit="1"         />
        <field id="C14B_E3T"    long_name="C14B * E3T"                               unit="m"  > C14B * e3t </field >
+       <field id="C14B_INV"    field_ref="C14B_E3T"                                 unit="m"   grid_ref="vert_sum" />
        <!-- AGE : variables available with key_age -->
        <field id="Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr"         />
-       <field id="Age_e3t"    long_name="Age * e3t"                                 unit="yr * m"  > Age * e3t </field >
+       <field id="Age_E3T"    long_name="Age * E3T"                                 unit="yr * m"  > Age * e3t </field >
+       <field id="Age_INV"    field_ref="Age_E3T"                                   unit="yr * m"   grid_ref="vert_sum" />
      </field_group>
 
@@ -524,4 +548,1079 @@
      </field_group>
 
+     <!--  Odd time-step trends (ATF) -->
+     <field_group id="ptrd_T_odd" grid_ref="grid_T_3D">  <!-- key_trdtrc || key_trdmlx_trc -->
+      <!-- MEDUSA : variables available with key_medusa -->
+       <!-- trd case: jptra_atf -->
+       <field id="ATF_CHN"      long_name="Non-diatom Chl-a Asselin Filter Trend"             unit="mg Chl/m3/s" />
+       <field id="ATF_CHN_E3T"  long_name="ATF_CHN * E3T"                                     unit="mg Chl/m2/s" > ATF_CHN * e3t </field>
+       <field id="ATF_CHN_INV"  field_ref="ATF_CHN_E3T" long_name="ATF_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_CHD"      long_name="Diatom Chl-a Asselin Filter Trend"                 unit="mg Chl/m3/s" />
+       <field id="ATF_CHD_E3T"  long_name="ATF_CHD * E3T"                                     unit="mg Chl/m2/s" > ATF_CHD * e3t </field>
+       <field id="ATF_CHD_INV"  field_ref="ATF_CHD_E3T" long_name="ATF_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_PHN"      long_name="non-diatom phytoplankton Asselin Filter Trend"     unit="mmol-N/m3/s" />
+       <field id="ATF_PHN_E3T"  long_name="ATF_PHN * E3T"                                     unit="mmol-N/m2/s" > ATF_PHN * e3t </field>
+       <field id="ATF_PHN_INV"  field_ref="ATF_PHN_E3T" long_name="ATF_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_PHD"      long_name="diatom     phytoplankton Asselin Filter Trend"     unit="mmol-N/m3/s" />
+       <field id="ATF_PHD_E3T"  long_name="ATF_PHD * E3T"                                     unit="mmol-N/m2/s" > ATF_PHD * e3t </field>
+       <field id="ATF_PHD_INV"  field_ref="ATF_PHD_E3T" long_name="ATF_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_ZMI"      long_name="micro zooplankton Asselin Filter Trend"            unit="mmol-N/m3/s" />
+       <field id="ATF_ZMI_E3T"  long_name="ATF_ZMI * E3T"                                     unit="mmol-N/m2/s" > ATF_ZMI * e3t </field>
+       <field id="ATF_ZMI_INV"  field_ref="ATF_ZMI_E3T" long_name="ATF_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_ZME"      long_name="meso  zooplankton Asselin Filter Trend"            unit="mmol-N/m3/s" />
+       <field id="ATF_ZME_E3T"  long_name="ATF_ZME * E3T"                                     unit="mmol-N/m2/s" > ATF_ZME * e3t </field>
+       <field id="ATF_ZME_INV"  field_ref="ATF_ZME_E3T" long_name="ATF_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_DIN"      long_name="dissolved inorganic nitrogen Asselin Filter Trend" unit="mmol-N/m3/s" />
+       <field id="ATF_DIN_E3T"  long_name="ATF_DIN * E3T"                                     unit="mmol-N/m2/s" > ATF_DIN * e3t </field>
+       <field id="ATF_DIN_INV"  field_ref="ATF_DIN_E3T" long_name="ATF_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_SIL"      long_name="dissolved silicic acid Asselin Filter Trend"       unit="mmolSi/m3/s" />
+       <field id="ATF_SIL_E3T"  long_name="ATF_SIL * E3T"                                     unit="mmolSi/m2/s" > ATF_SIL * e3t </field>
+       <field id="ATF_SIL_INV"  field_ref="ATF_SIL_E3T" long_name="ATF_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_FER"      long_name="dissolved iron Asselin Filter Trend"               unit="mmolFe/m3/s" />
+       <field id="ATF_FER_E3T"  long_name="ATF_FER * E3T"                                     unit="mmolFe/m2/s" > ATF_FER * e3t </field>
+       <field id="ATF_FER_INV"  field_ref="ATF_FER_E3T" long_name="ATF_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_DET"      long_name="detrital nitrogen Asselin Filter Trend"            unit="mmol-N/m3/s" />
+       <field id="ATF_DET_E3T"  long_name="ATF_DET * E3T"                                     unit="mmol-N/m2/s" > ATF_DET * e3t </field>
+       <field id="ATF_DET_INV"  field_ref="ATF_DET_E3T" long_name="ATF_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_PDS"      long_name="Diatoms biogenic silicon Asselin Filter Trend"     unit="mmolSi/m3/s" />
+       <field id="ATF_PDS_E3T"  long_name="ATF_PDS * E3T"                                     unit="mmolSi/m2/s" > ATF_PDS * e3t </field>
+       <field id="ATF_PDS_INV"  field_ref="ATF_PDS_E3T" long_name="ATF_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_DTC"      long_name="detrital carbon Asselin Filter Trend"              unit="mmol-C/m3/s" />
+       <field id="ATF_DTC_E3T"  long_name="ATF_DTC * E3T"                                     unit="mmol-C/m2/s" > ATF_DTC * e3t </field>
+       <field id="ATF_DTC_INV"  field_ref="ATF_DTC_E3T" long_name="ATF_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_DiC"      long_name="dissolved inorganic carbon Asselin Filter Trend"   unit="mmol-C/m3/s" />
+       <field id="ATF_DiC_E3T"  long_name="ATF_DiC * E3T"                                     unit="mmol-C/m2/s" > ATF_DiC * e3t </field>
+       <field id="ATF_DiC_INV"  field_ref="ATF_DiC_E3T" long_name="ATF_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_ALK"      long_name="alkalinity Asselin Filter Trend"                   unit="meq/m3/s"    />
+       <field id="ATF_ALK_E3T"  long_name="ATF_ALK * E3T"                                     unit="meq/m2/s"    > ATF_ALK * e3t </field>
+       <field id="ATF_ALK_INV"  field_ref="ATF_ALK_E3T" long_name="ATF_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="ATF_OXY"      long_name="dissolved oxygen Asselin Filter Trend"             unit="mmolO2/m3/s" />
+       <field id="ATF_OXY_E3T"  long_name="ATF_OXY * E3T"                                     unit="mmolO2/m2/s" > ATF_OXY * e3t </field>
+       <field id="ATF_OXY_INV"  field_ref="ATF_OXY_E3T" long_name="ATF_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+
+      <!-- Ideal traceurs : variables available with key_idtra -->
+       <field id="ATF_IDTRA"      long_name="Ideal traceur Asselin Filter Trend"            unit="mmol/m3/s"    />
+       <field id="ATF_IDTRA_E3T"   long_name="ATF_IDTRA * E3T"                              unit="mmol/m2/s" > ATF_IDTRA * e3t </field>
+       <field id="ATF_IDTRA_INV"  field_ref="ATF_IDTRA_E3T" long_name="ATF_IDTRA Inventory" unit="mmolO2/m2/s" grid_ref="vert_sum" />
+
+       <!-- CFC11 : variables available with key_cfc -->
+       <field id="ATF_CFC11"       long_name="CFC11 Asselin Filter Trend"                   unit="umol/m3/s" />
+       <field id="ATF_CFC11_E3T"   long_name="ATF_CFC11 * E3T"                              unit="umol/m2/s" > ATF_CFC11 * e3t </field>
+       <field id="ATF_CFC11_INV"  field_ref="ATF_CFC11_E3T" long_name="ATF_CFC11 Inventory" unit="mmolO2/m2/s" grid_ref="vert_sum" />
+
+       <!-- CFC12 : variables available with key_cfc -->
+       <field id="ATF_CFC12"       long_name="CFC12 Asselin Filter Trend"                    unit="umol/m3/s" />
+       <field id="ATF_CFC12_E3T"   long_name="ATF_CFC12 * E3T"                               unit="umol/m2/s" > ATF_CFC12 * e3t </field>
+       <field id="ATF_CFC12_INV"   field_ref="ATF_CFC12_E3T" long_name="ATF_CFC12 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+
+       <!-- SF6 : variables available with key_cfc -->
+       <field id="ATF_SF6"         long_name="SF6 Asselin Filter Trend"                   unit="umol/m3/s" />
+       <field id="ATF_SF6_E3T"     long_name="ATF_SF6 * E3T"                              unit="umol/m2/s" > ATF_SF6 * e3t </field>
+       <field id="ATF_SF6_INV"     field_ref="ATF_SF6_E3T" long_name="ATF_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+
+       <!-- Bomb C14 : variables available with key_c14b -->
+       <field id="ATF_C14B"        long_name="Bomb C14 Asselin Filter Trend"               unit="1/m3/s"    />
+       <field id="ATF_C14B_E3T"    long_name="ATF_C14B * E3T"                              unit="1/m2/s" > ATF_C14B * e3t </field>
+       <field id="ATF_C14B_INV"    field_ref="ATF_C14B_E3T" long_name="ATF_C14B Inventory" unit="1/m2/s" grid_ref="vert_sum" />
+
+       <!-- AGE : variables available with key_age -->
+       <field id="ATF_Age"        long_name="Sea Water Age Asselin Filter Trend" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="ATF_Age_E3T"    long_name="ATF_Age * E3T"                             unit="yr m/s" > ATF_Age * e3t </field>
+       <field id="ATF_Age_INV"    field_ref="ATF_Age_E3T" long_name="ATF_Age Inventory" unit="yr m/s" grid_ref="vert_sum" />
+     </field_group>
+    
+     <!--  Even time-step trends (All but ATF and TOT) -->
+     <field_group id="ptrd_T_even" grid_ref="grid_T_3D">  <!-- key_trdtrc || key_trdmlx_trc -->
+      <!-- MEDUSA : variables available with key_medusa -->
+       <!-- trd case: jptra_xad -->
+       <field id="XAD_CHN"      long_name="Non-diatom Chl-a X-Advection Trend"                unit="mg Chl/m3/s" />
+       <field id="XAD_CHN_E3T"  long_name="XAD_CHN * E3T"                                     unit="mg Chl/m2/s" > XAD_CHN * e3t </field>
+       <field id="XAD_CHN_INV"  field_ref="XAD_CHN_E3T" long_name="XAD_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_CHD"      long_name="Diatom Chl-a X-Advection Trend"                    unit="mg Chl/m3/s" />
+       <field id="XAD_CHD_E3T"  long_name="XAD_CHD * E3T"                                     unit="mg Chl/m2/s" > XAD_CHD * e3t </field>
+       <field id="XAD_CHD_INV"  field_ref="XAD_CHD_E3T" long_name="XAD_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_PHN"      long_name="non-diatom phytoplankton X-Advection Trend"        unit="mmol-N/m3/s" />
+       <field id="XAD_PHN_E3T"  long_name="XAD_PHN * E3T"                                     unit="mmol-N/m2/s" > XAD_PHN * e3t </field>
+       <field id="XAD_PHN_INV"  field_ref="XAD_PHN_E3T" long_name="XAD_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_PHD"      long_name="diatom     phytoplankton X-Advection Trend"        unit="mmol-N/m3/s" />
+       <field id="XAD_PHD_E3T"  long_name="XAD_PHD * E3T"                                     unit="mmol-N/m2/s" > XAD_PHD * e3t </field>
+       <field id="XAD_PHD_INV"  field_ref="XAD_PHD_E3T" long_name="XAD_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_ZMI"      long_name="micro zooplankton X-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="XAD_ZMI_E3T"  long_name="XAD_ZMI * E3T"                                     unit="mmol-N/m2/s" > XAD_ZMI * e3t </field>
+       <field id="XAD_ZMI_INV"  field_ref="XAD_ZMI_E3T" long_name="XAD_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_ZME"      long_name="meso  zooplankton X-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="XAD_ZME_E3T"  long_name="XAD_ZME * E3T"                                     unit="mmol-N/m2/s" > XAD_ZME * e3t </field>
+       <field id="XAD_ZME_INV"  field_ref="XAD_ZME_E3T" long_name="XAD_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_DIN"      long_name="dissolved inorganic nitrogen X-Advection Trend"    unit="mmol-N/m3/s" />
+       <field id="XAD_DIN_E3T"  long_name="XAD_DIN * E3T"                                     unit="mmol-N/m2/s" > XAD_DIN * e3t </field>
+       <field id="XAD_DIN_INV"  field_ref="XAD_DIN_E3T" long_name="XAD_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_SIL"      long_name="dissolved silicic acid X-Advection Trend"          unit="mmolSi/m3/s" />
+       <field id="XAD_SIL_E3T"  long_name="XAD_SIL * E3T"                                     unit="mmolSi/m2/s" > XAD_SIL * e3t </field>
+       <field id="XAD_SIL_INV"  field_ref="XAD_SIL_E3T" long_name="XAD_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_FER"      long_name="dissolved iron X-Advection Trend"                  unit="mmolFe/m3/s" />
+       <field id="XAD_FER_E3T"  long_name="XAD_FER * E3T"                                     unit="mmolFe/m2/s" > XAD_FER * e3t </field>
+       <field id="XAD_FER_INV"  field_ref="XAD_FER_E3T" long_name="XAD_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_DET"      long_name="detrital nitrogen X-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="XAD_DET_E3T"  long_name="XAD_DET * E3T"                                     unit="mmol-N/m2/s" > XAD_DET * e3t </field>
+       <field id="XAD_DET_INV"  field_ref="XAD_DET_E3T" long_name="XAD_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_PDS"      long_name="Diatoms biogenic silicon X-Advection Trend"        unit="mmolSi/m3/s" />
+       <field id="XAD_PDS_E3T"  long_name="XAD_PDS * E3T"                                     unit="mmolSi/m2/s" > XAD_PDS * e3t </field>
+       <field id="XAD_PDS_INV"  field_ref="XAD_PDS_E3T" long_name="XAD_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_DTC"      long_name="detrital carbon X-Advection Trend"                 unit="mmol-C/m3/s" />
+       <field id="XAD_DTC_E3T"  long_name="XAD_DTC * E3T"                                     unit="mmol-C/m2/s" > XAD_DTC * e3t </field>
+       <field id="XAD_DTC_INV"  field_ref="XAD_DTC_E3T" long_name="XAD_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_DiC"      long_name="dissolved inorganic carbon X-Advection Trend"      unit="mmol-C/m3/s" /> 
+       <field id="XAD_DiC_E3T"  long_name="XAD_DiC * E3T"                                     unit="mmol-C/m2/s" > XAD_DiC * e3t </field>
+       <field id="XAD_DiC_INV"  field_ref="XAD_DiC_E3T" long_name="XAD_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" /> 
+       <field id="XAD_ALK"      long_name="alkalinity X-Advection Trend"                      unit="meq/m3/s"    />
+       <field id="XAD_ALK_E3T"  long_name="XAD_ALK * E3T"                                     unit="meq/m2/s"    > XAD_ALK * e3t </field>
+       <field id="XAD_ALK_INV"  field_ref="XAD_ALK_E3T" long_name="XAD_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="XAD_OXY"      long_name="dissolved oxygen X-Advection Trend"                unit="mmolO2/m3/s" />
+       <field id="XAD_OXY_E3T"  long_name="XAD_OXY * E3T"                                     unit="mmolO2/m2/s" > XAD_OXY * e3t </field>
+       <field id="XAD_OXY_INV"  field_ref="XAD_OXY_E3T" long_name="XAD_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_yad -->
+       <field id="YAD_CHN"      long_name="Non-diatom Chl-a Y-Advection Trend"                unit="mg Chl/m3/s" />
+       <field id="YAD_CHN_E3T"  long_name="YAD_CHN * E3T"                                     unit="mg Chl/m2/s" > YAD_CHN * e3t </field>
+       <field id="YAD_CHN_INV"  field_ref="YAD_CHN_E3T" long_name="YAD_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_CHD"      long_name="Diatom Chl-a Y-Advection Trend"                    unit="mg Chl/m3/s" />
+       <field id="YAD_CHD_E3T"  long_name="YAD_CHD * E3T"                                     unit="mg Chl/m2/s" > YAD_CHD * e3t </field>
+       <field id="YAD_CHD_INV"  field_ref="YAD_CHD_E3T" long_name="YAD_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_PHN"      long_name="non-diatom phytoplankton Y-Advection Trend"        unit="mmol-N/m3/s" />
+       <field id="YAD_PHN_E3T"  long_name="YAD_PHN * E3T"                                     unit="mmol-N/m2/s" > YAD_PHN * e3t </field>
+       <field id="YAD_PHN_INV"  field_ref="YAD_PHN_E3T" long_name="YAD_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_PHD"      long_name="diatom     phytoplankton Y-Advection Trend"        unit="mmol-N/m3/s" />
+       <field id="YAD_PHD_E3T"  long_name="YAD_PHD * E3T"                                     unit="mmol-N/m2/s" > YAD_PHD * e3t </field>
+       <field id="YAD_PHD_INV"  field_ref="YAD_PHD_E3T" long_name="YAD_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_ZMI"      long_name="micro zooplankton Y-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="YAD_ZMI_E3T"  long_name="YAD_ZMI * E3T"                                     unit="mmol-N/m2/s" > YAD_ZMI * e3t </field>
+       <field id="YAD_ZMI_INV"  field_ref="YAD_ZMI_E3T" long_name="YAD_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_ZME"      long_name="meso  zooplankton Y-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="YAD_ZME_E3T"  long_name="YAD_ZME * E3T"                                     unit="mmol-N/m2/s" > YAD_ZME * e3t </field>
+       <field id="YAD_ZME_INV"  field_ref="YAD_ZME_E3T" long_name="YAD_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_DIN"      long_name="dissolved inorganic nitrogen Y-Advection Trend"    unit="mmol-N/m3/s" />
+       <field id="YAD_DIN_E3T"  long_name="YAD_DIN * E3T"                                     unit="mmol-N/m2/s" > YAD_DIN * e3t </field>
+       <field id="YAD_DIN_INV"  field_ref="YAD_DIN_E3T" long_name="YAD_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_SIL"      long_name="dissolved silicic acid Y-Advection Trend"          unit="mmolSi/m3/s" />
+       <field id="YAD_SIL_E3T"  long_name="YAD_SIL * E3T"                                     unit="mmolSi/m2/s" > YAD_SIL * e3t </field>
+       <field id="YAD_SIL_INV"  field_ref="YAD_SIL_E3T" long_name="YAD_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_FER"      long_name="dissolved iron Y-Advection Trend"                  unit="mmolFe/m3/s" />
+       <field id="YAD_FER_E3T"  long_name="YAD_FER * E3T"                                     unit="mmolFe/m2/s" > YAD_FER * e3t </field>
+       <field id="YAD_FER_INV"  field_ref="YAD_FER_E3T" long_name="YAD_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_DET"      long_name="detrital nitrogen Y-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="YAD_DET_E3T"  long_name="YAD_DET * E3T"                                     unit="mmol-N/m2/s" > YAD_DET * e3t </field>
+       <field id="YAD_DET_INV"  field_ref="YAD_DET_E3T" long_name="YAD_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_PDS"      long_name="Diatoms biogenic silicon Y-Advection Trend"        unit="mmolSi/m3/s" />
+       <field id="YAD_PDS_E3T"  long_name="YAD_PDS * E3T"                                     unit="mmolSi/m2/s" > YAD_PDS * e3t </field>
+       <field id="YAD_PDS_INV"  field_ref="YAD_PDS_E3T" long_name="YAD_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_DTC"      long_name="detrital carbon Y-Advection Trend"                 unit="mmol-C/m3/s" />
+       <field id="YAD_DTC_E3T"  long_name="YAD_DTC * E3T"                                     unit="mmol-C/m2/s" > YAD_DTC * e3t </field>
+       <field id="YAD_DTC_INV"  field_ref="YAD_DTC_E3T" long_name="YAD_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_DiC"      long_name="dissolved inorganic carbon Y-Advection Trend"      unit="mmol-C/m3/s" /> 
+       <field id="YAD_DiC_E3T"  long_name="YAD_DiC * E3T"                                     unit="mmol-C/m2/s" > YAD_DiC * e3t </field>
+       <field id="YAD_DiC_INV"  field_ref="YAD_DiC_E3T" long_name="YAD_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" /> 
+       <field id="YAD_ALK"      long_name="alkalinity Y-Advection Trend"                      unit="meq/m3/s"    />
+       <field id="YAD_ALK_E3T"  long_name="YAD_ALK * E3T"                                     unit="meq/m2/s"    > YAD_ALK * e3t </field>
+       <field id="YAD_ALK_INV"  field_ref="YAD_ALK_E3T" long_name="YAD_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_OXY"      long_name="dissolved oxygen Y-Advection Trend"                unit="mmolO2/m3/s" />
+       <field id="YAD_OXY_E3T"  long_name="YAD_OXY * E3T"                                     unit="mmolO2/m2/s" > YAD_OXY * e3t </field>
+       <field id="YAD_OXY_INV"  field_ref="YAD_OXY_E3T" long_name="YAD_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_zad -->
+       <field id="ZAD_CHN"      long_name="Non-diatom Chl-a Z-Advection Trend"                unit="mg Chl/m3/s" />
+       <field id="ZAD_CHN_E3T"  long_name="ZAD_CHN * E3T"                                     unit="mg Chl/m2/s" > ZAD_CHN * e3t </field>
+       <field id="ZAD_CHN_INV"  field_ref="ZAD_CHN_E3T" long_name="ZAD_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_CHD"      long_name="Diatom Chl-a Z-Advection Trend"                    unit="mg Chl/m3/s" />
+       <field id="ZAD_CHD_E3T"  long_name="ZAD_CHD * E3T"                                     unit="mg Chl/m2/s" > ZAD_CHD * e3t </field>
+       <field id="ZAD_CHD_INV"  field_ref="ZAD_CHD_E3T" long_name="ZAD_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_PHN"      long_name="non-diatom phytoplankton Z-Advection Trend"        unit="mmol-N/m3/s" />
+       <field id="ZAD_PHN_E3T"  long_name="ZAD_PHN * E3T"                                     unit="mmol-N/m2/s" > ZAD_PHN * e3t </field>
+       <field id="ZAD_PHN_INV"  field_ref="ZAD_PHN_E3T" long_name="ZAD_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_PHD"      long_name="diatom     phytoplankton Z-Advection Trend"        unit="mmol-N/m3/s" />
+       <field id="ZAD_PHD_E3T"  long_name="ZAD_PHD * E3T"                                     unit="mmol-N/m2/s" > ZAD_PHD * e3t </field>
+       <field id="ZAD_PHD_INV"  field_ref="ZAD_PHD_E3T" long_name="ZAD_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_ZMI"      long_name="micro zooplankton Z-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="ZAD_ZMI_E3T"  long_name="ZAD_ZMI * E3T"                                     unit="mmol-N/m2/s" > ZAD_ZMI * e3t </field>
+       <field id="ZAD_ZMI_INV"  field_ref="ZAD_ZMI_E3T" long_name="ZAD_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_ZME"      long_name="meso  zooplankton Z-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="ZAD_ZME_E3T"  long_name="ZAD_ZME * E3T"                                     unit="mmol-N/m2/s" > ZAD_ZME * e3t </field>
+       <field id="ZAD_ZME_INV"  field_ref="ZAD_ZME_E3T" long_name="ZAD_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_DIN"      long_name="dissolved inorganic nitrogen Z-Advection Trend"    unit="mmol-N/m3/s" />
+       <field id="ZAD_DIN_E3T"  long_name="ZAD_DIN * E3T"                                     unit="mmol-N/m2/s" > ZAD_DIN * e3t </field>
+       <field id="ZAD_DIN_INV"  field_ref="ZAD_DIN_E3T" long_name="ZAD_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_SIL"      long_name="dissolved silicic acid Z-Advection Trend"          unit="mmolSi/m3/s" />
+       <field id="ZAD_SIL_E3T"  long_name="ZAD_SIL * E3T"                                     unit="mmolSi/m2/s" > ZAD_SIL * e3t </field>
+       <field id="ZAD_SIL_INV"  field_ref="ZAD_SIL_E3T" long_name="ZAD_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_FER"      long_name="dissolved iron Z-Advection Trend"                  unit="mmolFe/m3/s" />
+       <field id="ZAD_FER_E3T"  long_name="ZAD_FER * E3T"                                     unit="mmolFe/m2/s" > ZAD_FER * e3t </field>
+       <field id="ZAD_FER_INV"  field_ref="ZAD_FER_E3T" long_name="ZAD_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_DET"      long_name="detrital nitrogen Z-Advection Trend"               unit="mmol-N/m3/s" />
+       <field id="ZAD_DET_E3T"  long_name="ZAD_DET * E3T"                                     unit="mmol-N/m2/s" > ZAD_DET * e3t </field>
+       <field id="ZAD_DET_INV"  field_ref="ZAD_DET_E3T" long_name="ZAD_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_PDS"      long_name="Diatoms biogenic silicon Z-Advection Trend"        unit="mmolSi/m3/s" />
+       <field id="ZAD_PDS_E3T"  long_name="ZAD_PDS * E3T"                                     unit="mmolSi/m2/s" > ZAD_PDS * e3t </field>
+       <field id="ZAD_PDS_INV"  field_ref="ZAD_PDS_E3T" long_name="ZAD_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_DTC"      long_name="detrital carbon Z-Advection Trend"                 unit="mmol-C/m3/s" />
+       <field id="ZAD_DTC_E3T"  long_name="ZAD_DTC * E3T"                                     unit="mmol-C/m2/s" > ZAD_DTC * e3t </field>
+       <field id="ZAD_DTC_INV"  field_ref="ZAD_DTC_E3T" long_name="ZAD_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_DiC"      long_name="dissolved inorganic carbon Z-Advection Trend"      unit="mmol-C/m3/s" /> 
+       <field id="ZAD_DiC_E3T"  long_name="ZAD_DiC * E3T"                                     unit="mmol-C/m2/s" > ZAD_DiC * e3t </field>
+       <field id="ZAD_DiC_INV"  field_ref="ZAD_DiC_E3T" long_name="ZAD_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" /> 
+       <field id="ZAD_ALK"      long_name="alkalinity Z-Advection Trend"                      unit="meq/m3/s"    />
+       <field id="ZAD_ALK_E3T"  long_name="ZAD_ALK * E3T"                                     unit="meq/m2/s"    > ZAD_ALK * e3t </field>
+       <field id="ZAD_ALK_INV"  field_ref="ZAD_ALK_E3T" long_name="ZAD_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_OXY"      long_name="dissolved oxygen Z-Advection Trend"                unit="mmolO2/m3/s" />
+       <field id="ZAD_OXY_E3T"  long_name="ZAD_OXY * E3T"                                     unit="mmolO2/m2/s" > ZAD_OXY * e3t </field>
+       <field id="ZAD_OXY_INV"  field_ref="ZAD_OXY_E3T" long_name="ZAD_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_totad -->
+       <field id="TAD_CHN"      long_name="Non-diatom Chl-a Total Advection Trend"             unit="mg Chl/m3/s" />
+       <field id="TAD_CHN_E3T"  long_name="TAD_CHN * E3T"                                      unit="mg Chl/m2/s" > TAD_CHN * e3t </field>
+       <field id="TAD_CHN_INV"  field_ref="TAD_CHN_E3T" long_name="TAD_CHN Inventory"          unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_CHD"      long_name="Diatom Chl-a Total Advection Trend"                 unit="mg Chl/m3/s" />
+       <field id="TAD_CHD_E3T"  long_name="TAD_CHD * E3T"                                      unit="mg Chl/m2/s" > TAD_CHD * e3t </field>
+       <field id="TAD_CHD_INV"  field_ref="TAD_CHD_E3T" long_name="TAD_CHD Inventory"          unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_PHN"      long_name="non-diatom phytoplankton Total Advection Trend"     unit="mmol-N/m3/s" />
+       <field id="TAD_PHN_E3T"  long_name="TAD_PHN * E3T"                                      unit="mmol-N/m2/s" > TAD_PHN * e3t </field>
+       <field id="TAD_PHN_INV"  field_ref="TAD_PHN_E3T" long_name="TAD_PHN Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_PHD"      long_name="diatom     phytoplankton Total Advection Trend"     unit="mmol-N/m3/s" />
+       <field id="TAD_PHD_E3T"  long_name="TAD_PHD * E3T"                                      unit="mmol-N/m2/s" > TAD_PHD * e3t </field>
+       <field id="TAD_PHD_INV"  field_ref="TAD_PHD_E3T" long_name="TAD_PHD Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_ZMI"      long_name="micro zooplankton Total Advection Trend"            unit="mmol-N/m3/s" />
+       <field id="TAD_ZMI_E3T"  long_name="TAD_ZMI * E3T"                                      unit="mmol-N/m2/s" > TAD_ZMI * e3t </field>
+       <field id="TAD_ZMI_INV"  field_ref="TAD_ZMI_E3T" long_name="TAD_ZMI Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_ZME"      long_name="meso  zooplankton Total Advection Trend"            unit="mmol-N/m3/s" />
+       <field id="TAD_ZME_E3T"  long_name="TAD_ZME * E3T"                                      unit="mmol-N/m2/s" > TAD_ZME * e3t </field>
+       <field id="TAD_ZME_INV"  field_ref="TAD_ZME_E3T" long_name="TAD_ZME Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_DIN"      long_name="dissolved inorganic nitrogen Total Advection Trend" unit="mmol-N/m3/s" />
+       <field id="TAD_DIN_E3T"  long_name="TAD_DIN * E3T"                                      unit="mmol-N/m2/s" > TAD_DIN * e3t </field>
+       <field id="TAD_DIN_INV"  field_ref="TAD_DIN_E3T" long_name="TAD_DIN Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_SIL"      long_name="dissolved silicic acid Total Advection Trend"       unit="mmolSi/m3/s" />
+       <field id="TAD_SIL_E3T"  long_name="TAD_SIL * E3T"                                      unit="mmolSi/m2/s" > TAD_SIL * e3t </field>
+       <field id="TAD_SIL_INV"  field_ref="TAD_SIL_E3T" long_name="TAD_SIL Inventory"          unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_FER"      long_name="dissolved iron Total Advection Trend"               unit="mmolFe/m3/s" />
+       <field id="TAD_FER_E3T"  long_name="TAD_FER * E3T"                                      unit="mmolFe/m2/s" > TAD_FER * e3t </field>
+       <field id="TAD_FER_INV"  field_ref="TAD_FER_E3T" long_name="TAD_FER Inventory"          unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_DET"      long_name="detrital nitrogen Total Advection Trend"            unit="mmol-N/m3/s" />
+       <field id="TAD_DET_E3T"  long_name="TAD_DET * E3T"                                      unit="mmol-N/m2/s" > TAD_DET * e3t </field>
+       <field id="TAD_DET_INV"  field_ref="TAD_DET_E3T" long_name="TAD_DET Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_PDS"      long_name="Diatoms biogenic silicon Total Advection Trend"     unit="mmolSi/m3/s" />
+       <field id="TAD_PDS_E3T"  long_name="TAD_PDS * E3T"                                      unit="mmolSi/m2/s" > TAD_PDS * e3t </field>
+       <field id="TAD_PDS_INV"  field_ref="TAD_PDS_E3T" long_name="TAD_PDS Inventory"          unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_DTC"      long_name="detrital carbon Total Advection Trend"              unit="mmol-C/m3/s" />
+       <field id="TAD_DTC_E3T"  long_name="TAD_DTC * E3T"                                      unit="mmol-C/m2/s" > TAD_DTC * e3t </field>
+       <field id="TAD_DTC_INV"  field_ref="TAD_DTC_E3T" long_name="TAD_DTC Inventory"          unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_DiC"      long_name="dissolved inorganic carbon Total Advection Trend"   unit="mmol-C/m3/s" /> 
+       <field id="TAD_DiC_E3T"  long_name="TAD_DiC * E3T"                                      unit="mmol-C/m2/s" > TAD_DiC * e3t </field>
+       <field id="TAD_DiC_INV"  field_ref="TAD_DiC_E3T" long_name="TAD_DiC Inventory"          unit="mmol-C/m2/s" grid_ref="vert_sum" /> 
+       <field id="TAD_ALK"      long_name="alkalinity Total Advection Trend"                   unit="meq/m3/s"    />
+       <field id="TAD_ALK_E3T"  long_name="TAD_ALK * E3T"                                      unit="meq/m2/s"    > TAD_ALK * e3t </field>
+       <field id="TAD_ALK_INV"  field_ref="TAD_ALK_E3T" long_name="TAD_ALK Inventory"          unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_OXY"      long_name="dissolved oxygen Total Advection Trend"             unit="mmolO2/m3/s" />
+       <field id="TAD_OXY_E3T"  long_name="TAD_OXY * E3T"                                      unit="mmolO2/m2/s" > TAD_OXY * e3t </field>
+       <field id="TAD_OXY_INV"  field_ref="TAD_OXY_E3T" long_name="TAD_OXY Inventory"          unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_ldf -->
+       <field id="LDF_CHN"      long_name="Non-diatom Chl-a Lateral Mixing Trend"             unit="mg Chl/m3/s" />
+       <field id="LDF_CHN_E3T"  long_name="LDF_CHN * E3T"                                     unit="mg Chl/m2/s" > LDF_CHN * e3t </field>
+       <field id="LDF_CHN_INV"  field_ref="LDF_CHN_E3T" long_name="LDF_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_CHD"      long_name="Diatom Chl-a Lateral Mixing Trend"                 unit="mg Chl/m3/s" />
+       <field id="LDF_CHD_E3T"  long_name="LDF_CHD * E3T"                                     unit="mg Chl/m2/s" > LDF_CHD * e3t </field>
+       <field id="LDF_CHD_INV"  field_ref="LDF_CHD_E3T" long_name="LDF_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_PHN"      long_name="non-diatom phytoplankton Lateral Mixing Trend"     unit="mmol-N/m3/s" />
+       <field id="LDF_PHN_E3T"  long_name="LDF_PHN * E3T"                                     unit="mmol-N/m2/s" > LDF_PHN * e3t </field>
+       <field id="LDF_PHN_INV"  field_ref="LDF_PHN_E3T" long_name="LDF_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_PHD"      long_name="diatom     phytoplankton Lateral Mixing Trend"     unit="mmol-N/m3/s" />
+       <field id="LDF_PHD_E3T"  long_name="LDF_PHD * E3T"                                     unit="mmol-N/m2/s" > LDF_PHD * e3t </field>
+       <field id="LDF_PHD_INV"  field_ref="LDF_PHD_E3T" long_name="LDF_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_ZMI"      long_name="micro zooplankton Lateral Mixing Trend"            unit="mmol-N/m3/s" />
+       <field id="LDF_ZMI_E3T"  long_name="LDF_ZMI * E3T"                                     unit="mmol-N/m2/s" > LDF_ZMI * e3t </field>
+       <field id="LDF_ZMI_INV"  field_ref="LDF_ZMI_E3T" long_name="LDF_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_ZME"      long_name="meso  zooplankton Lateral Mixing Trend"            unit="mmol-N/m3/s" />
+       <field id="LDF_ZME_E3T"  long_name="LDF_ZME * E3T"                                     unit="mmol-N/m2/s" > LDF_ZME * e3t </field>
+       <field id="LDF_ZME_INV"  field_ref="LDF_ZME_E3T" long_name="LDF_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_DIN"      long_name="dissolved inorganic nitrogen Lateral Mixing Trend" unit="mmol-N/m3/s" />
+       <field id="LDF_DIN_E3T"  long_name="LDF_DIN * E3T"                                     unit="mmol-N/m2/s" > LDF_DIN * e3t </field>
+       <field id="LDF_DIN_INV"  field_ref="LDF_DIN_E3T" long_name="LDF_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_SIL"      long_name="dissolved silicic acid Lateral Mixing Trend"       unit="mmolSi/m3/s" />
+       <field id="LDF_SIL_E3T"  long_name="LDF_SIL * E3T"                                     unit="mmolSi/m2/s" > LDF_SIL * e3t </field>
+       <field id="LDF_SIL_INV"  field_ref="LDF_SIL_E3T" long_name="LDF_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_FER"      long_name="dissolved iron Lateral Mixing Trend"               unit="mmolFe/m3/s" />
+       <field id="LDF_FER_E3T"  long_name="LDF_FER * E3T"                                     unit="mmolFe/m2/s" > LDF_FER * e3t </field>
+       <field id="LDF_FER_INV"  field_ref="LDF_FER_E3T" long_name="LDF_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_DET"      long_name="detrital nitrogen Lateral Mixing Trend"            unit="mmol-N/m3/s" />
+       <field id="LDF_DET_E3T"  long_name="LDF_DET * E3T"                                     unit="mmol-N/m2/s" > LDF_DET * e3t </field>
+       <field id="LDF_DET_INV"  field_ref="LDF_DET_E3T" long_name="LDF_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_PDS"      long_name="Diatoms biogenic silicon Lateral Mixing Trend"     unit="mmolSi/m3/s" />
+       <field id="LDF_PDS_E3T"  long_name="LDF_PDS * E3T"                                     unit="mmolSi/m2/s" > LDF_PDS * e3t </field>
+       <field id="LDF_PDS_INV"  field_ref="LDF_PDS_E3T" long_name="LDF_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_DTC"      long_name="detrital carbon Lateral Mixing Trend"              unit="mmol-C/m3/s" />
+       <field id="LDF_DTC_E3T"  long_name="LDF_DTC * E3T"                                     unit="mmol-C/m2/s" > LDF_DTC * e3t </field>
+       <field id="LDF_DTC_INV"  field_ref="LDF_DTC_E3T" long_name="LDF_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_DiC"      long_name="dissolved inorganic carbon Lateral Mixing Trend"   unit="mmol-C/m3/s" />
+       <field id="LDF_DiC_E3T"  long_name="LDF_DiC * E3T"                                     unit="mmol-C/m2/s" > LDF_DiC * e3t </field>
+       <field id="LDF_DiC_INV"  field_ref="LDF_DiC_E3T" long_name="LDF_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_ALK"      long_name="alkalinity Lateral Mixing Trend"                   unit="meq/m3/s"    />
+       <field id="LDF_ALK_E3T"  long_name="LDF_ALK * E3T"                                     unit="meq/m2/s"    > LDF_ALK * e3t </field>
+       <field id="LDF_ALK_INV"  field_ref="LDF_ALK_E3T" long_name="LDF_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_OXY"      long_name="dissolved oxygen Lateral Mixing Trend"             unit="mmolO2/m3/s" />
+       <field id="LDF_OXY_E3T"  long_name="LDF_OXY * E3T"                                     unit="mmolO2/m2/s" > LDF_OXY * e3t </field>
+       <field id="LDF_OXY_INV"  field_ref="LDF_OXY_E3T" long_name="LDF_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_bbl -->
+       <field id="BBL_CHN"      long_name="Non-diatom Chl-a Bottom Boundary Trend"             unit="mg Chl/m3/s" />
+       <field id="BBL_CHN_E3T"  long_name="BBL_CHN * E3T"                                      unit="mg Chl/m2/s" > BBL_CHN * e3t </field>
+       <field id="BBL_CHN_INV"  field_ref="BBL_CHN_E3T" long_name="BBL_CHN Inventory"          unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_CHD"      long_name="Diatom Chl-a Bottom Boundary Trend"                 unit="mg Chl/m3/s" />
+       <field id="BBL_CHD_E3T"  long_name="BBL_CHD * E3T"                                      unit="mg Chl/m2/s" > BBL_CHD * e3t </field>
+       <field id="BBL_CHD_INV"  field_ref="BBL_CHD_E3T" long_name="BBL_CHD Inventory"          unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_PHN"      long_name="non-diatom phytoplankton Bottom Boundary Trend"     unit="mmol-N/m3/s" />
+       <field id="BBL_PHN_E3T"  long_name="BBL_PHN * E3T"                                      unit="mmol-N/m2/s" > BBL_PHN * e3t </field>
+       <field id="BBL_PHN_INV"  field_ref="BBL_PHN_E3T" long_name="BBL_PHN Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_PHD"      long_name="diatom     phytoplankton Bottom Boundary Trend"     unit="mmol-N/m3/s" />
+       <field id="BBL_PHD_E3T"  long_name="BBL_PHD * E3T"                                      unit="mmol-N/m2/s" > BBL_PHD * e3t </field>
+       <field id="BBL_PHD_INV"  field_ref="BBL_PHD_E3T" long_name="BBL_PHD Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_ZMI"      long_name="micro zooplankton Bottom Boundary Trend"            unit="mmol-N/m3/s" />
+       <field id="BBL_ZMI_E3T"  long_name="BBL_ZMI * E3T"                                      unit="mmol-N/m2/s" > BBL_ZMI * e3t </field>
+       <field id="BBL_ZMI_INV"  field_ref="BBL_ZMI_E3T" long_name="BBL_ZMI Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_ZME"      long_name="meso  zooplankton Bottom Boundary Trend"            unit="mmol-N/m3/s" />
+       <field id="BBL_ZME_E3T"  long_name="BBL_ZME * E3T"                                      unit="mmol-N/m2/s" > BBL_ZME * e3t </field>
+       <field id="BBL_ZME_INV"  field_ref="BBL_ZME_E3T" long_name="BBL_ZME Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_DIN"      long_name="dissolved inorganic nitrogen Bottom Boundary Trend" unit="mmol-N/m3/s" />
+       <field id="BBL_DIN_E3T"  long_name="BBL_DIN * E3T"                                      unit="mmol-N/m2/s" > BBL_DIN * e3t </field>
+       <field id="BBL_DIN_INV"  field_ref="BBL_DIN_E3T" long_name="BBL_DIN Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_SIL"      long_name="dissolved silicic acid Bottom Boundary Trend"       unit="mmolSi/m3/s" />
+       <field id="BBL_SIL_E3T"  long_name="BBL_SIL * E3T"                                      unit="mmolSi/m2/s" > BBL_SIL * e3t </field>
+       <field id="BBL_SIL_INV"  field_ref="BBL_SIL_E3T" long_name="BBL_SIL Inventory"          unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_FER"      long_name="dissolved iron Bottom Boundary Trend"               unit="mmolFe/m3/s" />
+       <field id="BBL_FER_E3T"  long_name="BBL_FER * E3T"                                      unit="mmolFe/m2/s" > BBL_FER * e3t </field>
+       <field id="BBL_FER_INV"  field_ref="BBL_FER_E3T" long_name="BBL_FER Inventory"          unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_DET"      long_name="detrital nitrogen Bottom Boundary Trend"            unit="mmol-N/m3/s" />
+       <field id="BBL_DET_E3T"  long_name="BBL_DET * E3T"                                      unit="mmol-N/m2/s" > BBL_DET * e3t </field>
+       <field id="BBL_DET_INV"  field_ref="BBL_DET_E3T" long_name="BBL_DET Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_PDS"      long_name="Diatoms biogenic silicon Bottom Boundary Trend"     unit="mmolSi/m3/s" />
+       <field id="BBL_PDS_E3T"  long_name="BBL_PDS * E3T"                                      unit="mmolSi/m2/s" > BBL_PDS * e3t </field>
+       <field id="BBL_PDS_INV"  field_ref="BBL_PDS_E3T" long_name="BBL_PDS Inventory"          unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_DTC"      long_name="detrital carbon Bottom Boundary Trend"              unit="mmol-C/m3/s" />
+       <field id="BBL_DTC_E3T"  long_name="BBL_DTC * E3T"                                      unit="mmol-C/m2/s" > BBL_DTC * e3t </field>
+       <field id="BBL_DTC_INV"  field_ref="BBL_DTC_E3T" long_name="BBL_DTC Inventory"          unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_DiC"      long_name="dissolved inorganic carbon Bottom Boundary Trend"   unit="mmol-C/m3/s" />
+       <field id="BBL_DiC_E3T"  long_name="BBL_DiC * E3T"                                      unit="mmol-C/m2/s" > BBL_DiC * e3t </field>
+       <field id="BBL_DiC_INV"  field_ref="BBL_DiC_E3T" long_name="BBL_DiC Inventory"          unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_ALK"      long_name="alkalinity Bottom Boundary Trend"                   unit="meq/m3/s"    />
+       <field id="BBL_ALK_E3T"  long_name="BBL_ALK * E3T"                                      unit="meq/m2/s"    > BBL_ALK * e3t </field>
+       <field id="BBL_ALK_INV"  field_ref="BBL_ALK_E3T" long_name="BBL_ALK Inventory"          unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_OXY"      long_name="dissolved oxygen Bottom Boundary Trend"             unit="mmolO2/m3/s" />
+       <field id="BBL_OXY_E3T"  long_name="BBL_OXY * E3T"                                      unit="mmolO2/m2/s" > BBL_OXY * e3t </field>
+       <field id="BBL_OXY_INV"  field_ref="BBL_OXY_E3T" long_name="BBL_OXY Inventory"          unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_nsr -->
+       <field id="FOR_CHN"      long_name="Non-diatom Chl-a Surface Boundary Trend"             unit="mg Chl/m3/s" />
+       <field id="FOR_CHN_E3T"  long_name="FOR_CHN * E3T"                                       unit="mg Chl/m2/s" > FOR_CHN * e3t </field>
+       <field id="FOR_CHN_INV"  field_ref="FOR_CHN_E3T" long_name="FOR_CHN Inventory"           unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_CHD"      long_name="Diatom Chl-a Surface Boundary Trend"                 unit="mg Chl/m3/s" />
+       <field id="FOR_CHD_E3T"  long_name="FOR_CHD * E3T"                                       unit="mg Chl/m2/s" > FOR_CHD * e3t </field>
+       <field id="FOR_CHD_INV"  field_ref="FOR_CHD_E3T" long_name="FOR_CHD Inventory"           unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_PHN"      long_name="non-diatom phytoplankton Surface Boundary Trend"     unit="mmol-N/m3/s" />
+       <field id="FOR_PHN_E3T"  long_name="FOR_PHN * E3T"                                       unit="mmol-N/m2/s" > FOR_PHN * e3t </field>
+       <field id="FOR_PHN_INV"  field_ref="FOR_PHN_E3T" long_name="FOR_PHN Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_PHD"      long_name="diatom     phytoplankton Surface Boundary Trend"     unit="mmol-N/m3/s" />
+       <field id="FOR_PHD_E3T"  long_name="FOR_PHD * E3T"                                       unit="mmol-N/m2/s" > FOR_PHD * e3t </field>
+       <field id="FOR_PHD_INV"  field_ref="FOR_PHD_E3T" long_name="FOR_PHD Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_ZMI"      long_name="micro zooplankton Surface Boundary Trend"            unit="mmol-N/m3/s" />
+       <field id="FOR_ZMI_E3T"  long_name="FOR_ZMI * E3T"                                       unit="mmol-N/m2/s" > FOR_ZMI * e3t </field>
+       <field id="FOR_ZMI_INV"  field_ref="FOR_ZMI_E3T" long_name="FOR_ZMI Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_ZME"      long_name="meso  zooplankton Surface Boundary Trend"            unit="mmol-N/m3/s" />
+       <field id="FOR_ZME_E3T"  long_name="FOR_ZME * E3T"                                       unit="mmol-N/m2/s" > FOR_ZME * e3t </field>
+       <field id="FOR_ZME_INV"  field_ref="FOR_ZME_E3T" long_name="FOR_ZME Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_DIN"      long_name="dissolved inorganic nitrogen Surface Boundary Trend" unit="mmol-N/m3/s" />
+       <field id="FOR_DIN_E3T"  long_name="FOR_DIN * E3T"                                       unit="mmol-N/m2/s" > FOR_DIN * e3t </field>
+       <field id="FOR_DIN_INV"  field_ref="FOR_DIN_E3T" long_name="FOR_DIN Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_SIL"      long_name="dissolved silicic acid Surface Boundary Trend"       unit="mmolSi/m3/s" />
+       <field id="FOR_SIL_E3T"  long_name="FOR_SIL * E3T"                                       unit="mmolSi/m2/s" > FOR_SIL * e3t </field>
+       <field id="FOR_SIL_INV"  field_ref="FOR_SIL_E3T" long_name="FOR_SIL Inventory"           unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_FER"      long_name="dissolved iron Surface Boundary Trend"               unit="mmolFe/m3/s" />
+       <field id="FOR_FER_E3T"  long_name="FOR_FER * E3T"                                       unit="mmolFe/m2/s" > FOR_FER * e3t </field>
+       <field id="FOR_FER_INV"  field_ref="FOR_FER_E3T" long_name="FOR_FER Inventory"           unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_DET"      long_name="detrital nitrogen Surface Boundary Trend"            unit="mmol-N/m3/s" />
+       <field id="FOR_DET_E3T"  long_name="FOR_DET * E3T"                                       unit="mmol-N/m2/s" > FOR_DET * e3t </field>
+       <field id="FOR_DET_INV"  field_ref="FOR_DET_E3T" long_name="FOR_DET Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_PDS"      long_name="Diatoms biogenic silicon Surface Boundary Trend"     unit="mmolSi/m3/s" />
+       <field id="FOR_PDS_E3T"  long_name="FOR_PDS * E3T"                                       unit="mmolSi/m2/s" > FOR_PDS * e3t </field>
+       <field id="FOR_PDS_INV"  field_ref="FOR_PDS_E3T" long_name="FOR_PDS Inventory"           unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_DTC"      long_name="detrital carbon Surface Boundary Trend"              unit="mmol-C/m3/s" />
+       <field id="FOR_DTC_E3T"  long_name="FOR_DTC * E3T"                                       unit="mmol-C/m2/s" > FOR_DTC * e3t </field>
+       <field id="FOR_DTC_INV"  field_ref="FOR_DTC_E3T" long_name="FOR_DTC Inventory"           unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_DiC"      long_name="dissolved inorganic carbon Surface Boundary Trend"   unit="mmol-C/m3/s" />
+       <field id="FOR_DiC_E3T"  long_name="FOR_DiC * E3T"                                       unit="mmol-C/m2/s" > FOR_DiC * e3t </field>
+       <field id="FOR_DiC_INV"  field_ref="FOR_DiC_E3T" long_name="FOR_DiC Inventory"           unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_ALK"      long_name="alkalinity Surface Boundary Trend"                   unit="meq/m3/s"    />
+       <field id="FOR_ALK_E3T"  long_name="FOR_ALK * E3T"                                       unit="meq/m2/s"    > FOR_ALK * e3t </field>
+       <field id="FOR_ALK_INV"  field_ref="FOR_ALK_E3T" long_name="FOR_ALK Inventory"           unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_OXY"      long_name="dissolved oxygen Surface Boundary Trend"             unit="mmolO2/m3/s" />
+       <field id="FOR_OXY_E3T"  long_name="FOR_OXY * E3T"                                       unit="mmolO2/m2/s" > FOR_OXY * e3t </field>
+       <field id="FOR_OXY_INV"  field_ref="FOR_OXY_E3T" long_name="FOR_OXY Inventory"           unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_zdf -->
+       <field id="ZDF_CHN"      long_name="Non-diatom Chl-a Vertical Mixing Trend"             unit="mg Chl/m3/s" />
+       <field id="ZDF_CHN_E3T"  long_name="ZDF_CHN * E3T"                                      unit="mg Chl/m2/s" > ZDF_CHN * e3t </field>
+       <field id="ZDF_CHN_INV"  field_ref="ZDF_CHN_E3T" long_name="ZDF_CHN Inventory"          unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_CHD"      long_name="Diatom Chl-a Vertical Mixing Trend"                 unit="mg Chl/m3/s" />
+       <field id="ZDF_CHD_E3T"  long_name="ZDF_CHD * E3T"                                      unit="mg Chl/m2/s" > ZDF_CHD * e3t </field>
+       <field id="ZDF_CHD_INV"  field_ref="ZDF_CHD_E3T" long_name="ZDF_CHD Inventory"          unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_PHN"      long_name="non-diatom phytoplankton Vertical Mixing Trend"     unit="mmol-N/m3/s" />
+       <field id="ZDF_PHN_E3T"  long_name="ZDF_PHN * E3T"                                      unit="mmol-N/m2/s" > ZDF_PHN * e3t </field>
+       <field id="ZDF_PHN_INV"  field_ref="ZDF_PHN_E3T" long_name="ZDF_PHN Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_PHD"      long_name="diatom     phytoplankton Vertical Mixing Trend"     unit="mmol-N/m3/s" />
+       <field id="ZDF_PHD_E3T"  long_name="ZDF_PHD * E3T"                                      unit="mmol-N/m2/s" > ZDF_PHD * e3t </field>
+       <field id="ZDF_PHD_INV"  field_ref="ZDF_PHD_E3T" long_name="ZDF_PHD Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_ZMI"      long_name="micro zooplankton Vertical Mixing Trend"            unit="mmol-N/m3/s" />
+       <field id="ZDF_ZMI_E3T"  long_name="ZDF_ZMI * E3T"                                      unit="mmol-N/m2/s" > ZDF_ZMI * e3t </field>
+       <field id="ZDF_ZMI_INV"  field_ref="ZDF_ZMI_E3T" long_name="ZDF_ZMI Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_ZME"      long_name="meso  zooplankton Vertical Mixing Trend"            unit="mmol-N/m3/s" />
+       <field id="ZDF_ZME_E3T"  long_name="ZDF_ZME * E3T"                                      unit="mmol-N/m2/s" > ZDF_ZME * e3t </field>
+       <field id="ZDF_ZME_INV"  field_ref="ZDF_ZME_E3T" long_name="ZDF_ZME Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_DIN"      long_name="dissolved inorganic nitrogen Vertical Mixing Trend" unit="mmol-N/m3/s" />
+       <field id="ZDF_DIN_E3T"  long_name="ZDF_DIN * E3T"                                      unit="mmol-N/m2/s" > ZDF_DIN * e3t </field>
+       <field id="ZDF_DIN_INV"  field_ref="ZDF_DIN_E3T" long_name="ZDF_DIN Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_SIL"      long_name="dissolved silicic acid Vertical Mixing Trend"       unit="mmolSi/m3/s" />
+       <field id="ZDF_SIL_E3T"  long_name="ZDF_SIL * E3T"                                      unit="mmolSi/m2/s" > ZDF_SIL * e3t </field>
+       <field id="ZDF_SIL_INV"  field_ref="ZDF_SIL_E3T" long_name="ZDF_SIL Inventory"          unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_FER"      long_name="dissolved iron Vertical Mixing Trend"               unit="mmolFe/m3/s" />
+       <field id="ZDF_FER_E3T"  long_name="ZDF_FER * E3T"                                      unit="mmolFe/m2/s" > ZDF_FER * e3t </field>
+       <field id="ZDF_FER_INV"  field_ref="ZDF_FER_E3T" long_name="ZDF_FER Inventory"          unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_DET"      long_name="detrital nitrogen Vertical Mixing Trend"            unit="mmol-N/m3/s" />
+       <field id="ZDF_DET_E3T"  long_name="ZDF_DET * E3T"                                      unit="mmol-N/m2/s" > ZDF_DET * e3t </field>
+       <field id="ZDF_DET_INV"  field_ref="ZDF_DET_E3T" long_name="ZDF_DET Inventory"          unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_PDS"      long_name="Diatoms biogenic silicon Vertical Mixing Trend"     unit="mmolSi/m3/s" />
+       <field id="ZDF_PDS_E3T"  long_name="ZDF_PDS * E3T"                                      unit="mmolSi/m2/s" > ZDF_PDS * e3t </field>
+       <field id="ZDF_PDS_INV"  field_ref="ZDF_PDS_E3T" long_name="ZDF_PDS Inventory"          unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_DTC"      long_name="detrital carbon Vertical Mixing Trend"              unit="mmol-C/m3/s" />
+       <field id="ZDF_DTC_E3T"  long_name="ZDF_DTC * E3T"                                      unit="mmol-C/m2/s" > ZDF_DTC * e3t </field>
+       <field id="ZDF_DTC_INV"  field_ref="ZDF_DTC_E3T" long_name="ZDF_DTC Inventory"          unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_DiC"      long_name="dissolved inorganic carbon Vertical Mixing Trend"   unit="mmol-C/m3/s" />
+       <field id="ZDF_DiC_E3T"  long_name="ZDF_DiC * E3T"                                      unit="mmol-C/m2/s" > ZDF_DiC * e3t </field>
+       <field id="ZDF_DiC_INV"  field_ref="ZDF_DiC_E3T" long_name="ZDF_DiC Inventory"          unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_ALK"      long_name="alkalinity Vertical Mixing Trend"                   unit="meq/m3/s"    />
+       <field id="ZDF_ALK_E3T"  long_name="ZDF_ALK * E3T"                                      unit="meq/m2/s"    > ZDF_ALK * e3t </field>
+       <field id="ZDF_ALK_INV"  field_ref="ZDF_ALK_E3T" long_name="ZDF_ALK Inventory"          unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_OXY"      long_name="dissolved oxygen Vertical Mixing Trend"             unit="mmolO2/m3/s" />
+       <field id="ZDF_OXY_E3T"  long_name="ZDF_OXY * E3T"                                      unit="mmolO2/m2/s" > ZDF_OXY * e3t </field>
+       <field id="ZDF_OXY_INV"  field_ref="ZDF_OXY_E3T" long_name="ZDF_OXY Inventory"          unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_zdfp -->
+       <field id="ZDP_CHN"      long_name="Non-diatom Chl-a Kz Diffusive Trend"               unit="mg Chl/m3/s" />
+       <field id="ZDP_CHN_E3T"  long_name="ZDP_CHN * E3T"                                     unit="mg Chl/m2/s" > ZDP_CHN * e3t </field>
+       <field id="ZDP_CHN_INV"  field_ref="ZDP_CHN_E3T" long_name="ZDP_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_CHD"      long_name="Diatom Chl-a Kz Diffusive Trend"                   unit="mg Chl/m3/s" />
+       <field id="ZDP_CHD_E3T"  long_name="ZDP_CHD * E3T"                                     unit="mg Chl/m2/s" > ZDP_CHD * e3t </field>
+       <field id="ZDP_CHD_INV"  field_ref="ZDP_CHD_E3T" long_name="ZDP_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_PHN"      long_name="non-diatom phytoplankton Kz Diffusive Trend"       unit="mmol-N/m3/s" />
+       <field id="ZDP_PHN_E3T"  long_name="ZDP_PHN * E3T"                                     unit="mmol-N/m2/s" > ZDP_PHN * e3t </field>
+       <field id="ZDP_PHN_INV"  field_ref="ZDP_PHN_E3T" long_name="ZDP_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_PHD"      long_name="diatom     phytoplankton Kz Diffusive Trend"       unit="mmol-N/m3/s" />
+       <field id="ZDP_PHD_E3T"  long_name="ZDP_PHD * E3T"                                     unit="mmol-N/m2/s" > ZDP_PHD * e3t </field>
+       <field id="ZDP_PHD_INV"  field_ref="ZDP_PHD_E3T" long_name="ZDP_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_ZMI"      long_name="micro zooplankton Kz Diffusive Trend"              unit="mmol-N/m3/s" />
+       <field id="ZDP_ZMI_E3T"  long_name="ZDP_ZMI * E3T"                                     unit="mmol-N/m2/s" > ZDP_ZMI * e3t </field>
+       <field id="ZDP_ZMI_INV"  field_ref="ZDP_ZMI_E3T" long_name="ZDP_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_ZME"      long_name="meso  zooplankton Kz Diffusive Trend"              unit="mmol-N/m3/s" />
+       <field id="ZDP_ZME_E3T"  long_name="ZDP_ZME * E3T"                                     unit="mmol-N/m2/s" > ZDP_ZME * e3t </field>
+       <field id="ZDP_ZME_INV"  field_ref="ZDP_ZME_E3T" long_name="ZDP_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_DIN"      long_name="dissolved inorganic nitrogen Kz Diffusive Trend"   unit="mmol-N/m3/s" />
+       <field id="ZDP_DIN_E3T"  long_name="ZDP_DIN * E3T"                                     unit="mmol-N/m2/s" > ZDP_DIN * e3t </field>
+       <field id="ZDP_DIN_INV"  field_ref="ZDP_DIN_E3T" long_name="ZDP_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_SIL"      long_name="dissolved silicic acid Kz Diffusive Trend"         unit="mmolSi/m3/s" />
+       <field id="ZDP_SIL_E3T"  long_name="ZDP_SIL * E3T"                                     unit="mmolSi/m2/s" > ZDP_SIL * e3t </field>
+       <field id="ZDP_SIL_INV"  field_ref="ZDP_SIL_E3T" long_name="ZDP_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_FER"      long_name="dissolved iron Kz Diffusive Trend"                 unit="mmolFe/m3/s" />
+       <field id="ZDP_FER_E3T"  long_name="ZDP_FER * E3T"                                     unit="mmolFe/m2/s" > ZDP_FER * e3t </field>
+       <field id="ZDP_FER_INV"  field_ref="ZDP_FER_E3T" long_name="ZDP_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_DET"      long_name="detrital nitrogen Kz Diffusive Trend"              unit="mmol-N/m3/s" />
+       <field id="ZDP_DET_E3T"  long_name="ZDP_DET * E3T"                                     unit="mmol-N/m2/s" > ZDP_DET * e3t </field>
+       <field id="ZDP_DET_INV"  field_ref="ZDP_DET_E3T" long_name="ZDP_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_PDS"      long_name="Diatoms biogenic silicon Kz Diffusive Trend"       unit="mmolSi/m3/s" />
+       <field id="ZDP_PDS_E3T"  long_name="ZDP_PDS * E3T"                                     unit="mmolSi/m2/s" > ZDP_PDS * e3t </field>
+       <field id="ZDP_PDS_INV"  field_ref="ZDP_PDS_E3T" long_name="ZDP_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_DTC"      long_name="detrital carbon Kz Diffusive Trend"                unit="mmol-C/m3/s" />
+       <field id="ZDP_DTC_E3T"  long_name="ZDP_DTC * E3T"                                     unit="mmol-C/m2/s" > ZDP_DTC * e3t </field>
+       <field id="ZDP_DTC_INV"  field_ref="ZDP_DTC_E3T" long_name="ZDP_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_DiC"      long_name="dissolved inorganic carbon Kz Diffusive Trend"     unit="mmol-C/m3/s" />
+       <field id="ZDP_DiC_E3T"  long_name="ZDP_DiC * E3T"                                     unit="mmol-C/m2/s" > ZDP_DiC * e3t </field>
+       <field id="ZDP_DiC_INV"  field_ref="ZDP_DiC_E3T" long_name="ZDP_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_ALK"      long_name="alkalinity Kz Diffusive Trend"                     unit="meq/m3/s"    />
+       <field id="ZDP_ALK_E3T"  long_name="ZDP_ALK * E3T"                                     unit="meq/m2/s"    > ZDP_ALK * e3t </field>
+       <field id="ZDP_ALK_INV"  field_ref="ZDP_ALK_E3T" long_name="ZDP_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_OXY"      long_name="dissolved oxygen Kz Diffusive Trend"               unit="mmolO2/m3/s" />
+       <field id="ZDP_OXY_E3T"  long_name="ZDP_OXY * E3T"                                     unit="mmolO2/m2/s" > ZDP_OXY * e3t </field>
+       <field id="ZDP_OXY_INV"  field_ref="ZDP_OXY_E3T" long_name="ZDP_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_dmp -->
+       <field id="DMP_CHN"      long_name="Non-diatom Chl-a Damping Trend"                    unit="mg Chl/m3/s" />
+       <field id="DMP_CHN_E3T"  long_name="DMP_CHN * E3T"                                     unit="mg Chl/m2/s" > DMP_CHN * e3t </field>
+       <field id="DMP_CHN_INV"  field_ref="DMP_CHN_E3T" long_name="DMP_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_CHD"      long_name="Diatom Chl-a Damping Trend"                        unit="mg Chl/m3/s" />
+       <field id="DMP_CHD_E3T"  long_name="DMP_CHD * E3T"                                     unit="mg Chl/m2/s" > DMP_CHD * e3t </field>
+       <field id="DMP_CHD_INV"  field_ref="DMP_CHD_E3T" long_name="DMP_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_PHN"      long_name="non-diatom phytoplankton Damping Trend"            unit="mmol-N/m3/s" />
+       <field id="DMP_PHN_E3T"  long_name="DMP_PHN * E3T"                                     unit="mmol-N/m2/s" > DMP_PHN * e3t </field>
+       <field id="DMP_PHN_INV"  field_ref="DMP_PHN_E3T" long_name="DMP_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_PHD"      long_name="diatom     phytoplankton Damping Trend"            unit="mmol-N/m3/s" />
+       <field id="DMP_PHD_E3T"  long_name="DMP_PHD * E3T"                                     unit="mmol-N/m2/s" > DMP_PHD * e3t </field>
+       <field id="DMP_PHD_INV"  field_ref="DMP_PHD_E3T" long_name="DMP_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_ZMI"      long_name="micro zooplankton Damping Trend"                   unit="mmol-N/m3/s" />
+       <field id="DMP_ZMI_E3T"  long_name="DMP_ZMI * E3T"                                     unit="mmol-N/m2/s" > DMP_ZMI * e3t </field>
+       <field id="DMP_ZMI_INV"  field_ref="DMP_ZMI_E3T" long_name="DMP_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_ZME"      long_name="meso  zooplankton Damping Trend"                   unit="mmol-N/m3/s" />
+       <field id="DMP_ZME_E3T"  long_name="DMP_ZME * E3T"                                     unit="mmol-N/m2/s" > DMP_ZME * e3t </field>
+       <field id="DMP_ZME_INV"  field_ref="DMP_ZME_E3T" long_name="DMP_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_DIN"      long_name="dissolved inorganic nitrogen Damping Trend"        unit="mmol-N/m3/s" />
+       <field id="DMP_DIN_E3T"  long_name="DMP_DIN * E3T"                                     unit="mmol-N/m2/s" > DMP_DIN * e3t </field>
+       <field id="DMP_DIN_INV"  field_ref="DMP_DIN_E3T" long_name="DMP_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_SIL"      long_name="dissolved silicic acid Damping Trend"              unit="mmolSi/m3/s" />
+       <field id="DMP_SIL_E3T"  long_name="DMP_SIL * E3T"                                     unit="mmolSi/m2/s" > DMP_SIL * e3t </field>
+       <field id="DMP_SIL_INV"  field_ref="DMP_SIL_E3T" long_name="DMP_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_FER"      long_name="dissolved iron Damping Trend"                      unit="mmolFe/m3/s" />
+       <field id="DMP_FER_E3T"  long_name="DMP_FER * E3T"                                     unit="mmolFe/m2/s" > DMP_FER * e3t </field>
+       <field id="DMP_FER_INV"  field_ref="DMP_FER_E3T" long_name="DMP_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_DET"      long_name="detrital nitrogen Damping Trend"                   unit="mmol-N/m3/s" />
+       <field id="DMP_DET_E3T"  long_name="DMP_DET * E3T"                                     unit="mmol-N/m2/s" > DMP_DET * e3t </field>
+       <field id="DMP_DET_INV"  field_ref="DMP_DET_E3T" long_name="DMP_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_PDS"      long_name="Diatoms biogenic silicon Damping Trend"            unit="mmolSi/m3/s" />
+       <field id="DMP_PDS_E3T"  long_name="DMP_PDS * E3T"                                     unit="mmolSi/m2/s" > DMP_PDS * e3t </field>
+       <field id="DMP_PDS_INV"  field_ref="DMP_PDS_E3T" long_name="DMP_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_DTC"      long_name="detrital carbon Damping Trend"                     unit="mmol-C/m3/s" />
+       <field id="DMP_DTC_E3T"  long_name="DMP_DTC * E3T"                                     unit="mmol-C/m2/s" > DMP_DTC * e3t </field>
+       <field id="DMP_DTC_INV"  field_ref="DMP_DTC_E3T" long_name="DMP_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_DiC"      long_name="dissolved inorganic carbon Damping Trend"          unit="mmol-C/m3/s" />
+       <field id="DMP_DiC_E3T"  long_name="DMP_DiC * E3T"                                     unit="mmol-C/m2/s" > DMP_DiC * e3t </field>
+       <field id="DMP_DiC_INV"  field_ref="DMP_DiC_E3T" long_name="DMP_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_ALK"      long_name="alkalinity Damping Trend"                          unit="meq/m3/s"    />
+       <field id="DMP_ALK_E3T"  long_name="DMP_ALK * E3T"                                     unit="meq/m2/s"    > DMP_ALK * e3t </field>
+       <field id="DMP_ALK_INV"  field_ref="DMP_ALK_E3T" long_name="DMP_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_OXY"      long_name="dissolved oxygen Damping Trend"                    unit="mmolO2/m3/s" />
+       <field id="DMP_OXY_E3T"  long_name="DMP_OXY * E3T"                                     unit="mmolO2/m2/s" > DMP_OXY * e3t </field>
+       <field id="DMP_OXY_INV"  field_ref="DMP_OXY_E3T" long_name="DMP_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_sms -->
+       <field id="SMS_CHN"      long_name="Non-diatom Chl-a Sources Minus Sinks Trend"             unit="mg Chl/m3/s" />
+       <field id="SMS_CHN_E3T"  long_name="SMS_CHN * E3T"                                          unit="mg Chl/m2/s" > SMS_CHN * e3t </field>
+       <field id="SMS_CHN_INV"  field_ref="SMS_CHN_E3T" long_name="SMS_CHN Inventory"              unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_CHD"      long_name="Diatom Chl-a Sources Minus Sinks Trend"                 unit="mg Chl/m3/s" />
+       <field id="SMS_CHD_E3T"  long_name="SMS_CHD * E3T"                                          unit="mg Chl/m2/s" > SMS_CHD * e3t </field>
+       <field id="SMS_CHD_INV"  field_ref="SMS_CHD_E3T" long_name="SMS_CHD Inventory"              unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_PHN"      long_name="non-diatom phytoplankton Sources Minus Sinks Trend"     unit="mmol-N/m3/s" />
+       <field id="SMS_PHN_E3T"  long_name="SMS_PHN * E3T"                                          unit="mmol-N/m2/s" > SMS_PHN * e3t </field>
+       <field id="SMS_PHN_INV"  field_ref="SMS_PHN_E3T" long_name="SMS_PHN Inventory"              unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_PHD"      long_name="diatom     phytoplankton Sources Minus Sinks Trend"     unit="mmol-N/m3/s" />
+       <field id="SMS_PHD_E3T"  long_name="SMS_PHD * E3T"                                          unit="mmol-N/m2/s" > SMS_PHD * e3t </field>
+       <field id="SMS_PHD_INV"  field_ref="SMS_PHD_E3T" long_name="SMS_PHD Inventory"              unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_ZMI"      long_name="micro zooplankton Sources Minus Sinks Trend"            unit="mmol-N/m3/s" />
+       <field id="SMS_ZMI_E3T"  long_name="SMS_ZMI * E3T"                                          unit="mmol-N/m2/s" > SMS_ZMI * e3t </field>
+       <field id="SMS_ZMI_INV"  field_ref="SMS_ZMI_E3T" long_name="SMS_ZMI Inventory"              unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_ZME"      long_name="meso  zooplankton Sources Minus Sinks Trend"            unit="mmol-N/m3/s" />
+       <field id="SMS_ZME_E3T"  long_name="SMS_ZME * E3T"                                          unit="mmol-N/m2/s" > SMS_ZME * e3t </field>
+       <field id="SMS_ZME_INV"  field_ref="SMS_ZME_E3T" long_name="SMS_ZME Inventory"              unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_DIN"      long_name="dissolved inorganic nitrogen Sources Minus Sinks Trend" unit="mmol-N/m3/s" />
+       <field id="SMS_DIN_E3T"  long_name="SMS_DIN * E3T"                                          unit="mmol-N/m2/s" > SMS_DIN * e3t </field>
+       <field id="SMS_DIN_INV"  field_ref="SMS_DIN_E3T" long_name="SMS_DIN Inventory"              unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_SIL"      long_name="dissolved silicic acid Sources Minus Sinks Trend"       unit="mmolSi/m3/s" />
+       <field id="SMS_SIL_E3T"  long_name="SMS_SIL * E3T"                                          unit="mmolSi/m2/s" > SMS_SIL * e3t </field>
+       <field id="SMS_SIL_INV"  field_ref="SMS_SIL_E3T" long_name="SMS_SIL Inventory"              unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_FER"      long_name="dissolved iron Sources Minus Sinks Trend"               unit="mmolFe/m3/s" />
+       <field id="SMS_FER_E3T"  long_name="SMS_FER * E3T"                                          unit="mmolFe/m2/s" > SMS_FER * e3t </field>
+       <field id="SMS_FER_INV"  field_ref="SMS_FER_E3T" long_name="SMS_FER Inventory"              unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_DET"      long_name="detrital nitrogen Sources Minus Sinks Trend"            unit="mmol-N/m3/s" />
+       <field id="SMS_DET_E3T"  long_name="SMS_DET * E3T"                                          unit="mmol-N/m2/s" > SMS_DET * e3t </field>
+       <field id="SMS_DET_INV"  field_ref="SMS_DET_E3T" long_name="SMS_DET Inventory"              unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_PDS"      long_name="Diatoms biogenic silicon Sources Minus Sinks Trend"     unit="mmolSi/m3/s" />
+       <field id="SMS_PDS_E3T"  long_name="SMS_PDS * E3T"                                          unit="mmolSi/m2/s" > SMS_PDS * e3t </field>
+       <field id="SMS_PDS_INV"  field_ref="SMS_PDS_E3T" long_name="SMS_PDS Inventory"              unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_DTC"      long_name="detrital carbon Sources Minus Sinks Trend"              unit="mmol-C/m3/s" />
+       <field id="SMS_DTC_E3T"  long_name="SMS_DTC * E3T"                                          unit="mmol-C/m2/s" > SMS_DTC * e3t </field>
+       <field id="SMS_DTC_INV"  field_ref="SMS_DTC_E3T" long_name="SMS_DTC Inventory"              unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_DiC"      long_name="dissolved inorganic carbon Sources Minus Sinks Trend"   unit="mmol-C/m3/s" />
+       <field id="SMS_DiC_E3T"  long_name="SMS_DiC * E3T"                                          unit="mmol-C/m2/s" > SMS_DiC * e3t </field>
+       <field id="SMS_DiC_INV"  field_ref="SMS_DiC_E3T" long_name="SMS_DiC Inventory"              unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_ALK"      long_name="alkalinity Sources Minus Sinks Trend"                   unit="meq/m3/s"    />
+       <field id="SMS_ALK_E3T"  long_name="SMS_ALK * E3T"                                          unit="meq/m2/s"    > SMS_ALK * e3t </field>
+       <field id="SMS_ALK_INV"  field_ref="SMS_ALK_E3T" long_name="SMS_ALK Inventory"              unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_OXY"      long_name="dissolved oxygen Sources Minus Sinks Trend"             unit="mmolO2/m3/s" />
+       <field id="SMS_OXY_E3T"  long_name="SMS_OXY * E3T"                                          unit="mmolO2/m2/s" > SMS_OXY * e3t </field>
+       <field id="SMS_OXY_INV"  field_ref="SMS_OXY_E3T" long_name="SMS_OXY Inventory"              unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_radb -->
+       <field id="RDB_CHN"      long_name="Non-diatom Chl-a-b negative values correction trend"             unit="mg Chl/m3/s" />
+       <field id="RDB_CHN_E3T"  long_name="RDB_CHN * E3T"                                                   unit="mg Chl/m2/s" > RDB_CHN * e3t </field>
+       <field id="RDB_CHN_INV"  field_ref="RDB_CHN_E3T" long_name="RDB_CHN Inventory"                       unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_CHD"      long_name="Diatom Chl-a-b negative values correction trend"                 unit="mg Chl/m3/s" />
+       <field id="RDB_CHD_E3T"  long_name="RDB_CHD * E3T"                                                   unit="mg Chl/m2/s" > RDB_CHD * e3t </field>
+       <field id="RDB_CHD_INV"  field_ref="RDB_CHD_E3T" long_name="RDB_CHD Inventory"                       unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_PHN"      long_name="non-diatom phytoplankton-b negative values correction trend"     unit="mmol-N/m3/s" />
+       <field id="RDB_PHN_E3T"  long_name="RDB_PHN * E3T"                                                   unit="mmol-N/m2/s" > RDB_PHN * e3t </field>
+       <field id="RDB_PHN_INV"  field_ref="RDB_PHN_E3T" long_name="RDB_PHN Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_PHD"      long_name="diatom     phytoplankton-b negative values correction trend"     unit="mmol-N/m3/s" />
+       <field id="RDB_PHD_E3T"  long_name="RDB_PHD * E3T"                                                   unit="mmol-N/m2/s" > RDB_PHD * e3t </field>
+       <field id="RDB_PHD_INV"  field_ref="RDB_PHD_E3T" long_name="RDB_PHD Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_ZMI"      long_name="micro zooplankton-b negative values correction trend"            unit="mmol-N/m3/s" />
+       <field id="RDB_ZMI_E3T"  long_name="RDB_ZMI * E3T"                                                   unit="mmol-N/m2/s" > RDB_ZMI * e3t </field>
+       <field id="RDB_ZMI_INV"  field_ref="RDB_ZMI_E3T" long_name="RDB_ZMI Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_ZME"      long_name="meso  zooplankton-b negative values correction trend"            unit="mmol-N/m3/s" />
+       <field id="RDB_ZME_E3T"  long_name="RDB_ZME * E3T"                                                   unit="mmol-N/m2/s" > RDB_ZME * e3t </field>
+       <field id="RDB_ZME_INV"  field_ref="RDB_ZME_E3T" long_name="RDB_ZME Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_DIN"      long_name="dissolved inorganic nitrogen-b negative values correction trend" unit="mmol-N/m3/s" />
+       <field id="RDB_DIN_E3T"  long_name="RDB_DIN * E3T"                                                   unit="mmol-N/m2/s" > RDB_DIN * e3t </field>
+       <field id="RDB_DIN_INV"  field_ref="RDB_DIN_E3T" long_name="RDB_DIN Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_SIL"      long_name="dissolved silicic acid-b negative values correction trend"       unit="mmolSi/m3/s" />
+       <field id="RDB_SIL_E3T"  long_name="RDB_SIL * E3T"                                                   unit="mmolSi/m2/s" > RDB_SIL * e3t </field>
+       <field id="RDB_SIL_INV"  field_ref="RDB_SIL_E3T" long_name="RDB_SIL Inventory"                       unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_FER"      long_name="dissolved iron-b negative values correction trend"               unit="mmolFe/m3/s" />
+       <field id="RDB_FER_E3T"  long_name="RDB_FER * E3T"                                                   unit="mmolFe/m2/s" > RDB_FER * e3t </field>
+       <field id="RDB_FER_INV"  field_ref="RDB_FER_E3T" long_name="RDB_FER Inventory"                       unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_DET"      long_name="detrital nitrogen-b negative values correction trend"            unit="mmol-N/m3/s" />
+       <field id="RDB_DET_E3T"  long_name="RDB_DET * E3T"                                                   unit="mmol-N/m2/s" > RDB_DET * e3t </field>
+       <field id="RDB_DET_INV"  field_ref="RDB_DET_E3T" long_name="RDB_DET Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_PDS"      long_name="Diatoms biogenic silicon-b negative values correction trend"     unit="mmolSi/m3/s" />
+       <field id="RDB_PDS_E3T"  long_name="RDB_PDS * E3T"                                                   unit="mmolSi/m2/s" > RDB_PDS * e3t </field>
+       <field id="RDB_PDS_INV"  field_ref="RDB_PDS_E3T" long_name="RDB_PDS Inventory"                       unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_DTC"      long_name="detrital carbon-b negative values correction trend"              unit="mmol-C/m3/s" />
+       <field id="RDB_DTC_E3T"  long_name="RDB_DTC * E3T"                                                   unit="mmol-C/m2/s" > RDB_DTC * e3t </field>
+       <field id="RDB_DTC_INV"  field_ref="RDB_DTC_E3T" long_name="RDB_DTC Inventory"                       unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_DiC"      long_name="dissolved inorganic carbon-b negative values correction trend"   unit="mmol-C/m3/s" />
+       <field id="RDB_DiC_E3T"  long_name="RDB_DiC * E3T"                                                   unit="mmol-C/m2/s" > RDB_DiC * e3t </field>
+       <field id="RDB_DiC_INV"  field_ref="RDB_DiC_E3T" long_name="RDB_DiC Inventory"                       unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_ALK"      long_name="alkalinity-b negative values correction trend"                   unit="meq/m3/s"    />
+       <field id="RDB_ALK_E3T"  long_name="RDB_ALK * E3T"                                                   unit="meq/m2/s"    > RDB_ALK * e3t </field>
+       <field id="RDB_ALK_INV"  field_ref="RDB_ALK_E3T" long_name="RDB_ALK Inventory"                       unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_OXY"      long_name="dissolved oxygen-b negative values correction trend"             unit="mmolO2/m3/s" />
+       <field id="RDB_OXY_E3T"  long_name="RDB_OXY * E3T"                                                   unit="mmolO2/m2/s" > RDB_OXY * e3t </field>
+       <field id="RDB_OXY_INV"  field_ref="RDB_OXY_E3T" long_name="RDB_OXY Inventory"                       unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_radn -->
+       <field id="RDN_CHN"      long_name="Non-diatom Chl-a-n negative values correction trend"             unit="mg Chl/m3/s" />
+       <field id="RDN_CHN_E3T"  long_name="RDN_CHN * E3T"                                                   unit="mg Chl/m2/s" > RDN_CHN * e3t </field>
+       <field id="RDN_CHN_INV"  field_ref="RDN_CHN_E3T" long_name="RDN_CHN Inventory"                       unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_CHD"      long_name="Diatom Chl-a-n negative values correction trend"                 unit="mg Chl/m3/s" />
+       <field id="RDN_CHD_E3T"  long_name="RDN_CHD * E3T"                                                   unit="mg Chl/m2/s" > RDN_CHD * e3t </field>
+       <field id="RDN_CHD_INV"  field_ref="RDN_CHD_E3T" long_name="RDN_CHD Inventory"                       unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_PHN"      long_name="non-diatom phytoplankton-n negative values correction trend"     unit="mmol-N/m3/s" />
+       <field id="RDN_PHN_E3T"  long_name="RDN_PHN * E3T"                                                   unit="mmol-N/m2/s" > RDN_PHN * e3t </field>
+       <field id="RDN_PHN_INV"  field_ref="RDN_PHN_E3T" long_name="RDN_PHN Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_PHD"      long_name="diatom     phytoplankton-n negative values correction trend"     unit="mmol-N/m3/s" />
+       <field id="RDN_PHD_E3T"  long_name="RDN_PHD * E3T"                                                   unit="mmol-N/m2/s" > RDN_PHD * e3t </field>
+       <field id="RDN_PHD_INV"  field_ref="RDN_PHD_E3T" long_name="RDN_PHD Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_ZMI"      long_name="micro zooplankton-n negative values correction trend"            unit="mmol-N/m3/s" />
+       <field id="RDN_ZMI_E3T"  long_name="RDN_ZMI * E3T"                                                   unit="mmol-N/m2/s" > RDN_ZMI * e3t </field>
+       <field id="RDN_ZMI_INV"  field_ref="RDN_ZMI_E3T" long_name="RDN_ZMI Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_ZME"      long_name="meso  zooplankton-n negative values correction trend"            unit="mmol-N/m3/s" />
+       <field id="RDN_ZME_E3T"  long_name="RDN_ZME * E3T"                                                   unit="mmol-N/m2/s" > RDN_ZME * e3t </field>
+       <field id="RDN_ZME_INV"  field_ref="RDN_ZME_E3T" long_name="RDN_ZME Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_DIN"      long_name="dissolved inorganic nitrogen-n negative values correction trend" unit="mmol-N/m3/s" />
+       <field id="RDN_DIN_E3T"  long_name="RDN_DIN * E3T"                                                   unit="mmol-N/m2/s" > RDN_DIN * e3t </field>
+       <field id="RDN_DIN_INV"  field_ref="RDN_DIN_E3T" long_name="RDN_DIN Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_SIL"      long_name="dissolved silicic acid-n negative values correction trend"       unit="mmolSi/m3/s" />
+       <field id="RDN_SIL_E3T"  long_name="RDN_SIL * E3T"                                                   unit="mmolSi/m2/s" > RDN_SIL * e3t </field>
+       <field id="RDN_SIL_INV"  field_ref="RDN_SIL_E3T" long_name="RDN_SIL Inventory"                       unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_FER"      long_name="dissolved iron-n negative values correction trend"               unit="mmolFe/m3/s" />
+       <field id="RDN_FER_E3T"  long_name="RDN_FER * E3T"                                                   unit="mmolFe/m2/s" > RDN_FER * e3t </field>
+       <field id="RDN_FER_INV"  field_ref="RDN_FER_E3T" long_name="RDN_FER Inventory"                       unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_DET"      long_name="detrital nitrogen-n negative values correction trend"            unit="mmol-N/m3/s" />
+       <field id="RDN_DET_E3T"  long_name="RDN_DET * E3T"                                                   unit="mmol-N/m2/s" > RDN_DET * e3t </field>
+       <field id="RDN_DET_INV"  field_ref="RDN_DET_E3T" long_name="RDN_DET Inventory"                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_PDS"      long_name="Diatoms biogenic silicon-n negative values correction trend"     unit="mmolSi/m3/s" />
+       <field id="RDN_PDS_E3T"  long_name="RDN_PDS * E3T"                                                   unit="mmolSi/m2/s" > RDN_PDS * e3t </field>
+       <field id="RDN_PDS_INV"  field_ref="RDN_PDS_E3T" long_name="RDN_PDS Inventory"                       unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_DTC"      long_name="detrital carbon-n negative values correction trend"              unit="mmol-C/m3/s" />
+       <field id="RDN_DTC_E3T"  long_name="RDN_DTC * E3T"                                                   unit="mmol-C/m2/s" > RDN_DTC * e3t </field>
+       <field id="RDN_DTC_INV"  field_ref="RDN_DTC_E3T" long_name="RDN_DTC Inventory"                       unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_DiC"      long_name="dissolved inorganic carbon-n negative values correction trend"   unit="mmol-C/m3/s" />
+       <field id="RDN_DiC_E3T"  long_name="RDN_DiC * E3T"                                                   unit="mmol-C/m2/s" > RDN_DiC * e3t </field>
+       <field id="RDN_DiC_INV"  field_ref="RDN_DiC_E3T" long_name="RDN_DiC Inventory"                       unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_ALK"      long_name="alkalinity-n negative values correction trend"                   unit="meq/m3/s"    />
+       <field id="RDN_ALK_E3T"  long_name="RDN_ALK * E3T"                                                   unit="meq/m2/s"    > RDN_ALK * e3t </field>
+       <field id="RDN_ALK_INV"  field_ref="RDN_ALK_E3T" long_name="RDN_ALK Inventory"                       unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_OXY"      long_name="dissolved oxygen-n negative values correction trend"             unit="mmolO2/m3/s" />
+       <field id="RDN_OXY_E3T"  long_name="RDN_OXY * E3T"                                                   unit="mmolO2/m2/s" > RDN_OXY * e3t </field>
+       <field id="RDN_OXY_INV"  field_ref="RDN_OXY_E3T" long_name="RDN_OXY Inventory"                       unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd case: jptra_iso -->
+       <field id="ISO_CHN"      long_name="Non-diatom Chl-a Isopycnal Mixing Trend"             unit="mg Chl/m3/s" > LDF_CHN + ZDF_CHN - ZDP_CHN  </field>
+       <field id="ISO_CHN_E3T"  long_name="ISO_CHN * E3T"                                       unit="mg Chl/m2/s" > ISO_CHN * e3t </field>
+       <field id="ISO_CHN_INV"  field_ref="ISO_CHN_E3T" long_name="ISO_CHN Inventory"           unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_CHD"      long_name="Diatom Chl-a Isopycnal Mixing Trend"                 unit="mg Chl/m3/s" > LDF_CHD + ZDF_CHD - ZDP_CHD  </field>
+       <field id="ISO_CHD_E3T"  long_name="ISO_CHD * E3T"                                       unit="mg Chl/m2/s" > ISO_CHD * e3t </field>
+       <field id="ISO_CHD_INV"  field_ref="ISO_CHD_E3T" long_name="ISO_CHD Inventory"           unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_PHN"      long_name="non-diatom phytoplankton Isopycnal Mixing Trend"     unit="mmol-N/m3/s" > LDF_PHN + ZDF_PHN - ZDP_PHN  </field>
+       <field id="ISO_PHN_E3T"  long_name="ISO_PHN * E3T"                                       unit="mmol-N/m2/s" > ISO_PHN * e3t </field>
+       <field id="ISO_PHN_INV"  field_ref="ISO_PHN_E3T" long_name="ISO_PHN Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_PHD"      long_name="diatom     phytoplankton Isopycnal Mixing Trend"     unit="mmol-N/m3/s" > LDF_PHD + ZDF_PHD - ZDP_PHD  </field>
+       <field id="ISO_PHD_E3T"  long_name="ISO_PHD * E3T"                                       unit="mmol-N/m2/s" > ISO_PHD * e3t </field>
+       <field id="ISO_PHD_INV"  field_ref="ISO_PHD_E3T" long_name="ISO_PHD Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_ZMI"      long_name="micro zooplankton Isopycnal Mixing Trend"            unit="mmol-N/m3/s" > LDF_ZMI + ZDF_ZMI - ZDP_ZMI  </field>
+       <field id="ISO_ZMI_E3T"  long_name="ISO_ZMI * E3T"                                       unit="mmol-N/m2/s" > ISO_ZMI * e3t </field>
+       <field id="ISO_ZMI_INV"  field_ref="ISO_ZMI_E3T" long_name="ISO_ZMI Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_ZME"      long_name="meso  zooplankton Isopycnal Mixing Trend"            unit="mmol-N/m3/s" > LDF_ZME + ZDF_ZME - ZDP_ZME  </field>
+       <field id="ISO_ZME_E3T"  long_name="ISO_ZME * E3T"                                       unit="mmol-N/m2/s" > ISO_ZME * e3t </field>
+       <field id="ISO_ZME_INV"  field_ref="ISO_ZME_E3T" long_name="ISO_ZME Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_DIN"      long_name="dissolved inorganic nitrogen Isopycnal Mixing Trend" unit="mmol-N/m3/s" > LDF_DIN + ZDF_DIN - ZDP_DIN  </field>
+       <field id="ISO_DIN_E3T"  long_name="ISO_DIN * E3T"                                       unit="mmol-N/m2/s" > ISO_DIN * e3t </field>
+       <field id="ISO_DIN_INV"  field_ref="ISO_DIN_E3T" long_name="ISO_DIN Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_SIL"      long_name="dissolved silicic acid Isopycnal Mixing Trend"       unit="mmolSi/m3/s" > LDF_SIL + ZDF_SIL - ZDP_SIL  </field>
+       <field id="ISO_SIL_E3T"  long_name="ISO_SIL * E3T"                                       unit="mmolSi/m2/s" > ISO_SIL * e3t </field>
+       <field id="ISO_SIL_INV"  field_ref="ISO_SIL_E3T" long_name="ISO_SIL Inventory"           unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_FER"      long_name="dissolved iron Isopycnal Mixing Trend"               unit="mmolFe/m3/s" > LDF_FER + ZDF_FER - ZDP_FER  </field>
+       <field id="ISO_FER_E3T"  long_name="ISO_FER * E3T"                                       unit="mmolFe/m2/s" > ISO_FER * e3t </field>
+       <field id="ISO_FER_INV"  field_ref="ISO_FER_E3T" long_name="ISO_FER Inventory"           unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_DET"      long_name="detrital nitrogen Isopycnal Mixing Trend"            unit="mmol-N/m3/s" > LDF_DET + ZDF_DET - ZDP_DET  </field>
+       <field id="ISO_DET_E3T"  long_name="ISO_DET * E3T"                                       unit="mmol-N/m2/s" > ISO_DET * e3t </field>
+       <field id="ISO_DET_INV"  field_ref="ISO_DET_E3T" long_name="ISO_DET Inventory"           unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_PDS"      long_name="Diatoms biogenic silicon Isopycnal Mixing Trend"     unit="mmolSi/m3/s" > LDF_PDS + ZDF_PDS - ZDP_PDS  </field>
+       <field id="ISO_PDS_E3T"  long_name="ISO_PDS * E3T"                                       unit="mmolSi/m2/s" > ISO_PDS * e3t </field>
+       <field id="ISO_PDS_INV"  field_ref="ISO_PDS_E3T" long_name="ISO_PDS Inventory"           unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_DTC"      long_name="detrital carbon Isopycnal Mixing Trend"              unit="mmol-C/m3/s" > LDF_DTC + ZDF_DTC - ZDP_DTC  </field>
+       <field id="ISO_DTC_E3T"  long_name="ISO_DTC * E3T"                                       unit="mmol-C/m2/s" > ISO_DTC * e3t </field>
+       <field id="ISO_DTC_INV"  field_ref="ISO_DTC_E3T" long_name="ISO_DTC Inventory"           unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_DiC"      long_name="dissolved inorganic carbon Isopycnal Mixing Trend"   unit="mmol-C/m3/s" > LDF_DiC + ZDF_DiC - ZDP_DiC  </field>
+       <field id="ISO_DiC_E3T"  long_name="ISO_DiC * E3T"                                       unit="mmol-C/m2/s" > ISO_DiC * e3t </field>
+       <field id="ISO_DiC_INV"  field_ref="ISO_DiC_E3T" long_name="ISO_DiC Inventory"           unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_ALK"      long_name="alkalinity Isopycnal Mixing Trend"                   unit="meq/m3/s"    > LDF_ALK + ZDF_ALK - ZDP_ALK  </field>
+       <field id="ISO_ALK_E3T"  long_name="ISO_ALK * E3T"                                       unit="meq/m2/s"    > ISO_ALK * e3t </field>
+       <field id="ISO_ALK_INV"  field_ref="ISO_ALK_E3T" long_name="ISO_ALK Inventory"           unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_OXY"      long_name="dissolved oxygen Isopycnal Mixing Trend"             unit="mmolO2/m3/s" > LDF_OXY + ZDF_OXY - ZDP_OXY  </field>
+       <field id="ISO_OXY_E3T"  long_name="ISO_OXY * E3T"                                       unit="mmolO2/m2/s" > ISO_OXY * e3t </field>
+       <field id="ISO_OXY_INV"  field_ref="ISO_OXY_E3T" long_name="ISO_OXY Inventory"           unit="mmolO2/m2/s" grid_ref="vert_sum" />
+
+      <!-- Ideal traceurs : variables available with key_idtra -->
+       <field id="XAD_IDTRA"      long_name="Ideal tracer X-Advection Trend"                  unit="mmol/m3/s" />
+       <field id="XAD_IDTRA_E3T"  long_name="XAD_IDTRA * E3T"                                 unit="mmol/m2/s" > XAD_IDTRA * e3t </field>
+       <field id="XAD_IDTRA_INV"  field_ref="XAD_IDTRA_E3T"  long_name="XAD_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_IDTRA"      long_name="Ideal tracer Y-Advection Trend"                  unit="mmol/m3/s" />
+       <field id="YAD_IDTRA_E3T"  long_name="YAD_IDTRA * E3T"                                 unit="mmol/m2/s" > YAD_IDTRA * e3t </field>
+       <field id="YAD_IDTRA_INV"  field_ref="YAD_IDTRA_E3T"  long_name="YAD_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_IDTRA"      long_name="Ideal tracer Z-Advection Trend"                  unit="mmol/m3/s" />
+       <field id="ZAD_IDTRA_E3T"  long_name="ZAD_IDTRA * E3T"                                 unit="mmol/m2/s" > ZAD_IDTRA * e3t </field>
+       <field id="ZAD_IDTRA_INV"  field_ref="ZAD_IDTRA_E3T"  long_name="ZAD_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_IDTRA"      long_name="Ideal tracer Total Advection Trend"              unit="mmol/m3/s" />
+       <field id="TAD_IDTRA_E3T"  long_name="TAD_IDTRA * E3T"                                 unit="mmol/m2/s" > TAD_IDTRA * e3t </field>
+       <field id="TAD_IDTRA_INV"  field_ref="TAD_IDTRA_E3T"  long_name="TAD_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_IDTRA"      long_name="Ideal tracer Lateral Mixing Trend"               unit="mmol/m3/s" />
+       <field id="LDF_IDTRA_E3T"  long_name="LDF_IDTRA * E3T"                                 unit="mmol/m2/s" > LDF_IDTRA * e3t </field>
+       <field id="LDF_IDTRA_INV"  field_ref="LDF_IDTRA_E3T"  long_name="LDF_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_IDTRA"      long_name="Ideal tracer Bottom Boundary Trend"              unit="mmol/m3/s" />
+       <field id="BBL_IDTRA_E3T"  long_name="BBL_IDTRA * E3T"                                 unit="mmol/m2/s" > BBL_IDTRA * e3t </field>
+       <field id="BBL_IDTRA_INV"  field_ref="BBL_IDTRA_E3T"  long_name="BBL_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_IDTRA"      long_name="Ideal tracer Surface Boundary Trend"             unit="mmol/m3/s" />
+       <field id="FOR_IDTRA_E3T"  long_name="FOR_IDTRA * E3T"                                 unit="mmol/m2/s" > FOR_IDTRA * e3t </field>
+       <field id="FOR_IDTRA_INV"  field_ref="FOR_IDTRA_E3T"  long_name="FOR_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_IDTRA"      long_name="Ideal tracer Vertical Mixing Trend"              unit="mmol/m3/s" />
+       <field id="ZDF_IDTRA_E3T"  long_name="ZDF_IDTRA * E3T"                                 unit="mmol/m2/s" > ZDF_IDTRA * e3t </field>
+       <field id="ZDF_IDTRA_INV"  field_ref="ZDF_IDTRA_E3T"  long_name="ZDF_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_IDTRA"      long_name="Ideal tracer Kz Diffusive Trend"                 unit="mmol/m3/s" />
+       <field id="ZDP_IDTRA_E3T"  long_name="ZDP_IDTRA * E3T"                                 unit="mmol/m2/s" > ZDP_IDTRA * e3t </field>
+       <field id="ZDP_IDTRA_INV"  field_ref="ZDP_IDTRA_E3T"  long_name="ZDP_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_IDTRA"      long_name="Ideal tracer Damping Trend"                      unit="mmol/m3/s" />
+       <field id="DMP_IDTRA_E3T"  long_name="DMP_IDTRA * E3T"                                 unit="mmol/m2/s" > DMP_IDTRA * e3t </field>
+       <field id="DMP_IDTRA_INV"  field_ref="DMP_IDTRA_E3T"  long_name="DMP_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_IDTRA"      long_name="Ideal tracer Sources Minus Sinks Trend"          unit="mmol/m3/s" />
+       <field id="SMS_IDTRA_E3T"  long_name="SMS_IDTRA * E3T"                                 unit="mmol/m2/s" > SMS_IDTRA * e3t </field>
+       <field id="SMS_IDTRA_INV"  field_ref="SMS_IDTRA_E3T"  long_name="SMS_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_IDTRA"      long_name="Ideal tracer-b negative values correction trend" unit="mmol/m3/s" />
+       <field id="RDB_IDTRA_E3T"  long_name="RDB_IDTRA * E3T"                                 unit="mmol/m2/s" > RDB_IDTRA * e3t </field>
+       <field id="RDB_IDTRA_INV"  field_ref="RDB_IDTRA_E3T"  long_name="RDB_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_IDTRA"      long_name="Ideal tracer-n negative values correction trend" unit="mmol/m3/s" />
+       <field id="RDN_IDTRA_E3T"  long_name="RDN_IDTRA * E3T"                                 unit="mmol/m2/s" > RDN_IDTRA * e3t </field>
+       <field id="RDN_IDTRA_INV"  field_ref="RDN_IDTRA_E3T"  long_name="RDN_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_IDTRA"      long_name="Ideal tracer Isopycnal Mixing Trend"             unit="mmol/m3/s" > LDF_IDTRA + ZDF_IDTRA - ZDP_IDTRA  </field>
+       <field id="ISO_IDTRA_E3T"  long_name="ISO_IDTRA * E3T"                                 unit="mmol/m2/s" > ISO_IDTRA * e3t </field>
+       <field id="ISO_IDTRA_INV"  field_ref="ISO_IDTRA_E3T"  long_name="ISO_IDTRA Inventory"  unit="mmol/m2/s" grid_ref="vert_sum" />
+
+       <!-- CFC11 : variables available with key_cfc -->
+       <field id="XAD_CFC11"      long_name="CFC11 X-Advection Trend"                       unit="umol/m3/s" />
+       <field id="XAD_CFC11_E3T"  long_name="XAD_CFC11 * E3T"                               unit="umol/m2/s" > XAD_CFC11 * e3t </field>
+       <field id="XAD_CFC11_INV"  field_ref="XAD_CFC11_E3T" long_name="XAD_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_CFC11"      long_name="CFC11 Y-Advection Trend"                       unit="umol/m3/s" />
+       <field id="YAD_CFC11_E3T"  long_name="YAD_CFC11 * E3T"                           unit="umol/m2/s" > YAD_CFC11 * e3t </field>
+       <field id="YAD_CFC11_INV"  field_ref="YAD_CFC11_E3T" long_name="YAD_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_CFC11"      long_name="CFC11 Z-Advection Trend"                       unit="umol/m3/s" />
+       <field id="ZAD_CFC11_E3T"  long_name="ZAD_CFC11 * E3T"                               unit="umol/m2/s" > ZAD_CFC11 * e3t </field>
+       <field id="ZAD_CFC11_INV"  field_ref="ZAD_CFC11_E3T" long_name="ZAD_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_CFC11"      long_name="CFC11 Total Advection Trend"                   unit="umol/m3/s" />
+       <field id="TAD_CFC11_E3T"  long_name="TAD_CFC11 * E3T"                               unit="umol/m2/s" > TAD_CFC11 * e3t </field>
+       <field id="TAD_CFC11_INV"  field_ref="TAD_CFC11_E3T" long_name="TAD_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_CFC11"      long_name="CFC11 Lateral Mixing Trend"                    unit="umol/m3/s" />
+       <field id="LDF_CFC11_E3T"  long_name="LDF_CFC11 * E3T"                               unit="umol/m2/s" > LDF_CFC11 * e3t </field>
+       <field id="LDF_CFC11_INV"  field_ref="LDF_CFC11_E3T" long_name="LDF_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_CFC11"      long_name="CFC11 Bottom Boundary Trend"                   unit="umol/m3/s" />
+       <field id="BBL_CFC11_E3T"  long_name="BBL_CFC11 * E3T"                               unit="umol/m2/s" > BBL_CFC11 * e3t </field>
+       <field id="BBL_CFC11_INV"  field_ref="BBL_CFC11_E3T" long_name="BBL_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_CFC11"      long_name="CFC11 Surface Boundary Trend"                  unit="umol/m3/s" />
+       <field id="FOR_CFC11_E3T"  long_name="FOR_CFC11 * E3T"                               unit="umol/m2/s" > FOR_CFC11 * e3t </field>
+       <field id="FOR_CFC11_INV"  field_ref="FOR_CFC11_E3T" long_name="FOR_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_CFC11"      long_name="CFC11 Vertical Mixing Trend"                   unit="umol/m3/s" />
+       <field id="ZDF_CFC11_E3T"  long_name="ZDF_CFC11 * E3T"                               unit="umol/m2/s" > ZDF_CFC11 * e3t </field>
+       <field id="ZDF_CFC11_INV"  field_ref="ZDF_CFC11_E3T" long_name="ZDF_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_CFC11"      long_name="CFC11 Kz Diffusive Trend"                      unit="umol/m3/s" />
+       <field id="ZDP_CFC11_E3T"  long_name="ZDP_CFC11 * E3T"                               unit="umol/m2/s" > ZDP_CFC11 * e3t </field>
+       <field id="ZDP_CFC11_INV"  field_ref="ZDP_CFC11_E3T" long_name="ZDP_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_CFC11"      long_name="CFC11 Damping Trend"                           unit="umol/m3/s" />
+       <field id="DMP_CFC11_E3T"  long_name="DMP_CFC11 * E3T"                               unit="umol/m2/s" > DMP_CFC11 * e3t </field>
+       <field id="DMP_CFC11_INV"  field_ref="DMP_CFC11_E3T" long_name="DMP_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_CFC11"      long_name="CFC11 Sources Minus Sinks Trend"               unit="umol/m3/s" />
+       <field id="SMS_CFC11_E3T"  long_name="SMS_CFC11 * E3T"                               unit="umol/m2/s" > SMS_CFC11 * e3t </field>
+       <field id="SMS_CFC11_INV"  field_ref="SMS_CFC11_E3T" long_name="SMS_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_CFC11"      long_name="CFC11-b negative values correction trend"      unit="umol/m3/s" />
+       <field id="RDB_CFC11_E3T"  long_name="RDB_CFC11 * E3T"                               unit="umol/m2/s" > RDB_CFC11 * e3t </field>
+       <field id="RDB_CFC11_INV"  field_ref="RDB_CFC11_E3T" long_name="RDB_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_CFC11"      long_name="CFC11-n negative values correction trend"      unit="umol/m3/s" />
+       <field id="RDN_CFC11_E3T"  long_name="RDN_CFC11 * E3T"                               unit="umol/m2/s" > RDN_CFC11 * e3t </field>
+       <field id="RDN_CFC11_INV"  field_ref="RDN_CFC11_E3T" long_name="RDN_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_CFC11"      long_name="CFC11 Isopycnal Mixing Trend"                  unit="umol/m3/s" > LDF_CFC11 + ZDF_CFC11 - ZDP_CFC11  </field>
+       <field id="ISO_CFC11_E3T"  long_name="ISO_CFC11 * E3T"                               unit="umol/m2/s" > ISO_CFC11 * e3t </field>
+       <field id="ISO_CFC11_INV"  field_ref="ISO_CFC11_E3T" long_name="ISO_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+
+       <!-- CFC12 : variables available with key_cfc -->
+       <field id="XAD_CFC12"      long_name="CFC12 X-Advection Trend"                         unit="umol/m3/s" />
+       <field id="XAD_CFC12_E3T"  long_name="XAD_CFC12 * E3T"                                 unit="umol/m2/s" > XAD_CFC12 * e3t </field>
+       <field id="XAD_CFC12_INV"  field_ref="XAD_CFC12_E3T"  long_name="XAD_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_CFC12"      long_name="CFC12 Y-Advection Trend"                         unit="umol/m3/s" />
+       <field id="YAD_CFC12_E3T"  long_name="YAD_CFC12 * E3T"                                 unit="umol/m2/s" > YAD_CFC12 * e3t </field>
+       <field id="YAD_CFC12_INV"  field_ref="YAD_CFC12_E3T"  long_name="YAD_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_CFC12"      long_name="CFC12 Z-Advection Trend"                         unit="umol/m3/s" />
+       <field id="ZAD_CFC12_E3T"  long_name="ZAD_CFC12 * E3T"                                 unit="umol/m2/s" > ZAD_CFC12 * e3t </field>
+       <field id="ZAD_CFC12_INV"  field_ref="ZAD_CFC12_E3T"  long_name="ZAD_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_CFC12"      long_name="CFC12 Total Advection Trend"                     unit="umol/m3/s" />
+       <field id="TAD_CFC12_E3T"  long_name="TAD_CFC12 * E3T"                                 unit="umol/m2/s" > TAD_CFC12 * e3t </field>
+       <field id="TAD_CFC12_INV"  field_ref="TAD_CFC12_E3T"  long_name="TAD_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_CFC12"      long_name="CFC12 Lateral Mixing Trend"                      unit="umol/m3/s" />
+       <field id="LDF_CFC12_E3T"  long_name="LDF_CFC12 * E3T"                                 unit="umol/m2/s" > LDF_CFC12 * e3t </field>
+       <field id="LDF_CFC12_INV"  field_ref="LDF_CFC12_E3T"  long_name="LDF_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_CFC12"      long_name="CFC12 Bottom Boundary Trend"                     unit="umol/m3/s" />
+       <field id="BBL_CFC12_E3T"  long_name="BBL_CFC12 * E3T"                                 unit="umol/m2/s" > BBL_CFC12 * e3t </field>
+       <field id="BBL_CFC12_INV"  field_ref="BBL_CFC12_E3T"  long_name="BBL_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_CFC12"      long_name="CFC12 Surface Boundary Trend"                    unit="umol/m3/s" />
+       <field id="FOR_CFC12_E3T"  long_name="FOR_CFC12 * E3T"                                 unit="umol/m2/s" > FOR_CFC12 * e3t </field>
+       <field id="FOR_CFC12_INV"  field_ref="FOR_CFC12_E3T"  long_name="FOR_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_CFC12"      long_name="CFC12 Vertical Mixing Trend"                     unit="umol/m3/s" />
+       <field id="ZDF_CFC12_E3T"  long_name="ZDF_CFC12 * E3T"                                 unit="umol/m2/s" > ZDF_CFC12 * e3t </field>
+       <field id="ZDF_CFC12_INV"  field_ref="ZDF_CFC12_E3T"  long_name="ZDF_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_CFC12"      long_name="CFC12 Kz Diffusive Trend"                        unit="umol/m3/s" />
+       <field id="ZDP_CFC12_E3T"  long_name="ZDP_CFC12 * E3T"                                 unit="umol/m2/s" > ZDP_CFC12 * e3t </field>
+       <field id="ZDP_CFC12_INV"  field_ref="ZDP_CFC12_E3T"  long_name="ZDP_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_CFC12"      long_name="CFC12 Damping Trend"                             unit="umol/m3/s" />
+       <field id="DMP_CFC12_E3T"  long_name="DMP_CFC12 * E3T"                                 unit="umol/m2/s" > DMP_CFC12 * e3t </field>
+       <field id="DMP_CFC12_INV"  field_ref="DMP_CFC12_E3T"  long_name="DMP_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_CFC12"      long_name="CFC12 Sources Minus Sinks Trend"                 unit="umol/m3/s" />
+       <field id="SMS_CFC12_E3T"  long_name="SMS_CFC12 * E3T"                                 unit="umol/m2/s" > SMS_CFC12 * e3t </field>
+       <field id="SMS_CFC12_INV"  field_ref="SMS_CFC12_E3T"  long_name="SMS_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_CFC12"      long_name="CFC12-b negative values correction trend"        unit="umol/m3/s" />
+       <field id="RDB_CFC12_E3T"  long_name="RDB_CFC12 * E3T"                                 unit="umol/m2/s" > RDB_CFC12 * e3t </field>
+       <field id="RDB_CFC12_INV"  field_ref="RDB_CFC12_E3T"  long_name="RDB_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_CFC12"      long_name="CFC12-n negative values correction trend"        unit="umol/m3/s" />
+       <field id="RDN_CFC12_E3T"  long_name="RDN_CFC12 * E3T"                                 unit="umol/m2/s" > RDN_CFC12 * e3t </field>
+       <field id="RDN_CFC12_INV"  field_ref="RDN_CFC12_E3T"  long_name="RDN_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_CFC12"      long_name="CFC12 Isopycnal Mixing Trend"                    unit="umol/m3/s" > LDF_CFC12 + ZDF_CFC12 - ZDP_CFC12  </field>
+       <field id="ISO_CFC12_E3T"  long_name="ISO_CFC12 * E3T"                                 unit="umol/m2/s" > ISO_CFC12 * e3t </field>
+       <field id="ISO_CFC12_INV"  field_ref="ISO_CFC12_E3T"  long_name="ISO_CFC12 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+
+       <!-- SF6 : variables available with key_cfc -->
+       <field id="XAD_SF6"      long_name="SF6 X-Advection Trend"                      unit="umol/m3/s" />
+       <field id="XAD_SF6_E3T"  long_name="XAD_SF6 * E3T"                              unit="umol/m2/s" > XAD_SF6 * e3t </field>
+       <field id="XAD_SF6_INV"  field_ref="XAD_SF6_E3T" long_name="XAD_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="YAD_SF6"      long_name="SF6 Y-Advection Trend"                      unit="umol/m3/s" />
+       <field id="YAD_SF6_E3T"  long_name="YAD_SF6 * E3T"                              unit="umol/m2/s" > YAD_SF6 * e3t </field>
+       <field id="YAD_SF6_INV"  field_ref="YAD_SF6_E3T" long_name="YAD_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZAD_SF6"      long_name="SF6 Z-Advection Trend"                      unit="umol/m3/s" />
+       <field id="ZAD_SF6_E3T"  long_name="ZAD_SF6 * E3T"                              unit="umol/m2/s" > ZAD_SF6 * e3t </field>
+       <field id="ZAD_SF6_INV"  field_ref="ZAD_SF6_E3T" long_name="ZAD_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_SF6"      long_name="SF6 Total Advection Trend"                  unit="umol/m3/s" />
+       <field id="TAD_SF6_E3T"  long_name="TAD_SF6 * E3T"                              unit="umol/m2/s" > TAD_SF6 * e3t </field>
+       <field id="TAD_SF6_INV"  field_ref="TAD_SF6_E3T" long_name="TAD_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_SF6"      long_name="SF6 Lateral Mixing Trend"                   unit="umol/m3/s" />
+       <field id="LDF_SF6_E3T"  long_name="LDF_SF6 * E3T"                              unit="umol/m2/s" > LDF_SF6 * e3t </field>
+       <field id="LDF_SF6_INV"  field_ref="LDF_SF6_E3T" long_name="LDF_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="BBL_SF6"      long_name="SF6 Bottom Boundary Trend"                  unit="umol/m3/s" />
+       <field id="BBL_SF6_E3T"  long_name="BBL_SF6 * E3T"                              unit="umol/m2/s" > BBL_SF6 * e3t </field>
+       <field id="BBL_SF6_INV"  field_ref="BBL_SF6_E3T" long_name="BBL_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="FOR_SF6"      long_name="SF6 Surface Boundary Trend"                 unit="umol/m3/s" />
+       <field id="FOR_SF6_E3T"  long_name="FOR_SF6 * E3T"                              unit="umol/m2/s" > FOR_SF6 * e3t </field>
+       <field id="FOR_SF6_INV"  field_ref="FOR_SF6_E3T" long_name="FOR_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDF_SF6"      long_name="SF6 Vertical Mixing Trend"                  unit="umol/m3/s" />
+       <field id="ZDF_SF6_E3T"  long_name="ZDF_SF6 * E3T"                              unit="umol/m2/s" > ZDF_SF6 * e3t </field>
+       <field id="ZDF_SF6_INV"  field_ref="ZDF_SF6_E3T" long_name="ZDF_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ZDP_SF6"      long_name="SF6 Kz Diffusive Trend"                     unit="umol/m3/s" />
+       <field id="ZDP_SF6_E3T"  long_name="ZDP_SF6 * E3T"                              unit="umol/m2/s" > ZDP_SF6 * e3t </field>
+       <field id="ZDP_SF6_INV"  field_ref="ZDP_SF6_E3T" long_name="ZDP_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="DMP_SF6"      long_name="SF6 Damping Trend"                          unit="umol/m3/s" />
+       <field id="DMP_SF6_E3T"  long_name="DMP_SF6 * E3T"                              unit="umol/m2/s" > DMP_SF6 * e3t </field>
+       <field id="DMP_SF6_INV"  field_ref="DMP_SF6_E3T" long_name="DMP_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_SF6"      long_name="SF6 Sources Minus Sinks Trend"              unit="umol/m3/s" />
+       <field id="SMS_SF6_E3T"  long_name="SMS_SF6 * E3T"                              unit="umol/m2/s" > SMS_SF6 * e3t </field>
+       <field id="SMS_SF6_INV"  field_ref="SMS_SF6_E3T" long_name="SMS_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_SF6"      long_name="SF6-b negative values correction trend"     unit="umol/m3/s" />
+       <field id="RDB_SF6_E3T"  long_name="RDB_SF6 * E3T"                              unit="umol/m2/s" > RDB_SF6 * e3t </field>
+       <field id="RDB_SF6_INV"  field_ref="RDB_SF6_E3T" long_name="RDB_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="RDN_SF6"      long_name="SF6-n negative values correction trend"     unit="umol/m3/s" />
+       <field id="RDN_SF6_E3T"  long_name="RDN_SF6 * E3T"                              unit="umol/m2/s" > RDN_SF6 * e3t </field>
+       <field id="RDN_SF6_INV"  field_ref="RDN_SF6_E3T" long_name="RDN_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="ISO_SF6"      long_name="SF6 Isopycnal Mixing Trend"                 unit="umol/m3/s" > LDF_SF6 + ZDF_SF6 - ZDP_SF6  </field>
+       <field id="ISO_SF6_E3T"  long_name="ISO_SF6 * E3T"                              unit="umol/m2/s" > ISO_SF6 * e3t </field>
+       <field id="ISO_SF6_INV"  field_ref="ISO_SF6_E3T" long_name="ISO_SF6 Inventory"  unit="umol/m2/s" grid_ref="vert_sum" />
+
+       <!-- Bomb C14 : variables available with key_c14b -->
+       <field id="XAD_C14B"      long_name="Bomb C14 X-Advection Trend"                     unit="1/s" />
+       <field id="XAD_C14B_E3T"  long_name="XAD_C14B * E3T"                                 unit="m/s" > XAD_C14B * e3t </field>
+       <field id="XAD_C14B_INV"  field_ref="XAD_C14B_E3T" long_name="XAD_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="YAD_C14B"      long_name="Bomb C14 Y-Advection Trend"                     unit="1/s" />
+       <field id="YAD_C14B_E3T"  long_name="YAD_C14B * E3T"                                 unit="m/s" > YAD_C14B * e3t </field>
+       <field id="YAD_C14B_INV"  field_ref="YAD_C14B_E3T" long_name="YAD_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="ZAD_C14B"      long_name="Bomb C14 Z-Advection Trend"                     unit="1/s" />
+       <field id="ZAD_C14B_E3T"  long_name="ZAD_C14B * E3T"                                 unit="m/s" > ZAD_C14B * e3t </field>
+       <field id="ZAD_C14B_INV"  field_ref="ZAD_C14B_E3T" long_name="ZAD_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="TAD_C14B"      long_name="Bomb C14 Total Advection Trend"                 unit="1/s" />
+       <field id="TAD_C14B_E3T"  long_name="TAD_C14B * E3T             "                    unit="m/s" > TAD_C14B * e3t </field>
+       <field id="TAD_C14B_INV"  field_ref="TAD_C14B_E3T" long_name="TAD_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="LDF_C14B"      long_name="Bomb C14 Lateral Mixing Trend"                  unit="1/s" />
+       <field id="LDF_C14B_E3T"  long_name="LDF_C14B * E3T"                                 unit="m/s" > LDF_C14B * e3t </field>
+       <field id="LDF_C14B_INV"  field_ref="LDF_C14B_E3T" long_name="LDF_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="BBL_C14B"      long_name="Bomb C14 Bottom Boundary Trend"                 unit="1/s" />
+       <field id="BBL_C14B_E3T"  long_name="BBL_C14B * E3T"                                 unit="m/s" > BBL_C14B * e3t </field>
+       <field id="BBL_C14B_INV"  field_ref="BBL_C14B_E3T" long_name="BBL_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="FOR_C14B"      long_name="Bomb C14 Surface Boundary Trend"                unit="1/s" />
+       <field id="FOR_C14B_E3T"  long_name="FOR_C14B * E3T"                                 unit="m/s" > FOR_C14B * e3t </field>
+       <field id="FOR_C14B_INV"  field_ref="FOR_C14B_E3T" long_name="FOR_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="ZDF_C14B"      long_name="Bomb C14 Vertical Mixing Trend"                 unit="1/s" />
+       <field id="ZDF_C14B_E3T"  long_name="ZDF_C14B * E3T"                                 unit="m/s" > ZDF_C14B * e3t </field>
+       <field id="ZDF_C14B_INV"  field_ref="ZDF_C14B_E3T" long_name="ZDF_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="ZDP_C14B"      long_name="Bomb C14 Kz Diffusive Trend"                    unit="1/s" />
+       <field id="ZDP_C14B_E3T"  long_name="ZDP_C14B * E3T"                                 unit="m/s" > ZDP_C14B * e3t </field>
+       <field id="ZDP_C14B_INV"  field_ref="ZDP_C14B_E3T" long_name="ZDP_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="DMP_C14B"      long_name="Bomb C14 Damping Trend"                         unit="1/s" />
+       <field id="DMP_C14B_E3T"  long_name="DMP_C14B * E3T"                                 unit="m/s" > DMP_C14B * e3t </field>
+       <field id="DMP_C14B_INV"  field_ref="DMP_C14B_E3T" long_name="DMP_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="SMS_C14B"      long_name="Bomb C14 Sources Minus Sinks Trend"             unit="1/s" />
+       <field id="SMS_C14B_E3T"  long_name="SMS_C14B * E3T"                                 unit="m/s" > SMS_C14B * e3t </field>
+       <field id="SMS_C14B_INV"  field_ref="SMS_C14B_E3T" long_name="SMS_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="RDB_C14B"      long_name="Bomb C14-b negative values correction trend"    unit="1/s" />
+       <field id="RDB_C14B_E3T"  long_name="RDB_C14B * E3T"                                 unit="m/s" > RDB_C14B * e3t </field>
+       <field id="RDB_C14B_INV"  field_ref="RDB_C14B_E3T" long_name="RDB_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="RDN_C14B"      long_name="Bomb C14-n negative values correction trend"    unit="1/s" />
+       <field id="RDN_C14B_E3T"  long_name="RDN_C14B * E3T"                                 unit="m/s" > RDN_C14B * e3t </field>
+       <field id="RDN_C14B_INV"  field_ref="RDN_C14B_E3T" long_name="RDN_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+       <field id="ISO_C14B"      long_name="Bomb C14 Isopycnal Mixing Trend"                unit="1/s" > LDF_C14B + ZDF_C14B - ZDP_C14B  </field>
+       <field id="ISO_C14B_E3T"  long_name="ISO_C14B * E3T"                                 unit="m/s" > ISO_C14B * e3t </field>
+       <field id="ISO_C14B_INV"  field_ref="ISO_C14B_E3T" long_name="ISO_C14B Inventory"    unit="m/s" grid_ref="vert_sum" />
+
+       <!-- AGE : variables available with key_age -->
+       <field id="XAD_Age"      long_name="Sea Water Age X-Advection Trend"                  unit="1/s" />
+       <field id="XAD_Age_E3T"  long_name="XAD_Age * E3T"                                    unit="m/s" > XAD_Age * e3t </field>
+       <field id="XAD_Age_INV"  field_ref="XAD_Age_E3T" long_name="XAD_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="YAD_Age"      long_name="Sea Water Age Y-Advection Trend"                  unit="1/s" />
+       <field id="YAD_Age_E3T"  long_name="YAD_Age * E3T"                                    unit="m/s" > YAD_Age * e3t </field>
+       <field id="YAD_Age_INV"  field_ref="YAD_Age_E3T" long_name="YAD_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="ZAD_Age"      long_name="Sea Water Age Z-Advection Trend"                  unit="1/s" />
+       <field id="ZAD_Age_E3T"  long_name="ZAD_Age * E3T"                                    unit="m/s" > ZAD_Age * e3t </field>
+       <field id="ZAD_Age_INV"  field_ref="ZAD_Age_E3T" long_name="ZAD_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="TAD_Age"      long_name="Sea Water Age Total Advection Trend"              unit="1/s" />
+       <field id="TAD_Age_E3T"  long_name="TAD_Age * E3T"                                    unit="m/s" > TAD_Age * e3t </field>
+       <field id="TAD_Age_INV"  field_ref="TAD_Age_E3T" long_name="TAD_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="LDF_Age"      long_name="Sea Water Age Lateral Mixing Trend"               unit="1/s" />
+       <field id="LDF_Age_E3T"  long_name="LDF_Age * E3T"                                    unit="m/s" > LDF_Age * e3t </field>
+       <field id="LDF_Age_INV"  field_ref="LDF_Age_E3T" long_name="LDF_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="BBL_Age"      long_name="Sea Water Age Bottom Boundary Trend"              unit="1/s" />
+       <field id="BBL_Age_E3T"  long_name="BBL_Age * E3T"                                    unit="m/s" > BBL_Age * e3t </field>
+       <field id="BBL_Age_INV"  field_ref="BBL_Age_E3T" long_name="BBL_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="FOR_Age"      long_name="Sea Water Age Surface Boundary Trend"             unit="1/s" />
+       <field id="FOR_Age_E3T"  long_name="FOR_Age * E3T"                                    unit="m/s" > FOR_Age * e3t </field>
+       <field id="FOR_Age_INV"  field_ref="FOR_Age_E3T" long_name="FOR_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="ZDF_Age"      long_name="Sea Water Age Vertical Mixing Trend"              unit="1/s" />
+       <field id="ZDF_Age_E3T"  long_name="ZDF_Age * E3T"                                    unit="m/s" > ZDF_Age * e3t </field>
+       <field id="ZDF_Age_INV"  field_ref="ZDF_Age_E3T" long_name="ZDF_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="ZDP_Age"      long_name="Sea Water Age Kz Diffusive Trend"                 unit="1/s" />
+       <field id="ZDP_Age_E3T"  long_name="ZDP_Age * E3T"                                    unit="m/s" > ZDP_Age * e3t </field>
+       <field id="ZDP_Age_INV"  field_ref="ZDP_Age_E3T" long_name="ZDP_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="DMP_Age"      long_name="Sea Water Age Damping Trend"                      unit="1/s" />
+       <field id="DMP_Age_E3T"  long_name="DMP_Age * E3T"                                    unit="m/s" > DMP_Age * e3t </field>
+       <field id="DMP_Age_INV"  field_ref="DMP_Age_E3T" long_name="DMP_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="SMS_Age"      long_name="Sea Water Age Sources Minus Sinks Trend"          unit="1/s" />
+       <field id="SMS_Age_E3T"  long_name="SMS_Age * E3T"                                    unit="m/s" > SMS_Age * e3t </field>
+       <field id="SMS_Age_INV"  field_ref="SMS_Age_E3T" long_name="SMS_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="RDB_Age"      long_name="Sea Water Age-b negative values correction trend" unit="1/s" />
+       <field id="RDB_Age_E3T"  long_name="RDB_Age * E3T"                                    unit="m/s" > RDB_Age * e3t </field>
+       <field id="RDB_Age_INV"  field_ref="RDB_Age_E3T" long_name="RDB_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="RDN_Age"      long_name="Sea Water Age-n negative values correction trend" unit="1/s" />
+       <field id="RDN_Age_E3T"  long_name="RDN_Age * E3T"                                    unit="m/s" > RDN_Age * e3t </field>
+       <field id="RDN_Age_INV"  field_ref="RDN_Age_E3T" long_name="RDN_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+       <field id="ISO_Age"      long_name="Sea Water Age Isopycnal Mixing Trend"             unit="1/s" > LDF_Age + ZDF_Age - ZDP_Age  </field>
+       <field id="ISO_Age_E3T"  long_name="ISO_Age * E3T"                                    unit="m/s" > ISO_Age * e3t </field>
+       <field id="ISO_Age_INV"  field_ref="ISO_Age_E3T" long_name="ISO_Age Inventory"        unit="m/s" grid_ref="vert_sum" />
+     </field_group>
+     
+     <!--  All time-step trends (TOT) --> 
+     <field_group id="ptrd_T" grid_ref="grid_T_3D">  <!-- key_trdtrc || key_trdmlx_trc -->
+       <!-- trd case: jptra_tot -->
+       <field id="TOT_CHN"      long_name="Non-diatom Chl-a Total Trend"                      unit="mg Chl/m3/s" />
+       <field id="TOT_CHN_E3T"  long_name="TOT_CHN * E3T"                                     unit="mg Chl/m2/s" > TOT_CHN * e3t </field>
+       <field id="TOT_CHN_INV"  field_ref="TOT_CHN_E3T" long_name="TOT_CHN Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_CHD"      long_name="Diatom Chl-a Total Trend"                          unit="mg Chl/m3/s" />
+       <field id="TOT_CHD_E3T"  long_name="TOT_CHD * E3T"                                     unit="mg Chl/m2/s" > TOT_CHD * e3t </field>
+       <field id="TOT_CHD_INV"  field_ref="TOT_CHD_E3T" long_name="TOT_CHD Inventory"         unit="mg Chl/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_PHN"      long_name="non-diatom phytoplankton Total Trend"              unit="mmol-N/m3/s" />
+       <field id="TOT_PHN_E3T"  long_name="TOT_PHN * E3T"                                     unit="mmol-N/m2/s" > TOT_PHN * e3t </field>
+       <field id="TOT_PHN_INV"  field_ref="TOT_PHN_E3T" long_name="TOT_PHN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_PHD"      long_name="diatom     phytoplankton Total Trend"              unit="mmol-N/m3/s" />
+       <field id="TOT_PHD_E3T"  long_name="TOT_PHD * E3T"                                     unit="mmol-N/m2/s" > TOT_PHD * e3t </field>
+       <field id="TOT_PHD_INV"  field_ref="TOT_PHD_E3T" long_name="TOT_PHD Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_ZMI"      long_name="micro zooplankton Total Trend"                     unit="mmol-N/m3/s" />
+       <field id="TOT_ZMI_E3T"  long_name="TOT_ZMI * E3T"                                     unit="mmol-N/m2/s" > TOT_ZMI * e3t </field>
+       <field id="TOT_ZMI_INV"  field_ref="TOT_ZMI_E3T" long_name="TOT_ZMI Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_ZME"      long_name="meso  zooplankton Total Trend"                     unit="mmol-N/m3/s" />
+       <field id="TOT_ZME_E3T"  long_name="TOT_ZME * E3T"                                     unit="mmol-N/m2/s" > TOT_ZME * e3t </field>
+       <field id="TOT_ZME_INV"  field_ref="TOT_ZME_E3T" long_name="TOT_ZME Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_DIN"      long_name="dissolved inorganic nitrogen Total Trend"          unit="mmol-N/m3/s" />
+       <field id="TOT_DIN_E3T"  long_name="TOT_DIN * E3T"                                     unit="mmol-N/m2/s" > TOT_DIN * e3t </field>
+       <field id="TOT_DIN_INV"  field_ref="TOT_DIN_E3T" long_name="TOT_DIN Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_SIL"      long_name="dissolved silicic acid Total Trend"                unit="mmolSi/m3/s" />
+       <field id="TOT_SIL_E3T"  long_name="TOT_SIL * E3T"                                     unit="mmolSi/m2/s" > TOT_SIL * e3t </field>
+       <field id="TOT_SIL_INV"  field_ref="TOT_SIL_E3T" long_name="TOT_SIL Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_FER"      long_name="dissolved iron Total Trend"                        unit="mmolFe/m3/s" />
+       <field id="TOT_FER_E3T"  long_name="TOT_FER * E3T"                                     unit="mmolFe/m2/s" > TOT_FER * e3t </field>
+       <field id="TOT_FER_INV"  field_ref="TOT_FER_E3T" long_name="TOT_FER Inventory"         unit="mmolFe/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_DET"      long_name="detrital nitrogen Total Trend"                     unit="mmol-N/m3/s" />
+       <field id="TOT_DET_E3T"  long_name="TOT_DET * E3T"                                     unit="mmol-N/m2/s" > TOT_DET * e3t </field>
+       <field id="TOT_DET_INV"  field_ref="TOT_DET_E3T" long_name="TOT_DET Inventory"         unit="mmol-N/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_PDS"      long_name="Diatoms biogenic silicon Total Trend"              unit="mmolSi/m3/s" />
+       <field id="TOT_PDS_E3T"  long_name="TOT_PDS * E3T"                                     unit="mmolSi/m2/s" > TOT_PDS * e3t </field>
+       <field id="TOT_PDS_INV"  field_ref="TOT_PDS_E3T" long_name="TOT_PDS Inventory"         unit="mmolSi/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_DTC"      long_name="detrital carbon Total Trend"                       unit="mmol-C/m3/s" />
+       <field id="TOT_DTC_E3T"  long_name="TOT_DTC * E3T"                                     unit="mmol-C/m2/s" > TOT_DTC * e3t </field>
+       <field id="TOT_DTC_INV"  field_ref="TOT_DTC_E3T" long_name="TOT_DTC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_DiC"      long_name="dissolved inorganic carbon Total Trend"            unit="mmol-C/m3/s" />
+       <field id="TOT_DiC_E3T"  long_name="TOT_DiC * E3T"                                     unit="mmol-C/m2/s" > TOT_DiC * e3t </field>
+       <field id="TOT_DiC_INV"  field_ref="TOT_DiC_E3T" long_name="TOT_DiC Inventory"         unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_ALK"      long_name="alkalinity Total Trend"                            unit="meq/m3/s"    />
+       <field id="TOT_ALK_E3T"  long_name="TOT_ALK * E3T"                                     unit="meq/m2/s"    > TOT_ALK * e3t </field>
+       <field id="TOT_ALK_INV"  field_ref="TOT_ALK_E3T" long_name="TOT_ALK Inventory"         unit="meq/m2/s" grid_ref="vert_sum" />
+       <field id="TOT_OXY"      long_name="dissolved oxygen Total Trend"                      unit="mmolO2/m3/s" />
+       <field id="TOT_OXY_E3T"  long_name="TOT_OXY * E3T"                                     unit="mmolO2/m2/s" > TOT_OXY * e3t </field>
+       <field id="TOT_OXY_INV"  field_ref="TOT_OXY_E3T" long_name="TOT_OXY Inventory"         unit="mmolO2/m2/s" grid_ref="vert_sum" />
+       <!-- trd : VERIF TRENDS  -->
+       <!--  <field id="TOT_DIN_CHECK" long_name="DIN - indirect calculation TOTAL trend"           unit="mmol-N/m3/s" > TAD_DIN_E3T + BBL_DIN_E3T + ISO_DIN_E3T + ZDP_DIN_E3T + ATF_DIN_E3T + SMS_DIN_E3T </field>  -->
+
+      <!-- Ideal traceurs : variables available with key_idtra -->
+       <field id="TOT_IDTRA"      long_name="Ideal traceur Total Trend "                     unit="mmol/m3/s"    />
+       <field id="TOT_IDTRA_E3T"  long_name="TOT_IDTRA * E3T"                                unit="mmol/m2/s" > TOT_IDTRA * e3t </field>
+       <field id="TOT_IDTRA_INV"  field_ref="TOT_IDTRA_E3T" long_name="TOT_IDTRA Inventory" unit="mmol/m2/s" grid_ref="vert_sum" />
+
+       <!-- CFC11 : variables available with key_cfc -->
+       <field id="TOT_CFC11"       long_name="CFC11 Total Trend"                             unit="umol/m3/s" />
+       <field id="TOT_CFC11_E3T"   long_name="TOT_CFC11 * E3T"                               unit="umol/m2/s" > TOT_CFC11 * e3t </field>
+       <field id="TOT_CFC11_INV"   field_ref="TOT_CFC11_E3T" long_name="TOT_CFC11 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <!-- CFC12 : variables available with key_cfc -->
+       <field id="TOT_CFC12"       long_name="CFC12 Total Trend"                             unit="umol/m3/s" /> 
+       <field id="TOT_CFC12_E3T"   long_name="TOT_CFC12 * E3T"                               unit="umol/m2/s" > TOT_CFC12 * e3t </field>
+       <field id="TOT_CFC12_INV"   field_ref="TOT_CFC12_E3T" long_name="TOT_CFC12 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+       <!-- SF6 : variables available with key_cfc -->
+       <field id="TOT_SF6"         long_name="SF6 Total Trend"                           unit="umol/m3/s" />
+       <field id="TOT_SF6_E3T"     long_name="TOT_SF6 * E3T"                             unit="umol/m2/s" > TOT_SF6 * e3t </field>
+       <field id="TOT_SF6_INV"     field_ref="TOT_SF6_E3T" long_name="TOT_SF6 Inventory" unit="umol/m2/s" grid_ref="vert_sum" />
+
+       <!-- Bomb C14 : variables available with key_c14b -->
+       <field id="TOT_C14B"        long_name="Bomb C14 Total Trend"                        unit="1/s"         />
+       <field id="TOT_C14B_E3T"    long_name="TOT_C14B * E3T"                              unit="1/s" > TOT_C14B * e3t </field>
+       <field id="TOT_C14B_INV"    field_ref="TOT_C14B_E3T" long_name="TOT_C14B Inventory" unit="1/s" grid_ref="vert_sum" />
+
+       <!-- AGE : variables available with key_age -->
+       <field id="TOT_Age"        long_name="Sea Water Age Total Trend" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="TOT_Age_E3T"    long_name="TOT_Age * E3T"                              unit="yr m/s" > TOT_Age * e3t </field>
+       <field id="TOT_Age_INV"    field_ref="TOT_Age_E3T"  long_name="TOT_Age Inventory" unit="yr m/s" grid_ref="vert_sum" />
+     </field_group>
+
+
      <field_group id="PISCES_scalar"  grid_ref="scalar" >
        <field id="pno3tot"         long_name="global mean nitrate concentration"                  unit="mol/m3"   />
@@ -545,34 +1644,36 @@
 
     <field_group id="groupMEDUSA" >
-      <field field_ref="CHN"     name="CHN"      />
-      <field field_ref="CHN_E3T" name="CHN_E3T"  />
-      <field field_ref="CHD"     name="CHD"      />
-      <field field_ref="CHD_E3T" name="CHD_E3T"  />
-      <field field_ref="PHN"     name="PHN"      />
-      <field field_ref="PHN_E3T" name="PHN_E3T"  />
-      <field field_ref="PHD"     name="PHD"      />
-      <field field_ref="PHD_E3T" name="PHD_E3T"  />
-      <field field_ref="ZMI"     name="ZMI"      />
-      <field field_ref="ZMI_E3T" name="ZMI_E3T"  />
-      <field field_ref="ZME"     name="ZME"      />
-      <field field_ref="ZME_E3T" name="ZME_E3T"  />
-      <field field_ref="DIN"     name="DIN"      />
-      <field field_ref="DIN_E3T" name="DIN_E3T"  />
-      <field field_ref="SIL"     name="SIL"      />
-      <field field_ref="SIL_E3T" name="SIL_E3T"  />
-      <field field_ref="FER"     name="FER"      />
-      <field field_ref="FER_E3T" name="FER_E3T"  />
-      <field field_ref="DET"     name="DET"      />
-      <field field_ref="DET_E3T" name="DET_E3T"  />
-      <field field_ref="PDS"     name="PDS"      />
-      <field field_ref="PDS_E3T" name="PDS_E3T"  />
-      <field field_ref="DTC"     name="DTC"      />
-      <field field_ref="DTC_E3T" name="DTC_E3T"  />
-      <field field_ref="DiC"     name="DIC"      />
-      <field field_ref="DiC_E3T" name="DIC_E3T"  />
-      <field field_ref="ALK"     name="ALK"      />
-      <field field_ref="ALK_E3T" name="ALK_E3T"  />
-      <field field_ref="OXY"     name="OXY"      />
-      <field field_ref="OXY_E3T" name="OXY_E3T"  />
+      <field field_ref="CHN"      name="CHN"      />
+      <field field_ref="CHN_INV"  name="CHN_INV"  />
+      <field field_ref="SURF_CHN" name="SURF_CHN"  />
+      <field field_ref="CHD"      name="CHD"      />
+      <field field_ref="CHD_INV"  name="CHD_INV"  />
+      <field field_ref="SURF_CHD" name="SURF_CHD"  />
+      <field field_ref="PHN"      name="PHN"      />
+      <field field_ref="PHN_INV"  name="PHN_INV"  />
+      <field field_ref="PHD"      name="PHD"      />
+      <field field_ref="PHD_INV"  name="PHD_INV"  />
+      <field field_ref="ZMI"      name="ZMI"      />
+      <field field_ref="ZMI_INV"  name="ZMI_INV"  />
+      <field field_ref="ZME"      name="ZME"      />
+      <field field_ref="ZME_INV"  name="ZME_INV"  />
+      <field field_ref="DIN"      name="DIN"      />
+      <field field_ref="DIN_INV"  name="DIN_INV"  />
+      <field field_ref="SIL"      name="SIL"      />
+      <field field_ref="SIL_INV"  name="SIL_INV"  />
+      <field field_ref="FER"      name="FER"      />
+      <field field_ref="FER_INV"  name="FER_INV"  />
+      <field field_ref="DET"      name="DET"      />
+      <field field_ref="DET_INV"  name="DET_INV"  />
+      <field field_ref="PDS"      name="PDS"      />
+      <field field_ref="PDS_INV"  name="PDS_INV"  />
+      <field field_ref="DTC"      name="DTC"      />
+      <field field_ref="DTC_INV"  name="DTC_INV"  />
+      <field field_ref="DiC"      name="DIC"      />
+      <field field_ref="DiC_INV"  name="DIC_INV"  />
+      <field field_ref="ALK"      name="ALK"      />
+      <field field_ref="ALK_INV"  name="ALK_INV"  />
+      <field field_ref="OXY"      name="OXY"      />
+      <field field_ref="OXY_INV"  name="OXY_INV"  />
       </field_group>
 
@@ -584,14 +1685,11 @@
       <field field_ref="qtrIDTRA"    name="qtrIDTRA"  />
       <field field_ref="qintIDTRA"   name="qintIDTRA" />
-      <field field_ref="invIDTRA"    name="invIDTRA"  />
+      <field field_ref="IDTRA_INV"   name="IDTRA_INV"  />
     </field_group>
 
     <field_group id="groupCFC" >
       <field field_ref="CFC11"     name="CFC11"     />
-      <field field_ref="CFC11_E3T" name="CFC11_E3T" />
       <field field_ref="CFC12"     name="CFC12"     />
-      <field field_ref="CFC12_E3T" name="CFC12_E3T" />
       <field field_ref="SF6"       name="SF6"       />
-      <field field_ref="SF6_E3T"   name="SF6_E3T"   />
     </field_group>
 
@@ -599,8 +1697,11 @@
       <field field_ref="qtrCFC11"    name="qtrCFC11"   />
       <field field_ref="qintCFC11"   name="qintCFC11"  />
+      <field field_ref="CFC11_INV" name="CFC11_INV" />
       <field field_ref="qtrCFC12"    name="qtrCFC12"   />
       <field field_ref="qintCFC12"   name="qintCFC12"  />
+      <field field_ref="CFC12_INV" name="CFC12_INV" />
       <field field_ref="qtrSF6"      name="qtrSF6"     />
       <field field_ref="qintSF6"     name="qintSF6"    />
+      <field field_ref="SF6_INV"   name="SF6_INV"   />
     </field_group>
 
@@ -608,4 +1709,484 @@
       <field field_ref="Age" name="Age" />
     </field_group>
+
+
+    <field_group id="trendMEDUSA" >
+       <!-- trd case: jptra_xad -->
+       <field field_ref="XAD_CHN"     name="XAD_CHN"   />
+       <field field_ref="XAD_CHD"     name="XAD_CHD"   />
+       <field field_ref="XAD_PHN"     name="XAD_PHN"   />
+       <field field_ref="XAD_PHD"     name="XAD_PHD"   />
+       <field field_ref="XAD_ZMI"     name="XAD_ZMI"   />
+       <field field_ref="XAD_ZME"     name="XAD_ZME"   />
+       <field field_ref="XAD_DIN"     name="XAD_DIN"   />
+       <field field_ref="XAD_SIL"     name="XAD_SIL"   />
+       <field field_ref="XAD_FER"     name="XAD_FER"   />
+       <field field_ref="XAD_DET"     name="XAD_DET"   />
+       <field field_ref="XAD_PDS"     name="XAD_PDS"   />
+       <field field_ref="XAD_DTC"     name="XAD_DTC"   />
+       <field field_ref="XAD_DiC"     name="XAD_DiC"   />
+       <field field_ref="XAD_ALK"     name="XAD_ALK"   />
+       <field field_ref="XAD_OXY"     name="XAD_OXY"   />
+       <!-- trd case: jptra_yad -->
+       <field field_ref="YAD_CHN"     name="YAD_CHN"   />
+       <field field_ref="YAD_CHD"     name="YAD_CHD"   />
+       <field field_ref="YAD_PHN"     name="YAD_PHN"   />
+       <field field_ref="YAD_PHD"     name="YAD_PHD"   />
+       <field field_ref="YAD_ZMI"     name="YAD_ZMI"   />
+       <field field_ref="YAD_ZME"     name="YAD_ZME"   />
+       <field field_ref="YAD_DIN"     name="YAD_DIN"   />
+       <field field_ref="YAD_SIL"     name="YAD_SIL"   />
+       <field field_ref="YAD_FER"     name="YAD_FER"   />
+       <field field_ref="YAD_DET"     name="YAD_DET"   />
+       <field field_ref="YAD_PDS"     name="YAD_PDS"   />
+       <field field_ref="YAD_DTC"     name="YAD_DTC"   />
+       <field field_ref="YAD_DiC"     name="YAD_DiC"   />
+       <field field_ref="YAD_ALK"     name="YAD_ALK"   />
+       <field field_ref="YAD_OXY"     name="YAD_OXY"   />
+       <!-- trd case: jptra_zad -->
+       <field field_ref="ZAD_CHN"     name="ZAD_CHN"   />
+       <field field_ref="ZAD_CHD"     name="ZAD_CHD"   />
+       <field field_ref="ZAD_PHN"     name="ZAD_PHN"   />
+       <field field_ref="ZAD_PHD"     name="ZAD_PHD"   />
+       <field field_ref="ZAD_ZMI"     name="ZAD_ZMI"   />
+       <field field_ref="ZAD_ZME"     name="ZAD_ZME"   />
+       <field field_ref="ZAD_DIN"     name="ZAD_DIN"   />
+       <field field_ref="ZAD_SIL"     name="ZAD_SIL"   />
+       <field field_ref="ZAD_FER"     name="ZAD_FER"   />
+       <field field_ref="ZAD_DET"     name="ZAD_DET"   />
+       <field field_ref="ZAD_PDS"     name="ZAD_PDS"   />
+       <field field_ref="ZAD_DTC"     name="ZAD_DTC"   />
+       <field field_ref="ZAD_DiC"     name="ZAD_DiC"   />
+       <field field_ref="ZAD_ALK"     name="ZAD_ALK"   />
+       <field field_ref="ZAD_OXY"     name="ZAD_OXY"   />
+       <!-- trd case: jptra_totad -->
+       <field field_ref="TAD_CHN"      name="TAD_CHN"   />
+       <field field_ref="TAD_CHN_INV"  name="TAD_CHN_INV"   />
+       <field field_ref="TAD_CHD"      name="TAD_CHD"   />
+       <field field_ref="TAD_CHD_INV"  name="TAD_CHD_INV"   />
+       <field field_ref="TAD_PHN"      name="TAD_PHN"   />
+       <field field_ref="TAD_PHN_INV"  name="TAD_PHN_INV"   />
+       <field field_ref="TAD_PHD"      name="TAD_PHD"   />
+       <field field_ref="TAD_PHD_INV"  name="TAD_PHD_INV"   />
+       <field field_ref="TAD_ZMI"      name="TAD_ZMI"   />
+       <field field_ref="TAD_ZMI_INV"  name="TAD_ZMI_INV"   />
+       <field field_ref="TAD_ZME"      name="TAD_ZME"   />
+       <field field_ref="TAD_ZME_INV"  name="TAD_ZME_INV"   />
+       <field field_ref="TAD_DIN"      name="TAD_DIN"   />
+       <field field_ref="TAD_DIN_INV"  name="TAD_DIN_INV"   />
+       <field field_ref="TAD_SIL"      name="TAD_SIL"   />
+       <field field_ref="TAD_SIL_INV"  name="TAD_SIL_INV"   />
+       <field field_ref="TAD_FER"      name="TAD_FER"   />
+       <field field_ref="TAD_FER_INV"  name="TAD_FER_INV"   />
+       <field field_ref="TAD_DET"      name="TAD_DET"   />
+       <field field_ref="TAD_DET_INV"  name="TAD_DET_INV"   />
+       <field field_ref="TAD_PDS"      name="TAD_PDS"   />
+       <field field_ref="TAD_PDS_INV"  name="TAD_PDS_INV"   />
+       <field field_ref="TAD_DTC"      name="TAD_DTC"   />
+       <field field_ref="TAD_DTC_INV"  name="TAD_DTC_INV"   />
+       <field field_ref="TAD_DiC"      name="TAD_DiC"   />
+       <field field_ref="TAD_DiC_INV"  name="TAD_DiC_INV"   />
+       <field field_ref="TAD_ALK"      name="TAD_ALK"   />
+       <field field_ref="TAD_ALK_INV"  name="TAD_ALK_INV"   />
+       <field field_ref="TAD_OXY"      name="TAD_OXY"   />
+       <field field_ref="TAD_OXY_INV"  name="TAD_OXY_INV"   />
+       <!-- trd case: jptra_ldf -->
+       <field field_ref="LDF_CHN"      name="LDF_CHN"   />
+       <field field_ref="LDF_CHD"      name="LDF_CHD"   />
+       <field field_ref="LDF_PHN"      name="LDF_PHN"   />
+       <field field_ref="LDF_PHD"      name="LDF_PHD"   />
+       <field field_ref="LDF_ZMI"      name="LDF_ZMI"   />
+       <field field_ref="LDF_ZME"      name="LDF_ZME"   />
+       <field field_ref="LDF_DIN"      name="LDF_DIN"   />
+       <field field_ref="LDF_SIL"      name="LDF_SIL"   />
+       <field field_ref="LDF_FER"      name="LDF_FER"   />
+       <field field_ref="LDF_DET"      name="LDF_DET"   />
+       <field field_ref="LDF_PDS"      name="LDF_PDS"   />
+       <field field_ref="LDF_DTC"      name="LDF_DTC"   />
+       <field field_ref="LDF_DiC"      name="LDF_DiC"   />
+       <field field_ref="LDF_ALK"      name="LDF_ALK"   />
+       <field field_ref="LDF_OXY"      name="LDF_OXY"   />
+       <!-- trd case: jptra_bbl -->
+       <field field_ref="BBL_CHN"      name="BBL_CHN"   />
+       <field field_ref="BBL_CHD"      name="BBL_CHD"   />
+       <field field_ref="BBL_PHN"      name="BBL_PHN"   />
+       <field field_ref="BBL_PHD"      name="BBL_PHD"   />
+       <field field_ref="BBL_ZMI"      name="BBL_ZMI"   />
+       <field field_ref="BBL_ZME"      name="BBL_ZME"   />
+       <field field_ref="BBL_DIN"      name="BBL_DIN"   />
+       <field field_ref="BBL_SIL"      name="BBL_SIL"   />
+       <field field_ref="BBL_FER"      name="BBL_FER"   />
+       <field field_ref="BBL_DET"      name="BBL_DET"   />
+       <field field_ref="BBL_PDS"      name="BBL_PDS"   />
+       <field field_ref="BBL_DTC"      name="BBL_DTC"   />
+       <field field_ref="BBL_DiC"      name="BBL_DiC"   />
+       <field field_ref="BBL_ALK"      name="BBL_ALK"   />
+       <field field_ref="BBL_OXY"      name="BBL_OXY"   />
+       <!-- trd case: jptra_nsr -->
+       <field field_ref="FOR_CHN"      name="FOR_CHN"   />
+       <field field_ref="FOR_CHD"      name="FOR_CHD"   />
+       <field field_ref="FOR_PHN"      name="FOR_PHN"   />
+       <field field_ref="FOR_PHD"      name="FOR_PHD"   />
+       <field field_ref="FOR_ZMI"      name="FOR_ZMI"   />
+       <field field_ref="FOR_ZME"      name="FOR_ZME"   />
+       <field field_ref="FOR_DIN"      name="FOR_DIN"   />
+       <field field_ref="FOR_SIL"      name="FOR_SIL"   />
+       <field field_ref="FOR_FER"      name="FOR_FER"   />
+       <field field_ref="FOR_DET"      name="FOR_DET"   />
+       <field field_ref="FOR_PDS"      name="FOR_PDS"   />
+       <field field_ref="FOR_DTC"      name="FOR_DTC"   />
+       <field field_ref="FOR_DiC"      name="FOR_DiC"   />
+       <field field_ref="FOR_ALK"      name="FOR_ALK"   />
+       <field field_ref="FOR_OXY"      name="FOR_OXY"   />
+       <!-- trd case: jptra_zdf -->
+       <field field_ref="ZDF_CHN"      name="ZDF_CHN"   />
+       <field field_ref="ZDF_CHD"      name="ZDF_CHD"   />
+       <field field_ref="ZDF_PHN"      name="ZDF_PHN"   />
+       <field field_ref="ZDF_PHD"      name="ZDF_PHD"   />
+       <field field_ref="ZDF_ZMI"      name="ZDF_ZMI"   />
+       <field field_ref="ZDF_ZME"      name="ZDF_ZME"   />
+       <field field_ref="ZDF_DIN"      name="ZDF_DIN"   />
+       <field field_ref="ZDF_SIL"      name="ZDF_SIL"   />
+       <field field_ref="ZDF_FER"      name="ZDF_FER"   />
+       <field field_ref="ZDF_DET"      name="ZDF_DET"   />
+       <field field_ref="ZDF_PDS"      name="ZDF_PDS"   />
+       <field field_ref="ZDF_DTC"      name="ZDF_DTC"   />
+       <field field_ref="ZDF_DiC"      name="ZDF_DiC"   />
+       <field field_ref="ZDF_ALK"      name="ZDF_ALK"   />
+       <field field_ref="ZDF_OXY"      name="ZDF_OXY"   />
+       <!-- trd case: jptra_zdfp -->
+       <field field_ref="ZDP_CHN"      name="ZDP_CHN"   />
+       <field field_ref="ZDP_CHD"      name="ZDP_CHD"   />
+       <field field_ref="ZDP_PHN"      name="ZDP_PHN"   />
+       <field field_ref="ZDP_PHD"      name="ZDP_PHD"   />
+       <field field_ref="ZDP_ZMI"      name="ZDP_ZMI"   />
+       <field field_ref="ZDP_ZME"      name="ZDP_ZME"   />
+       <field field_ref="ZDP_DIN"      name="ZDP_DIN"   />
+       <field field_ref="ZDP_SIL"      name="ZDP_SIL"   />
+       <field field_ref="ZDP_FER"      name="ZDP_FER"   />
+       <field field_ref="ZDP_DET"      name="ZDP_DET"   />
+       <field field_ref="ZDP_PDS"      name="ZDP_PDS"   />
+       <field field_ref="ZDP_DTC"      name="ZDP_DTC"   />
+       <field field_ref="ZDP_DiC"      name="ZDP_DiC"   />
+       <field field_ref="ZDP_ALK"      name="ZDP_ALK"   />
+       <field field_ref="ZDP_OXY"      name="ZDP_OXY"   />
+       <!-- trd case: jptra_dmp --> 
+       <!-- NO DAMPING IN MEDUSA - COMMENT DO AVOID NaN  
+       <field field_ref="DMP_CHN"      name="DMP_CHN"   />
+       <field field_ref="DMP_CHD"      name="DMP_CHD"   />
+       <field field_ref="DMP_PHN"      name="DMP_PHN"   />
+       <field field_ref="DMP_PHD"      name="DMP_PHD"   />
+       <field field_ref="DMP_ZMI"      name="DMP_ZMI"   />
+       <field field_ref="DMP_ZME"      name="DMP_ZME"   />
+       <field field_ref="DMP_DIN"      name="DMP_DIN"   />
+       <field field_ref="DMP_SIL"      name="DMP_SIL"   />
+       <field field_ref="DMP_FER"      name="DMP_FER"   />
+       <field field_ref="DMP_DET"      name="DMP_DET"   />
+       <field field_ref="DMP_PDS"      name="DMP_PDS"   />
+       <field field_ref="DMP_DTC"      name="DMP_DTC"   />
+       <field field_ref="DMP_DiC"      name="DMP_DiC"   />
+       <field field_ref="DMP_ALK"      name="DMP_ALK"   />
+       <field field_ref="DMP_OXY"      name="DMP_OXY"   /> -->
+       <!-- trd case: jptra_sms -->
+       <field field_ref="SMS_CHN"      name="SMS_CHN"   />
+       <field field_ref="SMS_CHN_INV"  name="SMS_CHN_INV"   />
+       <field field_ref="SMS_CHD"      name="SMS_CHD"   />
+       <field field_ref="SMS_CHD_INV"  name="SMS_CHD_INV"   />
+       <field field_ref="SMS_PHN"      name="SMS_PHN"   />
+       <field field_ref="SMS_PHN_INV"  name="SMS_PHN_INV"   />
+       <field field_ref="SMS_PHD"      name="SMS_PHD"   />
+       <field field_ref="SMS_PHD_INV"  name="SMS_PHD_INV"   />
+       <field field_ref="SMS_ZMI"      name="SMS_ZMI"   />
+       <field field_ref="SMS_ZMI_INV"  name="SMS_ZMI_INV"   />
+       <field field_ref="SMS_ZME"      name="SMS_ZME"   />
+       <field field_ref="SMS_ZME_INV"  name="SMS_ZME_INV"   />
+       <field field_ref="SMS_DIN"      name="SMS_DIN"   />
+       <field field_ref="SMS_DIN_INV"  name="SMS_DIN_INV"   />
+       <field field_ref="SMS_SIL"      name="SMS_SIL"   />
+       <field field_ref="SMS_SIL_INV"  name="SMS_SIL_INV"   />
+       <field field_ref="SMS_FER"      name="SMS_FER"   />
+       <field field_ref="SMS_FER_INV"  name="SMS_FER_INV"   />
+       <field field_ref="SMS_DET"      name="SMS_DET"   />
+       <field field_ref="SMS_DET_INV"  name="SMS_DET_INV"   />
+       <field field_ref="SMS_PDS"      name="SMS_PDS"   />
+       <field field_ref="SMS_PDS_INV"  name="SMS_PDS_INV"   />
+       <field field_ref="SMS_DTC"      name="SMS_DTC"   />
+       <field field_ref="SMS_DTC_INV"  name="SMS_DTC_INV"   />
+       <field field_ref="SMS_DiC"      name="SMS_DiC"   /> 
+       <field field_ref="SMS_DiC_INV"  name="SMS_DiC_INV"   />
+       <field field_ref="SMS_ALK"      name="SMS_ALK"   />
+       <field field_ref="SMS_ALK_INV"  name="SMS_ALK_INV"   />
+       <field field_ref="SMS_OXY"      name="SMS_OXY"   />
+       <field field_ref="SMS_OXY_INV"  name="SMS_OXY_INV"   />
+       <!-- trd case: jptra_atf -->
+       <field field_ref="ATF_CHN"      name="ATF_CHN"   />
+       <field field_ref="ATF_CHD"      name="ATF_CHD"   />
+       <field field_ref="ATF_PHN"      name="ATF_PHN"   />
+       <field field_ref="ATF_PHD"      name="ATF_PHD"   /> 
+       <field field_ref="ATF_ZMI"      name="ATF_ZMI"   />
+       <field field_ref="ATF_ZME"      name="ATF_ZME"   />
+       <field field_ref="ATF_DIN"      name="ATF_DIN"   />
+       <field field_ref="ATF_SIL"      name="ATF_SIL"   />
+       <field field_ref="ATF_FER"      name="ATF_FER"   />
+       <field field_ref="ATF_DET"      name="ATF_DET"   />
+       <field field_ref="ATF_PDS"      name="ATF_PDS"   />
+       <field field_ref="ATF_DTC"      name="ATF_DTC"   />
+       <field field_ref="ATF_DiC"      name="ATF_DiC"   />
+       <field field_ref="ATF_ALK"      name="ATF_ALK"   />
+       <field field_ref="ATF_OXY"      name="ATF_OXY"   /> 
+       <!-- trd case: jptra_tot -->   
+       <field field_ref="TOT_CHN"      name="TOT_CHN"   />
+       <field field_ref="TOT_CHN_INV"  name="TOT_CHN_INV"   />
+       <field field_ref="TOT_CHD"      name="TOT_CHD"   />
+       <field field_ref="TOT_CHD_INV"  name="TOT_CHD_INV"   />
+       <field field_ref="TOT_PHN"      name="TOT_PHN"   />
+       <field field_ref="TOT_PHN_INV"  name="TOT_PHN_INV"   />
+       <field field_ref="TOT_PHD"      name="TOT_PHD"   />
+       <field field_ref="TOT_PHD_INV"  name="TOT_PHD_INV"   />
+       <field field_ref="TOT_ZMI"      name="TOT_ZMI"   />
+       <field field_ref="TOT_ZMI_INV"  name="TOT_ZMI_INV"   />
+       <field field_ref="TOT_ZME"      name="TOT_ZME"   />
+       <field field_ref="TOT_ZME_INV"  name="TOT_ZME_INV"   />
+       <field field_ref="TOT_DIN"      name="TOT_DIN"   />
+       <field field_ref="TOT_DIN_INV"  name="TOT_DIN_INV"   />
+       <field field_ref="TOT_SIL"      name="TOT_SIL"   />
+       <field field_ref="TOT_SIL_INV"  name="TOT_SIL_INV"   />
+       <field field_ref="TOT_FER"      name="TOT_FER"   />
+       <field field_ref="TOT_FER_INV"  name="TOT_FER_INV"   />
+       <field field_ref="TOT_DET"      name="TOT_DET"   />
+       <field field_ref="TOT_DET_INV"  name="TOT_DET_INV"   />
+       <field field_ref="TOT_PDS"      name="TOT_PDS"   />
+       <field field_ref="TOT_PDS_INV"  name="TOT_PDS_INV"   />
+       <field field_ref="TOT_DTC"      name="TOT_DTC"   />
+       <field field_ref="TOT_DTC_INV"  name="TOT_DTC_INV"   />
+       <field field_ref="TOT_DiC"      name="TOT_DiC"   />
+       <field field_ref="TOT_DiC_INV"  name="TOT_DiC_INV"   />
+       <field field_ref="TOT_ALK"      name="TOT_ALK"   />   
+       <field field_ref="TOT_ALK_INV"  name="TOT_ALK_INV"   />
+       <field field_ref="TOT_OXY"      name="TOT_OXY"   />
+       <field field_ref="TOT_OXY_INV"  name="TOT_OXY_INV"   />  
+       <!-- trd case: jptra_iso -->
+       <field field_ref="ISO_CHN"      name="ISO_CHN"   />   
+       <field field_ref="ISO_CHD"      name="ISO_CHD"   />    
+       <field field_ref="ISO_PHN"      name="ISO_PHN"   />     
+       <field field_ref="ISO_PHD"      name="ISO_PHD"   /> 
+       <field field_ref="ISO_ZMI"      name="ISO_ZMI"   />  
+       <field field_ref="ISO_ZME"      name="ISO_ZME"   />   
+       <field field_ref="ISO_DIN"      name="ISO_DIN"   />    
+       <field field_ref="ISO_SIL"      name="ISO_SIL"   />     
+       <field field_ref="ISO_FER"      name="ISO_FER"   />      
+       <field field_ref="ISO_DET"      name="ISO_DET"   /> 
+       <field field_ref="ISO_PDS"      name="ISO_PDS"   />  
+       <field field_ref="ISO_DTC"      name="ISO_DTC"   />   
+       <field field_ref="ISO_DiC"      name="ISO_DiC"   />    
+       <field field_ref="ISO_ALK"      name="ISO_ALK"   />     
+       <field field_ref="ISO_OXY"      name="ISO_OXY"   />      
+    </field_group>
+
+    <field_group id="trendCFC11" >
+          <!-- cfc11 -->
+          <field field_ref="TOT_CFC11"     name="TOT_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="TOT_CFC11_INV" name="TOT_CFC11_INV" standard_name="CFC-11_Concentration"                  />
+          <field field_ref="XAD_CFC11"     name="XAD_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="YAD_CFC11"     name="YAD_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="ZAD_CFC11"     name="ZAD_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="TAD_CFC11"     name="TAD_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="TAD_CFC11_INV" name="TAD_CFC11_INV" standard_name="CFC-11_Concentration"                  />
+          <field field_ref="LDF_CFC11"     name="LDF_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="BBL_CFC11"     name="BBL_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="FOR_CFC11"     name="FOR_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="ZDF_CFC11"     name="ZDF_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="ZDP_CFC11"     name="ZDP_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <!-- <field field_ref="DMP_CFC11"     name="DMP_CFC11"     standard_name="CFC-11_Concentration"             /> -->
+          <field field_ref="SMS_CFC11"     name="SMS_CFC11"     standard_name="CFC-11_Concentration"                  />
+          <field field_ref="SMS_CFC11_INV" name="SMS_CFC11_INV" standard_name="CFC-11_Concentration"                  />
+          <field field_ref="ATF_CFC11"     name="ATF_CFC11"     standard_name="CFC-11_Concentration"                  /> 
+          <field field_ref="ISO_CFC11"     name="ISO_CFC11"     standard_name="CFC-11_Concentration"                  />
+   </field_group>
+
+    <field_group id="trendCFC12" >
+          <!-- cfc12 -->
+          <field field_ref="TOT_CFC12"     name="TOT_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="TOT_CFC12_INV" name="TOT_CFC12_INV" standard_name="CFC-12_Concentration"                  />
+          <field field_ref="XAD_CFC12"     name="XAD_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="YAD_CFC12"     name="YAD_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="ZAD_CFC12"     name="ZAD_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="TAD_CFC12"     name="TAD_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="TAD_CFC12_INV" name="TAD_CFC12_INV" standard_name="CFC-12_Concentration"                  />
+          <field field_ref="LDF_CFC12"     name="LDF_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="BBL_CFC12"     name="BBL_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="FOR_CFC12"     name="FOR_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="ZDF_CFC12"     name="ZDF_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="ZDP_CFC12"     name="ZDP_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <!-- <field field_ref="DMP_CFC12"     name="DMP_CFC12"     standard_name="CFC-12_Concentration"             /> -->
+          <field field_ref="SMS_CFC12"     name="SMS_CFC12"     standard_name="CFC-12_Concentration"                  />
+          <field field_ref="SMS_CFC12_INV" name="SMS_CFC12_INV" standard_name="CFC-12_Concentration"                  />
+          <field field_ref="ATF_CFC12"     name="ATF_CFC12"     standard_name="CFC-12_Concentration"                  /> 
+          <field field_ref="ISO_CFC12"     name="ISO_CFC12"     standard_name="CFC-12_Concentration"                  />
+   </field_group>
+
+    <field_group id="trendSF6" >
+          <!-- sf6 -->
+          <field field_ref="TOT_SF6"      name="TOT_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="TOT_SF6_INV"  name="TOT_SF6_INV"  standard_name="SF6_Concentration"                     />
+          <field field_ref="XAD_SF6"      name="XAD_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="YAD_SF6"      name="YAD_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="ZAD_SF6"      name="ZAD_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="TAD_SF6"      name="TAD_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="TAD_SF6_INV"  name="TAD_SF6_INV"  standard_name="SF6_Concentration"                     />
+          <field field_ref="LDF_SF6"      name="LDF_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="BBL_SF6"      name="BBL_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="FOR_SF6"      name="FOR_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="ZDF_SF6"      name="ZDF_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="ZDP_SF6"      name="ZDP_SF6"      standard_name="SF6_Concentration"                     />
+          <!-- <field field_ref="DMP_SF6"      name="DMP_SF6"      standard_name="SF6_Concentration"                /> -->
+          <field field_ref="SMS_SF6"      name="SMS_SF6"      standard_name="SF6_Concentration"                     />
+          <field field_ref="SMS_SF6_INV"  name="SMS_SF6_INV"  standard_name="SF6_Concentration"                     />
+          <field field_ref="ATF_SF6"      name="ATF_SF6"      standard_name="SF6_Concentration"                     /> 
+          <field field_ref="ISO_SF6"      name="ISO_SF6"      standard_name="SF6_Concentration"                     />
+   </field_group>
+
+    <field_group id="trendAGE" >
+          <!-- age -->
+          <field field_ref="TOT_Age"      name="TOT_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="TOT_Age_INV"  name="TOT_Age_INV"  standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="XAD_Age"      name="XAD_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="YAD_Age"      name="YAD_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="ZAD_Age"      name="ZAD_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="TAD_Age"      name="TAD_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="TAD_Age_INV"  name="TAD_Age_INV"  standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="LDF_Age"      name="LDF_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="BBL_Age"      name="BBL_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="FOR_Age"      name="FOR_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="ZDF_Age"      name="ZDF_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="ZDP_Age"      name="ZDP_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <!-- <field field_ref="DMP_Age"      name="DMP_Age"      standard_name="sea_water_age_since_surface_contact" /> -->
+          <field field_ref="SMS_Age"      name="SMS_Age"      standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="SMS_Age_INV"  name="SMS_Age_INV"  standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="ATF_Age"      name="ATF_Age"      standard_name="sea_water_age_since_surface_contact"   /> 
+          <field field_ref="ISO_Age"      name="ISO_Age"      standard_name="sea_water_age_since_surface_contact"   />
+   </field_group>
+
+    <field_group id="trendIDTRA" >
+          <!-- Ideal tracer -->
+          <field field_ref="TOT_IDTRA"      name="TOT_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="TOT_IDTRA_INV"  name="TOT_IDTRA_INV"  standard_name="IDTRA_Concentration"               />
+          <field field_ref="XAD_IDTRA"      name="XAD_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="YAD_IDTRA"      name="YAD_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="ZAD_IDTRA"      name="ZAD_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="TAD_IDTRA"      name="TAD_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="TAD_IDTRA_INV"  name="TAD_IDTRA_INV"  standard_name="IDTRA_Concentration"               />
+          <field field_ref="LDF_IDTRA"      name="LDF_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="BBL_IDTRA"      name="BBL_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="FOR_IDTRA"      name="FOR_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="ZDF_IDTRA"      name="ZDF_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="ZDP_IDTRA"      name="ZDP_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <!-- <field field_ref="DMP_IDTRA"      name="DMP_IDTRA"      standard_name="IDTRA_Concentration"          /> -->
+          <field field_ref="SMS_IDTRA"      name="SMS_IDTRA"      standard_name="IDTRA_Concentration"               />
+          <field field_ref="SMS_IDTRA_INV"  name="SMS_IDTRA_INV"  standard_name="IDTRA_Concentration"               />
+          <field field_ref="ATF_IDTRA"      name="ATF_IDTRA"      standard_name="IDTRA_Concentration"               /> 
+          <field field_ref="ISO_IDTRA"      name="ISO_IDTRA"      standard_name="IDTRA_Concentration"               />
+   </field_group>
+
+    <field_group id="trendC14B" >
+          <!-- c14 bomb -->
+          <field field_ref="TOT_C14B"      name="TOT_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="TOT_C14B_INV"  name="TOT_C14B_INV"  standard_name="C14b_Concentration"               />
+          <field field_ref="XAD_C14B"      name="XAD_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="YAD_C14B"      name="YAD_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="ZAD_C14B"      name="ZAD_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="TAD_C14B"      name="TAD_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="TAD_C14B_INV"  name="TAD_C14B_INV"  standard_name="C14b_Concentration"               />
+          <field field_ref="LDF_C14B"      name="LDF_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="BBL_C14B"      name="BBL_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="FOR_C14B"      name="FOR_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="ZDF_C14B"      name="ZDF_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="ZDP_C14B"      name="ZDP_C14B"      standard_name="C14b_Concentration"               />
+          <!-- <field field_ref="DMP_C14B"      name="DMP_C14B"      standard_name="C14b_Concentration"          /> -->
+          <field field_ref="SMS_C14B"      name="SMS_C14B"      standard_name="C14b_Concentration"               />
+          <field field_ref="SMS_C14B_INV"  name="SMS_C14B_INV"  standard_name="C14b_Concentration"               />
+          <field field_ref="ATF_C14B"      name="ATF_C14B"      standard_name="C14b_Concentration"               /> 
+          <field field_ref="ISO_C14B"      name="ISO_C14B"      standard_name="C14b_Concentration"               />
+   </field_group>
+
+
+    <field_group id="trendMEDUSA_cmip6" >
+       <!-- trd case: jptra_sms -->
+       <field field_ref="SMS_DIN_E3T"  name="SMS_DIN_E3T"   />
+       <field field_ref="SMS_SIL_E3T"  name="SMS_SIL_E3T"   />
+       <field field_ref="SMS_FER_E3T"  name="SMS_FER_E3T"   />
+       <field field_ref="SMS_DiC_E3T"  name="SMS_DiC_E3T"   />
+       <field field_ref="SMS_ALK_E3T"  name="SMS_ALK_E3T"   />
+       <!-- trd case: jptra_tot -->
+       <field field_ref="TOT_DIN_E3T"  name="TOT_DIN_E3T"   />
+       <field field_ref="TOT_SIL_E3T"  name="TOT_SIL_E3T"   />
+       <field field_ref="TOT_FER_E3T"  name="TOT_FER_E3T"   />
+       <field field_ref="TOT_DiC_E3T"  name="TOT_DiC_E3T"   />
+       <field field_ref="TOT_ALK_E3T"  name="TOT_ALK_E3T"   />
+    </field_group>
+
+    <field_group id="trendMEDUSA_cmip6_inv" >
+       <!-- trd case: jptra_sms -->
+       <field field_ref="SMS_DIN_INV"  name="SMS_DIN_INV"   />
+       <field field_ref="SMS_SIL_INV"  name="SMS_SIL_INV"   />
+       <field field_ref="SMS_FER_INV"  name="SMS_FER_INV"   />
+       <field field_ref="SMS_DiC_INV"  name="SMS_DiC_INV"   />
+       <field field_ref="SMS_ALK_INV"  name="SMS_ALK_INV"   />
+       <!-- trd case: jptra_tot -->   
+       <field field_ref="TOT_DIN_INV"  name="TOT_DIN_INV"   />
+       <field field_ref="TOT_SIL_INV"  name="TOT_SIL_INV"   />
+       <field field_ref="TOT_FER_INV"  name="TOT_FER_INV"   />
+       <field field_ref="TOT_DiC_INV"  name="TOT_DiC_INV"   />
+       <field field_ref="TOT_ALK_INV"  name="TOT_ALK_INV"   />
+    </field_group>
+
+
+    <field_group id="trendCFC11_short" >
+          <!-- cfc11 -->
+          <field field_ref="TOT_CFC11_E3T" name="TOT_CFC11_E3T" standard_name="CFC-11_Concentration"                  />
+          <field field_ref="TOT_CFC11_INV" name="TOT_CFC11_INV" standard_name="CFC-11_Concentration"                  />
+          <field field_ref="SMS_CFC11_E3T" name="SMS_CFC11_E3T" standard_name="CFC-11_Concentration"                  />
+          <field field_ref="SMS_CFC11_INV" name="SMS_CFC11_INV" standard_name="CFC-11_Concentration"                  />
+   </field_group>
+
+    <field_group id="trendCFC12_short" >
+          <!-- cfc12 -->
+          <field field_ref="TOT_CFC12_E3T" name="TOT_CFC12_E3T" standard_name="CFC-12_Concentration"                  />
+          <field field_ref="TOT_CFC12_INV" name="TOT_CFC12_INV" standard_name="CFC-12_Concentration"                  />
+          <field field_ref="SMS_CFC12_E3T" name="SMS_CFC12_E3T" standard_name="CFC-12_Concentration"                  />
+          <field field_ref="SMS_CFC12_INV" name="SMS_CFC12_INV" standard_name="CFC-12_Concentration"                  />
+   </field_group>
+
+    <field_group id="trendSF6_short" >
+          <!-- sf6 -->
+          <field field_ref="TOT_SF6_E3T"  name="TOT_SF6_E3T"  standard_name="SF6_Concentration"                     />
+          <field field_ref="TOT_SF6_INV"  name="TOT_SF6_INV"  standard_name="SF6_Concentration"                     />
+          <field field_ref="SMS_SF6_E3T"  name="SMS_SF6_E3T"  standard_name="SF6_Concentration"                     />
+          <field field_ref="SMS_SF6_INV"  name="SMS_SF6_INV"  standard_name="SF6_Concentration"                     />
+   </field_group>
+
+    <field_group id="trendAGE_short" >
+          <!-- age -->
+          <field field_ref="TOT_Age_E3T"  name="TOT_Age_E3T"  standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="TOT_Age_INV"  name="TOT_Age_INV"  standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="SMS_Age_E3T"  name="SMS_Age_E3T"  standard_name="sea_water_age_since_surface_contact"   />
+          <field field_ref="SMS_Age_INV"  name="SMS_Age_INV"  standard_name="sea_water_age_since_surface_contact"   />
+   </field_group>
+
+    <field_group id="trendIDTRA_short" >
+          <!-- Ideal tracer -->
+          <field field_ref="TOT_IDTRA_E3T"  name="TOT_IDTRA_E3T"  standard_name="IDTRA_Concentration"               />
+          <field field_ref="TOT_IDTRA_INV"  name="TOT_IDTRA_INV"  standard_name="IDTRA_Concentration"               />
+          <field field_ref="SMS_IDTRA_E3T"  name="SMS_IDTRA_E3T"  standard_name="IDTRA_Concentration"               />
+          <field field_ref="SMS_IDTRA_INV"  name="SMS_IDTRA_INV"  standard_name="IDTRA_Concentration"               />
+   </field_group>
+
+    <field_group id="trendC14B_short" >
+          <!-- c14 bomb -->
+          <field field_ref="TOT_C14B_E3T"  name="TOT_C14B_E3T"  standard_name="C14b_Concentration"               />
+          <field field_ref="TOT_C14B_INV"  name="TOT_C14B_INV"  standard_name="C14b_Concentration"               />
+          <field field_ref="SMS_C14B_E3T"  name="SMS_C14B_E3T"  standard_name="C14b_Concentration"               />
+          <field field_ref="SMS_C14B_INV"  name="SMS_C14B_INV"  standard_name="C14b_Concentration"               />
+   </field_group>
 
     <field_group id="groupMEDUSA_dia" >
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/iodef_medusa_et_al.xml
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/iodef_medusa_et_al.xml	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/iodef_medusa_et_al.xml	(revision 9173)
@@ -24,6 +24,12 @@
 ============================================================================================================
     -->
-
-    <file_definition type="multiple_file" name="@expname@_@freq@_@startdate@_@enddate@" sync_freq="1mo" min_digits="4">
+    
+<!-- NOTE: *  sync_freq  is the frequency of update of / buffer flush to the output files
+           *  min_digits is the number of digits to use to represent the decomposition in the file name (_0000.nc)
+	   *  output_freq is the write frequency (subject to the setting for "operation"). However note that when output_freq < rn_rdt, 
+		the *** file time coordinate spacing is forced to output_freq *** (r429).      
+																-->
+    
+    <file_definition type="multiple_file" sync_freq="1mo" min_digits="4" name="@expname@_@freq@_@startdate@_@enddate@" time_counter="record">
     
       <file_group id="1ts" output_freq="1ts"  output_level="10" enabled=".TRUE."/> <!-- 1 time step files -->
@@ -38,144 +44,8 @@
       <file_group id="3d" output_freq="3d"  output_level="10" enabled=".TRUE."/> <!-- 3d files -->    
 
-      <file_group id="10d" output_freq="10d" output_level="10" enabled=".TRUE."> <!-- 10d files -->
-
-	<file id="file1" name_suffix="_grid_T" description="ocean T grid variables" >
-          <field field_ref="e3t"          name="e3t"        standard_name="cell_thickness" />
-          <field field_ref="toce"         name="votemper"        operation="average" freq_op="1mo" > @toce_e3t / @e3t </field>
-          <field field_ref="toce"         name="votemper2"       operation="average" freq_op="1mo" > @toce2_e3t / @e3t </field>
-          <field field_ref="soce"         name="vosaline"        operation="average" freq_op="1mo" > @soce_e3t / @e3t </field>
-          <field field_ref="soce"         name="vosaline2"       operation="average" freq_op="1mo" > @soce2_e3t / @e3t </field>
-          <field field_ref="ttrd_totad"   name="opottempadvect"  operation="average" freq_op="1mo" > @ttrd_totad_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_iso"     name="opottemppmdiff"  operation="average" freq_op="1mo" > @ttrd_iso_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_zdfp"    name="opottempdiff"    operation="average" freq_op="1mo" > @ttrd_zdfp_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_evd"     name="ttrd_evd"        operation="average" freq_op="1mo" > @ttrd_evd_e3t / @e3t </field>
-          <field field_ref="ttrd_qns"     name="ttrd_qns"        operation="average" freq_op="1mo" > @ttrd_qns_e3t / @e3t_surf </field>
-          <field field_ref="ttrd_qsr"     name="rsdoabsorb"      operation="average" freq_op="1mo" > @ttrd_qsr_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_bbl"     name="ttrd_bbl"        operation="average" freq_op="1mo" > @ttrd_bbl_e3t / @e3t </field>
-          <field field_ref="ttrd_tot"     name="opottemptend"    operation="average" freq_op="1mo" > @ttrd_tot_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="strd_totad"   name="osaltadvect"     operation="average" freq_op="1mo" > @strd_totad_e3t * 1026.0 * 0.001 </field>
-          <field field_ref="strd_iso"     name="osaltpmdiff"     operation="average" freq_op="1mo" > @strd_iso_e3t * 1026.0 * 0.001  </field>
-          <field field_ref="strd_zdfp"    name="osaltdiff"       operation="average" freq_op="1mo" > @strd_zdfp_e3t * 1026.0 * 0.001  </field>
-          <field field_ref="strd_evd"     name="strd_evd"        operation="average" freq_op="1mo" > @strd_evd_e3t / @e3t </field>
-          <field field_ref="strd_tot"     name="osalttend"       operation="average" freq_op="1mo" > @strd_tot_e3t * 1026.0 * 0.001 </field>
-          <field field_ref="strd_bbl"     name="strd_bbl"        operation="average" freq_op="1mo" > @strd_bbl_e3t / @e3t </field>
-	  <field field_ref="ssh"          name="sossheig"   standard_name="sea_surface_height_above_geoid"                          />
-          <field field_ref="ssh2"         name="zossq"      standard_name="square_of_sea_surface_height_above_geoid"                />
-	  <field field_ref="empmr"        name="sowaflup"   standard_name="water_flux_out_of_sea_ice_and_sea_water"                 />
-	  <field field_ref="saltflx"      name="sosafldo"   standard_name="salt_flux_into_sea_water"                                />
-	  <field field_ref="qt"           name="sohefldo"   standard_name="surface_downward_heat_flux_in_sea_water"                 />
-	  <field field_ref="qsr"          name="soshfldo"   standard_name="downwelling_photosynthetic_radiative_flux_in_sea_water"               />
-          <field field_ref="mldkz5"       name="somixhgt"   standard_name="ocean_mixed_layer_thickness_defined_by_vertical_tracer_diffusivity"   />
-          <field field_ref="mldr10_1"     name="somxl010"   standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"      />
-          <field field_ref="mldzint_1"    name="sokaraml"   standard_name="ocean_mixed_layer_thickness"                             />
-          <field field_ref="mldzint_2"    name="somlddbm"   standard_name="ocean_mixed_layer_thickness"                             />
-          <field field_ref="ice_cover"    name="soicecov"   standard_name="sea_ice_area_fraction"                                   />
-          <field field_ref="wspd"         name="sowindsp"   standard_name="wind_speed"                                              />          
-          <field field_ref="qhcisf"       name="sohflisf"   standard_name="ice_shelf_heat_flux"                                                        />
-          <field field_ref="qlatisf"      name="soqlatisf"  standard_name="ice_shelf_latent_heat_flux"                                                        />
-          <field field_ref="fwfisf"       name="sowflisf"   standard_name="ice_shelf_melting"                                                        />
-          <field field_ref="berg_total_melt"       name="berg_total_melt"          standard_name=""                                 />
-          <field field_ref="berg_total_heat_flux"  name="berg_total_heat_flux"     standard_name=""                                 />
-          <field field_ref="runoffs"       name="sorunoff"    standard_name="water_flux_into_sea_water_from_rivers"                 />
-          <field field_ref="hflx_rain_cea" name="hfrainds"    standard_name="temperature_flux_due_to_rainfall_expressed_as_heat_flux_into_sea_water"/>
-          <field field_ref="hflx_evap_cea" name="hfevapds"    standard_name="temperature_flux_due_to_evaporation_expressed_as_heat_flux_out_of_sea_water"/>
-          <field field_ref="evap_ao_cea"   name="evap_ao_cea" standard_name="water_evaporation_flux"                                />
-          <field field_ref="rain"          name="pr"          standard_name="rainfall_flux"                                         />
-          <field field_ref="snowpre"       name="snowpre"     standard_name="snowfall_flux"                                         />
-          <field field_ref="snow_ao_cea"   name="snow_ao_cea" standard_name="snowfall_flux_over_ocean"                              />
-          <field field_ref="snow_ai_cea"   name="snow_ai_cea" standard_name="snowfall_flux_over_sea_ice"                            />
-	</file>
-	
-	<file id="file2" name_suffix="_grid_U" description="ocean U grid variables" >
-          <field field_ref="e3u"          name="e3u"        standard_name="cell_thickness" />
-          <field field_ref="uoce"         name="vozocrtx"     operation="average" freq_op="1mo" > @uoce_e3u / @e3u </field>
-          <field field_ref="uoce"         name="vozocrtx2"    operation="average" freq_op="1mo" > @uoce2_e3u / @e3u </field>
-          <field field_ref="ut"           name="ut"           operation="average" freq_op="1mo" > @ut_e3u / @e3u </field>
-          <field field_ref="us"           name="us"           operation="average" freq_op="1mo" > @us_e3u / @e3u </field>
-	  <field field_ref="utau"         name="sozotaux"   standard_name="surface_downward_x_stress" />
-	</file>
-	
-	<file id="file3" name_suffix="_grid_V" description="ocean V grid variables" >
-          <field field_ref="e3v"          name="e3v"        standard_name="cell_thickness" />
-          <field field_ref="voce"         name="vomecrty"     operation="average" freq_op="1mo" > @voce_e3v / @e3v </field>
-          <field field_ref="voce"         name="vomecrty2"    operation="average" freq_op="1mo" > @voce2_e3v / @e3v </field>
-          <field field_ref="vt"           name="vt"           operation="average" freq_op="1mo" > @vt_e3v / @e3v </field>
-          <field field_ref="vs"           name="vs"           operation="average" freq_op="1mo" > @vs_e3v / @e3v </field>
-	  <field field_ref="vtau"         name="sometauy"   standard_name="surface_downward_y_stress" />
-	</file>
-	
-	<file id="file4" name_suffix="_grid_W" description="ocean W grid variables" >
-	  <field field_ref="woce"         name="vovecrtz"   standard_name="upward_sea_water_velocity"                         />
-          <field field_ref="wt"           name="wt"         standard_name=""                                                  />
-          <field field_ref="ws"           name="ws"         standard_name=""                                                  />
-	  <field field_ref="avt"          name="votkeavt"   standard_name="ocean_vertical_heat_diffusivity"                   />
-          <field field_ref="avm"          name="votkeavm"   standard_name="ocean_vertical_momentum_diffusivity"               />
-          <field field_ref="aht2d"        name="soleahtw"   standard_name="vertical_component_of_ocean_xy_tracer_diffusivity" />
-	</file>
-        
-        <file id="file5" name_suffix="_diaptr" description="processed diagnostics" >
-	  <field field_ref="zomsfglo"     name="zomsfglo"   standard_name="meridional_streamfunction_global"           grid_ref="gznl_W_3D"       />
-          <field field_ref="zotemglo"     name="zotemglo"   standard_name="zonal_mean_temperature_global"              grid_ref="gznl_T_3D"       />
-          <field field_ref="zosrfglo"     name="zosrfglo"   standard_name="zonal_mean_surface_global"                  grid_ref="gznl_T_3D"       />
-	  <field field_ref="zosalglo"     name="zosalglo"   standard_name="zonal_mean_salinity_global"                 grid_ref="gznl_T_3D"       />          
-          <field field_ref="zomsfatl"     name="zomsfatl"   standard_name="meridional_streamfunction_atlantic"         grid_ref="gznl_W_3D"       />
-          <field field_ref="zotematl"     name="zotematl"   standard_name="zonal_mean_temperature_atlantic"            grid_ref="gznl_T_3D"       />
-          <field field_ref="zosrfatl"     name="zosrfatl"   standard_name="zonal_mean_surface_atlantic"                grid_ref="gznl_T_3D"       />
-	  <field field_ref="zosalatl"     name="zosalatl"   standard_name="zonal_mean_salinity_atlantic"               grid_ref="gznl_T_3D"       />          
-          <field field_ref="zomsfpac"     name="zomsfpac"   standard_name="meridional_streamfunction_pacific"          grid_ref="gznl_W_3D"       />
-          <field field_ref="zotempac"     name="zotempac"   standard_name="zonal_mean_temperature_pacific"             grid_ref="gznl_T_3D"       />
-          <field field_ref="zosrfpac"     name="zosrfpac"   standard_name="zonal_mean_surface_pacific"                 grid_ref="gznl_T_3D"       />
-	  <field field_ref="zosalpac"     name="zosalpac"   standard_name="zonal_mean_salinity_pacific"                grid_ref="gznl_T_3D"       />
-          <field field_ref="zomsfind"     name="zomsfind"   standard_name="meridional_streamfunction_indian"           grid_ref="gznl_W_3D"       />
-          <field field_ref="zotemind"     name="zotemind"   standard_name="zonal_mean_temperature_indian"              grid_ref="gznl_T_3D"       />
-          <field field_ref="zosrfind"     name="zosrfind"   standard_name="zonal_mean_surface_indian"                  grid_ref="gznl_T_3D"       />
-	  <field field_ref="zosalind"     name="zosalind"   standard_name="zonal_mean_salinity_indian"                 grid_ref="gznl_T_3D"       />          
-          <field field_ref="zomsfipc"     name="zomsfipc"   standard_name="meridional_streamfunction_indian_pacific"   grid_ref="gznl_W_3D"       />
-          <field field_ref="zotemipc"     name="zotemipc"   standard_name="zonal_mean_temperature_indian_pacific"      grid_ref="gznl_T_3D"       />
-          <field field_ref="zosrfipc"     name="zosrfipc"   standard_name="zonal_mean_surface_indian_pacific"          grid_ref="gznl_T_3D"       />
-	  <field field_ref="zosalipc"     name="zosalipc"   standard_name="zonal_mean_salinity_indian_pacific"         grid_ref="gznl_T_3D"       />          
-          <field field_ref="sophtadv"     name="sophtadv"   standard_name="advective_heat_transport"                   grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstadv"     name="sopstadv"   standard_name="advective_salt_transport"                   grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtldf"     name="sophtldf"   standard_name="diffusive_heat_transport"                   grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstldf"     name="sopstldf"   standard_name="diffusive_salt_transport"                   grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtadv_atl" name="sophtadv_atl"   standard_name="advective_heat_transport_atlantic"      grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstadv_atl" name="sopstadv_atl"   standard_name="advective_salt_transport_atlantic"      grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtldf_atl" name="sophtldf_atl"   standard_name="diffusive_heat_transport_atlantic"      grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstldf_atl" name="sopstldf_atl"   standard_name="diffusive_salt_transport_atlantic"      grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtadv_pac" name="sophtadv_pac"   standard_name="advective_heat_transport_pacific"       grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstadv_pac" name="sopstadv_pac"   standard_name="advective_salt_transport_pacific"       grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtldf_pac" name="sophtldf_pac"   standard_name="diffusive_heat_transport_pacific"       grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstldf_pac" name="sopstldf_pac"   standard_name="diffusive_salt_transport_pacific"       grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtadv_ind" name="sophtadv_ind"   standard_name="advective_heat_transport_indian"        grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstadv_ind" name="sopstadv_ind"   standard_name="advective_salt_transport_indian"        grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtldf_ind" name="sophtldf_ind"   standard_name="diffusive_heat_transport_indian"        grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstldf_ind" name="sopstldf_ind"   standard_name="diffusive_salt_transport_indian"        grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtadv_ipc" name="sophtadv_ipc"   standard_name="advective_heat_transport_indopacific"   grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstadv_ipc" name="sopstadv_ipc"   standard_name="advective_salt_transport_indopacific"   grid_ref="gznl_T_2D"       />
-          <field field_ref="sophtldf_ipc" name="sophtldf_ipc"   standard_name="diffusive_heat_transport_indopacific"   grid_ref="gznl_T_2D"       />
-          <field field_ref="sopstldf_ipc" name="sopstldf_ipc"   standard_name="diffusive_salt_transport_indopacific"   grid_ref="gznl_T_2D"       />
-	</file>
-
-        <file id="file6" name_suffix="_ptrc_T" description="Medusa sms variables" >
-          <field_group group_ref="groupMEDUSA" />
-          <field_group group_ref="groupIDTRA" />
-          <field_group group_ref="groupCFC" />
-          <field_group group_ref="groupAGE" />
-        </file>
-
-        <file id="file7" name_suffix="_diad_T" description="Medusa diagnostic variables" >
-          <field_group group_ref="groupMEDUSA_dia" /> 
-          <field_group group_ref="groupMEDUSA_3dd" /> 
-          <field_group group_ref="groupMEDUSA_dms" />
-          <field_group group_ref="groupIDTRA_dia" />
-          <field_group group_ref="groupCFC_dia" />
-          <field_group group_ref="groupMEDUSA_cmip6" />
-        </file>
-       
-      </file_group>
-      
+      <file_group id="10d" output_freq="10d" output_level="10" enabled=".FALSE."/> <!-- 10d files -->
   
-      <file_group id="1m" output_freq="1mo" split_freq="1mo" output_level="10" enabled=".FALSE."> <!-- 1mo files -->   
-      <!-- <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE.">  - 1mo files -->   
+      <file_group id="1m" output_freq="1mo" split_freq="1mo" output_level="10" enabled=".TRUE."> <!-- 1mo files -->
+      <!-- <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE.">  - 1mo files -->
 
         <file id="file9" name_suffix="_grid_T" description="ocean T grid variables" >
@@ -185,18 +55,22 @@
           <field field_ref="soce"         name="vosaline"        operation="average" freq_op="1mo" > @soce_e3t / @e3t </field>
           <field field_ref="soce"         name="vosaline2"       operation="average" freq_op="1mo" > @soce2_e3t / @e3t </field>
-          <field field_ref="ttrd_totad"   name="opottempadvect"  operation="average" freq_op="1mo" > @ttrd_totad_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_iso"     name="opottemppmdiff"  operation="average" freq_op="1mo" > @ttrd_iso_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_zdfp"    name="opottempdiff"    operation="average" freq_op="1mo" > @ttrd_zdfp_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_evd"     name="ttrd_evd"        operation="average" freq_op="1mo" > @ttrd_evd_e3t / @e3t </field>
-          <field field_ref="ttrd_qns"     name="ttrd_qns"        operation="average" freq_op="1mo" > @ttrd_qns_e3t / @e3t_surf </field>
-          <field field_ref="ttrd_qsr"     name="rsdoabsorb"      operation="average" freq_op="1mo" > @ttrd_qsr_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="ttrd_bbl"     name="ttrd_bbl"        operation="average" freq_op="1mo" > @ttrd_bbl_e3t / @e3t </field>
-          <field field_ref="ttrd_tot"     name="opottemptend"    operation="average" freq_op="1mo" > @ttrd_tot_e3t * 1026.0 * 3991.86795711963 </field>
-          <field field_ref="strd_totad"   name="osaltadvect"     operation="average" freq_op="1mo" > @strd_totad_e3t * 1026.0 * 0.001 </field>
-          <field field_ref="strd_iso"     name="osaltpmdiff"     operation="average" freq_op="1mo" > @strd_iso_e3t * 1026.0 * 0.001  </field>
-          <field field_ref="strd_zdfp"    name="osaltdiff"       operation="average" freq_op="1mo" > @strd_zdfp_e3t * 1026.0 * 0.001  </field>
-          <field field_ref="strd_evd"     name="strd_evd"        operation="average" freq_op="1mo" > @strd_evd_e3t / @e3t </field>
-          <field field_ref="strd_tot"     name="osalttend"       operation="average" freq_op="1mo" > @strd_tot_e3t * 1026.0 * 0.001 </field>
-          <field field_ref="strd_bbl"     name="strd_bbl"        operation="average" freq_op="1mo" > @strd_bbl_e3t / @e3t </field>
+          <!-- trend diagnostics-->
+          <field field_ref="ttrd_totad_li"   name="opottempadvect"  unit="W/m2"      />
+          <field field_ref="ttrd_iso_li"     name="opottemppmdiff"  unit="W/m2"      />
+          <field field_ref="ttrd_zdfp_li"    name="opottempdiff"    unit="W/m2"      />
+          <field field_ref="ttrd_evd_li"     name="ttrd_evd_li"     unit="W/m2"      />
+          <field field_ref="ttrd_qns_li"     name="ttrd_qns_li"     unit="W/m2"      />
+          <field field_ref="ttrd_qsr_li"     name="rsdoabsorb"      unit="W/m2"      />
+          <field field_ref="ttrd_bbl_li"     name="ttrd_bbl_li"     unit="W/m2"      />
+          <field field_ref="ttrd_atf_li"     name="ttrd_atf_li"     unit="W/m2"      />
+          <field field_ref="ttrd_tot_li"     name="opottemptend"    unit="W/m2"      />
+          <field field_ref="strd_totad_li"   name="osaltadvect"     unit="Kg/m2/s"   />
+          <field field_ref="strd_iso_li"     name="osaltpmdiff"     unit="kg/m2/s"   />
+          <field field_ref="strd_zdfp_li"    name="osaltdiff"       unit="kg/m2/s"   />
+          <field field_ref="strd_evd_li"     name="strd_evd_li"     unit="Kg/m2/s"   />
+          <field field_ref="strd_tot_li"     name="osalttend"       unit="kg/m2/s"   />
+          <field field_ref="strd_bbl_li"     name="strd_bbl_li"     unit="Kg/m2/s"   />
+          <field field_ref="strd_atf_li"     name="strd_atf_li"     unit="Kg/m2/s"   />
+          <!--  -->
           <field field_ref="ssh"          name="sossheig"   standard_name="sea_surface_height_above_geoid"                          />
           <field field_ref="ssh2"         name="zossq"      standard_name="square_of_sea_surface_height_above_geoid"                />
@@ -298,7 +172,4 @@
         <file id="file14" name_suffix="_ptrc_T" description="Medusa sms variables" >
           <field_group group_ref="groupMEDUSA" />
-          <field_group group_ref="groupIDTRA" />
-          <field_group group_ref="groupCFC" />
-          <field_group group_ref="groupAGE" />
         </file>
 
@@ -307,8 +178,32 @@
           <field_group group_ref="groupMEDUSA_3dd" /> 
           <field_group group_ref="groupMEDUSA_dms" />
-          <field_group group_ref="groupIDTRA_dia" />
-          <field_group group_ref="groupCFC_dia" />
-          <field_group group_ref="groupMEDUSA_cmip6" />
-        </file>
+          <!-- <field_group group_ref="groupMEDUSA_cmip6" /> -->
+        </file>
+
+        <file id="file16" name_suffix="_ptrd_T" description="Passive tracers trends" enabled=".TRUE."> <!-- key_trdtrc -->
+            <!-- <field_group group_ref="trendMEDUSA_short" /> -->
+            <field field_ref="TAD_DIN_E3T"  name="TAD_DIN_E3T"   />
+            <field field_ref="BBL_DIN_E3T"  name="BBL_DIN_E3T"   />
+            <field field_ref="ISO_DIN_E3T"  name="ISO_DIN_E3T"   />
+            <field field_ref="ISO_DIN_E3T2"  name="ISO_DIN_E3T2"   />
+            <field field_ref="ISO_DIN_E3T3"  name="ISO_DIN_E3T3"   />
+            <field field_ref="ZDP_DIN_E3T"  name="ZDP_DIN_E3T"   />
+            <field field_ref="ATF_DIN_E3T"  name="ATF_DIN_E3T"   />
+            <field field_ref="SMS_DIN_E3T"  name="SMS_DIN_E3T"   />
+            <field field_ref="TOT_DIN_E3T"  name="TOT_DIN_E3T"   />
+            <field field_ref="TAD_DiC_E3T"  name="TAD_DiC_E3T"   />
+            <field field_ref="BBL_DiC_E3T"  name="BBL_DiC_E3T"   />
+            <field field_ref="ISO_DiC_E3T"  name="ISO_DiC_E3T"   />
+            <field field_ref="ZDP_DiC_E3T"  name="ZDP_DiC_E3T"   />
+            <field field_ref="ATF_DiC_E3T"  name="ATF_DiC_E3T"   />
+            <field field_ref="SMS_DiC_E3T"  name="SMS_DiC_E3T"   />
+            <field field_ref="TOT_DiC_E3T"  name="TOT_DiC_E3T"   />
+           <!--  <field_group group_ref="trendCFC11" />  -->
+           <!--  <field_group group_ref="trendCFC12" />  -->
+           <!--  <field_group group_ref="trendSF6" />    -->
+           <!--  <field_group group_ref="trendAGE" />    -->
+           <!--  <field_group group_ref="trendIDTRA" />  -->
+        </file>
+
 
       </file_group>
@@ -334,4 +229,7 @@
    <axis_definition>
       <axis id="deptht" standard_name="depth" long_name="Vertical T levels" unit="m" positive="down" />
+      <axis id="deptht300" axis_ref="deptht" >
+         <zoom_axis begin="0" n="35" />
+      </axis>
       <axis id="depthu" standard_name="depth" long_name="Vertical U levels" unit="m" positive="down" />
       <axis id="depthv" standard_name="depth" long_name="Vertical V levels" unit="m" positive="down" />
@@ -339,12 +237,8 @@
       <axis id="nfloat" long_name="Float number"      unit="-"  />
       <axis id="icbcla" long_name="Iceberg class"     unit="-"  />
-      <axis id="ncatice" long_name="Ice category"       unit="1"               />
-      <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"            />
-      <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"            />
       <axis id="deptht_surface" axis_ref="deptht" >
-         <zoom_axis begin=" 1 " n=" 1 " />
+         <zoom_axis begin=" 0 " n=" 1 " />
       </axis>
-
-   </axis_definition>
+   </axis_definition> 
     
    <domain_definition src="./domain_def.xml"/>
@@ -356,12 +250,7 @@
        </grid>
         <!--  -->
-       <grid id="grid_T_3D_ncatice" >
-         <domain id="grid_T" />
-         <axis id="ncatice" />
-       </grid>
-        <!--  -->
        <grid id="grid_T_3D" >
          <domain id="grid_T" />
-         <axis id="deptht" />
+         <axis axis_ref="deptht" />
        </grid>
         <!--  -->
@@ -372,5 +261,5 @@
        <grid id="grid_U_3D" >
          <domain id="grid_U" />
-         <axis id="depthu" />
+         <axis axis_ref="depthu" />
        </grid>
         <!--  -->
@@ -381,5 +270,5 @@
        <grid id="grid_V_3D" >
          <domain id="grid_V" />
-         <axis id="depthv" />
+         <axis axis_ref="depthv" />
        </grid>
         <!--  -->
@@ -390,9 +279,9 @@
        <grid id="grid_W_3D" >
          <domain id="grid_W" />
-         <axis id="depthw" />
+         <axis axis_ref="depthw" />
        </grid>
         <!--  -->
        <grid id="grid_1point" >
-         <domain id="1point"/>
+         <domain domain_ref="1point"/>
        </grid>
         <!--  -->
@@ -400,8 +289,8 @@
        <!--A blank grid to represent a 0D scalar variable -->
        </grid>
-        <!--  -->
+       <!--  -->
        <grid id="grid_T_nfloat" >
          <domain id="grid_T" />
-         <axis id="nfloat" />
+         <axis axis_ref="nfloat" />
        </grid>
         <!--  -->
@@ -416,5 +305,5 @@
        <grid id="gznl_T_3D">
          <domain id="ptr" />
-         <axis id="deptht" />
+         <axis axis_ref="deptht" />
        </grid>
         <!--  -->
@@ -425,12 +314,26 @@
        <grid id="gznl_W_3D">
          <domain id="ptr" />
-         <axis id="depthw" />
-       </grid>
-        <!--  -->
+         <axis axis_ref="depthw" />
+       </grid>
+       <grid id="vert_sum">
+         <domain id="grid_T"/>
+         <scalar>
+            <reduce_axis operation="sum" />
+         </scalar>
+       </grid>
+       <grid id="zoom_300">
+         <domain id="grid_T" />
+         <axis axis_ref="deptht300"/>
+       </grid>
+       <grid id="zoom_300_sum">
+         <domain id="grid_T" />
+         <scalar>
+            <reduce_axis operation="sum" />
+         </scalar>
+       </grid>
        <grid id="grid_T_surface_extract">
-         <domain domain_ref="grid_T" />
+         <domain id="grid_T" />
          <axis   axis_ref="deptht_surface" />
        </grid>
-
     </grid_definition>
   </context>
@@ -443,5 +346,5 @@
 	  <variable id="info_level"            type="int">0</variable>
 	  <variable id="using_server"          type="bool">false</variable>
-	  <variable id="using_oasis"           type="bool">true</variable>
+	  <variable id="using_oasis"           type="bool">false</variable>
 	  <variable id="oasis_codes_id"        type="string" >toyoce</variable>
 	
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/namelist_top_MEDUSA_et_al_ref
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/namelist_top_MEDUSA_et_al_ref	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/namelist_top_MEDUSA_et_al_ref	(revision 9173)
@@ -98,6 +98,6 @@
    nn_ctls_trc =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk)
    rn_ucf_trc  =   1        !  unit conversion factor (=1 -> /seconds ; =86400. -> /day)
-   ln_trdmld_trc_restart = .false.  !  restart for ML diagnostics
-   ln_trdmld_trc_instant = .true.  !  flag to diagnose trends of instantantaneous or mean ML T/S
+   ln_trdmxl_trc_restart = .false.  !  restart for ML diagnostics
+   ln_trdmxl_trc_instant = .true.  !  flag to diagnose trends of instantantaneous or mean ML T/S
    ln_trdtrc(1)  =   .true.
    ln_trdtrc(2)  =   .true.
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/namelist_top_ref
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/namelist_top_ref	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/CONFIG/SHARED/namelist_top_ref	(revision 9173)
@@ -98,6 +98,6 @@
    nn_ctls_trc =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk)
    rn_ucf_trc  =   1        !  unit conversion factor (=1 -> /seconds ; =86400. -> /day)
-   ln_trdmld_trc_restart = .false.  !  restart for ML diagnostics
-   ln_trdmld_trc_instant = .true.  !  flag to diagnose trends of instantantaneous or mean ML T/S
+   ln_trdmxl_trc_restart = .false.  !  restart for ML diagnostics
+   ln_trdmxl_trc_instant = .true.  !  flag to diagnose trends of instantantaneous or mean ML T/S
    ln_trdtrc(1)  =   .true.
    ln_trdtrc(2)  =   .true.
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90	(revision 9173)
@@ -1634,4 +1634,6 @@
       WRITE(cl1,'(i1)')        2   ;   CALL iom_set_field_attr('trendT_even'      , freq_op=cl1//'ts', freq_offset='0ts')
       WRITE(cl1,'(i1)')        2   ;   CALL iom_set_field_attr('trendT_odd'       , freq_op=cl1//'ts', freq_offset='-1ts')
+      WRITE(cl1,'(i1)')        2   ;   CALL iom_set_field_attr('ptrd_T_even'      , freq_op=cl1//'ts', freq_offset='0ts')
+      WRITE(cl1,'(i1)')        2   ;   CALL iom_set_field_attr('ptrd_T_odd'       , freq_op=cl1//'ts', freq_offset='-1ts')
       WRITE(cl1,'(i1)')  nn_fsbc   ;   CALL iom_set_field_attr('SBC'             , freq_op=cl1//'ts', freq_offset='0ts')
       WRITE(cl1,'(i1)')  nn_fsbc   ;   CALL iom_set_field_attr('SBC_scalar'      , freq_op=cl1//'ts', freq_offset='0ts')
@@ -1642,4 +1644,6 @@
       f_op%timestep = 2        ;  f_of%timestep = 0  ; CALL iom_set_field_attr('trendT_even'      , freq_op=f_op, freq_offset=f_of)
       f_op%timestep = 2        ;  f_of%timestep = -1 ; CALL iom_set_field_attr('trendT_odd'       , freq_op=f_op, freq_offset=f_of)
+      f_op%timestep = 2        ;  f_of%timestep = 0  ; CALL iom_set_field_attr('ptrd_T_even'      , freq_op=f_op, freq_offset=f_of)
+      f_op%timestep = 2        ;  f_of%timestep = -1 ; CALL iom_set_field_attr('ptrd_T_odd'       , freq_op=f_op, freq_offset=f_of)
       f_op%timestep = nn_fsbc  ;  f_of%timestep = 0  ; CALL iom_set_field_attr('SBC'             , freq_op=f_op, freq_offset=f_of)
       f_op%timestep = nn_fsbc  ;  f_of%timestep = 0  ; CALL iom_set_field_attr('SBC_scalar'      , freq_op=f_op, freq_offset=f_of)
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90	(revision 9173)
@@ -49,4 +49,5 @@
    USE agrif_opa_interp
 #endif
+
 
    IMPLICIT NONE
@@ -340,5 +341,5 @@
       DO jn = 1, kjpt      
          DO jk = 1, jpkm1
-            zfact = 1._wp / r2dtra(jk)
+            zfact  = 0.5_wp / p2dt(jk)
             zfact1 = atfp * p2dt(jk)
             zfact2 = zfact1 / rau0
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRD/trd_oce.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRD/trd_oce.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRD/trd_oce.F90	(revision 9173)
@@ -57,7 +57,7 @@
    !
    !                                                  !!!* Passive tracers trends indices (use if "key_top" defined)
-   INTEGER, PUBLIC, PARAMETER ::   jptra_sms  = 19     !: sources m. sinks
-   INTEGER, PUBLIC, PARAMETER ::   jptra_radn = 20     !: corr. trn<0 in trcrad
-   INTEGER, PUBLIC, PARAMETER ::   jptra_radb = 21     !: corr. trb<0 in trcrad (like atf)
+   INTEGER, PUBLIC, PARAMETER ::   jptra_sms  = 21     !: sources m. sinks
+   INTEGER, PUBLIC, PARAMETER ::   jptra_radn = 22     !: corr. trn<0 in trcrad
+   INTEGER, PUBLIC, PARAMETER ::   jptra_radb = 23     !: corr. trb<0 in trcrad (like atf)
    !
    !                                                  !!!* Momentum trends indices
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRD/trdtra.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRD/trdtra.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/OPA_SRC/TRD/trdtra.F90	(revision 9173)
@@ -20,4 +20,7 @@
    USE trd_oce        ! trends: ocean variables
    USE trdtrc         ! ocean passive mixed layer tracers trends 
+# if defined key_top
+   USE trc,           ONLY: tra    ! tracer definitions (trn, trb, tra, etc.) 
+# endif
    USE trdglo         ! trends: global domain averaged
    USE trdpen         ! trends: Potential ENergy
@@ -163,4 +166,5 @@
       ENDIF
 
+# if defined key_top
       IF( ctype == 'TRC' ) THEN                           !==  passive tracer trend  ==!
          !
@@ -170,4 +174,21 @@
          CASE( jptra_yad )   ;   CALL trd_tra_adv( ptrd , pun , ptra, 'Y', ztrds ) 
          CASE( jptra_zad )   ;   CALL trd_tra_adv( ptrd , pun , ptra, 'Z', ztrds ) 
+         CASE( jptra_zdfp )           ! diagnose the "PURE" Kz trend (here: just before the swap)
+            !                         ! iso-neutral diffusion case otherwise
+            !                         jptra_zdf is "PURE"
+            CALL wrk_alloc( jpi, jpj, jpk, zws )
+            !
+            zws(:,:, 1 ) = 0._wp                        ! vertical diffusive fluxes
+            zws(:,:,jpk) = 0._wp  
+            DO jk = 2, jpk
+               zws(:,:,jk) = avt(:,:,jk) * (tra(:,:,jk-1,ktra) - tra(:,:,jk,ktra) ) / fse3w(:,:,jk) * tmask(:,:,jk)
+            END DO
+            !
+            ztrds(:,:,jpk) = 0._wp   
+            DO jk = 1, jpkm1
+               ztrds(:,:,jk) = ( zws(:,:,jk) - zws(:,:,jk+1) ) / fse3t(:,:,jk)
+            END DO
+            CALL wrk_dealloc( jpi, jpj, jpk, zws )
+            !
          CASE DEFAULT                 ! other trends: just masked 
                                  ztrds(:,:,:) = ptrd(:,:,:) * tmask(:,:,:)
@@ -177,4 +198,5 @@
          !
       ENDIF
+# endif
       !
       CALL wrk_dealloc( jpi, jpj, jpk, ztrds )
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/CFC/trcsms_cfc.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/CFC/trcsms_cfc.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/CFC/trcsms_cfc.F90	(revision 9173)
@@ -24,4 +24,5 @@
    USE trdtrc
    USE iom           ! I/O library
+   USE wrk_nemo
 
    IMPLICIT NONE
@@ -54,4 +55,7 @@
    REAL(wp) ::   xconv3 = 1.0e+3       ! conversion from mol/l/atm to mol/m3/atm
    REAL(wp) ::   xconv4 = 1.0e-12      ! conversion from mol/m3/atm to mol/m3/pptv 
+
+   !! trend temporary array:
+   REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrcfc
 
    !! * Substitutions
@@ -265,7 +269,10 @@
       !
       IF( l_trdtrc ) THEN
+          CALL wrk_alloc( jpi, jpj, jpk, ztrcfc )
           DO jn = jp_cfc0, jp_cfc1
-            CALL trd_trc( tra(:,:,:,jn), jn, jptra_sms, kt )   ! save trends
+             ztrcfc(:,:,:) = tra(:,:,:,jn)
+            CALL trd_trc( ztrcfc, jn, jptra_sms, kt )   ! save trends
           END DO
+          CALL wrk_dealloc( jpi, jpj, jpk, ztrcfc )
       END IF
       !
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_update.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_update.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_update.F90	(revision 9173)
@@ -75,5 +75,5 @@
       USE lib_mpp,           ONLY: ctl_stop
       USE par_kind,          ONLY: wp
-      USE par_medusa,        ONLY: jp_medusa,                                &
+      USE par_medusa,        ONLY: jp_medusa, jp_msa0, jp_msa1,              &
                                    jpalk, jpchd, jpchn, jpdet, jpdic,        &
                                    jpdin, jpdtc, jpfer, jpoxy, jppds,        &
@@ -83,5 +83,5 @@
                                    jpoxy_lc, jppds_lc, jpphd_lc, jpphn_lc,   &
                                    jpsil_lc, jpzme_lc, jpzmi_lc
-      USE par_oce,           ONLY: jpi, jpim1, jpj, jpjm1
+      USE par_oce,           ONLY: jpi, jpim1, jpj, jpjm1, jpk
       USE par_trc,           ONLY: jptra
       USE sms_medusa,        ONLY: friver_dep,                               &
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcsms_medusa.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcsms_medusa.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcsms_medusa.F90	(revision 9173)
@@ -23,4 +23,9 @@
    USE trcsed_medusa
    USE trcavg_medusa
+   !! for SMS trends
+   USE par_medusa,    ONLY: jp_msa0, jp_msa1, jp_medusa
+   USE par_oce,       ONLY: jpi, jpj, jpk
+   USE trd_oce,       ONLY: jptra_sms, l_trdtrc
+   USE trdtrc
 
 
@@ -47,4 +52,9 @@
       !!----------------------------------------------------------------------
       INTEGER, INTENT(in) :: kt   ! ocean time-step index
+      !! Loop variables
+      INTEGER :: jn
+      !! trend temporary array:
+      REAL(wp), POINTER, DIMENSION(:,:,:,:) :: ztrmed
+
 
 # if defined key_debug_medusa
@@ -58,4 +68,13 @@
        IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~'
       ENDIF
+
+      !! MEDUSA SMS trends:
+      IF( l_trdtrc ) THEN
+          CALL wrk_alloc( jpi, jpj, jpk, jp_medusa, ztrmed )
+          ztrmed(:,:,:,:)=0.0  
+          DO jn = 1, jp_medusa
+            ztrmed(:,:,:,jn) = tra(:,:,:,jp_msa0 + jn - 1)
+          END DO
+      END IF
 
       CALL trc_avg_medusa( kt ) ! rolling average module
@@ -97,4 +116,14 @@
 # endif
 
+      !! MEDUSA SMS trends:
+      IF( l_trdtrc ) THEN
+          DO jn = 1, jp_medusa
+            ztrmed(:,:,:,jn) = tra(:,:,:,jp_msa0 + jn - 1)-ztrmed(:,:,:,jn)
+            CALL trd_trc( ztrmed(:,:,:,jn), jn, jptra_sms, kt )   ! save trends
+          END DO
+          CALL wrk_dealloc( jpi, jpj, jpk, jp_medusa, ztrmed )
+      END IF
+
+
    END SUBROUTINE trc_sms_medusa
    
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trcnxt.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trcnxt.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trcnxt.F90	(revision 9173)
@@ -27,7 +27,9 @@
    !!----------------------------------------------------------------------
    USE oce_trc         ! ocean dynamics and tracers variables
+   USE domvvl          ! variable volume  
    USE trc             ! ocean passive tracers variables
    USE lbclnk          ! ocean lateral boundary conditions (or mpp link)
    USE prtctl_trc      ! Print control for debbuging
+   USE trcnam_trp      ! passive tracers transport namelist variables
    USE trd_oce
    USE trdtra
@@ -45,4 +47,6 @@
    REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:) ::   r2dt
 
+   !! * Substitutions
+#  include "domzgr_substitute.h90"
    !!----------------------------------------------------------------------
    !! NEMO/TOP 3.3 , NEMO Consortium (2010)
@@ -124,5 +128,37 @@
       IF( l_trdtrc )  THEN
          CALL wrk_alloc( jpi, jpj, jpk, jptra, ztrdt )  !* store now fields before applying the Asselin filter
-         ztrdt(:,:,:,:)  = trn(:,:,:,:)
+         ztrdt(:,:,jpk,:) = 0._wp
+         IF( ln_trcldf_iso ) THEN                       ! diagnose the "pure" Kz diffusive trend 
+            DO jn = 1, jptra
+               CALL trd_tra( kt, 'TRC', jn, jptra_zdfp, ztrdt(:,:,:,jn) )
+            ENDDO
+         ENDIF
+         ! total trend for the non-time-filtered variables.
+         ! G Nurser 23 Mar 2017. Recalculate trend as Delta(e3t*T)/e3tn; e3tn
+         ! cancel from tsn terms
+         IF( lk_vvl ) THEN
+            DO jn = 1, jptra
+               DO jk = 1, jpkm1
+                  zfact = 1.0 / rdttrc(jk)
+                  ztrdt(:,:,jk,jn) = ( tra(:,:,jk,jn)*fse3t_a(:,:,jk) / fse3t_n(:,:,jk) - &
+                                       trn(:,:,jk,jn) ) * zfact
+               END DO
+            END DO
+         ELSE
+            DO jn = 1, jptra
+               DO jk = 1, jpkm1
+                  zfact = 1.0 / rdttrc(jk)
+                  ztrdt(:,:,jk,jn) = ( tra(:,:,jk,jn) - trn(:,:,jk,jn) ) * zfact
+               END DO
+            END DO
+         END IF
+         DO jn = 1, jptra
+            CALL trd_tra( kt, 'TRC', jn, jptra_tot, ztrdt(:,:,:,jn) )
+         ENDDO
+         IF( .NOT.lk_vvl )  THEN
+            ! Store now fields before applying the Asselin filter 
+            ! in order to calculate Asselin filter trend later.
+            ztrdt(:,:,:,:)  = trn(:,:,:,:)
+         ENDIF
       ENDIF
       ! Leap-Frog + Asselin filter time stepping
@@ -134,4 +170,15 @@
             END DO
          END DO
+         IF (l_trdtrc.AND.lk_vvl) THEN      ! Zero Asselin filter contribution
+                                            ! must be explicitly written out since for vvl
+                                            ! Asselin filter is output by
+                                            ! tra_nxt_vvl that is not called on
+                                            ! this time step
+            ztrdt(:,:,:,:) = 0._wp
+            DO jn = 1, jptra
+               CALL trd_tra( kt, 'TRC', jn, jptra_atf, ztrdt(:,:,:,jn) )
+            ENDDO
+         END IF
+
          !                                              
       ELSE
@@ -144,14 +191,15 @@
 
       ! trends computation
-      IF( l_trdtrc ) THEN                                      ! trends
+      IF( l_trdtrc.AND..NOT.lk_vvl) THEN                                      ! trends
          DO jn = 1, jptra
             DO jk = 1, jpkm1
                zfact = 1.e0 / r2dt(jk)  
                ztrdt(:,:,jk,jn) = ( trb(:,:,jk,jn) - ztrdt(:,:,jk,jn) ) * zfact 
-               CALL trd_tra( kt, 'TRC', jn, jptra_atf, ztrdt )
-            END DO
+            END DO
+            CALL trd_tra( kt, 'TRC', jn, jptra_atf, ztrdt(:,:,:,jn) )
          END DO
-         CALL wrk_dealloc( jpi, jpj, jpk, jptra, ztrdt ) 
       END IF
+      !
+      IF( l_trdtrc)  CALL wrk_dealloc( jpi, jpj, jpk, jptra, ztrdt ) 
       !
       IF(ln_ctl)   THEN  ! print mean trends (used for debugging)
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90	(revision 9173)
@@ -140,6 +140,9 @@
       DO jn = 1, jptra
          !
-         IF( l_trdtrc ) ztrtrd(:,:,:) = tra(:,:,:,jn)  ! save trends
-         !                                             ! add the trend to the general tracer trend
+         IF( l_trdtrc ) THEN
+            ztrtrd(:,:,:) = 0.0
+            ztrtrd(:,:,1) = tra(:,:,1,jn)  ! save surface trends
+         !                                 ! add the trend to the general tracer trend
+         ENDIF
 
          IF ( nn_ice_tr == -1 ) THEN  ! No tracers in sea ice (null concentration in sea ice)
@@ -184,5 +187,5 @@
          !
          IF( l_trdtrc ) THEN
-            ztrtrd(:,:,:) = tra(:,:,:,jn) - ztrtrd(:,:,:)
+            ztrtrd(:,:,1) = tra(:,:,1,jn) - ztrtrd(:,:,1)
             CALL trd_tra( kt, 'TRC', jn, jptra_nsr, ztrtrd )
          END IF
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trczdf.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trczdf.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trczdf.F90	(revision 9173)
@@ -15,4 +15,5 @@
    !!----------------------------------------------------------------------
    USE oce_trc         ! ocean dynamics and active tracers
+   USE domvvl          ! variable volume       
    USE trc             ! ocean passive tracers variables
    USE trcnam_trp      ! passive tracers transport namelist variables
@@ -98,8 +99,21 @@
 
       IF( l_trdtrc )   THEN                      ! save the vertical diffusive trends for further diagnostics
+         !! JPALM -- 18-08-2017 -- vvl case, do as done by G Nurser in trazdf 
+         IF( lk_vvl ) THEN
+            DO jn = 1, jptra
+               DO jk = 1, jpkm1
+                  ztrtrd(:,:,jk,jn) = ( ( tra(:,:,jk,jn)*fse3t_a(:,:,jk) - &
+                                          trb(:,:,jk,jn)*fse3t_b(:,:,jk) ) &
+                                       / (fse3t_n(:,:,jk)*r2dt(jk)) ) - ztrtrd(:,:,jk,jn)
+               END DO
+            END DO
+         ELSE
+            DO jn = 1, jptra
+               DO jk = 1, jpkm1
+                  ztrtrd(:,:,jk,jn) = ( ( tra(:,:,jk,jn) - trb(:,:,jk,jn) ) / r2dt(jk) ) - ztrtrd(:,:,jk,jn)
+               END DO
+            END DO
+         ENDIF 
          DO jn = 1, jptra
-            DO jk = 1, jpkm1
-               ztrtrd(:,:,jk,jn) = ( ( tra(:,:,jk,jn) - trb(:,:,jk,jn) ) / r2dt(jk) ) - ztrtrd(:,:,jk,jn)
-            END DO
             CALL trd_tra( kt, 'TRC', jn, jptra_zdf, ztrtrd(:,:,:,jn) )
          END DO
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trdtrc.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trdtrc.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/TRP/trdtrc.F90	(revision 9173)
@@ -19,4 +19,7 @@
    USE trdmxl_trc        ! Mixed layer trends diag.
    USE iom               ! I/O library
+# if defined key_debug_medusa
+   USE trcstat,          ONLY: trc_rst_dia_stat     
+# endif
 
    IMPLICIT NONE
@@ -86,21 +89,70 @@
 
       IF( lk_trdtrc .AND. ln_trdtrc( kjn ) ) THEN
-         !
+      !! JPALM -- 17-08-2017 -- modif following trd_tra_iom as suggested by Georges
+      !!                     -- add jptra_tot; jptra_totad; jptra_zdfp
+      !!                     -- shange to output trends every 2 time-step, except tot.
+      !!                     -- move cltra and iomput inside the select case
+      !!                     So if an non-wanted case arrives here it will not go
+      !!                     through cltra (without value) and break iomput.
+      !!                     -- Add iom_use in prevision of not using All trends
+      !!                     for All passive tracers (will create a HUGE 3D file otherwise --
+      !!                     might be interested in very few of them : SMS and TOT probably)
+         !
+         SELECT CASE( ktrd )
+         !! tot - output every time-step:
+         CASE( jptra_tot  )       ;    WRITE (cltra,'("TOT_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         END SELECT
+         !
+       IF( MOD( kt, 2 ) == 0 ) THEN
          SELECT CASE( ktrd )
          CASE( jptra_xad  )       ;    WRITE (cltra,'("XAD_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
          CASE( jptra_yad  )       ;    WRITE (cltra,'("YAD_",4a)')
-         CASE( jptra_zad  )       ;    WRITE (cltra,'("ZAD_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         CASE( jptra_zad  )       ;    WRITE (cltra,'("ZAD_",4a)')      !! care vvl case
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         CASE( jptra_totad  )     ;    WRITE (cltra,'("TAD_",4a)')      !! total adv
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
          CASE( jptra_ldf  )       ;    WRITE (cltra,'("LDF_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
          CASE( jptra_bbl  )       ;    WRITE (cltra,'("BBL_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
          CASE( jptra_nsr  )       ;    WRITE (cltra,'("FOR_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
          CASE( jptra_zdf  )       ;    WRITE (cltra,'("ZDF_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         CASE( jptra_zdfp )       ;    WRITE (cltra,'("ZDP_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
          CASE( jptra_dmp  )       ;    WRITE (cltra,'("DMP_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
          CASE( jptra_sms  )       ;    WRITE (cltra,'("SMS_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         CASE( jptra_radb )       ;    WRITE (cltra,'("RDB_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         CASE( jptra_radn )       ;    WRITE (cltra,'("RDN_",4a)')
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         END SELECT
+       ELSE IF( MOD( kt, 2 ) == 1 ) THEN
+         SELECT CASE( ktrd )
          CASE( jptra_atf  )       ;    WRITE (cltra,'("ATF_",4a)')
-         CASE( jptra_radb )       ;    WRITE (cltra,'("RDB_",4a)')
-         CASE( jptra_radn )       ;    WRITE (cltra,'("RDN_",4a)')
-         END SELECT
-                                          cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
-                                          CALL iom_put( cltra,  ptrtrd(:,:,:) )
+                           cltra = TRIM(cltra)//TRIM(ctrcnm(kjn))
+                           CALL trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+         END SELECT
+       END IF
          !
       END IF
@@ -123,4 +175,33 @@
 
    END SUBROUTINE trd_trc_bio
+
+   SUBROUTINE trd_trc_iomput( cltra, ptrtrd, kjn, kt )
+      !!----------------------------------------------------------------------
+      !!                  ***  ROUTINE trd_trc_iomput  ***
+      !!----------------------------------------------------------------------
+      INTEGER, INTENT( in )  ::   kt                                  ! timestep
+      INTEGER, INTENT( in )  ::   kjn                                 ! biotrend index
+      REAL(wp), DIMENSION(jpi,jpj,jpk), INTENT( inout )  ::   ptrtrd  ! var trend
+      CHARACTER (len=*),INTENT( in ) :: cltra                         ! trend name
+      !!----------------------------------------------------------------------
+
+
+      IF  (iom_use(cltra)) THEN
+# if defined key_debug_medusa
+         IF(lwp) WRITE(numout,*) ' TREND stats (min, max,sum) kt = ',kt ,' jn = ',kjn
+         CALL trc_rst_dia_stat( ptrtrd(:,:,1), cltra)
+# endif
+         CALL iom_put( cltra,  ptrtrd(:,:,:) )
+# if defined key_debug_medusa
+      ELSE
+         IF(lwp) WRITE(numout,*) &
+                      ' TREND -- No output asked for ',cltra,' kt = ',kt,' jn = ',kjn
+         CALL trc_rst_dia_stat( ptrtrd(:,:,1), cltra)
+# endif
+      ENDIF
+
+   END SUBROUTINE trd_trc_iomput
+
+
 #else
    !!----------------------------------------------------------------------
Index: /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/trcnam.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/trcnam.F90	(revision 9172)
+++ /branches/NERC/dev_r5518_GO6_Carb_Fail_from_GO6_8356/NEMOGCM/NEMO/TOP_SRC/trcnam.F90	(revision 9173)
@@ -60,5 +60,16 @@
       !!                ( (PISCES, CFC, MY_TRC, MEDUSA, IDTRA, Age )
       !!---------------------------------------------------------------------
-      INTEGER  ::   jn, jk                     ! dummy loop indice
+      INTEGER ::  ierr
+#if defined key_trdmxl_trc  || defined key_trdtrc
+      NAMELIST/namtrc_trd/ nn_trd_trc, nn_ctls_trc, rn_ucf_trc, &
+         &                ln_trdmxl_trc_restart, ln_trdmxl_trc_instant, &
+         &                cn_trdrst_trc_in, cn_trdrst_trc_out, ln_trdtrc
+#endif
+
+      INTEGER  ::   jn, jk              ! dummy loop indice
+      INTEGER  ::   ios                 ! Local integer output status for namelist read
+      !!---------------------------------------------------------------------
+
+
       !                                        !   Parameters of the run 
       IF( .NOT. lk_offline ) CALL trc_nam_run
@@ -68,5 +79,5 @@
       
       !                                        !   Parameters of additional diagnostics
-      CALL trc_nam_dia
+      IF( .NOT. lk_iomput )  CALL trc_nam_dia
 
       !                                        !   namelist of transport
@@ -171,6 +182,6 @@
       ENDIF
 
-      IF( lk_c14b     ) THEN   ;   CALL trc_nam_c14b         ! C14 bomb     tracers
-      ELSE                    ;   IF(lwp) WRITE(numout,*) '          C14 not used'
+      IF( lk_c14b    ) THEN  ;   CALL trc_nam_c14b         ! C14 bomb     tracers
+      ELSE                   ;   IF(lwp) WRITE(numout,*) '          C14 not used'
       ENDIF
 
