Index: /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/CONFIG/SHARED/field_def_bgc.xml
===================================================================
--- /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/CONFIG/SHARED/field_def_bgc.xml	(revision 8672)
+++ /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/CONFIG/SHARED/field_def_bgc.xml	(revision 8673)
@@ -546,6 +546,64 @@
      </field_group>
 
-
-     <field_group id="ptrd_T" grid_ref="grid_T_3D">  <!-- key_trdtrc || key_trdmlx_trc -->
+     <!--  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="Chl-a concentration in non-diatom phytoplankton"   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_CHD"      long_name="Chl-a concentration in     diatom phytoplankton"   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_PHN"      long_name="non-diatom phytoplankton"                          unit="mmol-N/m3/s" />
+       <field id="ATF_PHN_E3T"  long_name="ATF_PHN * E3T"                                     unit="mg Chl/m2/s" > ATF_PHN * e3t </field>
+       <field id="ATF_PHD"      long_name="diatom     phytoplankton"                          unit="mmol-N/m3/s" />
+       <field id="ATF_PHD_E3T"  long_name="ATF_PHD * E3T"                                     unit="mg Chl/m2/s" > ATF_PHD * e3t </field>
+       <field id="ATF_ZMI"      long_name="micro zooplankton"                                 unit="mmol-N/m3/s" />
+       <field id="ATF_ZMI_E3T"  long_name="ATF_ZMI * E3T"                                     unit="mg Chl/m2/s" > ATF_ZMI * e3t </field>
+       <field id="ATF_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" />
+       <field id="ATF_ZME_E3T"  long_name="ATF_ZME * E3T"                                     unit="mg Chl/m2/s" > ATF_ZME * e3t </field>
+       <field id="ATF_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="ATF_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="ATF_DIN_E3T"  long_name="ATF_DIN * E3T"                                     unit="mg Chl/m2/s" > ATF_DIN * e3t </field>
+       <field id="ATF_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" />
+       <field id="ATF_SIL_E3T"  long_name="ATF_SIL * E3T"                                     unit="mg Chl/m2/s" > ATF_SIL * e3t </field>
+       <field id="ATF_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" />
+       <field id="ATF_FER_E3T"  long_name="ATF_FER * E3T"                                     unit="mg Chl/m2/s" > ATF_FER * e3t </field>
+       <field id="ATF_DET"      long_name="detrital nitrogen"                                 unit="mmol-N/m3/s" />
+       <field id="ATF_DET_E3T"  long_name="ATF_DET * E3T"                                     unit="mg Chl/m2/s" > ATF_DET * e3t </field>
+       <field id="ATF_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
+       <field id="ATF_PDS_E3T"  long_name="ATF_PDS * E3T"                                     unit="mg Chl/m2/s" > ATF_PDS * e3t </field>
+       <field id="ATF_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
+       <field id="ATF_DTC_E3T"  long_name="ATF_DTC * E3T"                                     unit="mg Chl/m2/s" > ATF_DTC * e3t </field>
+       <field id="ATF_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="ATF_DiC_E3T"  long_name="ATF_DiC * E3T"                                     unit="mg Chl/m2/s" > ATF_DiC * e3t </field>
+       <field id="ATF_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
+       <field id="ATF_ALK_E3T"  long_name="ATF_ALK * E3T"                                     unit="mg Chl/m2/s" > ATF_ALK * e3t </field>
+       <field id="ATF_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
+       <field id="ATF_OXY_E3T"  long_name="ATF_OXY * E3T"                                     unit="mg Chl/m2/s" > ATF_OXY * e3t </field>
+
+      <!-- Ideal traceurs : variables available with key_idtra -->
+       <field id="ATF_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="ATF_IDTRA_E3T"   long_name="ATF_IDTRA * E3T"                          unit="mmol/m2/s" > ATF_IDTRA * e3t </field>
+
+       <!-- 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>
+
+       <!-- 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>
+
+       <!-- SF6 : variables available with key_cfc -->
+       <field id="ATF_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+
+       <!-- Bomb C14 : variables available with key_c14b -->
+       <field id="ATF_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+
+       <!-- AGE : variables available with key_age -->
+       <field id="ATF_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+     </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 -->
@@ -562,5 +620,5 @@
        <field id="XAD_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
        <field id="XAD_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
-       <field id="XAD_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="XAD_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" /> 
        <field id="XAD_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
        <field id="XAD_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
@@ -617,4 +675,5 @@
        <field id="TAD_ZME_INV"  field_ref="TAD_ZME_E3T"                                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
        <field id="TAD_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="TAD_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      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"                                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
@@ -636,5 +695,5 @@
        <field id="TAD_DiC"      long_name="dissolved inorganic carbon"                        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"                                       unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="TAD_DiC_INV"  field_ref="TAD_DiC_E3T"                                       unit="mmol-C/m2/s" grid_ref="vert_sum" /> 
        <field id="TAD_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
        <field id="TAD_ALK_E3T"  long_name="TAD_ALK * E3T"                                     unit="meq/m2/s"    > TAD_ALK * e3t </field>
@@ -651,4 +710,6 @@
        <field id="LDF_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" />
        <field id="LDF_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="LDF_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      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_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" />
        <field id="LDF_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" />
@@ -656,23 +717,39 @@
        <field id="LDF_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
        <field id="LDF_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
-       <field id="LDF_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="LDF_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" /> 
        <field id="LDF_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
        <field id="LDF_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
        <!-- trd case: jptra_bbl -->
        <field id="BBL_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s" />
+       <field id="BBL_CHN_E3T"  long_name="BBL_CHN * E3T"                                     unit="umol/m2/s" > BBL_CHN * e3t </field>
        <field id="BBL_CHD"      long_name="Chl-a concentration in     diatom phytoplankton"   unit="mg Chl/m3/s" />
+       <field id="BBL_CHD_E3T"  long_name="BBL_CHD * E3T"                                     unit="umol/m2/s" > BBL_CHD * e3t </field>
        <field id="BBL_PHN"      long_name="non-diatom phytoplankton"                          unit="mmol-N/m3/s" />
+       <field id="BBL_PHN_E3T"  long_name="BBL_PHN * E3T"                                     unit="umol/m2/s" > BBL_PHN * e3t </field>
        <field id="BBL_PHD"      long_name="diatom     phytoplankton"                          unit="mmol-N/m3/s" />
+       <field id="BBL_PHD_E3T"  long_name="BBL_PHD * E3T"                                     unit="umol/m2/s" > BBL_PHD * e3t </field>
        <field id="BBL_ZMI"      long_name="micro zooplankton"                                 unit="mmol-N/m3/s" />
+       <field id="BBL_ZMI_E3T"  long_name="BBL_ZMI * E3T"                                     unit="umol/m2/s" > BBL_ZMI * e3t </field>
        <field id="BBL_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" />
+       <field id="BBL_ZME_E3T"  long_name="BBL_ZME * E3T"                                     unit="umol/m2/s" > BBL_ZME * e3t </field>
        <field id="BBL_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="BBL_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="BBL_DIN_E3T"  long_name="BBL_DIN * E3T"                                     unit="umol/m2/s" > BBL_DIN * e3t </field>
        <field id="BBL_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" />
+       <field id="BBL_SIL_E3T"  long_name="BBL_SIL * E3T"                                     unit="umol/m2/s" > BBL_SIL * e3t </field>
        <field id="BBL_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" />
+       <field id="BBL_FER_E3T"  long_name="BBL_FER * E3T"                                     unit="umol/m2/s" > BBL_FER * e3t </field>
        <field id="BBL_DET"      long_name="detrital nitrogen"                                 unit="mmol-N/m3/s" />
+       <field id="BBL_DET_E3T"  long_name="BBL_DET * E3T"                                     unit="umol/m2/s" > BBL_DET * e3t </field>
        <field id="BBL_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
+       <field id="BBL_PDS_E3T"  long_name="BBL_PDS * E3T"                                     unit="umol/m2/s" > BBL_PDS * e3t </field>
        <field id="BBL_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
+       <field id="BBL_DTC_E3T"  long_name="BBL_DTC * E3T"                                     unit="umol/m2/s" > BBL_DTC * e3t </field>
        <field id="BBL_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="BBL_DiC_E3T"  long_name="BBL_DiC * E3T"                                     unit="umol/m2/s" > BBL_DiC * e3t </field> 
        <field id="BBL_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
+       <field id="BBL_ALK_E3T"  long_name="BBL_ALK * E3T"                                     unit="umol/m2/s" > BBL_ALK * e3t </field>
        <field id="BBL_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
+       <field id="BBL_OXY_E3T"  long_name="BBL_OXY * E3T"                                     unit="umol/m2/s" > BBL_OXY * e3t </field>
        <!-- trd case: jptra_nsr -->
        <field id="FOR_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s"  />
@@ -683,4 +760,5 @@
        <field id="FOR_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s"  />
        <field id="FOR_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s"  />
+       <field id="FOR_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s"  />
        <field id="FOR_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s"  />
        <field id="FOR_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s"  />
@@ -688,5 +766,5 @@
        <field id="FOR_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s"  />
        <field id="FOR_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s"  />
-       <field id="FOR_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s"  />
+       <field id="FOR_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s"  /> 
        <field id="FOR_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"     />
        <field id="FOR_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s"  />
@@ -699,4 +777,6 @@
        <field id="ZDF_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" />
        <field id="ZDF_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="ZDF_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="ZDF_DIN_E3T"  long_name="ZDF_DIN * E3T"                                     unit="umol/m2/s" > ZDF_DIN * e3t </field>
        <field id="ZDF_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" />
        <field id="ZDF_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" />
@@ -709,18 +789,34 @@
        <!-- trd case: jptra_zdfp -->
        <field id="ZDP_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   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_CHD"      long_name="Chl-a concentration in     diatom phytoplankton"   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_PHN"      long_name="non-diatom phytoplankton"                          unit="mmol-N/m3/s" />
+       <field id="ZDP_PHN_E3T"  long_name="ZDP_PHN * E3T"                                     unit="mg Chl/m2/s" > ZDP_PHN * e3t </field>
        <field id="ZDP_PHD"      long_name="diatom     phytoplankton"                          unit="mmol-N/m3/s" />
+       <field id="ZDP_PHD_E3T"  long_name="ZDP_PHD * E3T"                                     unit="mg Chl/m2/s" > ZDP_PHD * e3t </field>
        <field id="ZDP_ZMI"      long_name="micro zooplankton"                                 unit="mmol-N/m3/s" />
+       <field id="ZDP_ZMI_E3T"  long_name="ZDP_ZMI * E3T"                                     unit="mg Chl/m2/s" > ZDP_ZMI * e3t </field>
        <field id="ZDP_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" />
+       <field id="ZDP_ZME_E3T"  long_name="ZDP_ZME * E3T"                                     unit="mg Chl/m2/s" > ZDP_ZME * e3t </field>
        <field id="ZDP_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="ZDP_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="ZDP_DIN_E3T"  long_name="ZDP_DIN * E3T"                                     unit="mg Chl/m2/s" > ZDP_DIN * e3t </field>
        <field id="ZDP_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" />
+       <field id="ZDP_SIL_E3T"  long_name="ZDP_SIL * E3T"                                     unit="mg Chl/m2/s" > ZDP_SIL * e3t </field>
        <field id="ZDP_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" />
+       <field id="ZDP_FER_E3T"  long_name="ZDP_FER * E3T"                                     unit="mg Chl/m2/s" > ZDP_FER * e3t </field>
        <field id="ZDP_DET"      long_name="detrital nitrogen"                                 unit="mmol-N/m3/s" />
+       <field id="ZDP_DET_E3T"  long_name="ZDP_DET * E3T"                                     unit="mg Chl/m2/s" > ZDP_DET * e3t </field>
        <field id="ZDP_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
+       <field id="ZDP_PDS_E3T"  long_name="ZDP_PDS * E3T"                                     unit="mg Chl/m2/s" > ZDP_PDS * e3t </field>
        <field id="ZDP_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
+       <field id="ZDP_DTC_E3T"  long_name="ZDP_DTC * E3T"                                     unit="mg Chl/m2/s" > ZDP_DTC * e3t </field>
        <field id="ZDP_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="ZDP_DiC_E3T"  long_name="ZDP_DiC * E3T"                                     unit="mg Chl/m2/s" > ZDP_DiC * e3t </field>
        <field id="ZDP_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
+       <field id="ZDP_ALK_E3T"  long_name="ZDP_ALK * E3T"                                     unit="mg Chl/m2/s" > ZDP_ALK * e3t </field>
        <field id="ZDP_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
+       <field id="ZDP_OXY_E3T"  long_name="ZDP_OXY * E3T"                                     unit="mg Chl/m2/s" > ZDP_OXY * e3t </field>
        <!-- trd case: jptra_dmp -->
        <field id="DMP_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s" />
@@ -736,5 +832,5 @@
        <field id="DMP_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
        <field id="DMP_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
-       <field id="DMP_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="DMP_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" /> 
        <field id="DMP_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
        <field id="DMP_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
@@ -759,4 +855,5 @@
        <field id="SMS_ZME_INV"  field_ref="SMS_ZME_E3T"                                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
        <field id="SMS_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="SMS_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      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"                                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
@@ -778,5 +875,5 @@
        <field id="SMS_DiC"      long_name="dissolved inorganic carbon"                        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"                                       unit="mmol-C/m2/s" grid_ref="vert_sum" />
+       <field id="SMS_DiC_INV"  field_ref="SMS_DiC_E3T"                                       unit="mmol-C/m2/s" grid_ref="vert_sum" /> 
        <field id="SMS_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
        <field id="SMS_ALK_E3T"  long_name="SMS_ALK * E3T"                                     unit="meq/m2/s"    > SMS_ALK * e3t </field>
@@ -785,20 +882,4 @@
        <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"                                       unit="mmolO2/m2/s" grid_ref="vert_sum" />
-       <!-- trd case: jptra_atf -->
-       <field id="ATF_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s" />
-       <field id="ATF_CHD"      long_name="Chl-a concentration in     diatom phytoplankton"   unit="mg Chl/m3/s" />
-       <field id="ATF_PHN"      long_name="non-diatom phytoplankton"                          unit="mmol-N/m3/s" />
-       <field id="ATF_PHD"      long_name="diatom     phytoplankton"                          unit="mmol-N/m3/s" />
-       <field id="ATF_ZMI"      long_name="micro zooplankton"                                 unit="mmol-N/m3/s" />
-       <field id="ATF_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" />
-       <field id="ATF_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
-       <field id="ATF_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" />
-       <field id="ATF_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" />
-       <field id="ATF_DET"      long_name="detrital nitrogen"                                 unit="mmol-N/m3/s" />
-       <field id="ATF_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
-       <field id="ATF_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
-       <field id="ATF_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
-       <field id="ATF_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
-       <field id="ATF_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
        <!-- trd case: jptra_radb -->
        <field id="RDB_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s" />
@@ -814,5 +895,5 @@
        <field id="RDB_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
        <field id="RDB_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
-       <field id="RDB_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="RDB_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" /> 
        <field id="RDB_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
        <field id="RDB_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
@@ -830,7 +911,166 @@
        <field id="RDN_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" />
        <field id="RDN_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" />
-       <field id="RDN_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" />
+       <field id="RDN_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" /> 
        <field id="RDN_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    />
        <field id="RDN_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" />
+       <!-- trd case: jptra_iso -->
+       <field id="ISO_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s" > LDF_CHN + ZDF_CHN - ZDP_CHN  </field>
+       <field id="ISO_CHN_E3T"  long_name="ISO_CHN * E3T"                                     unit="umol/m2/s"   > ISO_CHN * e3t </field>
+       <field id="ISO_CHD"      long_name="Chl-a concentration in     diatom phytoplankton"   unit="mg Chl/m3/s" > LDF_CHD + ZDF_CHD - ZDP_CHD  </field>
+       <field id="ISO_CHD_E3T"  long_name="ISO_CHD * E3T"                                     unit="umol/m2/s"   > ISO_CHD * e3t </field>
+       <field id="ISO_PHN"      long_name="non-diatom phytoplankton"                          unit="mmol-N/m3/s" > LDF_PHN + ZDF_PHN - ZDP_PHN  </field>
+       <field id="ISO_PHN_E3T"  long_name="ISO_PHN * E3T"                                     unit="umol/m2/s"   > ISO_PHN * e3t </field>
+       <field id="ISO_PHD"      long_name="diatom     phytoplankton"                          unit="mmol-N/m3/s" > LDF_PHD + ZDF_PHD - ZDP_PHD  </field>
+       <field id="ISO_PHD_E3T"  long_name="ISO_PHD * E3T"                                     unit="umol/m2/s"   > ISO_PHD * e3t </field>
+       <field id="ISO_ZMI"      long_name="micro zooplankton"                                 unit="mmol-N/m3/s" > LDF_ZMI + ZDF_ZMI - ZDP_ZMI  </field>
+       <field id="ISO_ZMI_E3T"  long_name="ISO_ZMI * E3T"                                     unit="umol/m2/s"   > ISO_ZMI * e3t </field>
+       <field id="ISO_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" > LDF_ZME + ZDF_ZME - ZDP_ZME  </field>
+       <field id="ISO_ZME_E3T"  long_name="ISO_ZME * E3T"                                     unit="umol/m2/s"   > ISO_ZME * e3t </field>
+       <field id="ISO_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" > LDF_DIN + ZDF_DIN - ZDP_DIN  </field>
+       <field id="ISO_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" > LDF_DIN + ZDF_DIN - ZDP_DIN  </field>
+       <field id="ISO_DIN_E3T"  long_name="ISO_DIN * E3T"                                     unit="umol/m2/s"   > ISO_DIN * e3t </field>
+       <field id="ISO_DIN_E3T2" long_name="ISO_DIN * E3T"                                     unit="umol/m2/s"   > LDF_DIN * e3t + ZDF_DIN * e3t - ZDP_DIN * e3t  </field>
+       <field id="ISO_DIN_E3T3" long_name="ISO_DIN * E3T"                                     unit="umol/m2/s"   > LDF_DIN_E3T + ZDF_DIN_E3T - ZDP_DIN_E3T  </field>
+       <field id="ISO_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" > LDF_SIL + ZDF_SIL - ZDP_SIL  </field>
+       <field id="ISO_SIL_E3T"  long_name="ISO_SIL * E3T"                                     unit="umol/m2/s"   > ISO_SIL * e3t </field>
+       <field id="ISO_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" > LDF_FER + ZDF_FER - ZDP_FER  </field>
+       <field id="ISO_FER_E3T"  long_name="ISO_FER * E3T"                                     unit="umol/m2/s"   > ISO_FER * e3t </field>
+       <field id="ISO_DET"      long_name="detrital nitrogen"                                 unit="mmol-N/m3/s" > LDF_DET + ZDF_DET - ZDP_DET  </field>
+       <field id="ISO_DET_E3T"  long_name="ISO_DET * E3T"                                     unit="umol/m2/s"   > ISO_DET * e3t </field>
+       <field id="ISO_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" > LDF_PDS + ZDF_PDS - ZDP_PDS  </field>
+       <field id="ISO_PDS_E3T"  long_name="ISO_PDS * E3T"                                     unit="umol/m2/s"   > ISO_PDS * e3t </field>
+       <field id="ISO_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" > LDF_DTC + ZDF_DTC - ZDP_DTC  </field>
+       <field id="ISO_DTC_E3T"  long_name="ISO_DTC * E3T"                                     unit="umol/m2/s"   > ISO_DTC * e3t </field>
+       <field id="ISO_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" > LDF_DiC + ZDF_DiC - ZDP_DiC  </field>
+       <field id="ISO_DiC_E3T"  long_name="ISO_DiC * E3T"                                     unit="umol/m2/s"   > ISO_DiC * e3t </field>  
+       <field id="ISO_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    > LDF_ALK + ZDF_ALK - ZDP_ALK  </field>
+       <field id="ISO_ALK_E3T"  long_name="ISO_ALK * E3T"                                     unit="umol/m2/s"   > ISO_ALK * e3t </field>
+       <field id="ISO_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" > LDF_OXY + ZDF_OXY - ZDP_OXY  </field>
+       <field id="ISO_OXY_E3T"  long_name="ISO_OXY * E3T"                                     unit="umol/m2/s"   > ISO_OXY * e3t </field>
+
+      <!-- Ideal traceurs : variables available with key_idtra -->
+       <field id="XAD_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="YAD_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="ZAD_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="TAD_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="TAD_IDTRA_INV"  field_ref="TAD_IDTRA_E3T"                             unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="BBL_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="FOR_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="ZDF_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="ZDP_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="DMP_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="SMS_IDTRA"      long_name="Ideal traceur concentration "              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"                             unit="mmol/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="RDN_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
+       <field id="ISO_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s" > LDF_IDTRA + ZDF_IDTRA - ZDP_IDTRA  </field>
+
+       <!-- CFC11 : variables available with key_cfc -->
+       <field id="XAD_CFC11"       long_name="CFC11 X-Advection Trend"                  unit="umol/m3/s" />
+       <field id="YAD_CFC11"       long_name="CFC11 Y-Advection Trend"                  unit="umol/m3/s" />
+       <field id="ZAD_CFC11"       long_name="CFC11 Z-Advection Trend"                  unit="umol/m3/s" />
+       <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="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="FOR_CFC11"       long_name="CFC11 Surface Boundary Trend"             unit="umol/m3/s" />
+       <field id="ZDF_CFC11"       long_name="CFC11 Vertical Mixing Trend"              unit="umol/m3/s" />
+       <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="DMP_CFC11"       long_name="CFC11 Damping Trend"                      unit="umol/m3/s" />
+       <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="CFC11b negative values correction trend"  unit="umol/m3/s" />
+       <field id="RDN_CFC11"       long_name="CFC11n negative values correction trend"  unit="umol/m3/s" />
+       <field id="ISO_CFC11"       long_name="CFC11 Isopycnal Mixing Trend"             unit="umol/m3/s" > LDF_CFC11 + ZDF_CFC11 - ZDP_CFC11 </field>  
+
+       <!-- CFC12 : variables available with key_cfc -->
+       <field id="XAD_CFC12"       long_name="CFC12  X-Advection Trend"                 unit="umol/m3/s" />
+       <field id="YAD_CFC12"       long_name="CFC12 Y-Advection Trend"                  unit="umol/m3/s" />
+       <field id="ZAD_CFC12"       long_name="CFC12 Z-Advection Trend"                  unit="umol/m3/s" />
+       <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="BBL_CFC12"       long_name="CFC12 Bottom Boundary Trend"              unit="umol/m3/s" />
+       <field id="FOR_CFC12"       long_name="CFC12 Surface Boundary Trend"             unit="umol/m3/s" />
+       <field id="ZDF_CFC12"       long_name="CFC12 Vertical Mixing Trend"              unit="umol/m3/s" />
+       <field id="ZDP_CFC12"       long_name="CFC12 Kz Diffusive Trend"                 unit="umol/m3/s" />
+       <field id="DMP_CFC12"       long_name="CFC12 Damping Trend"                      unit="umol/m3/s" />
+       <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="CFC12b negative values correction trend"  unit="umol/m3/s" />
+       <field id="RDN_CFC12"       long_name="CFC12n negative values correction trend"  unit="umol/m3/s" />
+       <field id="ISO_CFC12"       long_name="CFC12 Isopycnal Mixing Trend"             unit="umol/m3/s" > LDF_CFC12 + ZDF_CFC12 - ZDP_CFC12 </field>
+
+       <!-- SF6 : variables available with key_cfc -->
+       <field id="XAD_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="YAD_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="ZAD_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="TAD_SF6"         long_name="SF6 Concentration"                        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"                              unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="LDF_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="BBL_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="FOR_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="ZDF_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="ZDP_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="DMP_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="SMS_SF6"         long_name="SF6 Concentration"                        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"                              unit="umol/m2/s" grid_ref="vert_sum" />
+       <field id="RDB_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="RDN_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
+       <field id="ISO_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" > LDF_SF6 + ZDF_SF6 - ZDP_SF6 </field>
+
+       <!-- Bomb C14 : variables available with key_c14b -->
+       <field id="XAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="YAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="ZAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="TAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="TAD_C14B_E3T"    long_name="TAD_C14B * E3T"                           unit="1/s" > TAD_C14B * e3t </field>
+       <field id="TAD_C14B_INV"    field_ref="TAD_C14B_E3T"                             unit="1/s" grid_ref="vert_sum" />
+       <field id="LDF_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="BBL_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="FOR_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="ZDF_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="ZDP_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="DMP_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="SMS_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="SMS_C14B_E3T"    long_name="SMS_C14B * E3T"                           unit="1/s" > SMS_C14B * e3t </field>
+       <field id="SMS_C14B_INV"    field_ref="SMS_C14B_E3T"                             unit="1/s" grid_ref="vert_sum" />
+       <field id="RDB_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="RDN_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
+       <field id="ISO_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"        > LDF_C14B + ZDF_C14B - ZDP_C14B </field>
+
+       <!-- AGE : variables available with key_age -->
+       <field id="XAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="YAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="ZAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="TAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="TAD_Age_E3T"    long_name="TAD_Age * E3T"                                     unit="yr/s" > TAD_Age * e3t </field>
+       <field id="TAD_Age_INV"    field_ref="TAD_Age_E3T"                                       unit="yr/s" grid_ref="vert_sum" />
+       <field id="LDF_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="BBL_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="FOR_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="ZDF_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="ZDP_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="DMP_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="SMS_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="SMS_Age_E3T"    long_name="SMS_Age * E3T"                                     unit="yr/s" > SMS_Age * e3t </field>
+       <field id="SMS_Age_INV"    field_ref="SMS_Age_E3T"                                       unit="yr/s" grid_ref="vert_sum" />
+       <field id="RDB_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="RDN_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
+       <field id="ISO_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"  > LDF_Age + ZDF_Age - ZDP_Age  </field>
+     </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="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s" />
@@ -853,4 +1093,5 @@
        <field id="TOT_ZME_INV"  field_ref="TOT_ZME_E3T"                                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
        <field id="TOT_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" />
+       <field id="TOT_DIN_OUT"  long_name="dissolved inorganic nitrogen"                      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"                                       unit="mmol-N/m2/s" grid_ref="vert_sum" />
@@ -879,162 +1120,35 @@
        <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"                                       unit="mmolO2/m2/s" grid_ref="vert_sum" />
-       <!-- trd case: jptra_iso -->
-       <field id="ISO_CHN"      long_name="Chl-a concentration in non-diatom phytoplankton"   unit="mg Chl/m3/s" > LDF_CHN + ZDF_CHN - ZDP_CHN  </field>
-       <field id="ISO_CHD"      long_name="Chl-a concentration in     diatom phytoplankton"   unit="mg Chl/m3/s" > LDF_CHD + ZDF_CHD - ZDP_CHD  </field>
-       <field id="ISO_PHN"      long_name="non-diatom phytoplankton"                          unit="mmol-N/m3/s" > LDF_PHN + ZDF_PHN - ZDP_PHN  </field>
-       <field id="ISO_PHD"      long_name="diatom     phytoplankton"                          unit="mmol-N/m3/s" > LDF_PHD + ZDF_PHD - ZDP_PHD  </field>
-       <field id="ISO_ZMI"      long_name="micro zooplankton"                                 unit="mmol-N/m3/s" > LDF_ZMI + ZDF_ZMI - ZDP_ZMI  </field>
-       <field id="ISO_ZME"      long_name="meso  zooplankton"                                 unit="mmol-N/m3/s" > LDF_ZME + ZDF_ZME - ZDP_ZME  </field>
-       <field id="ISO_DIN"      long_name="dissolved inorganic nitrogen"                      unit="mmol-N/m3/s" > LDF_DIN + ZDF_DIN - ZDP_DIN  </field>
-       <field id="ISO_SIL"      long_name="dissolved silicic acid"                            unit="mmolSi/m3/s" > LDF_SIL + ZDF_SIL - ZDP_SIL  </field>
-       <field id="ISO_FER"      long_name="dissolved iron"                                    unit="mmolFe/m3/s" > LDF_FER + ZDF_FER - ZDP_FER  </field>
-       <field id="ISO_DET"      long_name="detrital nitrogen"                                 unit="mmol-N/m3/s" > LDF_DET + ZDF_DET - ZDP_DET  </field>
-       <field id="ISO_PDS"      long_name="biogenic silicon in diatom phytoplankton"          unit="mmolSi/m3/s" > LDF_PDS + ZDF_PDS - ZDP_PDS  </field>
-       <field id="ISO_DTC"      long_name="detrital carbon"                                   unit="mmol-C/m3/s" > LDF_DTC + ZDF_DTC - ZDP_DTC  </field>
-       <field id="ISO_DiC"      long_name="dissolved inorganic carbon"                        unit="mmol-C/m3/s" > LDF_DiC + ZDF_DiC - ZDP_DiC  </field>
-       <field id="ISO_ALK"      long_name="alkalinity"                                        unit="meq/m3/s"    > LDF_ALK + ZDF_ALK - ZDP_ALK  </field>
-       <field id="ISO_OXY"      long_name="dissolved oxygen"                                  unit="mmolO2/m3/s" > LDF_OXY + ZDF_OXY - ZDP_OXY  </field>
+       <!-- 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="XAD_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="YAD_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="ZAD_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="TAD_IDTRA"      long_name="Ideal traceur concentration "              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"                             unit="mmol/m2/s" grid_ref="vert_sum" />
-       <field id="LDF_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="BBL_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="FOR_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="ZDF_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="ZDP_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="DMP_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="SMS_IDTRA"      long_name="Ideal traceur concentration "              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"                             unit="mmol/m2/s" grid_ref="vert_sum" />
-       <field id="ATF_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="RDB_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
-       <field id="RDN_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s"    />
        <field id="TOT_IDTRA"      long_name="Ideal traceur concentration "              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"                             unit="mmol/m2/s" grid_ref="vert_sum" />
-       <field id="ISO_IDTRA"      long_name="Ideal traceur concentration "              unit="mmol/m3/s" > LDF_IDTRA + ZDF_IDTRA - ZDP_IDTRA  </field>
 
        <!-- CFC11 : variables available with key_cfc -->
-       <field id="XAD_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="YAD_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="ZAD_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="TAD_CFC11"       long_name="CFC-11 Concentration"                     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"                            unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="LDF_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="BBL_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="FOR_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="ZDF_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="ZDP_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="DMP_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="SMS_CFC11"       long_name="CFC-11 Concentration"                     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"                            unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="ATF_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="RDB_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="RDN_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
-       <field id="TOT_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" />
+       <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"                            unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="ISO_CFC11"       long_name="CFC-11 Concentration"                     unit="umol/m3/s" > LDF_CFC11 + ZDF_CFC11 - ZDP_CFC11 </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="XAD_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="YAD_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="ZAD_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="TAD_CFC12"       long_name="CFC-12 Concentration"                     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"                            unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="LDF_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="BBL_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="FOR_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="ZDF_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="ZDP_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="DMP_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="SMS_CFC12"       long_name="CFC-12 Concentration"                     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"                            unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="ATF_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="RDB_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="RDN_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" />
-       <field id="TOT_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" /> 
+       <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"                            unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="ISO_CFC12"       long_name="CFC-12 Concentration"                     unit="umol/m3/s" > LDF_CFC12 + ZDF_CFC12 - ZDP_CFC12 </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="XAD_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="YAD_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="ZAD_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="TAD_SF6"         long_name="SF6 Concentration"                        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"                              unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="LDF_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="BBL_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="FOR_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="ZDF_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="ZDP_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="DMP_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="SMS_SF6"         long_name="SF6 Concentration"                        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"                              unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="ATF_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="RDB_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
-       <field id="RDN_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" />
        <field id="TOT_SF6"         long_name="SF6 Concentration"                        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"                              unit="umol/m2/s" grid_ref="vert_sum" />
-       <field id="ISO_SF6"         long_name="SF6 Concentration"                        unit="umol/m3/s" > LDF_SF6 + ZDF_SF6 - ZDP_SF6 </field>
+
        <!-- Bomb C14 : variables available with key_c14b -->
-       <field id="XAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="YAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="ZAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="TAD_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="TAD_C14B_E3T"    long_name="TAD_C14B * E3T"                           unit="1/s" > TAD_C14B * e3t </field>
-       <field id="TAD_C14B_INV"    field_ref="TAD_C14B_E3T"                             unit="1/s" grid_ref="vert_sum" />
-       <field id="LDF_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="BBL_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="FOR_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="ZDF_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="ZDP_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="DMP_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="SMS_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="SMS_C14B_E3T"    long_name="SMS_C14B * E3T"                           unit="1/s" > SMS_C14B * e3t </field>
-       <field id="SMS_C14B_INV"    field_ref="SMS_C14B_E3T"                             unit="1/s" grid_ref="vert_sum" />
-       <field id="ATF_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="RDB_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
-       <field id="RDN_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"         />
        <field id="TOT_C14B"        long_name="Bomb C14 Concentration"                   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"                             unit="1/s" grid_ref="vert_sum" />
-       <field id="ISO_C14B"        long_name="Bomb C14 Concentration"                   unit="1/s"        > LDF_C14B + ZDF_C14B - ZDP_C14B </field>
+
        <!-- AGE : variables available with key_age -->
-       <field id="XAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="YAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="ZAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="TAD_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="TAD_Age_E3T"    long_name="TAD_Age * E3T"                                     unit="yr/s" > TAD_Age * e3t </field>
-       <field id="TAD_Age_INV"    field_ref="TAD_Age_E3T"                                       unit="yr/s" grid_ref="vert_sum" />
-       <field id="LDF_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="BBL_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="FOR_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="ZDF_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="ZDP_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="DMP_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="SMS_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="SMS_Age_E3T"    long_name="SMS_Age * E3T"                                     unit="yr/s" > SMS_Age * e3t </field>
-       <field id="SMS_Age_INV"    field_ref="SMS_Age_E3T"                                       unit="yr/s" grid_ref="vert_sum" />
-       <field id="ATF_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="RDB_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
-       <field id="RDN_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
        <field id="TOT_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"         />
        <field id="TOT_Age_E3T"    long_name="TOT_Age * E3T"                                     unit="yr/s" > TOT_Age * e3t </field>
        <field id="TOT_Age_INV"    field_ref="TOT_Age_E3T"                                       unit="yr/s" grid_ref="vert_sum" />
-       <field id="ISO_Age"        long_name="Sea Water Age Since Surface contact" standard_name="sea_water_age_since_surface_contact"  unit="yr/s"  > LDF_Age + ZDF_Age - ZDP_Age  </field>
      </field_group>
-
 
 
Index: /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90	(revision 8672)
+++ /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90	(revision 8673)
@@ -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_package_trdtrc/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcsms_medusa.F90
===================================================================
--- /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcsms_medusa.F90	(revision 8672)
+++ /branches/NERC/dev_r5518_GO6_package_trdtrc/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcsms_medusa.F90	(revision 8673)
@@ -23,5 +23,5 @@
    USE trcavg_medusa
    !! for SMS trends
-   USE par_medusa,    ONLY: jp_msa0, jp_msa1
+   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
@@ -54,5 +54,5 @@
       INTEGER :: jn
       !! trend temporary array:
-      REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrmed
+      REAL(wp), POINTER, DIMENSION(:,:,:,:) :: ztrmed
 
 
@@ -67,4 +67,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
@@ -107,10 +116,9 @@
       !! MEDUSA SMS trends:
       IF( l_trdtrc ) THEN
-          CALL wrk_alloc( jpi, jpj, jpk, ztrmed )
-          DO jn = jp_msa0, jp_msa1
-            ztrmed(:,:,:) = tra(:,:,:,jn)
-            CALL trd_trc( ztrmed, jn, jptra_sms, kt )   ! save trends
+          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, ztrmed )
+          CALL wrk_dealloc( jpi, jpj, jpk, jp_medusa, ztrmed )
       END IF
 
