Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/ARCH/arch-X64_IRENE-AMD.env
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/ARCH/arch-X64_IRENE-AMD.env	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/ARCH/arch-X64_IRENE-AMD.env	(revision 6423)
@@ -6,5 +6,5 @@
 module load mpi/openmpi/4.1.4
 module load flavor/hdf5/parallel
-module load hdf5/1.12.0
+module load hdf5/1.12.2
 module load netcdf-fortran/4.5.3
 module load mkl/20.0.0
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/ARCH/arch-X64_IRENE.env
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/ARCH/arch-X64_IRENE.env	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/ARCH/arch-X64_IRENE.env	(revision 6423)
@@ -6,5 +6,5 @@
 module load mpi/openmpi/4.1.4
 module load flavor/hdf5/parallel
-module load hdf5/1.12.0
+module load hdf5/1.12.2
 module load netcdf-fortran/4.5.3
 module load mkl/20.0.0
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/lmdz.card
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/lmdz.card	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/lmdz.card	(revision 6423)
@@ -38,5 +38,7 @@
 # output_level_filename=10    : activate the corresponding file with high output level
 # output_level_filename=NONE  : the file will not be written
-output_level_histmth = 5
+output_level_histmthtune = 1 
+output_level_histdaytune = 1
+output_level_histmth = NONE 
 output_level_histday = NONE
 output_level_histhf  = NONE
@@ -49,5 +51,5 @@
 
 # Activate COSP in config.def and set corresponding output files
-LMDZ_COSP_OK=y
+LMDZ_COSP_OK=n
 output_level_histmthCOSP = NONE
 output_level_histdayCOSP = NONE
@@ -87,11 +89,13 @@
         (${SUBMIT_DIR}/PARAM/iodef.xml, . ),                                \
         (${SUBMIT_DIR}/PARAM/ping_LMDZ.xml, ping_lmdz.xml ),                \
-        (${MODIPSL}/modeles/LMDZ/DefLists/context_lmdz.xml, . ),            \
+        (${SUBMIT_DIR}/../SOURCES/LMDZ/context_lmdz.xml, . ),            \
         (${MODIPSL}/modeles/LMDZ/DefLists/field_def_lmdz.xml, . ),          \
         (${MODIPSL}/modeles/LMDZ/DefLists/field_def_cosp1.xml, . ),          \
         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmth_lmdz.xml, . ),   \
+        (${SUBMIT_DIR}/../SOURCES/LMDZ/file_def_histmthtune_lmdz.xml, . ),   \
         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthCOSP_lmdz.xml, .),\
         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histmthNMC_lmdz.xml, . ),\
         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histday_lmdz.xml, . ),   \
+        (${SUBMIT_DIR}/../SOURCES/LMDZ/file_def_histdaytune_lmdz.xml, . ),   \
         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayCOSP_lmdz.xml, .),\
         (${MODIPSL}/modeles/LMDZ/DefLists/file_def_histdayNMC_lmdz.xml, . ),\
@@ -116,4 +120,6 @@
 [OutputFiles]
 List=   (histmth.nc,       ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmth.nc,       Post_1M_histmth),       \
+        (histdaytune.nc,       ${R_OUT_ATM_O_D}/${PREFIX}_1D_histdaytune.nc,       NONE),                  \
+        (histmthtune.nc,       ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthtune.nc,       NONE),                  \
         (histmthCOSP.nc,   ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthCOSP.nc,   NONE),                  \
         (histmthNMC.nc,    ${R_OUT_ATM_O_M}/${PREFIX}_1M_histmthNMC.nc,    NONE),    \
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/opa9.card
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/opa9.card	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/opa9.card	(revision 6423)
@@ -36,13 +36,12 @@
 
 [ParametersFiles]
-List=   (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_ref           , namelist_ref        ), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/domain_def_nemo.xml    , domain_def_nemo.xml ), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/axis_def_nemo.xml      , axis_def_nemo.xml   ), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/grid_def_nemo.xml      , grid_def_nemo.xml  ), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/field_def_nemo-oce.xml , field_def_nemo-oce.xml  ), \
-        (${SUBMIT_DIR}/../SOURCES/NEMO/file_def_nemo-oce.xml        , file_def_nemo-oce.xml ), \
-        (${SUBMIT_DIR}/../SOURCES/NEMO/context_nemo.xml             , context_nemo.xml ), \
-        (${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg              , namelist_cfg )
-
+List=   (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_ref    , namelist_ref        ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/context_nemo.xml      , context_nemo.xml ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/domain_def_nemo.xml   , domain_def_nemo.xml ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/axis_def_nemo.xml     , axis_def_nemo.xml   ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/grid_def_nemo.xml     , grid_def_nemo.xml  ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/field_def_nemo-oce.xml, field_def_nemo-oce.xml  ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/file_def_nemo-oce_tuning.xml , file_def_nemo-oce.xml ), \
+        (${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg       , namelist_cfg )
 
 
@@ -55,33 +54,9 @@
 
 [OutputFiles]
-List=   (${config_UserChoices_JobName}_1y_scalar.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_scalar.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1y_grid_T.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_T.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1y_grid_U.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_U.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1y_grid_V.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_V.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1y_grid_W.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_grid_W.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1y_diaptr_T_2D.nc  , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_diaptr_T.nc   , NONE          ),\
-        (${config_UserChoices_JobName}_1y_diaptr_T_3D.nc  , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_diaptr_T.nc   , NONE          ),\
-        (${config_UserChoices_JobName}_1y_diaptr_W.nc  , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_diaptr_W.nc   , NONE          ),\
-        (${config_UserChoices_JobName}_1y_trdtra.nc    , ${R_OUT_OCE_O_Y}/${PREFIX}_1Y_trdtra.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1m_scalar.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_scalar.nc     , Post_1M_scalar),\
+List=   (${config_UserChoices_JobName}_1m_scalar.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_scalar.nc     , Post_1M_scalar),\
         (${config_UserChoices_JobName}_1m_grid_T.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_T.nc     , Post_1M_grid_T),\
-        (${config_UserChoices_JobName}_1m_grid_U.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_U.nc     , Post_1M_grid_U),\
-        (${config_UserChoices_JobName}_1m_grid_V.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_V.nc     , Post_1M_grid_V),\
-        (${config_UserChoices_JobName}_1m_grid_W.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_W.nc     , Post_1M_grid_W),\
-        (${config_UserChoices_JobName}_1m_diaptr_T_2D.nc  , ${R_OUT_OCE_O_M}/${PREFIX}_1M_diaptr_T_2D.nc   , NONE),\
         (${config_UserChoices_JobName}_1m_diaptr_T_3D.nc  , ${R_OUT_OCE_O_M}/${PREFIX}_1M_diaptr_T_3D.nc   , NONE),\
         (${config_UserChoices_JobName}_1m_diaptr_W.nc  , ${R_OUT_OCE_O_M}/${PREFIX}_1M_diaptr_W.nc   , Post_1M_diaptr_W),\
         (${config_UserChoices_JobName}_1m_strait_oce.nc , ${R_OUT_OCE_O_M}/${PREFIX}_1M_strait_oce.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1m_trdtra.nc    , ${R_OUT_OCE_O_M}/${PREFIX}_1M_trdtra.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_5d_grid_T.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_T.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_5d_grid_U.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_U.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_5d_grid_V.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_V.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_5d_grid_W.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_W.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_5d_trdtra.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_5D_trdtra.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1d_grid_T.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_T.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1d_grid_U.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_U.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1d_grid_W.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_grid_W.nc     , NONE          ),\
-        (${config_UserChoices_JobName}_1d_SBC.nc       , ${R_OUT_OCE_O_D}/${PREFIX}_1D_SBC.nc        , NONE          ),\
-        (${config_UserChoices_JobName}_1d_scalar.nc    , ${R_OUT_OCE_O_D}/${PREFIX}_1D_scalar.nc     , NONE          ),\
         (mesh_mask.nc     , ${R_OUT_OCE_O}/${config_UserChoices_JobName}_mesh_mask.nc                , NONE          ),\
         (runoffs.nc       , ${R_OUT_OCE_O}/${config_UserChoices_JobName}_runoffs.nc                  , NONE          ),\
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/orchidee.card
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/orchidee.card	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/orchidee.card	(revision 6423)
@@ -42,5 +42,6 @@
 List= ()
 ListNonDel= (${R_IN}/SRF/PFTMAPS/CMIP6/ESA-LUH2v2/historical/15PFT.v1/PFTmap_1850.nc, PFTmap.nc),\
-            (${R_IN}/SRF/WOODHARVEST/LUH2v2/historical/woodharvest_1850.nc,           woodharvest.nc)
+            (${R_IN}/SRF/WOODHARVEST/LUH2v2/historical/woodharvest_1850.nc,           woodharvest.nc),\
+            (${R_IN}/SRF/soils_param.nc, . )
 
 
@@ -51,5 +52,5 @@
 List=	(${SUBMIT_DIR}/PARAM/orchidee.def_${DefSuffix}, orchidee.def)   ,\
         (${SUBMIT_DIR}/PARAM/ping_orchidee.xml, . )                       ,\
-	(${MODIPSL}/modeles/ORCHIDEE/src_xml/file_def_orchidee.xml, .)  ,\
+	(${SUBMIT_DIR}/../SOURCES/ORCHIDEE/file_def_orchidee.xml, .)  ,\
 	(${MODIPSL}/modeles/ORCHIDEE/src_xml/context_input_orchidee.xml, .) ,\
 	(${MODIPSL}/modeles/ORCHIDEE/src_xml/context_orchidee.xml, .)   ,\
@@ -64,4 +65,5 @@
 [OutputFiles]
 List=   (sechiba_history.nc,   ${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_history.nc, Post_1M_sechiba_history), \
+        (sechiba_stomate_history.nc,${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_stomate_history.nc, NONE), \
         (sechiba_history_4dim.nc,${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_history_4dim.nc, NONE), \
         (sechiba_out_2.nc,     ${R_OUT_SRF_O_H}/${PREFIX}_HF_sechiba_out_2.nc,   NONE)
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/pisces.card
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/pisces.card	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/pisces.card	(revision 6423)
@@ -3,5 +3,5 @@
 
 [UserChoices]
-age=y
+age=n
 cfc11=n
 cfc12=n
@@ -36,14 +36,13 @@
 
 [ParametersFiles]
-List=   (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_top_ref            , namelist_top_ref), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_pisces_ref         , namelist_pisces_ref), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_trc_ref            , namelist_trc_ref   ), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/field_def_nemo-pisces.xml   , field_def_nemo-pisces.xml  ), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/field_def_nemo-innerttrc.xml, field_def_nemo-innerttrc.xml), \
-     	(${SUBMIT_DIR}/PARAM/namelist_top_${RESOL_OCE}_cfg               , namelist_top_cfg           ), \
-        (${SUBMIT_DIR}/PARAM/namelist_pisces_cfg                         , namelist_pisces_cfg        ), \
-        (${SUBMIT_DIR}/PARAM/namelist_trc_cfg                            , namelist_trc_cfg           ), \
-        (${SUBMIT_DIR}/../SOURCES/NEMO/file_def_nemo-pisces.xml          , file_def_nemo-pisces.xml   )
-
+List=   (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_top_ref      , namelist_top_ref), \
+        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_pisces_ref   , namelist_pisces_ref), \
+        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_trc_ref      , namelist_trc_ref   ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/field_def_nemo-pisces.xml   , field_def_nemo-pisces.xml  ), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/field_def_nemo-innerttrc.xml, field_def_nemo-innerttrc.xml), \
+        (${SUBMIT_DIR}/../SOURCES/NEMO/file_def_nemo-pisces_tuning.xml, file_def_nemo-pisces.xml ), \
+        (${SUBMIT_DIR}/PARAM/namelist_top_${RESOL_OCE}_cfg         , namelist_top_cfg           ), \
+        (${SUBMIT_DIR}/PARAM/namelist_pisces_cfg                   , namelist_pisces_cfg        ), \
+        (${SUBMIT_DIR}/PARAM/namelist_trc_cfg                      , namelist_trc_cfg           )
 
 [RestartFiles]
@@ -56,12 +55,6 @@
 [OutputFiles]
 List=   (${config_UserChoices_JobName}_1y_ptrc_T.nc        , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_ptrc_T.nc    , NONE ) , \
-        (${config_UserChoices_JobName}_1y_diad_T.nc        , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_diad_T.nc    , NONE ) , \
-        (${config_UserChoices_JobName}_1y_Age.nc           , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_Age.nc       , NONE ) , \
-        (${config_UserChoices_JobName}_1y_CFC11.nc         , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_CFC11.nc     , NONE ) , \
-        (${config_UserChoices_JobName}_1y_CFC12.nc         , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_CFC12.nc     , NONE ) , \
-        (${config_UserChoices_JobName}_1m_bioscalar.nc     , ${R_OUT_MBG_O_M}/${PREFIX}_1M_bioscalar.nc , Post_1M_bioscalar) , \
-        (${config_UserChoices_JobName}_1m_ptrc_T.nc        , ${R_OUT_MBG_O_M}/${PREFIX}_1M_ptrc_T.nc    , NONE   ) , \
-        (${config_UserChoices_JobName}_1m_diad_T.nc        , ${R_OUT_MBG_O_M}/${PREFIX}_1M_diad_T.nc    , NONE   ) , \
-        (${config_UserChoices_JobName}_1d_bioscalar.nc     , ${R_OUT_MBG_O_D}/${PREFIX}_1D_bioscalar.nc , NONE)
+        (${config_UserChoices_JobName}_1y_bioscalar.nc     , ${R_OUT_MBG_O_Y}/${PREFIX}_1Y_bioscalar.nc , NONE) , \
+        (${config_UserChoices_JobName}_5d_ptrc_T.nc        , ${R_OUT_MBG_O_D}/${PREFIX}_5D_ptrc_T.nc    , NONE   ) 
 
 [Post_1D_bioscalar]
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/si3.card
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/si3.card	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/COMP/si3.card	(revision 6423)
@@ -19,7 +19,7 @@
 [ParametersFiles]
 List=   (${MODIPSL}/modeles/NEMO/cfgs/SHARED/namelist_ice_ref      , namelist_ice_ref ), \
-        (${MODIPSL}/modeles/NEMO/cfgs/SHARED/field_def_nemo-ice.xml, field_def_nemo-ice.xml ),\
-        (${SUBMIT_DIR}/PARAM/namelist_ice_${RESOL_OCE}_cfg, namelist_ice_cfg ), \
-        (${SUBMIT_DIR}/../SOURCES/NEMO/file_def_nemo-ice_${RESOL_OCE}.xml, file_def_nemo-ice.xml   )
+        (${SUBMIT_DIR}/../SOURCES/NEMO/field_def_nemo-ice.xml, field_def_nemo-ice.xml ),\
+        (${SUBMIT_DIR}/../SOURCES/NEMO/file_def_nemo-ice_${RESOL_OCE}_tuning.xml, file_def_nemo-ice.xml ), \
+        (${SUBMIT_DIR}/PARAM/namelist_ice_${RESOL_OCE}_cfg, namelist_ice_cfg )
 
 
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/config.card
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/config.card	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/EXPERIMENTS/IPSLCM/pdControl_TUNING/config.card	(revision 6423)
@@ -54,11 +54,13 @@
 #D- If you want to restart all components from the same simulation,
 #D-      put OveRule flag to 'y' and set the next 3 parameters
-OverRule=n
-#D- Last day of the experience used as restart for all components
-RestartDate=2049-12-31
-#D- Define restart simulation name for all components
-RestartJobName=CM65v420-LR-CdL-pd-04
-#D- Path Server Group Login
-RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/piControl
+OverRule=y
+#D- Last day of the experience used as restart for all components
+RestartDate=1919-12-31
+# For nn_etau = 0
+RestartJobName=CM65v420-LR-pd-tun-00
+# For nn_etau = 1
+#RestartJobName=CM65v420-LR-pd-tun-01
+#D- Path Server Group Login
+RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/pdControl
 
 #========================================================================
@@ -71,5 +73,5 @@
 RestartDate=2049-12-31
 #D- Define restart simulation name for all components
-RestartJobName=CM65v420-LR-CdL-pd-04
+RestartJobName==CM65v420-LR-CdL-pd-04
 #D- Path Server Group Login
 RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/pdControl
@@ -110,10 +112,7 @@
 ##-- Last day of the experience used as restart for this component if Restart=y
 #D- Last day of the experience used as restart for all components
-RestartDate=2449-12-31
-#D- Define restart simulation name for all components
-RestartJobName=CM65v420-LR-CdL-pi-01
-#RestartDate=3849-12-31
-#D- Define restart simulation name for all components
-#RestartJobName=CM61-LR-pi-03g-v42
+RestartDate=3849-12-31
+#D- Define restart simulation name for all components
+RestartJobName=CM61-LR-pi-03g-v42
 #D- Path Server Group Login
 RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/piControl
@@ -126,10 +125,7 @@
 # Last day of the experience used as restart for this component if Restart=y
 #D- Last day of the experience used as restart for all components
-RestartDate=2449-12-31
-#D- Define restart simulation name for all components
-RestartJobName=CM65v420-LR-CdL-pi-01
-#RestartDate=3849-12-31
-#D- Define restart simulation name for all components
-#RestartJobName=CM61-LR-pi-03g
+RestartDate=3849-12-31
+#D- Define restart simulation name for all components
+RestartJobName=CM61-LR-pi-03g
 #D- Path Server Group Login
 RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/piControl
@@ -142,10 +138,7 @@
 # Last day of the experience used as restart for this component if Restart=y
 #D- Last day of the experience used as restart for all components
-RestartDate=2449-12-31
-#D- Define restart simulation name for all components
-RestartJobName=CM65v420-LR-CdL-pi-01
-#RestartDate=3849-12-31
-#D- Define restart simulation name for all components
-#RestartJobName=CM61-LR-pi-03g
+RestartDate=3849-12-31
+#D- Define restart simulation name for all components
+RestartJobName=CM61-LR-pi-03g
 #D- Path Server Group Login
 RestartPath=${R_IN}/RESTART/IPSLCM6/DEVT/piControl
@@ -215,5 +208,5 @@
 #D- To have only the last period in RESTART/*.tar : save 90% of volume.
 #D- TRUE to be effective (nothing by default)
-LightRestartPack=FALSE
+LightRestartPack=TRUE
 #D- If you want to produce time series, this flag determines
 #D- frequency of post-processing submission (NONE if you dont want)
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/DRIVER/lmdz.driver
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/DRIVER/lmdz.driver	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/DRIVER/lmdz.driver	(revision 6423)
@@ -212,4 +212,22 @@
 	IGCM_comp_modifyXmlFile nonblocker file_def_histday_lmdz.xml histday enabled TRUE
 	IGCM_comp_modifyXmlFile nonblocker file_def_histday_lmdz.xml histday output_level ${lmdz_UserChoices_output_level_histday} 
+    fi
+
+    # histmthtune
+    if [ X${lmdz_UserChoices_output_level_histmthtune} = X ] || [ X${lmdz_UserChoices_output_level_histmthtune} = XNONE ] ; then
+	IGCM_comp_modifyXmlFile nonblocker file_def_histmthtune_lmdz.xml histmthtune enabled FALSE
+	IGCM_comp_modifyXmlFile nonblocker file_def_histmthtune_lmdz.xml histmthtune output_level 0
+    else
+	IGCM_comp_modifyXmlFile nonblocker file_def_histmthtune_lmdz.xml histmthtune enabled TRUE
+	IGCM_comp_modifyXmlFile nonblocker file_def_histmthtune_lmdz.xml histmthtune output_level ${lmdz_UserChoices_output_level_histmthtune} 
+    fi
+
+    # histdaytune
+    if [ X${lmdz_UserChoices_output_level_histdaytune} = X ] || [ X${lmdz_UserChoices_output_level_histdaytune} = XNONE ] ; then
+	IGCM_comp_modifyXmlFile nonblocker file_def_histdaytune_lmdz.xml histday enabled FALSE
+	IGCM_comp_modifyXmlFile nonblocker file_def_histdaytune_lmdz.xml histdaytune output_level 0
+    else
+	IGCM_comp_modifyXmlFile nonblocker file_def_histdaytune_lmdz.xml histdaytune enabled TRUE
+	IGCM_comp_modifyXmlFile nonblocker file_def_histdaytune_lmdz.xml histdaytune output_level ${lmdz_UserChoices_output_level_histdaytune} 
     fi
 
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/PARAM/namelist_ORCA1_cfg
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/PARAM/namelist_ORCA1_cfg	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/PARAM/namelist_ORCA1_cfg	(revision 6423)
@@ -400,4 +400,6 @@
 !-----------------------------------------------------------------------
    ln_mle      = .true.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation
+   rn_ce       = 0.06     ! magnitude of the MLE (typical value: 0.06 to 0.08)
+   nn_mle      = 1        ! MLE type: =0 standard Fox-Kemper ; =1 new formulation
 /
 !-----------------------------------------------------------------------
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/PARAM/orchidee.def_CWRR
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/PARAM/orchidee.def_CWRR	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/GENERAL/PARAM/orchidee.def_CWRR	(revision 6423)
@@ -54,4 +54,7 @@
 # DO_RSOIL : Reduce soil evaporation with a soil resistance (default n)
 DO_RSOIL = n
+
+# Fraction of saturated volumetric soil moisture above which transpir is max (0.3-0.9, unitless)
+WETNESS_TRANSPIR_MAX= 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8
 
 # To make AVAN and NVAN constant with depth (default CWRR_AKS_A0=0, CWRR_AKS_POWER=0, CWRR_NKS_A0=0, CWRR_NKS_POWER=0 )
@@ -208,5 +211,5 @@
 ALB_BG_FILE  = alb_bg.nc
 
-#TCST_SNOWA Time constant of the albedo decay of snow
+# Time constant of the albedo decay of snow (days) (5-15)
 TCST_SNOWA=10
 
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE-AMD.fcm
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE-AMD.fcm	(revision 6421)
+++ 	(revision )
@@ -1,16 +1,0 @@
-%COMPILER            mpif90
-%LINK                mpif90
-%AR                  ar
-%ARFLAGS             rs
-%MAKE                gmake
-%FPP_FLAGS           -P -traditional
-%FPP_DEF             NC_DOUBLE FFT_MKL
-%BASE_FFLAGS         -i4 -r8 -auto -align all -I$(MKL_INCDIR) -I$(MKL_INCDIR)/intel64/lp64 
-%PROD_FFLAGS         -O3 -mavx2 -fp-model fast=2
-%DEV_FFLAGS          -fp-model strict -p -g -O2 -traceback -fp-stack-check
-%DEBUG_FFLAGS        -fp-model strict -p -g -traceback -fp-stack-check -ftrapuv -check bounds,noarg_temp_created,pointers,stack,uninit -debug full -init=arrays -init=snan
-%MPI_FFLAGS
-%OMP_FFLAGS          -qopenmp
-%BASE_LD             -i4 -r8 -auto $MKL_LDFLAGS
-%MPI_LD
-%OMP_LD              -qopenmp
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE-AMD.path
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE-AMD.path	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE-AMD.path	(revision 6423)
@@ -0,0 +1,28 @@
+NETCDF_INCDIR="-I$NETCDFFORTRAN_INCDIR"
+NETCDF_LIBDIR="-L$NETCDFFORTRAN_LIBDIR -L$NETCDF_LIBDIR"
+NETCDF_LIB="-lnetcdff -lnetcdf"
+
+NETCDF95_INCDIR=-I/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95/modules
+NETCDF95_LIBDIR=-L/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95
+NETCDF95_LIB=-lnetcdf95
+
+IOIPSL_INCDIR="-I$LMDGCM/../../lib -I$LMDGCM/../IOIPSL/inc"
+IOIPSL_LIBDIR="-L$LMDGCM/../../lib -L$LMDGCM/../IOIPSL/lib"
+IOIPSL_LIB="-lioipsl"
+
+XIOS_INCDIR="-I$LMDGCM/../XIOS/inc"
+XIOS_LIBDIR="-L$LMDGCM/../XIOS/lib"
+XIOS_LIB="-lxios -lstdc++"
+
+ORCH_INCDIR="-I$LMDGCM/../../lib"
+ORCH_LIBDIR="-L$LMDGCM/../../lib"
+
+OASIS_INCDIR="-I$LMDGCM/../../oasis3-mct/BLD/build/lib/psmile.MPI1"
+OASIS_LIBDIR="-L$LMDGCM/../../oasis3-mct/BLD/lib"
+OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu"
+
+INCA_INCDIR="-I$LMDGCM/../INCA/build/inc"
+INCA_LIBDIR="-L$LMDGCM/../INCA/build/lib"
+INCA_LIB="-lchimie"
+
+
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE.fcm
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE.fcm	(revision 6421)
+++ 	(revision )
@@ -1,17 +1,0 @@
-%COMPILER            mpif90
-%LINK                mpif90
-%AR                  ar
-%ARFLAGS             rs
-%MAKE                gmake
-%FPP_FLAGS           -P -traditional
-%FPP_DEF             NC_DOUBLE FFT_MKL
-#%BASE_FFLAGS        -recursive -xHost -i4 -r8 -auto -align all -I$(MKL_INC_DIR) -I$(MKL_INC_DIR)/intel64/lp64
-%BASE_FFLAGS         -i4 -r8 -auto -align all -I$(MKL_INC_DIR) -I$(MKL_INC_DIR)/intel64/lp64 
-%PROD_FFLAGS         -O3 -axAVX,SSE4.2 -fp-model fast=2
-%DEV_FFLAGS          -fp-model strict -p -g -O2 -traceback -fp-stack-check
-%DEBUG_FFLAGS        -fp-model strict -p -g -traceback -fp-stack-check -ftrapuv -check bounds,noarg_temp_created,pointers,stack,uninit -debug full -init=arrays -init=snan
-%MPI_FFLAGS
-%OMP_FFLAGS          -qopenmp
-%BASE_LD             -i4 -r8 -auto -L/ccc/products/mkl-20.0.0/system/default/20.0.0/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread
-%MPI_LD
-%OMP_LD              -qopenmp
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE.path
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE.path	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_IRENE.path	(revision 6423)
@@ -0,0 +1,27 @@
+
+NETCDF_INCDIR="-I$NETCDFFORTRAN_INCDIR"
+NETCDF_LIBDIR="-L$NETCDFFORTRAN_LIBDIR -L$NETCDF_LIBDIR"
+NETCDF_LIB="-lnetcdff -lnetcdf"
+
+NETCDF95_INCDIR=-I/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95/modules
+NETCDF95_LIBDIR=-L/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95
+NETCDF95_LIB=-lnetcdf95
+
+IOIPSL_INCDIR="-I$LMDGCM/../../lib -I$LMDGCM/../IOIPSL/inc"
+IOIPSL_LIBDIR="-L$LMDGCM/../../lib -L$LMDGCM/../IOIPSL/lib"
+IOIPSL_LIB="-lioipsl"
+
+XIOS_INCDIR="-I$LMDGCM/../XIOS/inc"
+XIOS_LIBDIR="-L$LMDGCM/../XIOS/lib"
+XIOS_LIB="-lxios -lstdc++"
+
+ORCH_INCDIR="-I$LMDGCM/../../lib"
+ORCH_LIBDIR="-L$LMDGCM/../../lib"
+
+OASIS_INCDIR="-I$LMDGCM/../../oasis3-mct/BLD/build/lib/psmile.MPI1"
+OASIS_LIBDIR="-L$LMDGCM/../../oasis3-mct/BLD/lib"
+OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu"
+
+INCA_INCDIR="-I$LMDGCM/../INCA/build/inc"
+INCA_LIBDIR="-L$LMDGCM/../INCA/build/lib"
+INCA_LIB="-lchimie"
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_JEANZAY.fcm
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_JEANZAY.fcm	(revision 6421)
+++ 	(revision )
@@ -1,17 +1,0 @@
-# $Id: arch-X64_JEANZAY.fcm 3589 2019-10-16 13:33:17Z emillour $
-%COMPILER            mpiifort
-%LINK                mpiifort
-%AR                  ar
-%ARFLAGS             rs
-%MAKE                gmake
-%FPP_FLAGS           -P -traditional
-%FPP_DEF             NC_DOUBLE FFT_MKL
-%BASE_FFLAGS         -i4 -r8 -auto -align all -fp-model strict
-%PROD_FFLAGS         -O3 -xHost -qopt-zmm-usage=high
-%DEV_FFLAGS          -p -g -O2 -traceback -fp-stack-check
-%DEBUG_FFLAGS        -p -g -O0 -traceback -fp-stack-check -ftrapuv -check bounds,noarg_temp_created,pointers,stack,uninit -debug full -init=arrays -init=snan
-%MPI_FFLAGS
-%OMP_FFLAGS          -qopenmp
-%BASE_LD             -i4 -r8 -auto -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread
-%MPI_LD
-%OMP_LD              -qopenmp
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_JEANZAY.path
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_JEANZAY.path	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/arch-X64_JEANZAY.path	(revision 6423)
@@ -0,0 +1,30 @@
+# $Id: arch-X64_JEANZAY.path 4499 2023-04-06 11:43:48Z fairhead $
+#NETCDF_LIBDIR="-L$NETCDFFORTRAN_LIBDIR -L$NETCDF_LIBDIR -lnetcdf -lnetcdff"
+#NETCDF_INCDIR=-I$NETCDFFORTRAN_INCDIR
+NETCDF_INCDIR=""
+NETCDF_LIBDIR=""
+NETCDF_LIB="-lnetcdff -lnetcdf"
+
+NETCDF95_INCDIR=-I/gpfswork/rech/lmd/rdzt899/build/Libraries_release/NetCDF95/modules
+NETCDF95_LIBDIR=-L/gpfswork/rech/lmd/rdzt899/build/Libraries_release/NetCDF95
+NETCDF95_LIB=-lnetcdf95
+
+IOIPSL_INCDIR="-I$LMDGCM/../../lib -I$LMDGCM/../IOIPSL/inc"
+IOIPSL_LIBDIR="-L$LMDGCM/../../lib -L$LMDGCM/../IOIPSL/lib"
+IOIPSL_LIB="-lioipsl"
+
+XIOS_INCDIR="-I$LMDGCM/../XIOS/inc"
+XIOS_LIBDIR="-L$LMDGCM/../XIOS/lib"
+XIOS_LIB="-lxios -lstdc++"
+
+ORCH_INCDIR="-I$LMDGCM/../../lib"
+ORCH_LIBDIR="-L$LMDGCM/../../lib"
+ORCH_LIB=
+
+OASIS_INCDIR="-I$LMDGCM/../../oasis3-mct/BLD/build/lib/psmile.MPI1"
+OASIS_LIBDIR="-L$LMDGCM/../../oasis3-mct/BLD/lib"
+OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu"
+
+INCA_INCDIR="-I$LMDGCM/../INCA/build/inc"
+INCA_LIBDIR="-L$LMDGCM/../INCA/build/lib"
+INCA_LIB="-lchimie"
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/context_lmdz.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/context_lmdz.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/context_lmdz.xml	(revision 6423)
@@ -0,0 +1,321 @@
+<!-- $Id$ -->
+<!-- Context LMDZ -->
+<context id="LMDZ">
+<!--  <calendar type="D360" start_date="1980-01-01 00:00:00" /> -->
+
+  <!-- Define available variables -->
+  <field_definition src="./field_def_lmdz.xml"/>
+
+  <!-- Define output files
+              Each file contains the list of variables and their output levels -->
+
+  <file_definition src="./file_def_histday_lmdz.xml"/>
+  <file_definition src="./file_def_histdaytune_lmdz.xml"/>
+  <file_definition src="./file_def_histhf_lmdz.xml"/>
+  <file_definition src="./file_def_histins_lmdz.xml"/>
+  <file_definition src="./file_def_histLES_lmdz.xml"/>
+  <file_definition src="./file_def_histmth_lmdz.xml"/>
+  <file_definition src="./file_def_histmthtune_lmdz.xml"/>
+  <file_definition src="./file_def_histstn_lmdz.xml"/>
+  <file_definition src="./file_def_histmthNMC_lmdz.xml"/>
+  <file_definition src="./file_def_histdayNMC_lmdz.xml"/>
+  <file_definition src="./file_def_histhfNMC_lmdz.xml"/>
+  <file_definition src="./file_def_histmthCOSP_lmdz.xml"/>
+  <file_definition src="./file_def_histdayCOSP_lmdz.xml"/>
+  <file_definition src="./file_def_histhfCOSP_lmdz.xml"/>
+  <!-- <file_definition src="./file_def_histmthCOSPv2_lmdz.xml"/> -->
+  <!-- <file_definition src="./file_def_histdayCOSPv2_lmdz.xml"/> -->
+  <!-- <file_definition src="./file_def_histhfCOSPv2_lmdz.xml"/> -->
+  <file_definition src="./file_def_histstrataer_lmdz.xml"/>
+  <file_definition src="./file_def_histdaystrataer_lmdz.xml"/>
+
+  <!-- Define domains and groups of domains -->
+  <domain_definition>
+
+    <domain id="dom_glo"  data_dim="1" />
+
+    <domain id="greordered"  domain_ref="dom_glo">
+      <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360" />
+    </domain> 
+   
+    <domain id="dom_regular" ni_glo="144" nj_glo="143" type="rectilinear"  >
+      <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="0"/>
+      <interpolate_domain order="1"/>
+    </domain>
+   
+    <domain id="dom_out" domain_ref="dom_glo"/>
+    
+  </domain_definition>
+  
+  <!-- Need to define a grid? Do it here -->
+<!--  <grid_definition>
+    <grid_group id="vertical" axis_ref="presnivs" />
+  </grid_> -->
+
+<!-- Define Scalar grid for GHG, orbital parameters and solar constants -->
+  <grid_definition>
+    <grid id="grid_scalar" >
+      <scalar/>
+    </grid>
+  </grid_definition>
+ 
+  <!-- Define groups of vertical axes -->
+  <axis_definition>
+    <axis id="time_month" n_glo="12" value="(0,11) [1 2 3 4 5 6 7 8 9 10 11 12]"/>
+    <axis id="time_year" unit="day" />
+    <axis id="presnivs" standard_name="Vertical levels" unit="Pa"/>
+    <axis id="presinter" standard_name="Pressure at interface of vertical levels" unit="Pa"/>
+    <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/>
+    <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/>
+    <axis id="Ahyb_inter" standard_name="A comp of Hyb Cord at interface" unit="Pa"/>
+    <axis id="Bhyb_inter" standard_name="B comp of Hyb Cord at interface" unit=""/>
+    <axis id="Alt" standard_name="Height approx for scale heigh of 8km at levels" unit="km"/>
+    <axis id="plev" standard_name="model_level_number" unit="Pa"/>
+    <axis id="klev"  prec="8" long_name="number of layers" standard_name="number of layers" unit="1" />
+    <axis id="klevp1"  prec="8" long_name="number of layer interfaces" standard_name="number of layer interfaces" unit="1" />
+    <axis id="bnds" standard_name="bounds" unit="1" />
+    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1"/>
+    <axis id="axis_lat" standard_name="Latitude axis">
+        <reduce_domain operation="average" direction="iDir" />
+    </axis>
+
+<!-- Cosp axis definitions-->
+    <axis id="height" standard_name="Cosp levels" unit="m"/> 
+    <axis id="height_mlev" standard_name="height_mlev" unit="m"/> 
+    <axis id="sza" standard_name="solar_zenith_angle" unit="degrees"/>
+    <axis id="pressure2" standard_name="pressure" unit="mb"/>
+    <axis id="column" standard_name="column" unit="count"/> 
+    <axis id="temp" standard_name="temperature" unit="K"/> 
+<!--    <axis id="cth16" standard_name="altitude" unit="m"/>   ym unused now to be in adequation with axis definition from model --> 
+    <axis id="cth" standard_name="altitude" unit="m"/> 
+    <axis id="ReffIce" standard_name="ReffIce" unit="microne" />
+    <axis id="ReffLiq" standard_name="ReffLiq" unit="microne" />
+    <axis id="scatratio" standard_name="scatratio" unit="1" />
+    <axis id="dbze" standard_name="dbze" unit="dBZ" />
+    <axis id="tau" standard_name="tau" unit="1" />
+  </axis_definition>
+
+  <grid_definition>
+
+    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
+    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
+
+     <grid id="grid_glo">
+        <domain domain_ref="dom_glo" />
+     </grid>
+     <grid id="grid_out">
+        <domain domain_ref="dom_out" />
+     </grid>
+
+     <grid id="grid_glo_presnivs">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="presnivs" />
+     </grid>
+     <grid id="grid_out_presnivs">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="presnivs" />
+     </grid>
+
+     <grid id="grid_glo_plev">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="plev" />
+     </grid>
+
+     <grid id="grid_glo_presinter">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="presinter" />
+     </grid>
+     <grid id="grid_out_presinter">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="presinter" />
+     </grid>
+
+     <grid id="grid_out_plev17">
+        <domain id="dom_out" />
+          <axis long_name="pressure" n_glo="17" name="plev_std" positive="down" standard_name="air_pressure" unit="Pa" value="(0,16)[ 100000. 92500. 85000. 70000. 60000. 50000. 40000. 30000. 25000. 20000. 15000. 10000. 7000. 5000. 3000. 2000. 1000. ]"><interpolate_axis coordinate="pres" order="1" type="polynomial" />
+        </axis>
+     </grid>
+
+     <grid id="grid_out_plev">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="plev" />
+     </grid>
+
+     <grid id="grid_glo_spectband">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="spectband" />
+     </grid>
+     <grid id="grid_out_spectband">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="spectband" />
+     </grid>
+
+     <grid id="grid_glo_height">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+     </grid>
+     <grid id="grid_out_height">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+     </grid>
+
+     <grid id="grid_glo_heightmlev">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height_mlev" />
+     </grid>
+     <grid id="grid_out_heightmlev">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height_mlev" />
+     </grid>
+
+     <grid id="grid_glo_temp">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="temp" />
+     </grid>
+     <grid id="grid_out_temp">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="temp" />
+     </grid>
+
+     <grid id="grid_glo_sza">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="sza" />
+     </grid>
+     <grid id="grid_out_sza">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="sza" />
+     </grid>
+
+     <grid id="grid_glo_column">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="column" />
+     </grid>
+     <grid id="grid_out_column">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="column" />
+     </grid>
+
+<!-- Define 4D grids for Cosp simulator -->
+     <grid id="grid4Dcol">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="column" />
+        <axis axis_ref="height_mlev" />
+     </grid>
+     <grid id="grid4Dcol_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="column" />
+        <axis axis_ref="height_mlev" />
+     </grid>
+
+     <grid id="grid4Dsrbin">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+        <axis axis_ref="scatratio" />
+     </grid>
+     <grid id="grid4Dsrbin_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+        <axis axis_ref="scatratio" />
+     </grid>
+
+     <grid id="grid4Ddbze">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+        <axis axis_ref="dbze" />
+     </grid>
+     <grid id="grid4Ddbze_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+        <axis axis_ref="dbze" />
+     </grid>
+
+     <grid id="grid4Dtau">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="pressure2" />
+     </grid>
+     <grid id="grid4Dtau_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="pressure2" />
+     </grid>
+
+     <grid id="grid4Dmisr">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="cth" />
+        <axis axis_ref="tau" />
+     </grid>
+     <grid id="grid4Dmisr_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="cth" />
+        <axis axis_ref="tau" />
+     </grid>
+
+     <grid id="grid4Dreffi">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffIce" />
+     </grid>
+     <grid id="grid4Dreffi_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffIce" />
+     </grid>
+
+     <grid id="grid4Dreffl">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffLiq" />
+     </grid>
+     <grid id="grid4Dreffl_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="tau" />
+        <axis axis_ref="ReffLiq" />
+     </grid>
+
+     <grid id="grid4Dcol2">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="height" />
+        <axis axis_ref="column" />
+     </grid>
+     <grid id="grid4Dcol2_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="height" />
+        <axis axis_ref="column" />
+     </grid>
+
+     <grid id="grid4Dsza">
+        <domain domain_ref="dom_glo" />
+        <axis axis_ref="column" />
+        <axis axis_ref="sza" />
+     </grid>
+     <grid id="grid4Dsza_out">
+        <domain domain_ref="dom_out" />
+        <axis axis_ref="column" />
+        <axis axis_ref="sza" />
+     </grid>
+
+ <!-- Grid definitions to allow summing of a 3D variable -->    
+      <grid id="grid_3D" >
+         <domain domain_ref="dom_glo" />
+         <axis axis_ref="lev" />
+       </grid>
+
+       <grid id="grid_sum_axis">
+         <domain domain_ref="dom_glo" />
+         <scalar>
+            <reduce_axis operation="sum" />
+         </scalar>
+       </grid>
+
+       <grid id="grid_sum">
+         <scalar >
+           <reduce_domain operation="sum" local="true" />
+           <reduce_scalar operation="sum" />
+         </scalar>
+         <scalar/>
+       </grid>
+
+  </grid_definition>
+
+</context>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/file_def_histdaytune_lmdz.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/file_def_histdaytune_lmdz.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/file_def_histdaytune_lmdz.xml	(revision 6423)
@@ -0,0 +1,27 @@
+<!-- $Id: file_def_histday_lmdz.xml 4298 2022-10-17 08:15:06Z pcadule $ -->
+<file_definition type="one_file">
+    <file_group id="defile">
+        <file id="histdaytune" name="histdaytune" output_freq="1d" output_level="_AUTO_" enabled="_AUTO_" compression_level="2" sync_freq="1d">
+            
+            <!-- VARS 1D -->
+<!--            <field_group operation="once">  -->
+<!--              <field field_ref="Ap" level="1" />  -->
+<!--              <field field_ref="Bp" level="1" /> -->
+<!--              <field field_ref="Alt" level="1" /> -->
+<!--            </field_group> -->
+        
+            <!-- VARS 2D -->
+           <field_group group_ref="remap_1d">
+           
+              <field_group operation="average" grid_ref="grid_out" >
+                <field field_ref="tsol" level="1" />
+                <field field_ref="precip" level="1" />
+                <field field_ref="slp" level="1" />
+
+            <!-- VARS 3D -->
+            </field_group>
+            
+          </field_group>
+        </file>
+    </file_group>
+</file_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/file_def_histmthtune_lmdz.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/file_def_histmthtune_lmdz.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/LMDZ/file_def_histmthtune_lmdz.xml	(revision 6423)
@@ -0,0 +1,136 @@
+<!-- $Id: file_def_histmth_lmdz.xml 4298 2022-10-17 08:15:06Z pcadule $ --> 
+<file_definition>
+        <file_group id="defile">
+        <file id="histmthtune" name="histmthtune" output_freq="1mo" output_level="_AUTO_"  enabled="_AUTO_" compression_level="2">
+
+            <field_group operation="once">
+              <field field_ref="Ahyb" level="1" />
+              <field field_ref="Ahyb_bounds" level="1" />
+              <field field_ref="Bhyb" level="1" />
+              <field field_ref="Bhyb_bounds" level="1" />
+              <field field_ref="Ahyb_mid" level="1" />
+              <field field_ref="Ahyb_mid_bounds" level="1" />
+              <field field_ref="Bhyb_mid" level="1" />
+              <field field_ref="Bhyb_mid_bounds" level="1" />
+            </field_group>
+
+            <field_group operation="instant">
+                <field field_ref="R_ecc" level="1" name="R_ecc" />
+                <field field_ref="R_peri" level="1" name="R_peri" />
+                <field field_ref="R_incl" level="1" name="R_incl" />
+                <field field_ref="solaire" level="1" name="solaire" />
+
+                <field field_ref="rsun1" level="1" name="rsun1" />
+                <field field_ref="rsun2" level="1" name="rsun2" />
+                <field field_ref="rsun3" level="1" name="rsun3" />
+                <field field_ref="rsun4" level="1" name="rsun4" />
+                <field field_ref="rsun5" level="1" name="rsun5" />
+                <field field_ref="rsun6" level="1" name="rsun6" />
+
+                <field field_ref="co2_ppm" level="1" name="co2_ppm" />
+                <field field_ref="CH4_ppb" level="1" name="CH4_ppb" />
+                <field field_ref="N2O_ppb" level="1" name="N2O_ppb" />
+                <field field_ref="CFC11_ppt" level="1" name="CFC11_ppt" />
+                <field field_ref="CFC12_ppt" level="1" name="CFC12_ppt" />
+            </field_group>
+            
+
+           <field_group group_ref="remap_1mo">
+             <!-- VARS 2D -->
+             <field_group operation="average" grid_ref="grid_out">
+                <field field_ref="io_lon" level="1" operation="once"/>
+                <field field_ref="io_lat" level="1" operation="once"/>
+    
+                <field field_ref="phis"         level="1"  />
+                <field field_ref="aire"         level="1"  />
+                <field field_ref="slp"          level="1" />
+                <field field_ref="flat"          level="1" />
+                <field field_ref="tsol"         level="1" />
+                <field field_ref="t2m"          level="1" />
+                <field field_ref="t2m_sic" level="1" />
+                <field field_ref="sicf"      level="1" />
+                <field field_ref="q2m"       level="1" />
+                <field field_ref="u10m"      level="1" />
+                <field field_ref="v10m"      level="1" />
+                <field field_ref="psol"      level="1" />
+                <field field_ref="qsurf"     level="1" />
+                <field field_ref="qsol"     level="1" />
+                <field field_ref="precip"   level="1" />
+                <field field_ref="snow"     level="1" />
+                <field field_ref="evap"     level="1" />
+                <field field_ref="tops"     level="1" />
+                <field field_ref="tops0"    level="1" />
+                <field field_ref="topl"     level="1" />
+                <field field_ref="topl0"    level="1" />
+                <field field_ref="SWupTOA"  level="1" />
+                <field field_ref="SWupTOAclr"   level="1" />
+                <field field_ref="SWdnTOA"      level="1" />
+                <field field_ref="SWdnTOAclr"   level="1" />
+                <field field_ref="nettop"       level="1" />
+                <field field_ref="sols"  level="1" />
+                <field field_ref="sols0" level="1" />
+                <field field_ref="soll" level="1" />
+                <field field_ref="soll0" level="1" />
+                <field field_ref="radsol" level="1" />
+                <field field_ref="SWupSFC" level="1" />
+                <field field_ref="SWupSFCclr" level="1" />
+                <field field_ref="SWdnSFC" level="1" />
+                <field field_ref="SWdnSFCclr" level="1" />
+                <field field_ref="LWupSFC" level="1" />
+                <field field_ref="LWupSFCclr" level="1" />
+                <field field_ref="LWdnSFC" level="1" />
+                <field field_ref="LWdnSFCclr" level="1" />
+                <field field_ref="bils" level="1" />
+                <field field_ref="sens" level="1" />
+                <field field_ref="taux" level="1" />
+                <field field_ref="tauy" level="1" />
+                <field field_ref="pourc_ter" level="1" />
+                <field field_ref="pourc_lic" level="1" />
+                <field field_ref="pourc_oce" level="1" />
+                <field field_ref="pourc_sic" level="1" />
+                <field field_ref="tsol_ter" level="1" />
+                <field field_ref="tsol_lic" level="1" />
+                <field field_ref="tsol_oce" level="1" />
+                <field field_ref="tsol_sic" level="1" />
+                <field field_ref="evappot_ter" level="1" />
+                <field field_ref="cldl" level="1" />
+                <field field_ref="cldm" level="1" />
+                <field field_ref="cldh" level="1" />
+                <field field_ref="cldt" level="1" />
+                <field field_ref="lwp" level="1" />
+                <field field_ref="iwp" level="1" />
+                <field field_ref="ve" level="1" />
+                <field field_ref="vq" level="1" />
+                <field field_ref="prw" level="1" />
+
+                <field_group operation="average" detect_missing_value=".true.">
+                    <field field_ref="u200" level="1" />
+                    <field field_ref="z700" level="1" />
+                    <field field_ref="z500" level="1" />
+                </field_group>
+
+            </field_group>
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_presnivs">
+                <field field_ref="temp" level="1" />
+                <field field_ref="vitu" level="1" />
+                <field field_ref="rneb" level="1" />
+            </field_group>
+
+
+            <!-- VARS 3D -->
+            <field_group operation="average" grid_ref="grid_out_plev17" >
+                <field field_ref="temp" name="ta" grid_ref="grid_out_plev17" level="1" />
+                <field field_ref="rhum" name="hur" grid_ref="grid_out_plev17" level="1" />
+                <field field_ref="ovap" name="hus" grid_ref="grid_out_plev17" level="1" />
+                <field field_ref="vitu" name="ua" grid_ref="grid_out_plev17" level="1" />
+                <field field_ref="vitv" name="va" grid_ref="grid_out_plev17" level="1" />
+            </field_group>
+
+          </field_group>
+
+        </file>
+
+        </file_group>
+    </file_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/axis_def_nemo.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/axis_def_nemo.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/axis_def_nemo.xml	(revision 6423)
@@ -0,0 +1,59 @@
+<!--
+    ============================================================================================================
+    = Axis definition = = DO NOT CHANGE =
+    ============================================================================================================
+-->
+
+<axis_definition>
+  <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" />
+  <axis id="deptht100" axis_ref="deptht" >
+     <zoom_axis begin="0" n="24" />
+  </axis>
+  <axis id="deptht200" axis_ref="deptht" >
+     <zoom_axis begin="0" n="31" />
+  </axis>
+  <axis id="deptht300" axis_ref="deptht" >
+     <zoom_axis begin="0" n="35" />
+  </axis>
+  <axis id="deptht500" axis_ref="deptht" >
+     <zoom_axis begin="0" n="40" />
+  </axis>
+  <axis id="deptht700" axis_ref="deptht" >
+     <zoom_axis begin="0" n="43" />
+  </axis>
+  <axis id="deptht1000" axis_ref="deptht" >
+    <zoom_axis begin="0" n="47" />
+  </axis>
+  <axis id="deptht2000" axis_ref="deptht" >
+    <zoom_axis begin="0" n="54" />
+  </axis>
+  <axis id="deptht3000" axis_ref="deptht" >
+     <zoom_axis begin="0" n="60" />
+  </axis>
+  <axis id="deptht4000" axis_ref="deptht" >
+     <zoom_axis begin="0" n="66" />
+  </axis>
+  <axis id="depthu"  long_name="Vertical U levels" unit="m" positive="down" />
+  <axis id="depthv"  long_name="Vertical V levels" unit="m" positive="down" />
+  <axis id="depthw"  long_name="Vertical W levels" unit="m" positive="down" />
+  <axis id="depthf"  long_name="Vertical F levels" unit="m" positive="down" />
+  <axis id="nfloat"  long_name="Float number"      unit="-"                 />
+  <axis id="icbcla"  long_name="Iceberg class"      unit="1"               />
+  <axis id="ncatice" long_name="Ice category"       unit="1"               />
+  <axis id="iax_20C" long_name="20 degC isotherm"   unit="degC"            />
+  <axis id="iax_26C" long_name="26 degC isotherm"   unit="degC"            />
+  <axis id="iax_28C" long_name="28 degC isotherm"   unit="degC"            />
+  <axis id="basin"   long_name="Sub-basin mask (1=Global 2=Atlantic 3=Indo-Pacific 4=Indian, 5=Pacific)"  unit="1" />
+  <axis id="3basin" axis_ref="basin" long_name="Sub-basin mask (1=Global 2=Atlantic 3=Indo-Pacific)" >
+     <zoom_axis begin="0" n="3" />
+  </axis>
+  <axis id="nstrait" long_name="Number of straits" unit="1" />
+  <!-- ABL vertical axis definition -->
+  <axis id="ght_abl" long_name="ABL Vertical T levels" unit="m" positive="up"   />
+  <axis id="ghw_abl" long_name="ABL Vertical W levels" unit="m" positive="up"   />
+  <axis id="section"     n_glo="16" />
+  <axis id="section_ice" n_glo="4" />
+  <axis id="gau" />
+  <!-- PISCES Sediment vertical axis definition -->
+  <axis id="profsed" long_name="Vertical S levels" unit="cm" positive="down"/>
+</axis_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/domain_def_nemo.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/domain_def_nemo.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/domain_def_nemo.xml	(revision 6423)
@@ -0,0 +1,204 @@
+
+<domain_definition>
+
+  <!--   T grid   -->
+  <domain id="grid_T" long_name="grid T"/>
+  <domain id="grid_T_inner" long_name="grid T inner"/>
+
+  <!--   My zoom: example of hand defined zoom   -->
+  <domain id="myzoomT" domain_ref="grid_T" >
+    <zoom_domain ibegin="1" jbegin="1" ni="2" nj="3"/>
+  </domain>
+
+  <domain id="1point" domain_ref="grid_T" >
+    <zoom_domain ibegin="139" jbegin="119" ni="1" nj="1"/>
+  </domain>
+
+
+  <!--   Eq section -->
+  <domain id="EqT" domain_ref="grid_T" > <zoom_domain id="EqT"/> </domain>
+  <!--   TAO : see example above   -->
+  <!--   137e   -->
+  <domain id="2n137eT" domain_ref="grid_T" > <zoom_domain id="2n137eT"/> </domain>
+  <domain id="5n137eT" domain_ref="grid_T" > <zoom_domain id="5n137eT"/> </domain>
+  <domain id="8n137eT" domain_ref="grid_T" > <zoom_domain id="8n137eT"/> </domain>
+  <!-- <\!--   147e   -\-> -->
+  <domain id="0n147eT" domain_ref="grid_T" > <zoom_domain id="0n147eT"/> </domain>
+  <domain id="2n147eT" domain_ref="grid_T" > <zoom_domain id="2n147eT"/> </domain>
+  <domain id="5n147eT" domain_ref="grid_T" > <zoom_domain id="5n147eT"/> </domain>
+  <!-- <\!--   156e   -\-> -->
+  <domain id="5s156eT" domain_ref="grid_T" > <zoom_domain id="5s156eT"/> </domain>
+  <domain id="2s156eT" domain_ref="grid_T" > <zoom_domain id="2s156eT"/> </domain>
+  <domain id="0n156eT" domain_ref="grid_T" > <zoom_domain id="0n156eT"/> </domain>
+  <domain id="2n156eT" domain_ref="grid_T" > <zoom_domain id="2n156eT"/> </domain>
+  <domain id="5n156eT" domain_ref="grid_T" > <zoom_domain id="5n156eT"/> </domain>
+  <domain id="8n156eT" domain_ref="grid_T" > <zoom_domain id="8n156eT"/> </domain>
+  <!-- <\!--   165e   -\-> -->
+  <domain id="8s165eT" domain_ref="grid_T" > <zoom_domain id="8s165eT"/> </domain>
+  <domain id="5s165eT" domain_ref="grid_T" > <zoom_domain id="5s165eT"/> </domain>
+  <domain id="2s165eT" domain_ref="grid_T" > <zoom_domain id="2s165eT"/> </domain>
+  <domain id="0n165eT" domain_ref="grid_T" > <zoom_domain id="0n165eT"/> </domain>
+  <domain id="2n165eT" domain_ref="grid_T" > <zoom_domain id="2n165eT"/> </domain>
+  <domain id="5n165eT" domain_ref="grid_T" > <zoom_domain id="5n165eT"/> </domain>
+  <domain id="8n165eT" domain_ref="grid_T" > <zoom_domain id="8n165eT"/> </domain>
+  <!-- <\!--   180w   -\-> -->
+  <domain id="8s180wT" domain_ref="grid_T" > <zoom_domain id="8s180wT"/> </domain>
+  <domain id="5s180wT" domain_ref="grid_T" > <zoom_domain id="5s180wT"/> </domain>
+  <domain id="2s180wT" domain_ref="grid_T" > <zoom_domain id="2s180wT"/> </domain>
+  <domain id="0n180wT" domain_ref="grid_T" > <zoom_domain id="0n180wT"/> </domain>
+  <domain id="2n180wT" domain_ref="grid_T" > <zoom_domain id="2n180wT"/> </domain>
+  <domain id="5n180wT" domain_ref="grid_T" > <zoom_domain id="5n180wT"/> </domain>
+  <domain id="8n180wT" domain_ref="grid_T" > <zoom_domain id="8n180wT"/> </domain>
+  <!-- <\!--   170w   -\-> -->
+  <domain id="8s170wT" domain_ref="grid_T" > <zoom_domain id="8s170wT"/> </domain>
+  <domain id="5s170wT" domain_ref="grid_T" > <zoom_domain id="5s170wT"/> </domain>
+  <domain id="2s170wT" domain_ref="grid_T" > <zoom_domain id="2s170wT"/> </domain>
+  <domain id="0n170wT" domain_ref="grid_T" > <zoom_domain id="0n170wT"/> </domain>
+  <domain id="2n170wT" domain_ref="grid_T" > <zoom_domain id="2n170wT"/> </domain>
+  <domain id="5n170wT" domain_ref="grid_T" > <zoom_domain id="5n170wT"/> </domain>
+  <domain id="8n170wT" domain_ref="grid_T" > <zoom_domain id="8n170wT"/> </domain>
+  <!-- <\!--   155w   -\-> -->
+  <domain id="8s155wT" domain_ref="grid_T" > <zoom_domain id="8s155wT"/> </domain>
+  <domain id="5s155wT" domain_ref="grid_T" > <zoom_domain id="5s155wT"/> </domain>
+  <domain id="2s155wT" domain_ref="grid_T" > <zoom_domain id="2s155wT"/> </domain>
+  <domain id="0n155wT" domain_ref="grid_T" > <zoom_domain id="0n155wT"/> </domain>
+  <domain id="2n155wT" domain_ref="grid_T" > <zoom_domain id="2n155wT"/> </domain>
+  <domain id="5n155wT" domain_ref="grid_T" > <zoom_domain id="5n155wT"/> </domain>
+  <domain id="8n155wT" domain_ref="grid_T" > <zoom_domain id="8n155wT"/> </domain>
+  <!-- <\!--   140w   -\-> -->
+  <domain id="8s140wT" domain_ref="grid_T" > <zoom_domain id="8s140wT"/> </domain>
+  <domain id="5s140wT" domain_ref="grid_T" > <zoom_domain id="5s140wT"/> </domain>
+  <domain id="2s140wT" domain_ref="grid_T" > <zoom_domain id="2s140wT"/> </domain>
+  <domain id="0n140wT" domain_ref="grid_T" > <zoom_domain id="0n140wT"/> </domain>
+  <domain id="2n140wT" domain_ref="grid_T" > <zoom_domain id="2n140wT"/> </domain>
+  <domain id="5n140wT" domain_ref="grid_T" > <zoom_domain id="5n140wT"/> </domain>
+  <domain id="8n140wT" domain_ref="grid_T" > <zoom_domain id="8n140wT"/> </domain>
+  <!-- <\!--   125w   -\-> -->
+  <domain id="8s125wT" domain_ref="grid_T" > <zoom_domain id="8s125wT"/> </domain>
+  <domain id="5s125wT" domain_ref="grid_T" > <zoom_domain id="5s125wT"/> </domain>
+  <domain id="2s125wT" domain_ref="grid_T" > <zoom_domain id="2s125wT"/> </domain>
+  <domain id="0n125wT" domain_ref="grid_T" > <zoom_domain id="0n125wT"/> </domain>
+  <domain id="2n125wT" domain_ref="grid_T" > <zoom_domain id="2n125wT"/> </domain>
+  <domain id="5n125wT" domain_ref="grid_T" > <zoom_domain id="5n125wT"/> </domain>
+  <domain id="8n125wT" domain_ref="grid_T" > <zoom_domain id="8n125wT"/> </domain>
+  <!-- <\!--   110w   -\-> -->
+  <domain id="8s110wT" domain_ref="grid_T" > <zoom_domain id="8s110wT"/> </domain>
+  <domain id="5s110wT" domain_ref="grid_T" > <zoom_domain id="5s110wT"/> </domain>
+  <domain id="2s110wT" domain_ref="grid_T" > <zoom_domain id="2s110wT"/> </domain>
+  <domain id="0n110wT" domain_ref="grid_T" > <zoom_domain id="0n110wT"/> </domain>
+  <domain id="2n110wT" domain_ref="grid_T" > <zoom_domain id="2n110wT"/> </domain>
+  <domain id="5n110wT" domain_ref="grid_T" > <zoom_domain id="5n110wT"/> </domain>
+  <domain id="8n110wT" domain_ref="grid_T" > <zoom_domain id="8n110wT"/> </domain>
+  <!-- <\!--   95w   -\-> -->
+  <domain id="8s95wT" domain_ref="grid_T" > <zoom_domain id="8s95wT"/> </domain>
+  <domain id="5s95wT" domain_ref="grid_T" > <zoom_domain id="5s95wT"/> </domain>
+  <domain id="2s95wT" domain_ref="grid_T" > <zoom_domain id="2s95wT"/> </domain>
+  <domain id="0n95wT" domain_ref="grid_T" > <zoom_domain id="0n95wT"/> </domain>
+  <domain id="2n95wT" domain_ref="grid_T" > <zoom_domain id="2n95wT"/> </domain>
+  <domain id="5n95wT" domain_ref="grid_T" > <zoom_domain id="5n95wT"/> </domain>
+  <domain id="8n95wT" domain_ref="grid_T" > <zoom_domain id="8n95wT"/> </domain>
+  <!-- <\!--   RAMA   -\-> -->
+  <!-- <\!--   55e   -\-> -->
+  <domain id="16s55eT"    domain_ref="grid_T" > <zoom_domain id="16s55eT"   /> </domain>
+  <domain id="12s55eT"    domain_ref="grid_T" > <zoom_domain id="12s55eT"   /> </domain>
+  <domain id="8s55eT"     domain_ref="grid_T" > <zoom_domain id="8s55eT"    /> </domain>
+  <domain id="4s55eT"     domain_ref="grid_T" > <zoom_domain id="4s55eT"    /> </domain>
+  <domain id="1.5s55eT"   domain_ref="grid_T" > <zoom_domain id="1.5s55eT"  /> </domain>
+  <domain id="0n55eT"     domain_ref="grid_T" > <zoom_domain id="0n55eT"    /> </domain>
+  <domain id="1.5n55eT"   domain_ref="grid_T" > <zoom_domain id="1.5n55eT"  /> </domain>
+  <domain id="4n55eT"     domain_ref="grid_T" > <zoom_domain id="4n55eT"    /> </domain>
+  <!--    <\!--   65e   -\-> -->
+  <domain id="15n65eT"    domain_ref="grid_T" > <zoom_domain id="15n65eT"   /> </domain>
+  <!--    <\!--   67e   -\-> -->
+  <domain id="16s67eT"    domain_ref="grid_T" > <zoom_domain id="16s67eT"   /> </domain>
+  <domain id="12s67eT"    domain_ref="grid_T" > <zoom_domain id="12s67eT"   /> </domain>
+  <domain id="8s67eT"     domain_ref="grid_T" > <zoom_domain id="8s67eT"    /> </domain>
+  <domain id="4s67eT"     domain_ref="grid_T" > <zoom_domain id="4s67eT"    /> </domain>
+  <domain id="1.5s67eT"   domain_ref="grid_T" > <zoom_domain id="1.5s67eT"  /> </domain>
+  <domain id="0n67eT"     domain_ref="grid_T" > <zoom_domain id="0n67eT"    /> </domain>
+  <domain id="1.5n67eT"   domain_ref="grid_T" > <zoom_domain id="1.5n67eT"  /> </domain>
+  <domain id="4n67eT"     domain_ref="grid_T" > <zoom_domain id="4n67eT"    /> </domain>
+  <domain id="8n67eT"     domain_ref="grid_T" > <zoom_domain id="8n67eT"    /> </domain>
+  <!-- <\!--   80.5e   -\-> -->
+  <domain id="16s80.5eT"  domain_ref="grid_T" > <zoom_domain id="16s80.5eT" /> </domain>
+  <domain id="12s80.5eT"  domain_ref="grid_T" > <zoom_domain id="12s80.5eT" /> </domain>
+  <domain id="8s80.5eT"   domain_ref="grid_T" > <zoom_domain id="8s80.5eT"  /> </domain>
+  <domain id="4s80.5eT"   domain_ref="grid_T" > <zoom_domain id="4s80.5eT"  /> </domain>
+  <domain id="1.5s80.5eT" domain_ref="grid_T" > <zoom_domain id="1.5s80.5eT"/> </domain>
+  <domain id="0n80.5eT"   domain_ref="grid_T" > <zoom_domain id="0n80.5eT"  /> </domain>
+  <domain id="1.5n80.5eT" domain_ref="grid_T" > <zoom_domain id="1.5n80.5eT"/> </domain>
+  <domain id="4n80.5eT"   domain_ref="grid_T" > <zoom_domain id="4n80.5eT"  /> </domain>
+  <!-- <\!--   90e   -\-> -->
+  <domain id="1.5s90eT"   domain_ref="grid_T" > <zoom_domain id="1.5s90eT"  /> </domain>
+  <domain id="0n90eT"     domain_ref="grid_T" > <zoom_domain id="0n90eT"    /> </domain>
+  <domain id="1.5n90eT"   domain_ref="grid_T" > <zoom_domain id="1.5n90eT"  /> </domain>
+  <domain id="4n90eT"     domain_ref="grid_T" > <zoom_domain id="4n90eT"    /> </domain>
+  <domain id="8n90eT"     domain_ref="grid_T" > <zoom_domain id="8n90eT"    /> </domain>
+  <domain id="12n90eT"    domain_ref="grid_T" > <zoom_domain id="12n90eT"   /> </domain>
+  <domain id="15n90eT"    domain_ref="grid_T" > <zoom_domain id="15n90eT"   /> </domain>
+  <!-- <\!--   95e   -\-> -->
+  <domain id="16s95eT"    domain_ref="grid_T" > <zoom_domain id="16s95eT"   /> </domain>
+  <domain id="12s95eT"    domain_ref="grid_T" > <zoom_domain id="12s95eT"   /> </domain>
+  <domain id="8s95eT"     domain_ref="grid_T" > <zoom_domain id="8s95eT"    /> </domain>
+  <domain id="5s95eT"     domain_ref="grid_T" > <zoom_domain id="5s95eT"    /> </domain>
+  <!-- <\!--   PIRATA   -\-> -->
+  <!-- <\!--   38w-30w   -\-> -->
+  <domain id="19s34wT" domain_ref="grid_T" > <zoom_domain id="19s34wT"/> </domain>
+  <domain id="14s32wT" domain_ref="grid_T" > <zoom_domain id="14s32wT"/> </domain>
+  <domain id="8s30wT"  domain_ref="grid_T" > <zoom_domain id="8s30wT" /> </domain>
+  <domain id="0n35wT"  domain_ref="grid_T" > <zoom_domain id="0n35wT" /> </domain>
+  <domain id="4n38wT"  domain_ref="grid_T" > <zoom_domain id="4n38wT" /> </domain>
+  <domain id="8n38wT"  domain_ref="grid_T" > <zoom_domain id="8n38wT" /> </domain>
+  <domain id="12n38wT" domain_ref="grid_T" > <zoom_domain id="12n38wT"/> </domain>
+  <domain id="15n38wT" domain_ref="grid_T" > <zoom_domain id="15n38wT"/> </domain>
+  <domain id="20n38wT" domain_ref="grid_T" > <zoom_domain id="20n38wT"/> </domain>
+  <!-- <\!--   23w   -\-> -->
+  <domain id="0n23wT"  domain_ref="grid_T" > <zoom_domain id="0n23wT" /> </domain>
+  <domain id="4n23wT"  domain_ref="grid_T" > <zoom_domain id="4n23wT" /> </domain>
+  <domain id="12n23wT" domain_ref="grid_T" > <zoom_domain id="12n23wT"/> </domain>
+  <domain id="21n23wT" domain_ref="grid_T" > <zoom_domain id="21n23wT"/> </domain>
+  <!-- <\!--   10w   -\-> -->
+  <domain id="10s10wT" domain_ref="grid_T" > <zoom_domain id="10s10wT"/> </domain>
+  <domain id="6s10wT"  domain_ref="grid_T" > <zoom_domain id="6s10wT" /> </domain>
+  <domain id="0n10wT"  domain_ref="grid_T" > <zoom_domain id="0n10wT" /> </domain>
+  <!-- <\!--   0e   -\-> -->
+  <domain id="0n0eT"   domain_ref="grid_T" > <zoom_domain id="0n0eT"  /> </domain>
+
+
+  <!--   U grid   -->
+  <domain id="grid_U" long_name="grid U"/>
+  <domain id="grid_U_inner" long_name="grid U inner"/>
+  <!--   Eq section   -->
+  <domain id="EqU" domain_ref="grid_U" > <zoom_domain id="EqU"/> </domain>
+
+
+  <!--   V grid   -->
+  <domain id="grid_V" long_name="grid V"/>
+  <domain id="grid_V_inner" long_name="grid V inner"/>
+  <!--   Eq section : no V point on the Equator...   -->
+
+
+  <!--   W grid   -->
+  <domain id="grid_W" long_name="grid W"/>
+  <domain id="grid_W_inner" long_name="grid W inner"/>
+  <!--   Eq section   -->
+  <domain id="EqW" domain_ref="grid_W" > <zoom_domain id="EqW"/> </domain>
+
+  <!--   F grid   -->
+  <domain id="grid_F" long_name="grid F"/>
+  <domain id="grid_F_inner" long_name="grid F inner"/>
+
+  <!--   zonal mean grid   -->
+  <domain_group id="gznl">
+    <domain id="gznl" long_name="gznl"/>
+    <domain id="ptr" domain_ref="gznl" >
+      <zoom_domain id="ptr" ibegin="0000" jbegin="0" ni="1" nj="0000" />
+    </domain>
+  </domain_group>
+
+
+  <!--   other grids   -->
+  <domain id="scalarpoint" long_name="scalar"/>
+
+
+</domain_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-ice.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-ice.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-ice.xml	(revision 6423)
@@ -0,0 +1,685 @@
+<?xml version="1.0"?>
+<!-- $id$ -->
+
+<!--
+============================================================================================================
+=                              definition of all existing sea ice variables                                =
+=                                            DO NOT CHANGE                                                 =
+============================================================================================================
+-->
+<field_definition level="1" prec="4" operation="average" enabled=".TRUE." default_value="1.e20" > <!-- time step automaticaly defined -->
+
+  <!--
+      ============================================================================================================
+      Physical sea ice model variables
+      ============================================================================================================
+  -->
+
+  <field_group id="SBC" > <!-- time step automaticaly defined based on nn_fsbc -->
+
+    <!-- 2D variables -->
+    <field_group id="SBC_2D" grid_ref="grid_T_2D" >
+
+      <!-- =================== -->
+      <!-- standard ice fields -->
+      <!-- =================== -->
+      <!-- ice presence masks -->
+      <field id="icemask"      long_name="Fraction of time steps with sea ice"                     standard_name="sea_ice_mask"                              unit="" />
+      <field id="icemask05"    long_name="Ice mask (0 if ice conc. lower than  5%, 1 otherwise)"   standard_name="sea_ice_mask05"                            unit="" />
+      <field id="icemask15"    long_name="Ice mask (0 if ice conc. lower than 15%, 1 otherwise)"   standard_name="sea_ice_mask15"                            unit="" />
+      <field id="icepres"      long_name="Fraction of time steps with sea ice"                     standard_name="sea_ice_time_fraction"                     unit="" />
+      <field id="fasticepres"  long_name="Fraction of time steps with landfast ice"                standard_name="fast_ice_time_fraction"                    unit="" />
+
+      <!-- general fields -->
+      <field id="icemass"      long_name="Sea-ice mass per gridcell area"                          standard_name="sea_ice_amount"                            unit="kg/m2"/>
+      <field id="snwmass"      long_name="Snow mass per area"                                      standard_name="liquid_water_content_of_surface_snow"      unit="kg/m2"/>
+      <field id="iceconc"      long_name="Sea-ice area fraction"                                   standard_name="sea_ice_area_fraction"                     unit=""     />
+      <field id="icevolu"      long_name="Sea-ice volume per area"                                 standard_name="sea_ice_thickness"                         unit="m"    />
+      <field id="icethic"      long_name="Sea-ice thickness"                                       standard_name="sea_ice_thickness"                         unit="m"    />
+      <field id="snwthic"      long_name="Snow thickness"                                          standard_name="snow_thickness"                            unit="m"    />
+      <field id="icebrv"       long_name="brine volume"                                                                                                      unit="%"    />
+      <field id="iceage"       long_name="ice age"                                                                                                           unit="days" detect_missing_value="true"/>
+      <field id="icehnew"      long_name="frazil ice collection thickness"                                                                                   unit="m"    />
+      <field id="snwvolu"      long_name="snow volume"                                                                                                       unit="m"    />
+      <field id="icefrb"       long_name="Sea-ice freeboard"                                       standard_name="sea_ice_freeboard"                         unit="m"    />
+      <field id="icealb"       long_name="Sea-ice or snow albedo"                                  standard_name="sea_ice_albedo"                            unit=""    detect_missing_value="true" />
+
+      <!-- melt ponds -->
+      <field id="iceapnd"      long_name="melt pond concentration"                                 standard_name="sea_ice_meltpond_concentration"            unit=""  />
+      <field id="icehpnd"      long_name="melt pond depth"                                         standard_name="sea_ice_meltpond_depth"                    unit="m" />
+      <field id="icevpnd"      long_name="melt pond volume"                                        standard_name="sea_ice_meltpond_volume"                   unit="m" />
+      <field id="icehlid"      long_name="melt pond lid depth"                                     standard_name="sea_ice_meltpondlid_depth"                 unit="m" />
+      <field id="icevlid"      long_name="melt pond lid volume"                                    standard_name="sea_ice_meltpondlid_volume"                unit="m" />
+      <field id="dvpn_mlt"     long_name="pond volume tendency due to surface melt"                standard_name="sea_ice_pondvolume_tendency_melt"          unit="kg/m2/s" />
+      <field id="dvpn_lid"     long_name="pond volume tendency due to exchanges with lid"          standard_name="sea_ice_pondvolume_tendency_lids"          unit="kg/m2/s" />
+      <field id="dvpn_rnf"     long_name="pond volume tendency due to runoff"                      standard_name="sea_ice_pondvolume_tendency_runoff"        unit="kg/m2/s" />
+      <field id="dvpn_drn"     long_name="pond volume tendency due to drainage"                    standard_name="sea_ice_pondvolume_tendency_drainage"      unit="kg/m2/s" />
+
+      <!-- heat -->
+      <field id="icetemp"      long_name="Mean ice temperature"                                                                                              unit="degC" detect_missing_value="true" />
+      <field id="snwtemp"      long_name="Mean snow temperature"                                                                                             unit="degC" detect_missing_value="true" />
+      <field id="icettop"      long_name="temperature at the ice surface"                                                                                    unit="degC" detect_missing_value="true" />
+      <field id="icetbot"      long_name="temperature at the ice bottom"                                                                                     unit="degC" detect_missing_value="true" />
+      <field id="icetsni"      long_name="temperature at the snow-ice interface"                                                                             unit="degC" detect_missing_value="true" />
+      <field id="icehc"        long_name="ice heat content"                                                                                                  unit="J/m2" />
+      <field id="snwhc"        long_name="snow heat content"                                                                                                 unit="J/m2" />
+
+      <!-- salt -->
+      <field id="icesalt"      long_name="Sea ice salinity"                                                                                                  unit="g/kg"  detect_missing_value="true" />
+      <field id="icesalm"      long_name="Mass of salt in sea ice per area"                        standard_name="sea_ice_salt_mass"                         unit="kg/m2" />
+
+      <!-- momentum (rheology) -->
+      <field id="uice"         long_name="X-component of sea ice velocity"                         standard_name="sea_ice_x_velocity"                        unit="m/s"  />
+      <field id="vice"         long_name="Y-component of sea ice velocity"                         standard_name="sea_ice_y_velocity"                        unit="m/s"  />
+      <field id="icevel"       long_name="Sea-ice speed"                                           standard_name="sea_ice_speed"                             unit="m/s"  />
+      <field id="utau_ai"      long_name="X-component of atmospheric stress on sea ice"            standard_name="surface_downward_x_stress"                 unit="N/m2" />
+      <field id="vtau_ai"      long_name="Y-component of atmospheric stress on sea ice"            standard_name="surface_downward_y_stress"                 unit="N/m2" />
+      <field id="utau_oi"      long_name="X-component of ocean stress on sea ice"                  standard_name="sea_ice_base_upward_x_stress"              unit="N/m2" />
+      <field id="vtau_oi"      long_name="Y-component of ocean stress on sea ice"                  standard_name="sea_ice_base_upward_y_stress"              unit="N/m2" />
+      <field id="utau_bi"      long_name="X-component of ocean bottom stress on sea ice -landfast" standard_name="ocean_bottom_upward_x_stress"              unit="N/m2" />
+      <field id="vtau_bi"      long_name="Y-component of ocean bottom stress on sea ice -landfast" standard_name="ocean_bottom_upward_y_stress"              unit="N/m2" />
+      <field id="taum_ice"     long_name="Module of atmospheric stress on sea ice (T-points)"      standard_name="mod_surface_downward_stress"               unit="N/m2" />
+      <field id="utau_ice"     long_name="X-component of ocean stress on sea ice (T-points)"       standard_name="sea_ice_base_upward_x_stress_Tpoints"      unit="N/m2" />
+      <field id="vtau_ice"     long_name="Y-component of ocean stress on sea ice (T-points)"       standard_name="sea_ice_base_upward_y_stress_Tpoints"      unit="N/m2" />
+      <field id="sig1_pnorm"   long_name="P-normalized 1st principal stress component"                                                                       unit=""     />
+      <field id="sig2_pnorm"   long_name="P-normalized 2nd principal stress component"                                                                       unit=""     />
+      <field id="icedlt"       long_name="delta"                                                   standard_name="delta"                                     unit=""     />
+      <field id="normstr"      long_name="Average normal stress in sea ice"                        standard_name="average_normal_stress"                     unit="N/m"  />
+      <field id="sheastr"      long_name="Maximum shear stress in sea ice"                         standard_name="maximum_shear_stress"                      unit="N/m"  />
+      <field id="icestr"       long_name="Compressive sea ice strength"                            standard_name="compressive_strength_of_sea_ice"           unit="N/m"  />
+      <field id="icediv"       long_name="Divergence of the sea-ice velocity field"                standard_name="divergence_of_sea_ice_velocity"            unit="s-1"  />
+      <field id="iceshe"       long_name="Maximum shear of sea-ice velocity field"                 standard_name="maximum_shear_of_sea_ice_velocity"         unit="s-1"  />
+      <field id="aniso"        long_name="anisotropy of sea ice floe orientation (0.5 - 1)"        standard_name="anisotropy"                                unit=""     />
+      <field id="yield11"      long_name="yield surface tensor component 11"                       standard_name="yield11"                                   unit="N/m"  />
+      <field id="yield22"      long_name="yield surface tensor component 22"                       standard_name="yield22"                                   unit="N/m"  />
+      <field id="yield12"      long_name="yield surface tensor component 12"                       standard_name="yield12"                                   unit="N/m"  />
+      <field id="beta_evp"     long_name="Relaxation parameter of ice rheology (beta)"             standard_name="relaxation_parameter_of_ice_rheology"      unit=""  />
+
+      <!-- surface heat fluxes -->
+      <field id="qt_ice"       long_name="total heat flux at ice surface"                          standard_name="surface_downward_heat_flux_in_air"         unit="W/m2" />
+      <field id="qsr_ice"      long_name="solar heat flux at ice surface"                          standard_name="surface_downwelling_shortwave_flux_in_air" unit="W/m2" />
+      <field id="qlw_ice"      long_name="longwave (IR) heat flux at ice surface"                  standard_name="surface_downwelling_longwave_flux_in_air"  unit="W/m2" />
+      <field id="qns_ice"      long_name="non-solar heat flux at ice surface (including E-P)"                                                                unit="W/m2" />
+      <field id="qla_ice"      long_name="latent (sublimation) heat flux at ice surface"                                                                     unit="W/m2" />
+      <field id="qsb_ice"      long_name="sensible heat flux at ice surface"                                                                                 unit="W/m2" />
+      <field id="qtr_ice_bot"  long_name="solar heat flux transmitted through the ice (to the ocean)"                                                        unit="W/m2" />
+      <field id="qtr_ice_top"  long_name="solar heat flux transmitted through the ice surface"                                                               unit="W/m2" />
+      <field id="qt_oce_ai"    long_name="total heat flux at the ocean   surface: interface oce-(ice+atm)"                                                   unit="W/m2" />
+      <field id="qt_atm_oi"    long_name="total heat flux at the oce-ice surface: interface atm-(ice+oce)"                                                   unit="W/m2" />
+      <field id="qemp_ice"     long_name="Downward Heat Flux from E-P over ice"                                                                              unit="W/m2" />
+      <field id="albedo"       long_name="Mean albedo over sea ice and ocean"                                                                                unit=""     />
+      <field id="Cd_ice"       long_name="Drag coefficient over sea-ice"                            standard_name="drag_coefficient_ice"                     unit=""     />
+      <field id="Ce_ice"       long_name="Sublimation coefficient over sea-ice"                     standard_name="evap_coefficient_ice"                     unit=""     />
+      <field id="Ch_ice"       long_name="Sensible heat coefficient over sea-ice"                   standard_name="sensible_heat_coefficient_ice"            unit=""     />
+
+      <!-- trends -->
+      <field id="afxthd"       long_name="sea-ice area fraction change from thermodynamics" standard_name="tendency_of_sea_ice_area_fraction_due_to_dynamics" unit="s-1" />
+      <field id="afxdyn"       long_name="sea-ice area fraction change from dynamics"       standard_name="tendency_of_sea_ice_area_fraction_due_to_dynamics" unit="s-1" />
+      <field id="afxtot"       long_name="area tendency (total)"                                                                                              unit="s-1" />
+
+      <!-- momentum (advection) -->
+      <field id="icemtrp"      long_name="ice  mass transport"                                          unit="kg/m2/s" />
+      <field id="snwmtrp"      long_name="snw  mass transport"                                          unit="kg/m2/s" />
+      <field id="salmtrp"      long_name="salt mass transport"                                          unit="kg/m2/s" />
+      <field id="dihctrp"      long_name="ice heat content transport"                                   unit="W/m2"    />
+      <field id="dshctrp"      long_name="snw heat content transport"                                   unit="W/m2"    />
+
+      <!-- salt fluxes -->
+      <field id="sfxice"       long_name="ice-ocean salt flux from ice growth/melt (neg = growth)"      unit="kg/m2/s" />
+      <field id="sfxbog"       long_name="ice-ocean salt flux from ice bottom growth"                   unit="kg/m2/s" />
+      <field id="sfxbom"       long_name="ice-ocean salt flux from ice bottom melt"                     unit="kg/m2/s" />
+      <field id="sfxsum"       long_name="ice-ocean salt flux from ice surface melt"                    unit="kg/m2/s" />
+      <field id="sfxlam"       long_name="ice-ocean salt flux from ice lateral melt"                    unit="kg/m2/s" />
+      <field id="sfxsni"       long_name="ice-ocean salt flux from snow-ice formation"                  unit="kg/m2/s" />
+      <field id="sfxopw"       long_name="ice-ocean salt flux from ice formation in open water"         unit="kg/m2/s" />
+      <field id="sfxdyn"       long_name="ice-ocean salt flux from ice dynamics (ridging)"              unit="kg/m2/s" />
+      <field id="sfxbri"       long_name="ice-ocean salt flux from brines"                              unit="kg/m2/s" />
+      <field id="sfxres"       long_name="ice-ocean salt flux from undiagnosed processes"               unit="kg/m2/s" />
+      <field id="sfxsub"       long_name="ice-ocean salt flux from ice sublimation"                     unit="kg/m2/s" />
+
+      <!-- mass fluxes -->
+      <field id="vfxice"       long_name="ice-ocean mass flux from ice melt/growth (neg = growth)"      unit="kg/m2/s" />
+      <field id="vfxbog"       long_name="ice-ocean mass flux from ice bottom growth"                   unit="kg/m2/s" />
+      <field id="vfxbom"       long_name="ice-ocean mass flux from ice bottom melt"                     unit="kg/m2/s" />
+      <field id="vfxsum"       long_name="ice-ocean mass flux from ice surface melt"                    unit="kg/m2/s" />
+      <field id="vfxlam"       long_name="ice-ocean mass flux from ice lateral melt"                    unit="kg/m2/s" />
+      <field id="vfxsni"       long_name="ice-ocean mass flux from snow-ice formation"                  unit="kg/m2/s" />
+      <field id="vfxopw"       long_name="ice-ocean mass flux from ice growth in open water"            unit="kg/m2/s" />
+      <field id="vfxdyn"       long_name="ice-ocean mass flux from ice dynamics (ridging)"              unit="kg/m2/s" />
+      <field id="vfxres"       long_name="ice-ocean mass flux from undiagnosed processes"               unit="kg/m2/s" />
+      <field id="vfxpnd"       long_name="ice-ocean mass flux from ice melt ponds"                      unit="kg/m2/s" />
+      <field id="vfxsub"       long_name="ice-atm.  mass flux from ice sublimation"                     unit="kg/m2/s" />
+      <field id="vfxsub_err"   long_name="ice-ocean mass flux from unbalance in sublimation (incl. in qt_oce_ai)" unit="kg/m2/s" />
+      <field id="vfxthin"      long_name="ice-ocean mass flux from ice growth in open water + thin ice(20cm)"     unit="kg/m2/s" />
+
+      <field id="vfxsnw"       long_name="ice-ocean mass flux from snw melt/growth (neg = growth)"      unit="kg/m2/s" />
+      <field id="vfxsnw_sum"   long_name="ice-ocean mass flux from snw surface melt"                    unit="kg/m2/s" />
+      <field id="vfxsnw_sni"   long_name="ice-ocean mass flux from snow-ice formation"                  unit="kg/m2/s" />
+      <field id="vfxsnw_dyn"   long_name="ice-ocean mass flux from dynamics (ridging)"                  unit="kg/m2/s" />
+      <field id="vfxsnw_sub"   long_name="ice-atm.  mass flux from snw sublimation"                     unit="kg/m2/s" />
+      <field id="vfxsnw_pre"   long_name="snw precipitation on ice"                                     unit="kg/m2/s" />
+
+      <!-- heat fluxes -->
+      <field id="hfxbog"       long_name="heat flux used for bottom ice growth (neg.)"                  unit="W/m2" />
+      <field id="hfxbom"       long_name="heat flux used for bottom ice melt (pos.)"                    unit="W/m2" />
+      <field id="hfxsum"       long_name="heat flux used for surface ice melt"                          unit="W/m2" />
+      <field id="hfxopw"       long_name="heat flux used for open water ice formation"                  unit="W/m2" />
+      <field id="hfxdif"       long_name="heat flux used for ice temperature change"                    unit="W/m2" />
+      <field id="hfxsnw"       long_name="heat flux used for snow melt"                                 unit="W/m2" />
+      <field id="hfxerr"       long_name="heat flux error after heat diffusion"                         unit="W/m2" />
+      <!-- heat fluxes associated with mass exchange -->
+      <field id="hfxthd"       long_name="heat fluxes from ice-ocean mass exchange during thermo"       unit="W/m2" />
+      <field id="hfxdyn"       long_name="heat fluxes from ice-ocean mass exchange during dynamic"      unit="W/m2" />
+      <field id="hfxres"       long_name="heat fluxes from undiagnosed processes"                       unit="W/m2" />
+      <field id="hfxsub"       long_name="heat fluxes from ice-atm. mass exchange during sublimation"   unit="W/m2" />
+      <field id="hfxspr"       long_name="heat fluxes from ice-atm. mass exchange during snow precip"   unit="W/m2" />
+
+      <field id="hfxsensib"    long_name="Net sensible heat flux under sea ice (neg = ice cooling)"         standard_name="ice_ocean_heat_flux"                        unit="W/m2" />
+      <field id="hfxcndtop"    long_name="Net conductive heat flux at the ice surface (neg = ice cooling)"  standard_name="conductive_heat_flux_at_sea_ice_surface"    unit="W/m2" />
+      <field id="hfxcndbot"    long_name="Net conductive heat flux at the ice bottom (neg = ice cooling)"   standard_name="conductive_heat_flux_at_sea_ice_bottom"     unit="W/m2" />
+      <field id="hfxmelt"      long_name="Melt heat flux at the ice surface"       unit="W/m2" />
+      <field id="hfxldmelt"    long_name="Heat flux in the lead for ice melting"   unit="W/m2" />
+      <field id="hfxldgrow"    long_name="Heat flux in the lead for ice growth"    unit="W/m2" />
+
+      <!-- diags -->
+      <field id="hfxdhc"        long_name="Heat content variation in snow and ice (neg = ice cooling)"   unit="W/m2" />
+      <!-- available if ln_icediachk=T -->
+      <field id="icedrift_mass" long_name="Ice mass drift (conservation check)"   unit="kg/m2/s" />
+      <field id="icedrift_salt" long_name="Ice salt drift (conservation check)"   unit="kg/m2/s" />
+      <field id="icedrift_heat" long_name="Ice heat drift (conservation check)"   unit="W/m2"    />
+
+      <!-- sbcssm variables -->
+      <field id="sst_m"    unit="degC" />
+      <field id="sss_m"    unit="psu"  />
+      <field id="ssu_m"    unit="m/s"  />
+      <field id="ssv_m"    unit="m/s"  />
+      <field id="ssh_m"    unit="m"    />
+      <field id="e3t_m"    unit="m"    />
+      <field id="frq_m"    unit="-"    />
+
+      <!-- rheology convergence tests -->
+      <field id="uice_cvg"   long_name="sea ice velocity convergence"      standard_name="sea_ice_velocity_convergence"      unit="m/s" />
+
+      <!-- vp rheology convergence tests -->
+      <field id="velo_res" long_name="sea ice velocity residual"                        standard_name="sea_ice_velocity_residual"         unit="N/m2" />
+      <field id="velo_ero" long_name="sea ice velocity error last outer iteration"      standard_name="sea_ice_velocity_outer_error"      unit="m/s" />
+      <field id="uice_eri" long_name="uice velocity error last inner iteration"         standard_name="sea_ice_u_velocity_inner_error"    unit="m/s" />
+      <field id="vice_eri" long_name="vice velocity error last inner iteration"         standard_name="sea_ice_v_velocity_inner_error"    unit="m/s" />
+
+      <!-- ================= -->
+      <!-- Add-ons for SIMIP -->
+      <!-- ================= -->
+      <field id="icemass_cmip" long_name="Sea-ice mass per area"                                   standard_name="sea_ice_amount"                          detect_missing_value="true" unit="kg/m2"  > icemass * icemask   + $missval * (1.-icemask  ) </field>
+      <field id="icethic_cmip" long_name="Sea-ice thickness"                                       standard_name="sea_ice_thickness"                       detect_missing_value="true" unit="m"      > icethic * icemask05 + $missval * (1.-icemask05) </field>
+      <field id="snwmass_cmip" long_name="Snow mass per area"                                      standard_name="liquid_water_content_of_surface_snow"    detect_missing_value="true" unit="kg/m2"  > snwmass * icemask   + $missval * (1.-icemask  ) </field>
+      <field id="snwthic_cmip" long_name="Snow thickness"                                          standard_name="surface_snow_thickness"                  detect_missing_value="true" unit="m"      > snwthic * icemask05 + $missval * (1.-icemask05) </field>
+      <field id="iceconc_pct"  long_name="Sea-ice area fraction in percent"                        standard_name="sea_ice_area_fraction_in_percent"                                    unit="%"      > iceconc * 100.                                  </field>
+      <field id="iceage_cmip"  long_name="Age of sea ice"                                          standard_name="age_of_sea_ice"                          detect_missing_value="true" unit="days"   > iceage  * icemask15 + $missval * (1.-icemask15) </field>
+      <field id="icesalt_cmip" long_name="Sea ice salinity"                                        standard_name="sea_ice_salinity"                        detect_missing_value="true" unit="g/kg"   > icesalt * icemask   + $missval * (1.-icemask  ) </field>
+      <field id="icefrb_cmip"  long_name="Sea-ice freeboard"                                       standard_name="sea_ice_freeboard"                       detect_missing_value="true" unit="m"      > icefrb  * icemask   + $missval * (1.-icemask  ) </field>
+
+      <!-- heat -->
+      <field id="icettop_cmip" long_name="Surface temperature of sea ice"                          standard_name="sea_ice_surface_temperature"             detect_missing_value="true" unit="K"  > (icettop+273.15) * icemask + $missval * (1.-icemask) </field>
+      <field id="icetsni_cmip" long_name="Temperature at snow-ice interface"                       standard_name="sea_ice_snow_interface_temperature"      detect_missing_value="true" unit="K"  > (icetsni+273.15) * icemask + $missval * (1.-icemask) </field>
+      <field id="icetbot_cmip" long_name="Temperature at ice-ocean interface"                      standard_name="sea_ice_bottom_temperature"              detect_missing_value="true" unit="K"  > (icetbot+273.15) * icemask + $missval * (1.-icemask) </field>
+      <field id="icehc_cmip"   long_name="Sea-ice heat content per unit area"                      standard_name="integral_of_sea_ice_temperature_wrt_depth_expressed_as_heat_content" detect_missing_value="true" unit="J/m2" > icehc * icemask + $missval * (1.-icemask) </field>
+      <field id="snwhc_cmip"   long_name="Snow-heat content per unit area"                         standard_name="thermal_energy_content_of_surface_snow"                              detect_missing_value="true" unit="J/m2" > snwhc * icemask + $missval * (1.-icemask) </field>
+
+      <!-- fluxes (mass, heat, salt) -->
+      <field id="vfxsum_cmip"    long_name="Freshwater flux from sea-ice surface"                  standard_name="freshwater_flux_from_ice_surface"        detect_missing_value="true" unit="kg/m2/s"  > vfxsum    * icemask + $missval * (1.-icemask) </field>
+      <field id="vfxice_cmip"    long_name="Freshwater flux from sea ice"                          standard_name="freshwater_flux_from_ice"                detect_missing_value="true" unit="kg/m2/s"  > vfxice    * icemask + $missval * (1.-icemask) </field>
+      <field id="hfxsensib_cmip" long_name="Net sensible heat flux under sea ice"                  standard_name="ice_ocean_heat_flux"                     detect_missing_value="true" unit="W/m2"     > hfxsensib * icemask + $missval * (1.-icemask) </field>
+      <field id="hfxcndtop_cmip" long_name="Net conductive heat flux at the ice surface"           standard_name="conductive_heat_flux_at_sea_ice_surface" detect_missing_value="true" unit="W/m2"     > hfxcndtop * icemask + $missval * (1.-icemask) </field>
+      <field id="hfxcndbot_cmip" long_name="Net conductive heat flux at the ice bottom"            standard_name="conductive_heat_flux_at_sea_ice_bottom"  detect_missing_value="true" unit="W/m2"     > hfxcndbot * icemask + $missval * (1.-icemask) </field>
+      <field id="sfxice_cmip"    long_name="Salt flux from sea ice"                                standard_name="salt_flux_from_ice"                      detect_missing_value="true" unit="kg/m2/s"  > sfxice    * icemask + $missval * (1.-icemask) </field>
+
+      <!-- trends -->
+      <field id="dmithd"       long_name="sea-ice mass change from thermodynamics"                 standard_name="tendency_of_sea_ice_amount_due_to_thermodynamics"                        unit="kg/m2/s" />
+      <field id="dmidyn"       long_name="sea-ice mass change from dynamics"                       standard_name="tendency_of_sea_ice_amount_due_to_dynamics"                              unit="kg/m2/s" />
+      <field id="dmiopw"       long_name="sea-ice mass change through growth in supercooled open water (frazil)" standard_name="tendency_of_sea_ice_amount_due_to_freezing_in_open_water"  unit="kg/m2/s" />
+      <field id="dmibog"       long_name="sea-ice mass change through basal growth"                standard_name="tendency_of_sea_ice_amount_due_to_congelation_ice_accumulation"          unit="kg/m2/s" />
+      <field id="dmisni"       long_name="sea-ice mass change through snow-to-ice conversion"      standard_name="tendency_of_sea_ice_amount_due_to_snow_conversion"                       unit="kg/m2/s" />
+      <field id="dmtsub"       long_name="snow and sea ice mass change through sublimation"        standard_name="tendency_of_snow_and_ice_amount_due_to_sublimation"                      unit="kg/m2/s" />
+      <field id="dmssub"       long_name="sea-ice mass change through evaporation and sublimation" standard_name="water_evaporation_flux"                                                  unit="kg/m2/s" />
+      <field id="dmisub"       long_name="snow mass change through evaporation or sublimation"     standard_name="surface_snow_sublimation_flux"                                           unit="kg/m2/s" />
+      <field id="dmisum"       long_name="sea-ice mass change through surface melting"             standard_name="tendency_of_sea_ice_amount_due_to_surface_melting"                       unit="kg/m2/s" />
+      <field id="dmibom"       long_name="sea-ice mass change through bottom melting"              standard_name="tendency_of_sea_ice_amount_due_to_basal_melting"                         unit="kg/m2/s" />
+      <field id="dmilam"       long_name="sea-ice mass change through lateral melting"             standard_name="tendency_of_sea_ice_amount_due_to_lateral_melting"                       unit="kg/m2/s" />
+      <field id="dmsspr"       long_name="snow mass change through snow fall"                      standard_name="snowfall_flux"                                                           unit="kg/m2/s" />
+      <field id="dmsmel"       long_name="snow mass change through melt"                           standard_name="surface_snow_melt_flux"                                                  unit="kg/m2/s" />
+      <field id="dmsdyn"       long_name="snow mass change through advection by sea-ice dynamics"  standard_name="tendency_of_snow_mass_due_to_sea_ice_dynamics"                           unit="kg/m2/s" />
+      <field id="dmsssi"       long_name="snow mass change through snow-to-ice conversion"         standard_name="tendency_of_snow_mass_due_to_snow_to_ice_conversion"                     unit="kg/m2/s" />
+
+      <!-- momentum (rheology) -->
+      <field id="uice_cmip"    long_name="X-component of sea ice velocity"                         standard_name="sea_ice_x_velocity"                    detect_missing_value="true" unit="m/s"   > uice    * icemask + $missval * (1.-icemask) </field>
+      <field id="vice_cmip"    long_name="Y-component of sea ice velocity"                         standard_name="sea_ice_y_velocity"                    detect_missing_value="true" unit="m/s"   > vice    * icemask + $missval * (1.-icemask) </field>
+      <field id="icevel_cmip"  long_name="Sea-ice speed"                                           standard_name="sea_ice_speed"                         detect_missing_value="true" unit="m/s"   > icevel  * icemask + $missval * (1.-icemask) </field>
+      <field id="utau_ai_cmip" long_name="X-component of atmospheric stress on sea ice"            standard_name="surface_downward_x_stress"             detect_missing_value="true" unit="N/m2"  > utau_ai * icemask + $missval * (1.-icemask) </field>
+      <field id="vtau_ai_cmip" long_name="Y-component of atmospheric stress on sea ice"            standard_name="surface_downward_y_stress"             detect_missing_value="true" unit="N/m2"  > vtau_ai * icemask + $missval * (1.-icemask) </field>
+      <field id="dssh_dx"      long_name="Sea-surface tilt term in force balance (x-component)"    standard_name="sea_surface_tilt_force_on_sea_ice_x"                               unit="N/m2" />
+      <field id="dssh_dy"      long_name="Sea-surface tilt term in force balance (y-component)"    standard_name="sea_surface_tilt_force_on_sea_ice_y"                               unit="N/m2" />
+      <field id="corstrx"      long_name="Coriolis force term in force balance (x-component)"      standard_name="coriolis_force_on_sea_ice_x"                                       unit="N/m2" />
+      <field id="corstry"      long_name="Coriolis force term in force balance (y-component)"      standard_name="coriolis_force_on_sea_ice_y"                                       unit="N/m2" />
+      <field id="intstrx"      long_name="Internal stress term in force balance (x-component)"     standard_name="internal_stress_in_sea_ice_x"                                      unit="N/m2" />
+      <field id="intstry"      long_name="Internal stress term in force balance (y-component)"     standard_name="internal_stress_in_sea_ice_y"                                      unit="N/m2" />
+
+      <!-- momentum (advection) -->
+      <field id="xmtrpice"     long_name="X-component of ice mass transport"                       standard_name="ice_x_transport"          grid_ref="grid_U_2D"              unit="kg/s" />
+      <field id="ymtrpice"     long_name="Y-component of ice mass transport"                       standard_name="ice_y_transport"          grid_ref="grid_V_2D"              unit="kg/s" />
+      <field id="xmtrpsnw"     long_name="X-component of snw mass transport"                       standard_name="snw_x_transport"          grid_ref="grid_U_2D"              unit="kg/s" />
+      <field id="ymtrpsnw"     long_name="Y-component of snw mass transport"                       standard_name="snw_y_transport"          grid_ref="grid_V_2D"              unit="kg/s" />
+      <field id="xatrp"        long_name="X-component of ice area transport"                       standard_name="area_x_transport"         grid_ref="grid_U_2D"              unit="m2/s" />
+      <field id="yatrp"        long_name="Y-component of ice area transport"                       standard_name="area_y_transport"         grid_ref="grid_V_2D"              unit="m2/s" />
+      <field id="xmtrptot"     long_name="X-component of sea-ice mass transport"                   standard_name="sea_ice_x_transport"      grid_ref="grid_U_2D"              unit="kg/s" > xmtrpice + xmtrpsnw </field>
+      <field id="ymtrptot"     long_name="Y-component of sea-ice mass transport"                   standard_name="sea_ice_y_transport"      grid_ref="grid_V_2D"              unit="kg/s" > ymtrpice + ymtrpsnw </field>
+
+      <!-- Ice transport through straits" -->
+      <field id="xmtrpice_ave"     long_name="Monthly average of x-ice mass transport"   field_ref="xmtrpice"          grid_ref="grid_U_2D"        freq_op="1mo" freq_offset="_reset_"  > @xmtrpice </field>
+      <field id="xmtrpice_section"                                                                                     grid_ref="grid_U_scalar"  > xmtrpice_ave </field>
+      <field id="xmtrpice_strait"                                                        field_ref="xmtrpice_section"  grid_ref="grid_U_4strait_ice"  />
+      <field id="xstrait_mifl"                                                           field_ref="xmtrpice_strait"   grid_ref="grid_U_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_u_ice </field>
+
+      <field id="ymtrpice_ave"     long_name="Monthly average of y-ice mass transport"   field_ref="ymtrpice"          grid_ref="grid_V_2D"        freq_op="1mo" freq_offset="_reset_"  > @ymtrpice </field>
+      <field id="ymtrpice_section"                                                                                     grid_ref="grid_V_scalar"  > ymtrpice_ave </field>
+      <field id="ymtrpice_strait"                                                        field_ref="ymtrpice_section"  grid_ref="grid_V_4strait_ice"  />
+      <field id="ystrait_mifl"                                                           field_ref="ymtrpice_strait"   grid_ref="grid_V_4strait_ice_hsum" unit="kg/s" detect_missing_value="true"  > this * maskMFO_v_ice </field>
+
+      <field id="xmtrpsnw_ave"     long_name="Monthly average of x-snow mass transport"  field_ref="xmtrpsnw"          grid_ref="grid_U_2D"        freq_op="1mo" freq_offset="_reset_"  > @xmtrpsnw </field>
+      <field id="xmtrpsnw_section"                                                                                     grid_ref="grid_U_scalar"  > xmtrpsnw_ave </field>
+      <field id="xmtrpsnw_strait"                                                        field_ref="xmtrpsnw_section"  grid_ref="grid_U_4strait_ice"  />
+      <field id="xstrait_msfl"                                                           field_ref="xmtrpsnw_strait"   grid_ref="grid_U_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_u_ice </field>
+
+      <field id="ymtrpsnw_ave"     long_name="Monthly average of y-snow mass transport"  field_ref="ymtrpsnw"          grid_ref="grid_V_2D"        freq_op="1mo" freq_offset="_reset_"  > @ymtrpsnw </field>
+      <field id="ymtrpsnw_section"                                                                                     grid_ref="grid_V_scalar"  > ymtrpsnw_ave </field>
+      <field id="ymtrpsnw_strait"                                                        field_ref="ymtrpsnw_section"  grid_ref="grid_V_4strait_ice"  />
+      <field id="ystrait_msfl"                                                           field_ref="ymtrpsnw_strait"   grid_ref="grid_V_4strait_ice_hsum" unit="kg/s" detect_missing_value="true"  > this * maskMFO_v_ice </field>
+
+      <field id="xatrp_ave"        long_name="Monthly average of x-ice area transport"   field_ref="xatrp"             grid_ref="grid_U_2D"        freq_op="1mo" freq_offset="_reset_"  > @xatrp </field>
+      <field id="xatrp_section"                                                                                        grid_ref="grid_U_scalar"  > xatrp_ave </field>
+      <field id="xatrp_strait"                                                           field_ref="xatrp_section"     grid_ref="grid_U_4strait_ice"  />
+      <field id="xstrait_arfl"                                                           field_ref="xatrp_strait"      grid_ref="grid_U_4strait_ice_hsum" unit="kg/s" detect_missing_value="true" > this * maskMFO_u_ice </field>
+
+      <field id="yatrp_ave"        long_name="Monthly average of y-ice area transport"   field_ref="yatrp"             grid_ref="grid_V_2D"        freq_op="1mo" freq_offset="_reset_"  > @yatrp </field>
+      <field id="yatrp_section"                                                                                        grid_ref="grid_V_scalar"  > yatrp_ave </field>
+      <field id="yatrp_strait"                                                           field_ref="yatrp_section"     grid_ref="grid_V_4strait_ice"  />
+      <field id="ystrait_arfl"                                                           field_ref="yatrp_strait"      grid_ref="grid_V_4strait_ice_hsum" unit="m2/s" detect_missing_value="true"  > this * maskMFO_v_ice </field>
+
+      <field id="strait_mifl"      long_name="Sea ice mass flux through straits"      standard_name="sea_ice_mass_transport_across_line"   unit="kg/s"  freq_op="1mo"  grid_ref="grid_4strait_ice" > xstrait_mifl + ystrait_mifl </field>
+      <field id="strait_msfl"      long_name="Snow mass flux through straits"         standard_name="snow_mass_transport_across_line"      unit="kg/s"  freq_op="1mo"  grid_ref="grid_4strait_ice" > xstrait_msfl + ystrait_msfl </field>
+      <field id="strait_arfl"      long_name="Sea ice area flux through straits"      standard_name="sea_area_mass_transport_across_line"  unit="m2/s"  freq_op="1mo"  grid_ref="grid_4strait_ice" > xstrait_arfl + ystrait_arfl </field>
+
+    </field_group> <!-- SBC_2D -->
+
+    <!-- categories -->
+    <field_group id="SBC_3D" grid_ref="grid_T_ncatice" >
+
+      <!-- standard ice fields -->
+      <field id="iceconc_cat"  long_name="Sea-ice concentration per category"                unit=""        />
+      <field id="icethic_cat"  long_name="Sea-ice thickness per category"                    unit="m"       detect_missing_value="true" />
+      <field id="snwthic_cat"  long_name="Snow thickness per category"                       unit="m"       detect_missing_value="true" />
+      <field id="icesalt_cat"  long_name="Sea-Ice Bulk salinity per category"                unit="g/kg"    detect_missing_value="true" />
+      <field id="icetemp_cat"  long_name="Ice temperature per category"                      unit="degC"    detect_missing_value="true" />
+      <field id="snwtemp_cat"  long_name="Snow temperature per category"                     unit="degC"    detect_missing_value="true" />
+      <field id="icettop_cat"  long_name="Ice/snow surface temperature per category"         unit="degC"    detect_missing_value="true" />
+      <field id="iceapnd_cat"  long_name="Ice melt pond grid fraction per category"          unit=""        />
+      <field id="icevpnd_cat"  long_name="Ice melt pond volume per grid area per category"   unit="m"       />
+      <field id="icehpnd_cat"  long_name="Ice melt pond thickness per category"              unit="m"       detect_missing_value="true" />
+      <field id="icehlid_cat"  long_name="Ice melt pond lid thickness per category"          unit="m"       detect_missing_value="true" />
+      <field id="iceafpnd_cat" long_name="Ice melt pond ice fraction per category"           unit=""        />
+      <field id="iceaepnd_cat" long_name="Ice melt pond effective fraction per category"     unit=""        />
+      <field id="icemask_cat"  long_name="Fraction of time step with sea ice (per category)" unit=""        />
+      <field id="iceage_cat"   long_name="Ice age per category"                              unit="days"    detect_missing_value="true" />
+      <field id="icebrv_cat"   long_name="Brine volume per category"                         unit="%"       detect_missing_value="true" />
+      <field id="icealb_cat"   long_name="Sea-ice or snow albedo"                            unit=""        detect_missing_value="true" />
+
+      <!-- Add-ons for SIMIP -->
+      <field id="iceconc_cat_cmip"     long_name="Sea-ice area fractions in thickness categories"  standard_name="sea_ice_area_fraction_over_categories" detect_missing_value="true" unit=""   > iceconc_cat      * icemask_cat + $missval * (1.-icemask_cat) </field>
+      <field id="icethic_cat_cmip"     long_name="Sea-ice thickness in thickness categories"       standard_name="sea_ice_thickness_over_categories"     detect_missing_value="true" unit="m"  > icethic_cat      * icemask_cat + $missval * (1.-icemask_cat) </field>
+      <field id="snwthic_cat_cmip"     long_name="Snow thickness in thickness categories"          standard_name="snow_thickness_over_categories"        detect_missing_value="true" unit="m"  > snwthic_cat      * icemask_cat + $missval * (1.-icemask_cat) </field>
+      <field id="iceconc_cat_pct_cmip" long_name="Sea-ice area fractions in thickness categories"  standard_name="sea_ice_area_fraction_over_categories" detect_missing_value="true" unit="%"  > iceconc_cat*100. * icemask_cat + $missval * (1.-icemask_cat) </field>
+
+      <!-- heat diffusion convergence tests -->
+      <field id="tice_cvgerr" long_name="sea ice temperature convergence error"      standard_name="sea_ice_temperature_convergence_err" unit="K" />
+      <field id="tice_cvgstp" long_name="sea ice temperature convergence iterations" standard_name="sea_ice_temperature_convergence_stp" unit=""  />
+
+    </field_group> <!-- SBC_3D -->
+
+    <!-- scalar variables -->
+    <field_group id="SBC_scalar"  grid_ref="grid_scalar" >
+      <field id="NH_iceextt"      long_name="Sea ice extent North"                   standard_name="sea_ice_extent_n"                   unit="1e6_km2"  />
+      <field id="SH_iceextt"      long_name="Sea ice extent South"                   standard_name="sea_ice_extent_s"                   unit="1e6_km2"  />
+      <field id="NH_icevolu"      long_name="Sea ice volume North"                   standard_name="sea_ice_volume_n"                   unit="1e3_km3"  />
+      <field id="SH_icevolu"      long_name="Sea ice volume South"                   standard_name="sea_ice_volume_s"                   unit="1e3_km3"  />
+      <field id="NH_icearea"      long_name="Sea ice area North"                     standard_name="sea_ice_area_n"                     unit="1e6_km2"  />
+      <field id="SH_icearea"      long_name="Sea ice area South"                     standard_name="sea_ice_area_s"                     unit="1e6_km2"  />
+
+      <!-- available with ln_icediahsb -->
+      <!-- global forcings  -->
+      <field id="ibgfrcvoltop"    long_name="global mean ice/snow forcing at interface ice/snow-atm (volume equivalent ocean volume)"   unit="km3"      />
+      <field id="ibgfrcvolbot"    long_name="global mean ice/snow forcing at interface ice/snow-ocean (volume equivalent ocean volume)" unit="km3"      />
+      <field id="ibgfrctemtop"    long_name="global mean heat on top of ice/snw/ocean-atm "                                             unit="1e20J"    />
+      <field id="ibgfrctembot"    long_name="global mean heat below ice (on top of ocean) "                                             unit="1e20J"    />
+      <field id="ibgfrcsal"       long_name="global mean ice/snow forcing (salt equivalent ocean volume)"                               unit="pss*km3"  />
+      <field id="ibgfrchfxtop"    long_name="global mean heat flux on top of ice/snw/ocean-atm "                                        unit="W/m2"     />
+      <field id="ibgfrchfxbot"    long_name="global mean heat flux below ice (on top of ocean) "                                        unit="W/m2"     />
+
+      <!-- global drifts (conservation checks) -->
+      <field id="ibgvolume"       long_name="drift in ice/snow volume (equivalent ocean volume)"                                        unit="km3"      />
+      <field id="ibgsaltco"       long_name="drift in ice salt content (equivalent ocean volume)"                                       unit="pss*km3"  />
+      <field id="ibgheatco"       long_name="drift in ice/snow heat content"                                                            unit="1e20J"    />
+      <field id="ibgheatfx"       long_name="drift in ice/snow heat flux"                                                               unit="W/m2"     />
+
+      <!-- global contents -->
+      <field id="ibgvol_tot"      long_name="global mean ice volume"                                                                    unit="km3"      />
+      <field id="sbgvol_tot"      long_name="global mean snow volume"                                                                   unit="km3"      />
+      <field id="ibgarea_tot"     long_name="global mean ice area"                                                                      unit="km2"      />
+      <field id="ibgsalt_tot"     long_name="global mean ice salt content"                                                              unit="pss*km3"  />
+      <field id="ibgheat_tot"     long_name="global mean ice heat content"                                                              unit="1e20J"    />
+      <field id="sbgheat_tot"     long_name="global mean snow heat content"                                                             unit="1e20J"    />
+      <field id="ipbgvol_tot"     long_name="global mean ice pond volume"                                                               unit="km3"      />
+      <field id="ilbgvol_tot"     long_name="global mean ice pond lid volume"                                                           unit="km3"      />
+
+    </field_group>
+
+    <!--
+        ============================================================================================================
+    -->
+    <!-- output variables for my configuration (example) -->
+
+    <field_group id="myvarICE"        grid_ref="grid_T_2D" >
+      <!-- ice mask -->
+      <field field_ref="icemask"          name="simsk"   />
+      <field field_ref="icemask05"        name="simsk05" />
+      <field field_ref="icemask15"        name="simsk15" />
+
+      <!-- general -->
+      <field field_ref="snwvolu"          name="snvolu" />
+      <field field_ref="snwthic"          name="snthic" />
+      <field field_ref="icethic"          name="sithic" />
+      <!--
+          <field field_ref="icethic"          name="sithic_max" operation="maximum" />
+          <field field_ref="icethic"          name="sithic_min" operation="minimum" />
+      -->
+      <field field_ref="fasticepres"      name="fasticepres" />
+      <field field_ref="icevolu"          name="sivolu" />
+      <field field_ref="iceconc"          name="siconc" />
+      <field field_ref="icesalt"          name="sisali" />
+      <field field_ref="iceapnd"          name="siapnd" />
+      <field field_ref="icehpnd"          name="sihpnd" />
+      <field field_ref="icevpnd"          name="sivpnd" />
+      <field field_ref="iceage"           name="siage"  />
+      <field field_ref="sst_m"            name="sst_m"  />
+      <field field_ref="sss_m"            name="sss_m"  />
+
+      <!-- heat -->
+      <field field_ref="icetemp"          name="sitemp" />
+      <field field_ref="snwtemp"          name="sntemp" />
+      <field field_ref="icettop"          name="sittop" />
+      <field field_ref="icetbot"          name="sitbot" />
+      <field field_ref="icetsni"          name="sitsni" />
+
+      <!-- momentum -->
+      <field field_ref="uice"             name="sivelu"  />
+      <field field_ref="vice"             name="sivelv"  />
+      <field field_ref="icevel"           name="sivelo"  />
+      <field field_ref="utau_ai"          name="utau_ai" />
+      <field field_ref="vtau_ai"          name="vtau_ai" />
+      <field field_ref="utau_oi"          name="utau_oi" />
+      <field field_ref="vtau_oi"          name="vtau_oi" />
+
+      <!-- rheology -->
+      <field field_ref="icediv"           name="sidive"  />
+      <field field_ref="iceshe"           name="sishea"  />
+      <field field_ref="icestr"           name="sistre"  />
+      <field field_ref="normstr"          name="normstr" />
+      <field field_ref="sheastr"          name="sheastr" />
+      <field field_ref="sig1_pnorm"       name="sig1_pnorm"/>
+      <field field_ref="sig2_pnorm"       name="sig2_pnorm"/>
+      <field field_ref="icedlt"           name="sidelt" />
+
+      <!-- heat fluxes -->
+      <field field_ref="qt_oce_ai"        name="qt_oce_ai"  />
+      <field field_ref="qt_atm_oi"        name="qt_atm_oi"  />
+      <field field_ref="qtr_ice_top"      name="qtr_ice_top"/>
+      <field field_ref="qtr_ice_bot"      name="qtr_ice_bot"/>
+      <field field_ref="qt_ice"           name="qt_ice"     />
+      <field field_ref="qsr_ice"          name="qsr_ice"    />
+      <field field_ref="qns_ice"          name="qns_ice"    />
+      <field field_ref="qemp_ice"         name="qemp_ice"   />
+      <field field_ref="albedo"           name="albedo"     />
+      <field field_ref="icealb"           name="icealb"     />
+
+      <field field_ref="hfxcndtop"        name="hfxcndtop"  />
+      <field field_ref="hfxcndbot"        name="hfxcndbot"  />
+      <field field_ref="hfxsensib"        name="hfxsensib"  />
+
+      <field field_ref="icehc"         name="icehc"  />
+      <field field_ref="snwhc"         name="snwhc"  />
+      <field field_ref="hfxbog"        name="hfxbog"  />
+      <field field_ref="hfxbom"        name="hfxbom"  />
+      <field field_ref="hfxsum"        name="hfxsum"  />
+      <field field_ref="hfxopw"        name="hfxopw"  />
+      <field field_ref="hfxdif"        name="hfxdif"  />
+      <field field_ref="hfxsnw"        name="hfxsnw"  />
+      <field field_ref="hfxerr"        name="hfxerr"  />
+      <field field_ref="hfxthd"        name="hfxthd"  />
+      <field field_ref="hfxdyn"        name="hfxdyn"  />
+      <field field_ref="hfxres"        name="hfxres"  />
+      <field field_ref="hfxsub"        name="hfxsub"  />
+      <field field_ref="hfxspr"        name="hfxspr"  />
+
+      <!--
+          <field field_ref="hfxdhc"        name="hfxbudget"  operation="average" freq_op="1d" > @qt_atm_oi - @qt_oce_ai -@hfxdhc </field>
+      -->
+
+      <!-- salt fluxes -->
+      <field field_ref="sfxice"           name="sfxice" />
+
+      <!-- mass fluxes -->
+      <field field_ref="vfxice"           name="vfxice" />
+      <field field_ref="vfxsnw"           name="vfxsnw" />
+
+      <field field_ref="vfxbom"           name="vfxbom" />
+      <field field_ref="vfxbog"           name="vfxbog" />
+      <field field_ref="vfxsum"           name="vfxsum" />
+      <field field_ref="vfxopw"           name="vfxopw" />
+      <field field_ref="vfxlam"           name="vfxlam" />
+      <field field_ref="vfxsni"           name="vfxsni" />
+      <field field_ref="vfxdyn"           name="vfxdyn" />
+      <field field_ref="vfxres"           name="vfxres" />
+      <field field_ref="vfxpnd"           name="vfxpnd" />
+      <field field_ref="vfxsub"           name="vfxsub" />
+      <field field_ref="vfxsub_err"       name="vfxsub_err" />
+      <field field_ref="vfxthin"          name="vfxthin" />
+
+    </field_group>
+
+
+    <field_group id="myvarICE_cat"        grid_ref="grid_T_ncatice" >
+
+      <!-- categories -->
+      <field field_ref="icemask_cat"      name="simskcat"/>
+      <field field_ref="snwthic_cat"      name="snthicat"/>
+      <field field_ref="iceconc_cat"      name="siconcat"/>
+      <field field_ref="icethic_cat"      name="sithicat"/>
+      <field field_ref="icesalt_cat"      name="sisalcat"/>
+      <field field_ref="icetemp_cat"      name="sitemcat"/>
+      <field field_ref="snwtemp_cat"      name="sntemcat"/>
+      <field field_ref="icettop_cat"      name="sitopcat"/>
+
+    </field_group>
+
+    <!--============================-->
+    <!--  CONSERVATION diagnostics  -->
+    <!--============================-->
+
+    <field_group id="ICE_globalbudget"  grid_ref="grid_scalar" >
+      <field field_ref="ibgvol_tot"       name="ibgvol_tot"   />
+      <field field_ref="sbgvol_tot"       name="sbgvol_tot"   />
+      <field field_ref="ibgarea_tot"      name="ibgarea_tot"  />
+      <field field_ref="ibgsalt_tot"      name="ibgsalt_tot"  />
+      <field field_ref="ibgheat_tot"      name="ibgheat_tot"  />
+      <field field_ref="sbgheat_tot"      name="sbgheat_tot"  />
+      <field field_ref="ipbgvol_tot"      name="ipbgvol_tot"  />
+      <field field_ref="ilbgvol_tot"      name="ilbgvol_tot"  />
+    </field_group>
+    
+    <field_group id="ICE_budget"        grid_ref="grid_T_2D" >
+      <!-- general -->
+      <field field_ref="icemask"          name="simsk"      />
+      <field field_ref="iceconc"          name="siconc"     />
+      <field field_ref="icetemp"          name="sitemp"     />
+      <field field_ref="snwtemp"          name="sntemp"     />
+      <field field_ref="icettop"          name="sittop"     />
+      <field field_ref="icetbot"          name="sitbot"     />
+      <!-- heat fluxes -->
+      <field field_ref="qt_oce_ai"        name="qt_oce_ai"  />
+      <field field_ref="qt_atm_oi"        name="qt_atm_oi"  />
+      <field field_ref="qtr_ice_top"      name="qtr_ice_top"/>
+      <field field_ref="qtr_ice_bot"      name="qtr_ice_bot"/>
+      <field field_ref="qt_ice"           name="qt_ice"     />
+      <field field_ref="qsr_ice"          name="qsr_ice"    />
+      <field field_ref="qns_ice"          name="qns_ice"    />
+      <field field_ref="qemp_ice"         name="qemp_ice"   />
+      <field field_ref="hfxsub"           name="hfxsub"     />
+      <field field_ref="hfxspr"           name="hfxspr"     />
+      <field field_ref="hfxcndtop"        name="hfxcndtop"  />
+      <field field_ref="hfxcndbot"        name="hfxcndbot"  />
+      <field field_ref="hfxsensib"        name="hfxsensib"  />
+      <field field_ref="hfxmelt"          name="hfxmelt"    />
+      <field field_ref="hfxldmelt"        name="hfxldmelt"  />
+      <field field_ref="hfxldgrow"        name="hfxldgrow"  />
+      <!-- salt fluxes -->
+      <field field_ref="sfxice"           name="sfxice"     />
+      <!-- mass fluxes -->
+      <field field_ref="vfxice"           name="vfxice"     />
+      <field field_ref="vfxsnw"           name="vfxsnw"     />
+      <field field_ref="vfxpnd"           name="vfxpnd"     />
+      <field field_ref="vfxsub"           name="vfxsub"     />
+      <field field_ref="vfxsub_err"       name="vfxsub_err" />
+      <field field_ref="vfxsnw_sub"       name="vfxsnw_sub" />
+      <field field_ref="vfxsnw_pre"       name="vfxsnw_pre" />
+    </field_group>
+
+    
+    <!--============================-->
+    <!-- SIMIP sea ice field groups -->
+    <!--     Notz et al 2016        -->
+    <!--============================-->
+
+    <!-- SIMIP monthly scalar variables -->
+    <field_group id="SImon_scalars"   grid_ref="grid_scalar" >
+      <!-- Integrated quantities -->
+      <field field_ref="NH_iceextt"       name="siextentn"    />
+      <field field_ref="SH_iceextt"       name="siextents"    />
+      <field field_ref="NH_icevolu"       name="sivoln"       />
+      <field field_ref="SH_icevolu"       name="sivols"       />
+      <field field_ref="NH_icearea"       name="siarean"      />
+      <field field_ref="SH_icearea"       name="siareas"      />
+    </field_group>
+
+    <!-- SIMIP daily fields -->
+    <field_group id="SIday_fields"    grid_ref="grid_T_2D" >
+      <field field_ref="icepres"          name="sitimefrac"   />
+      <field field_ref="iceconc_pct"      name="siconc"       />
+      <field field_ref="icethic_cmip"     name="sithick"      />
+      <field field_ref="snwthic_cmip"     name="sisnthick"    />
+      <field field_ref="icettop_cmip"     name="sitemptop"    />
+      <field field_ref="uice_cmip"        name="siu"          />
+      <field field_ref="vice_cmip"        name="siv"          />
+      <field field_ref="icevel_cmip"      name="sispeed"      />
+    </field_group>
+
+    <!-- SIMIP monthly fields -->
+    <field_group id="SImon_fields"    grid_ref="grid_T_2D"  >
+      <!-- Sea-ice state variables -->
+      <field field_ref="icepres"          name="sitimefrac"   />
+      <field field_ref="iceconc_pct"      name="siconc"       />
+      <field field_ref="icemass_cmip"     name="simass"       />
+      <field field_ref="icethic_cmip"     name="sithick"      />
+      <field field_ref="icevolu"          name="sivol"        />
+      <field field_ref="snwmass_cmip"     name="sisnmass"     />
+      <field field_ref="snwthic_cmip"     name="sisnthick"    />
+
+      <!-- additional state variables-->
+      <field field_ref="icettop_cmip"     name="sitemptop"    />
+      <field field_ref="icetsni_cmip"     name="sitempsnic"   />
+      <field field_ref="icetbot_cmip"     name="sitempbot"    />
+      <field field_ref="iceage_cmip"      name="siage"        />
+      <field field_ref="icesalm"          name="sisaltmass"   />
+      <field field_ref="icesalt_cmip"     name="sisali"       />
+      <field field_ref="icefrb_cmip"      name="sifb"         />
+      <field field_ref="icehc_cmip"       name="sihc"         />
+      <field field_ref="snwhc_cmip"       name="sisnhc"       />
+
+      <!-- freshwater fluxes -->
+      <field field_ref="vfxice_cmip"      name="siflfwbot"    />
+      <field field_ref="vfxsum_cmip"      name="siflfwdrain"  />
+
+      <!-- area balance -->
+      <field field_ref="afxthd"           name="sidconcth"    />
+      <field field_ref="afxdyn"           name="sidconcdyn"   />
+
+      <!-- mass balance -->
+      <field field_ref="dmithd"           name="sidmassth"        />
+      <field field_ref="dmidyn"           name="sidmassdyn"       />
+      <field field_ref="dmiopw"           name="sidmassgrowthwat" />
+      <field field_ref="dmibog"           name="sidmassgrowthbot" />
+      <field field_ref="dmisni"           name="sidmasssi"        />
+      <field field_ref="dmisub"           name="sidmassevapsubl"  />
+      <field field_ref="dmisum"           name="sidmassmelttop"   />
+      <field field_ref="dmibom"           name="sidmassmeltbot"   />
+      <field field_ref="dmilam"           name="sidmassmeltlat"   />
+      <field field_ref="dmsspr"           name="sndmasssnf"       />
+      <field field_ref="dmsmel"           name="sndmassmelt"      />
+      <field field_ref="dmssub"           name="sndmasssubl"      />
+      <field field_ref="dmsdyn"           name="sndmassdyn"       />
+      <field field_ref="dmsssi"           name="sndmasssi"        />
+
+      <!-- heat balance -->
+      <field field_ref="hfxsensib"        name="siflsensupbot"    />
+      <field field_ref="hfxcndtop"        name="siflcondtop"      />
+      <field field_ref="hfxcndbot"        name="siflcondbot"      />
+
+      <!-- salt balance -->
+      <field field_ref="sfxice_cmip"      name="siflsaltbot"      />
+
+      <!-- sea-ice dynamics -->
+      <field field_ref="uice_cmip"        name="siu"              />
+      <field field_ref="vice_cmip"        name="siv"              />
+      <field field_ref="icevel_cmip"      name="sispeed"          />
+      <field field_ref="utau_ai_cmip"     name="sistrxdtop"       />
+      <field field_ref="vtau_ai_cmip"     name="sistrydtop"       />
+      <field field_ref="utau_oi"          name="sistrxubot"       />
+      <field field_ref="vtau_oi"          name="sistryubot"       />
+      <field field_ref="icestr"           name="sicompstren"      />
+      <field field_ref="dssh_dx"          name="siforcetiltx"     />
+      <field field_ref="dssh_dy"          name="siforcetilty"     />
+      <field field_ref="corstrx"          name="siforcecoriolx"   />
+      <field field_ref="corstry"          name="siforcecorioly"   />
+      <field field_ref="intstrx"          name="siforceintstrx"   />
+      <field field_ref="intstry"          name="siforceintstry"   />
+      <field field_ref="xmtrptot"         name="sidmasstranx"     />
+      <field field_ref="ymtrptot"         name="sidmasstrany"     />
+      <field field_ref="normstr"          name="sistresave"       operation="instant" />
+      <field field_ref="sheastr"          name="sistremax"        operation="instant" />
+      <field field_ref="icediv"           name="sidivvel"         operation="instant" />
+      <field field_ref="iceshe"           name="sishevel"         operation="instant" />
+
+      <!-- sea ice fluxes across straits: 2D arrays to be post-processed  -->
+      <field field_ref="xmtrpice"         name="simassacrossline_x" />
+      <field field_ref="ymtrpice"         name="simassacrossline_y" />
+      <field field_ref="xmtrpsnw"         name="snmassacrossline_x" />
+      <field field_ref="ymtrpsnw"         name="snmassacrossline_y" />
+      <field field_ref="xatrp"            name="siareaacrossline_x" />
+      <field field_ref="yatrp"            name="siareaacrossline_y" />
+
+      <!-- category-dependent fields -->
+      <field field_ref="iceconc_cat_pct_cmip" name="siitdconc"    />
+      <field field_ref="icethic_cat_cmip"     name="siitdthick"   />
+      <field field_ref="snwthic_cat_cmip"     name="siitdsnthick" />
+    </field_group>
+
+  </field_group> <!-- SBC -->
+
+</field_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-innerttrc.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-innerttrc.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-innerttrc.xml	(revision 6423)
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!-- $id$ -->
+
+<!--
+============================================================================================================
+=                                  definition of all existing variables                                    =
+=                                            DO NOT CHANGE                                                 =
+============================================================================================================
+-->
+<field_definition level="1" prec="4" operation="average" enabled=".TRUE." default_value="1.e20" > <!-- time step automaticaly defined -->
+
+  <!--
+      ============================================================================================================
+      Inert tracers variables
+      ============================================================================================================
+  -->
+
+
+  <field_group id="inerttrc" grid_ref="grid_T_2D">
+
+    <!-- CFC11 : variables available with ln_cfc11 -->
+    <field id="CFC11"        long_name="Chlorofluoro carbon11 Concentration"      unit="umol/m3"   grid_ref="grid_T_3D" />
+    <field id="CFC11_e3t"    long_name="CFC11 * e3t"                              unit="umol/m2"   grid_ref="grid_T_3D"  > CFC11 * e3t </field >
+    <field id="qtr_CFC11"    long_name="Air-sea flux of CFC-11"                   unit="mol/m2/s"   />
+    <field id="qint_CFC11"   long_name="Cumulative air-sea flux of CFC-11"        unit="mol/m2"     />
+
+    <!-- CFC12 : variables available with ln_cfc12 -->
+    <field id="CFC12"        long_name="Chlorofluoro carbon12 Concentration"      unit="umol/m3"   grid_ref="grid_T_3D" />
+    <field id="CFC12_e3t"    long_name="CFC12 * e3t"                              unit="umol/m2"   grid_ref="grid_T_3D"  > CFC12 * e3t </field >
+    <field id="qtr_CFC12"    long_name="Air-sea flux of CFC12"                    unit="mol/m2/s"   />
+    <field id="qint_CFC12"   long_name="Cumulative air-sea flux of CFC12"         unit="mol/m2"     />
+
+    <!-- SF6 : variables available with ln_sf6 -->
+    <field id="SF6"          long_name="Sulfur hexafluoride Concentration"        unit="umol/m3"   grid_ref="grid_T_3D" />
+    <field id="SF6_e3t"      long_name="SF6 * e3t"                                unit="umol/m2"   grid_ref="grid_T_3D"  > SF6 * e3t </field >
+    <field id="qtr_SF6"      long_name="Air-sea flux of SF6"                      unit="mol/m2/s"   />
+    <field id="qint_SF6"     long_name="Cumulative air-sea flux of SF6"           unit="mol/m2"     />
+
+    <!-- C14 : variables available with ln_c14 -->
+    <field id="RC14"         long_name="Radiocarbon ratio"                        unit="-"         grid_ref="grid_T_3D"  />
+    <field id="RC14_e3t"     long_name="RC14 * e3t"                               unit="m"         grid_ref="grid_T_3D"   > RC14 * e3t </field >
+    <field id="DeltaC14"     long_name="Delta C14"                                unit="permil"    grid_ref="grid_T_3D"  />
+    <field id="C14Age"       long_name="Radiocarbon age"                          unit="yr"        grid_ref="grid_T_3D"  />
+    <field id="RAge"         long_name="Reservoir Age"                            unit="yr"       />
+    <field id="qtr_c14"      long_name="Air-sea flux of C14"                      unit="1/m2/s"   />
+    <field id="qint_c14"     long_name="Cumulative air-sea flux of C14"           unit="1/m2"     />
+    <field id="AtmCO2"       long_name="Global atmospheric CO2"                   unit="ppm"      />
+    <field id="AtmC14"       long_name="Global atmospheric DeltaC14"              unit="permil"   />
+    <field id="K_C14"        long_name="Global 14C/C exchange velocity"           unit="m/yr"     />
+    <field id="K_CO2"        long_name="Global CO2 piston velocity"               unit="cm/h"     />
+    <field id="C14Inv"       long_name="global Radiocarbon ocean inventory"       unit="10^26 atoms"   />
+
+    <!-- AGE : variables available with ln_age -->
+    <field id="Age"          long_name="Sea water age since surface contact"      unit="yr"        grid_ref="grid_T_3D"  />
+    <field id="Age_e3t"      long_name="Age * e3t"                                unit="yr * m"   grid_ref="grid_T_3D"    > Age * e3t </field >
+
+  </field_group>
+
+</field_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-oce.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-oce.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-oce.xml	(revision 6423)
@@ -0,0 +1,1352 @@
+<?xml version="1.0"?>
+<!-- $id$ -->
+
+<field_definition level="1" prec="4" operation="average" enabled=".TRUE." default_value="1.e20" > <!-- time step automaticaly defined -->
+
+  <!--
+      =====================================================================================================
+      =                                   Configurable diagnostics                                        =
+      =====================================================================================================
+  -->
+
+  <field_group id="diamlr_fields">
+
+    <!--
+        =====================================================================================================
+        Configuration of multiple-linear-regression analysis (diamlr)
+        =====================================================================================================
+
+This field group configures diamlr for tidal harmonic analysis of field
+ssh: in addition to a regressor for fitting the mean value (diamlr_r101),
+it includes the regressors for the analysis of the tidal constituents
+that are available in the tidal-forcing implementation (see
+./src/OCE/SBC/tide.h90).
+
+    -->
+
+    <!-- Time -->
+    <field id="diamlr_time" grid_ref="diamlr_grid_T_2D" prec="8" />
+
+    <!-- Regressors for tidal harmonic analysis -->
+    <field id="diamlr_r001"  field_ref="diamlr_time" expr="sin( __TDE_M2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:M2"   />
+    <field id="diamlr_r002"  field_ref="diamlr_time" expr="cos( __TDE_M2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:M2"   />
+    <field id="diamlr_r003"  field_ref="diamlr_time" expr="sin( __TDE_N2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:N2"   />
+    <field id="diamlr_r004"  field_ref="diamlr_time" expr="cos( __TDE_N2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:N2"   />
+    <field id="diamlr_r005"  field_ref="diamlr_time" expr="sin( __TDE_2N2_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:2N2"  />
+    <field id="diamlr_r006"  field_ref="diamlr_time" expr="cos( __TDE_2N2_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:2N2"  />
+    <field id="diamlr_r007"  field_ref="diamlr_time" expr="sin( __TDE_S2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:S2"   />
+    <field id="diamlr_r008"  field_ref="diamlr_time" expr="cos( __TDE_S2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:S2"   />
+    <field id="diamlr_r009"  field_ref="diamlr_time" expr="sin( __TDE_K2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:K2"   />
+    <field id="diamlr_r010"  field_ref="diamlr_time" expr="cos( __TDE_K2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:K2"   />
+    <field id="diamlr_r011"  field_ref="diamlr_time" expr="sin( __TDE_K1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:K1"   />
+    <field id="diamlr_r012"  field_ref="diamlr_time" expr="cos( __TDE_K1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:K1"   />
+    <field id="diamlr_r013"  field_ref="diamlr_time" expr="sin( __TDE_O1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:O1"   />
+    <field id="diamlr_r014"  field_ref="diamlr_time" expr="cos( __TDE_O1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:O1"   />
+    <field id="diamlr_r015"  field_ref="diamlr_time" expr="sin( __TDE_Q1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:Q1"   />
+    <field id="diamlr_r016"  field_ref="diamlr_time" expr="cos( __TDE_Q1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:Q1"   />
+    <field id="diamlr_r017"  field_ref="diamlr_time" expr="sin( __TDE_P1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:P1"   />
+    <field id="diamlr_r018"  field_ref="diamlr_time" expr="cos( __TDE_P1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:P1"   />
+    <field id="diamlr_r019"  field_ref="diamlr_time" expr="sin( __TDE_M4_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:M4"   />
+    <field id="diamlr_r020"  field_ref="diamlr_time" expr="cos( __TDE_M4_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:M4"   />
+    <field id="diamlr_r021"  field_ref="diamlr_time" expr="sin( __TDE_Mf_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:Mf"   />
+    <field id="diamlr_r022"  field_ref="diamlr_time" expr="cos( __TDE_Mf_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:Mf"   />
+    <field id="diamlr_r023"  field_ref="diamlr_time" expr="sin( __TDE_Mm_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:Mm"   />
+    <field id="diamlr_r024"  field_ref="diamlr_time" expr="cos( __TDE_Mm_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:Mm"   />
+    <field id="diamlr_r025"  field_ref="diamlr_time" expr="sin( __TDE_Msqm_omega__ * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:Msqm" />
+    <field id="diamlr_r026"  field_ref="diamlr_time" expr="cos( __TDE_Msqm_omega__ * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:Msqm" />
+    <field id="diamlr_r027"  field_ref="diamlr_time" expr="sin( __TDE_Mtm_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:Mtm"  />
+    <field id="diamlr_r028"  field_ref="diamlr_time" expr="cos( __TDE_Mtm_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:Mtm"  />
+    <field id="diamlr_r029"  field_ref="diamlr_time" expr="sin( __TDE_S1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:S1"   />
+    <field id="diamlr_r030"  field_ref="diamlr_time" expr="cos( __TDE_S1_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:S1"   />
+    <field id="diamlr_r031"  field_ref="diamlr_time" expr="sin( __TDE_MU2_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:MU2"  />
+    <field id="diamlr_r032"  field_ref="diamlr_time" expr="cos( __TDE_MU2_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:MU2"  />
+    <field id="diamlr_r033"  field_ref="diamlr_time" expr="sin( __TDE_NU2_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:NU2"  />
+    <field id="diamlr_r034"  field_ref="diamlr_time" expr="cos( __TDE_NU2_omega__  * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:NU2"  />
+    <field id="diamlr_r035"  field_ref="diamlr_time" expr="sin( __TDE_L2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:L2"   />
+    <field id="diamlr_r036"  field_ref="diamlr_time" expr="cos( __TDE_L2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:L2"   />
+    <field id="diamlr_r037"  field_ref="diamlr_time" expr="sin( __TDE_T2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:sin:T2"   />
+    <field id="diamlr_r038"  field_ref="diamlr_time" expr="cos( __TDE_T2_omega__   * diamlr_time )" enabled=".TRUE."  comment="harmonic:cos:T2"   />
+    <field id="diamlr_r101"  field_ref="diamlr_time" expr="diamlr_time^0.0"                         enabled=".TRUE."  comment="mean"              />
+
+    <!-- Fields selected for regression analysis -->
+    <field id="diamlr_f001" field_ref="ssh" enabled=".TRUE." />
+
+  </field_group>
+
+  <!--
+      ============================================================================================================
+      =                                  definition of all existing variables                                    =
+      =                                            DO NOT CHANGE                                                 =
+      ============================================================================================================
+  -->
+
+  <field_group id="diadetide_fields">
+
+    <!--
+        =====================================================================================================
+        Weight fields for the computation of daily detided model diagnostics (diadetide)
+        =====================================================================================================
+
+    -->
+
+    <field id="diadetide_weight" grid_ref="diadetide_grid_T_2D" enabled=".TRUE." />
+    <field id="diadetide_weight_grid_T_2D" field_ref="diadetide_weight" grid_ref="diadetide_grid_T_2D" enabled=".TRUE." > this </field>
+    <field id="diadetide_weight_grid_U_2D" field_ref="diadetide_weight" grid_ref="diadetide_grid_U_2D" enabled=".TRUE." > this </field>
+    <field id="diadetide_weight_grid_V_2D" field_ref="diadetide_weight" grid_ref="diadetide_grid_V_2D" enabled=".TRUE." > this </field>
+    <field id="diadetide_weight_grid_T_3D" field_ref="diadetide_weight" grid_ref="diadetide_grid_2D_to_grid_T_3D" enabled=".TRUE." > this </field>
+    <field id="diadetide_weight_grid_U_3D" field_ref="diadetide_weight" grid_ref="diadetide_grid_2D_to_grid_U_3D" enabled=".TRUE." > this </field>
+    <field id="diadetide_weight_grid_V_3D" field_ref="diadetide_weight" grid_ref="diadetide_grid_2D_to_grid_V_3D" enabled=".TRUE." > this </field>
+    <field id="diadetide_weight_grid_W_3D" field_ref="diadetide_weight" grid_ref="diadetide_grid_2D_to_grid_W_3D" enabled=".TRUE." > this </field>
+
+  </field_group>
+
+  <!--
+      ============================================================================================================
+      Physical ocean model variables
+      ============================================================================================================
+  -->
+
+  <!-- T grid -->
+
+  <field_group id="grid_T" grid_ref="grid_T_2D" >
+    <field id="e3t"          long_name="T-cell thickness"                    standard_name="cell_thickness"        unit="m"   grid_ref="grid_T_3D" />
+    <field id="e3ts"         long_name="T-cell thickness"   field_ref="e3t"  standard_name="cell_thickness"        unit="m"   grid_ref="grid_T_SFC"/>
+    <field id="e3t_0"        long_name="Initial T-cell thickness"            standard_name="ref_cell_thickness"    unit="m"   grid_ref="grid_T_3D" />
+    <field id="e3tb"         long_name="bottom T-cell thickness"             standard_name="bottom_cell_thickness" unit="m"   grid_ref="grid_T_2D"/>
+    <field id="e3t_300"      field_ref="e3t"                grid_ref="grid_T_zoom_300"       detect_missing_value="true" />
+    <field id="e3t_vsum300"  field_ref="e3t_300"            grid_ref="grid_T_vsum"   detect_missing_value="true" />
+    <field id="masscello"    long_name="Sea Water Mass per unit area"   standard_name="sea_water_mass_per_unit_area"   unit="kg/m2"   grid_ref="grid_T_3D"/>
+    <field id="volcello"     long_name="Ocean Volume"                   standard_name="ocean_volume"   unit="m3"       grid_ref="grid_T_3D"/>
+    <field id="toce"         long_name="temperature"                         standard_name="sea_water_potential_temperature"   unit="degC"     grid_ref="grid_T_3D"/>
+    <field id="toce_e3t"     long_name="temperature (thickness weighted)"                                                      unit="degC"     grid_ref="grid_T_3D" > toce * e3t </field >
+    <field id="soce"         long_name="salinity"                            standard_name="sea_water_practical_salinity"      unit="1e-3"     grid_ref="grid_T_3D"/>
+    <field id="soce_e3t"     long_name="salinity    (thickness weighted)"                                                      unit="1e-3"     grid_ref="grid_T_3D" > soce * e3t </field >
+
+    <field id="toce_e3t_300"      field_ref="toce_e3t"          unit="degree_C"     grid_ref="grid_T_zoom_300"      detect_missing_value="true" />
+    <field id="toce_e3t_vsum300"  field_ref="toce_e3t_300"      unit="degress_C*m"  grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="toce_vmean300"     field_ref="toce_e3t_vsum300"  unit="degree_C"     grid_ref="grid_T_vsum"  detect_missing_value="true" > toce_e3t_vsum300/e3t_vsum300 </field>
+
+    <!-- AGRIF sponge -->
+    <field id="agrif_spt"         long_name=" AGRIF t-sponge coefficient"   unit=" " />
+
+    <!-- additions to diawri.F90 -->
+    <field id="sssgrad"     long_name="module of surface salinity gradient"              unit="1e-3/m"   grid_ref="grid_T_2D_inner"/>
+    <field id="sssgrad2"    long_name="square of module of surface salinity gradient"    unit="1e-6/m2"  grid_ref="grid_T_2D_inner"/>
+    <field id="ke"          long_name="kinetic energy"          standard_name="specific_kinetic_energy_of_sea_water"   unit="m2/s2"  grid_ref="grid_T_3D" />
+    <field id="ke_int"      long_name="vertical integration of kinetic energy"   unit="m3/s2"  grid_ref="grid_T_2D_inner" />
+
+    <!-- t-eddy viscosity coefficients (ldfdyn) -->
+    <field id="ahmt_2d"      long_name=" surface t-eddy viscosity coefficient"   unit="m2/s or m4/s"                      />
+    <field id="ahmt_3d"      long_name=" 3D      t-eddy viscosity coefficient"   unit="m2/s or m4/s"  grid_ref="grid_T_3D"/>
+
+    <field id="sst"          long_name="Bulk sea surface temperature"                       standard_name="bulk_sea_surface_temperature"        unit="degC"     />
+    <field id="t_skin"       long_name="Skin temperature aka SSST"                          standard_name="skin_temperature"                    unit="degC"     />
+    <field id="sst2"         long_name="square of sea surface temperature"                  standard_name="square_of_sea_surface_temperature"   unit="degC2"     > sst * sst </field >
+    <field id="sstmax"       long_name="max of sea surface temperature"   field_ref="sst"   operation="maximum"                                                 />
+    <field id="sstmin"       long_name="min of sea surface temperature"   field_ref="sst"   operation="minimum"                                                 />
+    <field id="sstgrad"      long_name="module of sst gradient"                                                                                 unit="degC/m"   grid_ref="grid_T_2D_inner" />
+    <field id="sstgrad2"     long_name="square of module of sst gradient"                                                                       unit="degC2/m2" grid_ref="grid_T_2D_inner" />
+    <field id="sbt"          long_name="sea bottom temperature"                                                                                 unit="degC"     grid_ref="grid_T_2D_inner" />
+    <field id="tosmint"      long_name="vertical integral of temperature times density"     standard_name="integral_wrt_depth_of_product_of_density_and_potential_temperature"  unit="(kg m2) degree_C" grid_ref="grid_T_2D_inner" />
+    <field id="sst_wl"       long_name="Delta SST of warm layer"                                                                                unit="degC"     />
+    <field id="sst_cs"       long_name="Delta SST of cool skin"                                                                                 unit="degC"     />
+    <field id="temp_3m"      long_name="temperature at 3m"                                                                                      unit="degC"     />
+
+    <field id="sss"          long_name="sea surface salinity"                               standard_name="sea_surface_salinity"                unit="1e-3"     />
+    <field id="sss2"         long_name="square of sea surface salinity"                                                                         unit="1e-6"      > sss * sss </field >
+    <field id="sssmax"       long_name="max of sea surface salinity"      field_ref="sss"   operation="maximum"                                                 />
+    <field id="sssmin"       long_name="min of sea surface salinity"      field_ref="sss"   operation="minimum"                                                 />
+    <field id="sbs"          long_name="sea bottom salinity"                                                                                    unit="0.001"   grid_ref="grid_T_2D_inner" />
+    <field id="somint"       long_name="vertical integral of salinity times density"        standard_name="integral_wrt_depth_of_product_of_density_and_salinity"  unit="(kg m2) x (1e-3)" grid_ref="grid_T_2D_inner" />
+
+    <field id="taubot"       long_name="bottom stress module"   unit="N/m2"   grid_ref="grid_T_2D_inner" />
+
+    <!-- Case EOS = TEOS-10 : output potential temperature -->
+    <field id="toce_pot"     long_name="Sea Water Potential Temperature"              standard_name="sea_water_potential_temperature"   unit="degC"     grid_ref="grid_T_3D"/>
+    <field id="toce_pot_e3t" long_name="Potential temperature (thickness weighted)"   standard_name="sea_water_potential_temperature"   unit="degC"     grid_ref="grid_T_3D" > toce_pot * e3t </field >
+    <field id="sst_pot"      long_name="potential sea surface temperature"             standard_name="sea_surface_temperature"             unit="degC"     />
+    <field id="tosmint_pot"  long_name="vertical integral of potential temperature times density"   standard_name="integral_wrt_depth_of_product_of_density_and_potential_temperature"  unit="(kg m2) degree_C" />
+
+    <field id="ht"           long_name="water column height at T point"                     standard_name="water_column_height_T"                      unit="m" />
+    <field id="ssh"          long_name="sea surface height"                                 standard_name="sea_surface_height_above_geoid"             unit="m" />
+    <field id="ssh2"         long_name="square of sea surface height"                       standard_name="square_of_sea_surface_height_above_geoid"   unit="m2" > ssh * ssh </field >
+    <field id="wetdep"       long_name="wet depth"                                          standard_name="wet_depth"                                  unit="m" />
+    <field id="sshmax"       long_name="max of sea surface height"        field_ref="ssh"   operation="maximum"                                                 />
+
+    <field id="mldkz5"       long_name="Turbocline depth (Kz = 5e-4)"                       standard_name="ocean_mixed_layer_thickness_defined_by_vertical_tracer_diffusivity"                unit="m"          />
+    <field id="mldr10_1"     long_name="Mixed Layer Depth (dsigma = 0.01 wrt 10m)"          standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"          />
+    <field id="mldr10_1max"  long_name="Max of Mixed Layer Depth (dsigma = 0.01 wrt 10m)"   field_ref="mldr10_1"   operation="maximum"                                                                          />
+    <field id="mldr10_1min"  long_name="Min of Mixed Layer Depth (dsigma = 0.01 wrt 10m)"   field_ref="mldr10_1"   operation="minimum"                                                                          />
+    <field id="heatc"        long_name="Heat content vertically integrated"                 standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content"   unit="J/m2"      grid_ref="grid_T_2D_inner" />
+    <field id="heatc_2"      long_name="Heat content vertically integrated"  field_ref="toce_e3t"   grid_ref="grid_T_vsum"  standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content"   unit="J/m2"     detect_missing_value="true" > this * $rho0 * $cpocean  </field >
+    <field id="saltc"        long_name="Salt content vertically integrated"                                                                                                                   unit="PSU*kg/m2"    grid_ref="grid_T_2D_inner" />
+    <field id="salt2c"       long_name="square of Salt content vertically integrated"                                                                                                         unit="PSU2*kg/m2"   grid_ref="grid_T_2D_inner" />
+
+    <!-- EOS -->
+    <field id="alpha"        long_name="thermal expansion"                                                         unit="degC-1" grid_ref="grid_T_3D" />
+    <field id="beta"         long_name="haline contraction"                                                        unit="1e3"    grid_ref="grid_T_3D" />
+    <field id="rhop"         long_name="potential density (sigma0)"        standard_name="sea_water_sigma_theta"   unit="kg/m3"  grid_ref="grid_T_3D" />
+
+    <!-- Energy - horizontal divergence -->
+    <field id="sKE"          long_name="surface kinetic energy"  standard_name="specific_kinetic_energy_of_sea_water"   unit="m2/s2"  grid_ref="grid_T_2D_inner" />
+    <field id="hdiv"         long_name="horizontal divergence"                                                          unit="s-1"    grid_ref="grid_T_3D" />
+
+    <!-- variables available with MLE -->
+    <field id="Lf_NHpf"      long_name="MLE: Lf = N H / f"   unit="m" />
+
+    <!-- next variables available with ln_zad_Aimp=.true. -->
+    <field id="Courant"      long_name="Courant number"                                                                 unit="#"   grid_ref="grid_T_3D" />
+    <field id="wimp"         long_name="Implicit vertical velocity"                                                     unit="m/s" grid_ref="grid_T_3D" />
+    <field id="wexp"         long_name="Explicit vertical velocity"                                                     unit="m/s" grid_ref="grid_T_3D" />
+    <field id="wi_cff"       long_name="Fraction of implicit vertical velocity"                                         unit="#"   grid_ref="grid_T_3D" />
+
+    <!-- next variables available with key_diahth -->
+    <field id="mlddzt"       long_name="Thermocline Depth (depth of max dT/dz)"         standard_name="depth_at_maximum_upward_derivative_of_sea_water_potential_temperature"             unit="m"                         />
+    <field id="mldr10_3"     long_name="Mixed Layer Depth (dsigma = 0.03 wrt 10m)"      standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         />
+    <field id="mldr0_1"      long_name="Mixed Layer Depth (dsigma = 0.01 wrt sfc)"      standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         />
+    <field id="mldr0_3"      long_name="Mixed Layer Depth (dsigma = 0.03 wrt sfc)"      standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         />
+    <field id="mld_dt02"     long_name="Mixed Layer Depth (|dT| = 0.2 wrt 10m)"         standard_name="ocean_mixed_layer_thickness_defined_by_temperature"                                unit="m"                         />
+    <field id="topthdep"     long_name="Top of Thermocline Depth (dT = -0.2 wrt 10m)"   standard_name="ocean_mixed_layer_thickness_defined_by_temperature"                                unit="m"                         />
+    <field id="pycndep"      long_name="Pycnocline Depth (dsigma[dT=-0.2] wrt 10m)"     standard_name="ocean_mixed_layer_thickness_defined_by_sigma_theta"                                unit="m"                         />
+    <field id="BLT"          long_name="Barrier Layer Thickness"                                                                                                                          unit="m"   > topthdep - pycndep </field>
+    <field id="tinv"         long_name="Max of vertical invertion of temperature"                                                                                                         unit="degC"                      />
+    <field id="depti"        long_name="Depth of max. vert. inv. of temperature"                                                                                                          unit="m"                         />
+    <field id="20d"          long_name="Depth of 20C isotherm"                          standard_name="depth_of_isosurface_of_sea_water_potential_temperature"                            unit="m"    />
+    <field id="26d"          long_name="Depth of 26C isotherm"                          standard_name="depth_of_isosurface_of_sea_water_potential_temperature"                            unit="m"    />
+    <field id="28d"          long_name="Depth of 28C isotherm"                          standard_name="depth_of_isosurface_of_sea_water_potential_temperature"                            unit="m"    />
+    <field id="hc300"        long_name="Heat content 0-300m"                            standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content"   unit="J/m2"                      />
+    <field id="hc700"        long_name="Heat content 0-700m"                            standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content"   unit="J/m2"                      />
+    <field id="hc2000"       long_name="Heat content 0-2000m"                           standard_name="integral_of_sea_water_potential_temperature_wrt_depth_expressed_as_heat_content"   unit="J/m2"                      />
+
+    <!-- variables available with diaar5 -->
+    <field id="botpres"      long_name="Sea Water Pressure at Sea Floor"          standard_name="sea_water_pressure_at_sea_floor"                    unit="dbar" />
+    <field id="sshdyn"       long_name="dynamic sea surface height"               standard_name="dynamic_sea_surface_height_above_geoid"             unit="m"    />
+    <field id="sshdyn2"      long_name="square of dynamic sea surface height"     standard_name="dynamic_sea_surface_height_above_geoid_squared"     unit="m2"    > sshdyn * sshdyn </field>
+    <field id="tnpeo"      long_name="Tendency of ocean potential energy content"                                                                    unit="W/m2" />
+
+    <!-- variables available ln_linssh=.FALSE. -->
+    <field id="tpt_dep"      long_name="T-point depth"                  standard_name="depth_below_geoid"   unit="m"   grid_ref="grid_T_3D" />
+    <field id="e3tdef"       long_name="T-cell thickness deformation"                                       unit="%"   grid_ref="grid_T_3D" />
+
+    <!-- variables available with ln_diacfl=.true. -->
+    <field id="cfl_cu"       long_name="u-courant number"   unit="#" />
+    <field id="cfl_cv"       long_name="v-courant number"   unit="#" />
+    <field id="cfl_cw"       long_name="w-courant number"   unit="#" />
+
+    <!-- variables available with ln_zdfmfc=.true. -->
+    <field id="mf_Tp"       long_name="plume_temperature"      standard_name="plume_temperature"     unit="degC"   grid_ref="grid_T_3D" />
+    <field id="mf_Sp"       long_name="plume_salinity"         standard_name="plume_salinity"        unit="1e-3"   grid_ref="grid_T_3D" />
+    <field id="mf_mf"       long_name="mass flux"              standard_name="mf_mass_flux"          unit="m"      grid_ref="grid_T_3D" />
+
+    <!-- fluxes from damping -->
+    <field id="sflx_dmp_cea"  long_name="salt flux due to damping"  standard_name="salt_flux_due_to_damping"          unit="g/m2/s"   />
+    <field id="hflx_dmp_cea"  long_name="heat flux due to damping"  standard_name="heat_flux_due_to_damping"          unit="W/m2"     />
+
+    <!-- * variable related to ice shelf forcing * -->
+
+    <!-- * fwf * -->
+    <field id="fwfisf_cav"      long_name="Ice shelf fresh water flux ( from isf to oce )"                    unit="kg/m2/s"  />
+    <field id="fwfisf_par"      long_name="Ice shelf fresh water flux ( from isf to oce )"                    unit="kg/m2/s"  />
+    <field id="fwfisf3d_cav"    long_name="3d Ice shelf fresh water flux ( from isf to oce )"                 unit="kg/m2/s"  grid_ref="grid_T_3D" />
+    <field id="fwfisf3d_par"    long_name="3d Ice shelf fresh water flux ( from isf to oce )"                 unit="kg/m2/s"  grid_ref="grid_T_3D" />
+
+    <!-- * heat fluxes * -->
+    <field id="qoceisf_cav"     long_name="Ice shelf ocean  heat flux ( from isf to oce )"                    unit="W/m2"     />
+    <field id="qoceisf_par"     long_name="Ice shelf ocean  heat flux ( from isf to oce )"                    unit="W/m2"     />
+    <field id="qlatisf_cav"     long_name="Ice shelf latent heat flux ( from isf to oce )"                    unit="W/m2"     />
+    <field id="qlatisf_par"     long_name="Ice shelf latent heat flux ( from isf to oce )"                    unit="W/m2"     />
+    <field id="qhcisf_cav"      long_name="Ice shelf heat content flux of injected water ( from isf to oce )" unit="W/m2"     />
+    <field id="qhcisf_par"      long_name="Ice shelf heat content flux of injected water ( from isf to oce )" unit="W/m2"     />
+    <field id="qoceisf3d_cav"   long_name="Ice shelf ocean  heat flux ( from isf to oce )"                    unit="W/m2"     grid_ref="grid_T_3D" />
+    <field id="qoceisf3d_par"   long_name="Ice shelf ocean  heat flux ( from isf to oce )"                    unit="W/m2"     grid_ref="grid_T_3D" />
+    <field id="qlatisf3d_cav"   long_name="Ice shelf latent heat flux ( from isf to oce )"                    unit="W/m2"     grid_ref="grid_T_3D" />
+    <field id="qlatisf3d_par"   long_name="Ice shelf latent heat flux ( from isf to oce )"                    unit="W/m2"     grid_ref="grid_T_3D" />
+    <field id="qhcisf3d_cav"    long_name="Ice shelf heat content flux of injected water ( from isf to oce )" unit="W/m2"     grid_ref="grid_T_3D" />
+    <field id="qhcisf3d_par"    long_name="Ice shelf heat content flux of injected water ( from isf to oce )" unit="W/m2"     grid_ref="grid_T_3D" />
+    <field id="qconisf"         long_name="Conductive heat flux through the ice shelf ( from isf to oce )"    unit="W/m2"     />
+
+    <!-- top boundary layer properties -->
+    <field id="isftfrz_cav"     long_name="freezing point temperature at ocean/isf interface"                unit="degC"     />
+    <field id="isftfrz_par"     long_name="freezing point temperature in the parametrization boundary layer" unit="degC"     />
+    <field id="isfthermald_cav" long_name="thermal driving of ice shelf melting"          unit="degC"     />
+    <field id="isfthermald_par" long_name="thermal driving of ice shelf melting"          unit="degC"     />
+    <field id="isfgammat"       long_name="Ice shelf heat-transfert velocity"             unit="m/s"      />
+    <field id="isfgammas"       long_name="Ice shelf salt-transfert velocity"             unit="m/s"      />
+    <field id="ttbl_cav"        long_name="temperature in Losch tbl"                      unit="degC"     />
+    <field id="ttbl_par"        long_name="temperature in the parametrisation boundary layer" unit="degC" />
+    <field id="stbl"            long_name="salinity in the Losh tbl"                      unit="1e-3"     />
+    <field id="utbl"            long_name="zonal current in the Losh tbl at T point"      unit="m/s"      />
+    <field id="vtbl"            long_name="merid current in the Losh tbl at T point"      unit="m/s"      />
+    <field id="isfustar"        long_name="ustar at T point used in ice shelf melting"    unit="m/s"      />
+
+  </field_group> <!-- grid_T -->
+
+  <!-- Tides -->
+
+  <field_group id="Tides_T" grid_ref="grid_T_2D" operation="once" >
+    <!-- Tidal potential -->
+    <field id="tide_pot"      long_name="Total tidal potential" unit="m" />
+    <field id="tide_pot_M2"   long_name="M2 tidal potential"    unit="m" />
+    <field id="tide_pot_N2"   long_name="N2 tidal potential"    unit="m" />
+    <field id="tide_pot_2N2"  long_name="2N2 tidal potential"   unit="m" />
+    <field id="tide_pot_S2"   long_name="S2 tidal potential"    unit="m" />
+    <field id="tide_pot_K2"   long_name="K2 tidal potential"    unit="m" />
+    <field id="tide_pot_K1"   long_name="K1 tidal potential"    unit="m" />
+    <field id="tide_pot_O1"   long_name="O1 tidal potential"    unit="m" />
+    <field id="tide_pot_Q1"   long_name="Q1 tidal potential"    unit="m" />
+    <field id="tide_pot_P1"   long_name="P1 tidal potential"    unit="m" />
+    <field id="tide_pot_M4"   long_name="M4 tidal potential"    unit="m" />
+    <field id="tide_pot_Mf"   long_name="Mf tidal potential"    unit="m" />
+    <field id="tide_pot_Mm"   long_name="Mm tidal potential"    unit="m" />
+    <field id="tide_pot_Msqm" long_name="Msqm tidal potential"  unit="m" />
+    <field id="tide_pot_Mtm"  long_name="Mtm tidal potential"   unit="m" />
+    <field id="tide_pot_S1"   long_name="S1 tidal potential"    unit="m" />
+    <field id="tide_pot_MU2"  long_name="MU2 tidal potential"   unit="m" />
+    <field id="tide_pot_NU2"  long_name="NU2 tidal potential"   unit="m" />
+    <field id="tide_pot_L2"   long_name="L2 tidal potential"    unit="m" />
+    <field id="tide_pot_T2"   long_name="T2 tidal potential"    unit="m" />
+  </field_group>
+
+  <!-- OSMOSIS variables (available with ln_zdfosm=.true.) -->
+
+  <field_group id="OSMOSIS_T" grid_ref="grid_T_2D">
+    <field id="hml"                 long_name="mixed layr depth"                         unit="m"       />
+    <field id="hbl"                 long_name="boundary layer depth"                     unit="m"       />
+    <field id="dh"                  long_name="Pycnocline thickness"                     unit=" m"      />
+    <field id="ibld"                long_name="index of boundary layer depth"            unit="#"       />
+    <field id="imld"                long_name="index of mixed layer depth"               unit="#"       />
+    <field id="jp_ext"              long_name="flag =1 if pycnocline well resolved"      unit="#"       />
+    <field id="j_ddh"               long_name="index of mixed layer depth"               unit="#"       />
+    <field id="zshear"              long_name="shear production of TKE "                 unit="m^3/s^3" />
+    <field id="zhbl"                long_name="boundary layer depth -grid"               unit="m"       />
+    <field id="zhml"                long_name="mixed layer depth - grid"                 unit="m"       />
+    <field id="zdh"                 long_name="Pycnocline  depth - grid"                 unit=" m"      />
+    <field id="zustke"              long_name="magnitude of stokes drift  at T-points"   unit="m/s"     />
+    <field id="us_x"                long_name="i component of active Stokes drift"       unit="m/s"     />
+    <field id="us_y"                long_name="j component of active Stokes drift"       unit="m/s"     />
+    <field id="dstokes"             long_name="stokes drift  depth scale"                unit="m"       />
+    <field id="zwth0"               long_name="surface non-local temperature flux"       unit="deg m/s" />
+    <field id="zws0"                long_name="surface non-local salinity flux"          unit="psu m/s" />
+    <field id="zwb0"                long_name="surface non-local buoyancy flux"          unit="m^2/s^3" />
+    <field id="zwstrc"              long_name="convective velocity scale"                unit="m/s"     />
+    <field id="zustar"              long_name="friction velocity"                        unit="m/s"     />
+    <field id="zwstrl"              long_name="langmuir velocity scale"                  unit="m/s"     />
+    <field id="zvstr"               long_name="mixed velocity scale"                     unit="m/s"     />
+    <field id="zla"                 long_name="langmuir number"                          unit="m/s"     />
+    <field id="wind_wave_abs_power" long_name="\rho |U_s| x u*^2"                        unit="mW"      />
+    <field id="wind_wave_power"     long_name="U_s \dot  tau"                            unit="mW"      />
+    <field id="wind_power"          long_name="\rho  u*^3"                               unit="mW"      />
+
+    <!-- interior BL OSMOSIS diagnostics -->
+    <field id="zwbav"               long_name="av turb flux of buoyancy in ml"           unit="m^2/s^3" />
+    <field id="zt_ml"               long_name="av T in ml"                               unit="deg"     />
+    <field id="zhol"                long_name="Hoenekker number"                         unit="#"       />
+    <field id="zws_ent"            long_name="entrainment turb flux of S"                unit="10^-3 m/s" />
+    <field id="zwth_ent"            long_name="entrainment turb flux of T"               unit="deg m/s" />
+    <field id="zwb_ent"            long_name="entrainment turb flux of buoyancy"         unit="m^2/s^-3" />
+
+    <field id="zdt_bl"             long_name="temperature jump at base of BL"            unit="deg"      />
+    <field id="zds_bl"             long_name="salinity jump at base of BL"               unit="10^-3"    />
+    <field id="zdb_bl"             long_name="buoyancy jump at base of BL"               unit="m/s^2"    />
+    <field id="zdu_bl"             long_name="u jump at base of BL"                      unit="m/s"      />
+    <field id="zdv_bl"             long_name="v jump at base of BL"                      unit="m/s"      />
+    <field id="zdt_ml"             long_name="temperature jump at base of ML"            unit="deg"      />
+    <field id="zds_ml"             long_name="salinity jump at base of ML"               unit="10^-3"    />
+    <field id="zdb_ml"             long_name="buoyancy jump at base of ML"               unit="m/s^2"    />
+    <field id="pb_coup"            long_name="bottom coupling velocity"                  unit="m/s"      />
+    <!-- extra OSMOSIS diagnostics for debugging -->
+    <field id="zsc_uw_1_0"       long_name="zsc u-momentum flux on T after Stokes"                       unit="m^2/s^2" />
+    <field id="zsc_uw_1_f"       long_name="zsc u-momentum flux on T after Coriolis"                       unit="m^2/s^2" />
+    <field id="zsc_vw_1_f"       long_name="zsc v-momentum flux on T after Coriolis"                       unit="m^2/s^2" />
+    <field id="zsc_uw_2_f"       long_name="2nd zsc u-momentum flux on T after Coriolis"                       unit="m^2/s^2" />
+    <field id="zsc_vw_2_f"       long_name="2nd zsc v-momentum flux on T after Coriolis"                       unit="m^2/s^2" />
+
+    <!-- FK_OSM OSMOSIS diagnostics (require also ln_osm_mle=.true.-->
+    <field id="hmle"          long_name="OBL FK-layer thickness"                                     unit="m"        />
+    <field id="mld_prof"              long_name="FK-layer depth index"                  unit="#" />
+    <field id="zmld"          long_name="target FK-layer thickness"                                     unit="m"        />
+    <field id="zwb_fk"          long_name="FK b-flux"                                     unit="m^2 s^-3"        />
+    <field id="zwb_fk_b"          long_name="layer averaged FK b-flux"                 unit="m^2 s^-3"       />
+    <field id="zdiff_mle"          long_name="max FK diffusivity in MLE"       unit=" 10^-4 m^2 s^-1"       />
+    <field id="zvel_mle"          long_name="FK velocity scale in MLE"       unit=" m s^-1"       />
+  </field_group>
+
+  <field_group id="OSMOSIS_W" grid_ref="grid_W_3D" >
+    <field id="zviscos"       long_name="BL viscosity"   unit="m^2/s" />
+    <field id="ghamt"       long_name="non-local temperature flux"                       unit="deg m/s" />
+    <field id="ghams"       long_name="non-local salinity flux"                          unit="psu m/s" />
+    <field id="zdtdz_pyc"   long_name="Pycnocline temperature gradient"                  unit=" deg/m"  />
+    <field id="zdsdz_pyc"   long_name="Pycnocline salinity gradient"                  unit=" 10^-3/m"  />
+    <field id="zdbdz_pyc"   long_name="Pycnocline buoyancy gradient"                  unit=" s^-2"  />
+    <field id="zdudz_pyc"   long_name="Pycnocline u gradient"                  unit=" s^-2"  />
+    <field id="zdvdz_pyc"   long_name="Pycnocline v gradient"                  unit=" s^-2"  />
+
+    <!-- extra OSMOSIS diagnostics for debugging -->
+    <field id="ghamu_00"       long_name="initial non-local u-momentum flux"   unit="m^2/s^2" />
+    <field id="ghamv_00"       long_name="initial non-local v-momentum flux"   unit="m^2/s^2" />
+    <field id="ghamu_0"       long_name="after dstokes non-local u-momentum flux"   unit="m^2/s^2" />
+    <field id="ghamu_f"       long_name="after Coriolis non-local u-momentum flux"   unit="m^2/s^2" />
+    <field id="ghamv_f"       long_name="after Coriolis  non-local v-momentum flux"   unit="m^2/s^2" />
+    <field id="ghamu_b"       long_name="after buoyancy added non-local u-momentum flux"   unit="m^2/s^2" />
+    <field id="ghamv_b"       long_name="after buoyancy added  non-local v-momentum flux"  unit="m^2/s^2" />
+    <field id="ghamu_1"       long_name="after entrainment non-local u-momentum flux"   unit="m^2/s^2" />
+    <field id="ghamv_1"       long_name="after entrainment  non-local v-momentum flux"  unit="m^2/s^2" />
+  </field_group>
+
+  <field_group id="OSMOSIS_U" grid_ref="grid_U_2D" >
+    <field id="ghamu"       long_name="non-local u-momentum flux"   grid_ref="grid_U_3D" unit="m^2/s^2" />
+    <!-- FK_OSM OSMOSIS diagnostics (require also ln_osm_mle=.true.-->
+    <field id="zdtdx"          long_name="FK  T x-gradient"                                     unit=" deg C m^-1"        />
+    <field id="zdsdx"          long_name="FK  S x-gradient"                                     unit=" 10^-3 m^-1"        />
+    <field id="dbdx_mle"          long_name="FK  B x-gradient"                                     unit=" s^-2"        />
+  </field_group>
+
+  <field_group id="OSMOSIS_V" grid_ref="grid_V_2D" >
+    <field id="ghamv"       long_name="non-local v-momentum flux"   grid_ref="grid_V_3D" unit="m^2/s^2" />
+    <!-- FK_OSM OSMOSIS diagnostics (require also ln_osm_mle=.true.-->
+    <field id="zdtdy"          long_name="FK T y-gradient"                                     unit=" deg C m^-1"        />
+    <field id="zdsdy"          long_name="FK S y-gradient"                                     unit=" 10^-3 m^-1"        />
+    <field id="dbdy_mle"          long_name="FK B y-gradient"                                     unit=" s^-2"        />
+  </field_group>
+
+  <!-- SBC -->
+  <field_group id="SBC" > <!-- time step automaticaly defined based on nn_fsbc -->
+
+    <field_group id="SBC_2D" grid_ref="grid_T_2D" >
+
+      <field id="empmr"        long_name="Net Upward Water Flux"                standard_name="water_flux_out_of_sea_ice_and_sea_water"                              unit="kg/m2/s"   />
+      <field id="empbmr"       long_name="Net Upward Water Flux at pre. tstep"  standard_name="water_flux_out_of_sea_ice_and_sea_water"                              unit="kg/m2/s"   />
+      <field id="emp_oce"      long_name="Evap minus Precip over ocean"         standard_name="evap_minus_precip_over_sea_water"                                     unit="kg/m2/s"   />
+      <field id="emp_ice"      long_name="Evap minus Precip over ice"           standard_name="evap_minus_precip_over_sea_ice"                                       unit="kg/m2/s"   />
+      <field id="saltflx"      long_name="Downward salt flux"                                                                                                        unit="g/m2/s"    />
+      <field id="fmmflx"       long_name="Water flux due to freezing/melting"                                                                                        unit="kg/m2/s"   />
+      <field id="snowpre"      long_name="Snow precipitation"                   standard_name="snowfall_flux"                                                        unit="kg/m2/s"   />
+      <field id="runoffs"      long_name="River Runoffs"                        standard_name="water_flux_into_sea_water_from_rivers"                                unit="kg/m2/s"   />
+      <field id="precip"       long_name="Total precipitation"                  standard_name="precipitation_flux"                                                   unit="kg/m2/s"   />
+      <field id="wclosea"      long_name="closed sea empmr correction"          standard_name="closea_empmr"                                                         unit="kg/m2/s"   />
+
+      <field id="qt"           long_name="Net Downward Heat Flux"                standard_name="surface_downward_heat_flux_in_sea_water"                              unit="W/m2"                           />
+      <field id="qns"          long_name="non solar Downward Heat Flux"                                                                                               unit="W/m2"                           />
+      <field id="qsr"          long_name="Shortwave Radiation"                   standard_name="net_downward_shortwave_flux_at_sea_water_surface"                     unit="W/m2"                           />
+      <field id="qsr3d"        long_name="Shortwave Radiation 3D distribution"   standard_name="downwelling_shortwave_flux_in_sea_water"                              unit="W/m2"      grid_ref="grid_T_3D" />
+      <field id="qrp"          long_name="Surface Heat Flux: Damping"            standard_name="heat_flux_into_sea_water_due_to_newtonian_relaxation"                 unit="W/m2"                           />
+      <field id="qclosea"      long_name="closed sea heat content flux"          standard_name="closea_heat_content_downward_flux"                                    unit="W/m2"     />
+      <field id="erp"          long_name="Surface Water Flux: Damping"           standard_name="water_flux_out_of_sea_water_due_to_newtonian_relaxation"              unit="kg/m2/s"                        />
+      <field id="taum"         long_name="wind stress module"                    standard_name="magnitude_of_surface_downward_stress"                                 unit="N/m2"                           />
+      <field id="wspd"         long_name="wind speed module"                     standard_name="wind_speed"                                                           unit="m/s"                            />
+
+      <!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn -->
+      <field id="ssh_ib"       long_name="Inverse barometer sea surface height"  standard_name="sea_surface_height_correction_due_to_air_pressure_at_low_frequency"   unit="m"        />
+
+      <!-- *_oce variables available with ln_blk_clio or ln_blk_core -->
+      <field id="rho_air"      long_name="Air density at 10m above sea surface"         standard_name="rho_air_10m"                                        unit="kg/m3" />
+      <field id="dt_skin"      long_name="SSST-SST temperature difference"              standard_name="SSST-SST"                                             unit="K"   />
+      <field id="qlw_oce"      long_name="Longwave Downward Heat Flux over open ocean"  standard_name="surface_net_downward_longwave_flux"                 unit="W/m2"  />
+      <field id="qsb_oce"      long_name="Sensible Downward Heat Flux over open ocean"  standard_name="surface_downward_sensible_heat_flux"                unit="W/m2"  />
+      <field id="qla_oce"      long_name="Latent Downward Heat Flux over open ocean"    standard_name="surface_downward_latent_heat_flux"                  unit="W/m2"  />
+      <field id="evap_oce"     long_name="Evaporation over open ocean"                  standard_name="evaporation"                                        unit="kg/m2/s" />
+      <field id="qt_oce"       long_name="total flux at ocean surface"                  standard_name="surface_downward_heat_flux_in_sea_water"            unit="W/m2"  />
+      <field id="qsr_oce"      long_name="solar heat flux at ocean surface"             standard_name="net_downward_shortwave_flux_at_sea_water_surface"   unit="W/m2"  />
+      <field id="qns_oce"      long_name="non-solar heat flux at ocean surface (including E-P)"                                                            unit="W/m2"  />
+      <field id="qemp_oce"     long_name="Downward Heat Flux from E-P over open ocean"                                                                     unit="W/m2"  />
+      <field id="taum_oce"     long_name="wind stress module over open ocean"           standard_name="magnitude_of_surface_downward_stress"               unit="N/m2"  />
+      <field id="utau_oce"     long_name="Wind Stress along i-axis over open ocean (T-points)"  standard_name="surf_down_x_stress_open_oce_Tpoints"        unit="N/m2"   />
+      <field id="vtau_oce"     long_name="Wind Stress along j-axis over open ocean (T-points)"  standard_name="surf_down_y_stress_open_oce_Tpoints"        unit="N/m2"    />
+
+      <!-- variables computed by the bulk parameterization algorithms (ln_blk) -->
+      <field id="Cd_oce"      long_name="Drag coefficient over open ocean"              standard_name="drag_coefficient_water"                unit=""  />
+      <field id="Ce_oce"      long_name="Evaporaion coefficient over open ocean"        standard_name="evap_coefficient_water"                unit=""  />
+      <field id="Ch_oce"      long_name="Sensible heat coefficient over open ocean"     standard_name="sensible_heat_coefficient_water"       unit=""  />
+      <field id="theta_zt"    long_name="Potential air temperature at z=zt"             standard_name="potential_air_temperature_at_zt"       unit="degC" />
+      <field id="q_zt"        long_name="Specific air humidity at z=zt"                 standard_name="specific_air_humidity_at_zt"           unit="kg/kg" />
+      <field id="theta_zu"    long_name="Potential air temperature at z=zu"             standard_name="potential_air_temperature_at_zu"       unit="degC" />
+      <field id="q_zu"        long_name="Specific air humidity at z=zu"                 standard_name="specific_air_humidity_at_zu"           unit="kg/kg" />
+      <field id="ssq"         long_name="Saturation specific humidity of air at z=0"    standard_name="surface_air_saturation_spec_humidity"  unit="kg/kg" />
+      <field id="wspd_blk"    long_name="Bulk wind speed at z=zu"                       standard_name="bulk_wind_speed_at_zu"                 unit="m/s"   />
+      <!-- ln_blk + key_si3 -->
+      <field id="Cd_ice"      long_name="Drag coefficient over ice"                     standard_name="drag_coefficient_ice"                 unit=""  />
+      <field id="Ce_ice"      long_name="Evaporaion coefficient over ice"               standard_name="evap_coefficient_ice"                 unit=""  />
+      <field id="Ch_ice"      long_name="Sensible heat coefficient over ice"            standard_name="sensible_heat_coefficient_ice"        unit=""  />
+
+      <!-- available key_oasis3 -->
+      <field id="snow_ao_cea"  long_name="Snow over ice-free ocean (cell average)"   standard_name="snowfall_flux"                             unit="kg/m2/s"  />
+      <field id="snow_ai_cea"  long_name="Snow over sea-ice (cell average)"          standard_name="snowfall_flux"                             unit="kg/m2/s"  />
+      <field id="subl_ai_cea"  long_name="Sublimation over sea-ice (cell average)"   standard_name="surface_snow_and_ice_sublimation_flux"     unit="kg/m2/s"  />
+      <field id="icealb_cea"   long_name="Ice albedo (cell average)"                 standard_name="sea_ice_albedo"                            unit="1"        />
+      <field id="calving_cea"  long_name="Calving"                                   standard_name="water_flux_into_sea_water_from_icebergs"   unit="kg/m2/s"  />
+      <field id="iceberg_cea"  long_name="Iceberg"                                   standard_name="water_flux_into_sea_water_from_icebergs"   unit="kg/m2/s"  />
+      <field id="iceshelf_cea" long_name="Iceshelf"                                  standard_name="water_flux_into_sea_water_from_iceshelf"   unit="kg/m2/s"  />
+
+
+      <!-- available if key_oasis3 + conservative method -->
+      <field id="rain"          long_name="Liquid precipitation"                                     standard_name="rainfall_flux"                                                                 unit="kg/m2/s"  />
+      <field id="rain_ao_cea"   long_name="Liquid precipitation over ice-free ocean (cell average)"  standard_name="rainfall_flux"                                                                 unit="kg/m2/s"  />
+      <field id="evap_ao_cea"   long_name="Evaporation over ice-free ocean (cell average)"           standard_name="water_evaporation_flux"                                                        unit="kg/m2/s"  />
+      <field id="isnwmlt_cea"   long_name="Snow over Ice melting (cell average)"                     standard_name="surface_snow_melt_flux"                                                        unit="kg/m2/s"  />
+      <field id="fsal_virt_cea" long_name="Virtual salt flux due to ice formation (cell average)"    standard_name="virtual_salt_flux_into_sea_water_due_to_sea_ice_thermodynamics"                unit="kg/m2/s"  />
+      <field id="fsal_real_cea" long_name="Real salt flux due to ice formation (cell average)"       standard_name="downward_sea_ice_basal_salt_flux"                                              unit="kg/m2/s"  />
+      <field id="hflx_rain_cea" long_name="heat flux due to rainfall"                                standard_name="temperature_flux_due_to_rainfall_expressed_as_heat_flux_into_sea_water"        unit="W/m2"     />
+      <field id="hflx_evap_cea" long_name="heat flux due to evaporation"                             standard_name="temperature_flux_due_to_evaporation_expressed_as_heat_flux_out_of_sea_water"   unit="W/m2"     />
+      <field id="hflx_subl_cea" long_name="heat flux due to sublimation (from atm. forcings)"        standard_name="temperature_flux_due_to_sublimation_expressed_as_heat_flux_out_of_sea_ice"     unit="W/m2"     />
+      <field id="hflx_prec_cea" long_name="heat flux due to all precip"                              standard_name="temperature_flux_due_to_all_precip_expressed_as_heat_flux_into_sea_water"      unit="W/m2"     />
+      <field id="hflx_snow_cea" long_name="heat flux due to snow falling"                            standard_name="heat_flux_onto_ocean_and_ice_due_to_snow_thermodynamics"                       unit="W/m2"     />
+      <field id="hflx_snow_ai_cea" long_name="heat flux due to snow falling over ice"                standard_name="heat_flux_onto_ice_due_to_snow_thermodynamics"                                 unit="W/m2"     />
+      <field id="hflx_snow_ao_cea" long_name="heat flux due to snow falling over ice-free ocean"     standard_name="heat_flux_onto_sea_water_due_to_snow_thermodynamics"                           unit="W/m2"     />
+      <field id="hflx_ice_cea"  long_name="heat flux due to ice thermodynamics"                      standard_name="heat_flux_into_sea_water_due_to_sea_ice_thermodynamics"                        unit="W/m2"     />
+      <field id="hflx_rnf_cea"  long_name="heat flux due to runoffs"                                 standard_name="temperature_flux_due_to_runoff_expressed_as_heat_flux_into_sea_water"          unit="W/m2"     />
+      <field id="sflx_rnf_cea"  long_name="salt flux due to runoffs"                                 standard_name="salt_flux_due_to_runoffs"                                                      unit="g/m2/s"   />
+      <field id="hflx_cal_cea"  long_name="heat flux due to calving"                                 standard_name="heat_flux_into_sea_water_due_to_calving"                                       unit="W/m2"     />
+      <field id="hflx_icb_cea"  long_name="heat flux due to iceberg"                                 standard_name="heat_flux_into_sea_water_due_to_icebergs"                                      unit="W/m2"     />
+      <field id="hflx_isf_cea"  long_name="heat flux due to iceshelf"                                standard_name="heat_flux_into_sea_water_due_to_iceshelf"                                      unit="W/m2"     />
+      <field id="bicemel_cea"   long_name="Rate of Melt at Sea Ice Base (cell average)"              standard_name="tendency_of_sea_ice_amount_due_to_basal_melting"                               unit="kg/m2/s"  />
+      <field id="licepro_cea"   long_name="Lateral Sea Ice Growth Rate (cell average)"               standard_name="tendency_of_sea_ice_amount_due_to_lateral_growth_of_ice_floes"                 unit="kg/m2/s"  />
+      <field id="snowmel_cea"   long_name="Snow Melt Rate (cell average)"                            standard_name="surface_snow_melt_flux"                                                        unit="kg/m2/s"  />
+      <field id="sntoice_cea"   long_name="Snow-Ice Formation Rate (cell average)"                   standard_name="tendency_of_sea_ice_amount_due_to_snow_conversion"                             unit="kg/m2/s"  />
+      <field id="ticemel_cea"   long_name="Rate of Melt at Upper Surface of Sea Ice (cell average)"  standard_name="tendency_of_sea_ice_amount_due_to_surface_melting"                             unit="kg/m2/s"  />
+
+      <!-- fluxes from relaxation and freshwater budget -->
+      <field id="sflx_ssr_cea"  long_name="salt flux due to restoring"    standard_name="salt_flux_due_to_restoring"    unit="g/m2/s"   />
+      <field id="hflx_ssr_cea"  long_name="heat flux due to restoring"    standard_name="heat_flux_due_to_restoring"    unit="W/m2"     />
+      <field id="vflx_ssr_cea"  long_name="volume flux due to restoring"  standard_name="volume_flux_due_to_restoring"  unit="kg/m2/s"  />
+      <field id="hflx_fwb_cea"  long_name="heat flux due to fwb"          standard_name="heat_flux_due_to_fwb"          unit="W/m2"     />
+      <field id="vflx_fwb_cea"  long_name="volume flux due to fwb"        standard_name="volume_flux_due_to_fwb"        unit="kg/m2/s"  />
+      
+      <!-- ice field (nn_ice=1)  -->
+      <field id="ice_cover"    long_name="Ice fraction"                                                 standard_name="sea_ice_area_fraction"                              unit="1"            />
+
+      <!-- dilution -->
+      <field id="emp_x_sst"    long_name="Concentration/Dilution term on SST"                                                                                              unit="kg*degC/m2/s" />
+      <field id="emp_x_sss"    long_name="Concentration/Dilution term on SSS"                                                                                              unit="kg*1e-3/m2/s" />
+      <field id="rnf_x_sst"    long_name="Runoff term on SST"                                                                                                              unit="kg*degC/m2/s" />
+      <field id="rnf_x_sss"    long_name="Runoff term on SSS"                                                                                                              unit="kg*1e-3/m2/s" />
+
+      <!-- sbcssm variables -->
+      <field id="sst_m"    unit="degC" />
+      <field id="sss_m"    unit="psu"  />
+      <field id="ssu_m"    unit="m/s"  />
+      <field id="ssv_m"    unit="m/s"  />
+      <field id="ssh_m"    unit="m"    />
+      <field id="e3t_m"    unit="m"    />
+      <field id="frq_m"    unit="-"    />
+
+    </field_group>
+
+
+  </field_group> <!-- SBC -->
+
+  <!-- ABL -->
+  <field_group id="ABL" > <!-- time step automaticaly defined based on nn_fsbc -->
+
+    <!-- variables available with ABL on atmospheric T grid-->
+    <field_group id="grid_ABL3D" grid_ref="grid_TA_3D" >
+      <field id="u_abl"      long_name="ABL i-horizontal velocity"     standard_name="abl_x_velocity" unit="m/s"      />
+      <field id="v_abl"      long_name="ABL j-horizontal velocity"     standard_name="abl_y_velocity" unit="m/s"      />
+      <field id="t_abl"      long_name="ABL potential temperature"     standard_name="abl_theta"      unit="K"        />
+      <field id="q_abl"      long_name="ABL specific humidity"         standard_name="abl_qspe"       unit="kg/kg"    />
+      <!-- debug (to be removed) -->
+      <field id="u_dta"      long_name="DTA i-horizontal velocity"     standard_name="dta_x_velocity" unit="m/s"      />
+      <field id="v_dta"      long_name="DTA j-horizontal velocity"     standard_name="dta_y_velocity" unit="m/s"      />
+      <field id="t_dta"      long_name="DTA potential temperature"     standard_name="dta_theta"      unit="K"        />
+      <field id="q_dta"      long_name="DTA specific humidity"         standard_name="dta_qspe"       unit="kg/kg"    />
+      <field id="u_geo"      long_name="GEO i-horizontal velocity"     standard_name="geo_x_velocity" unit="m/s"      />
+      <field id="v_geo"      long_name="GEO j-horizontal velocity"     standard_name="geo_y_velocity" unit="m/s"      />
+      <field id="tke_abl"    long_name="ABL turbulent kinetic energy"  standard_name="abl_tke"        unit="m2/s2"    />
+      <field id="avm_abl"    long_name="ABL turbulent viscosity"       standard_name="abl_avm"        unit="m2/s"     />
+      <field id="avt_abl"    long_name="ABL turbulent diffusivity"     standard_name="abl_avt"        unit="m2/s"     />
+      <field id="mxlm_abl"   long_name="ABL master mixing length"      standard_name="abl_mxlm"       unit="m"        />
+      <field id="mxld_abl"   long_name="ABL dissipative mixing length" standard_name="abl_mxld"       unit="m"        />
+    </field_group>
+
+    <field_group id="grid_ABL2D" grid_ref="grid_TA_2D" >
+      <field id="pblh"       long_name="ABL height"                    standard_name="abl_height"     unit="m"        />
+      <field id="uz1_abl"    long_name="ABL i-horizontal velocity"     standard_name="abl_x_velocity" unit="m/s"      />
+      <field id="vz1_abl"    long_name="ABL j-horizontal velocity"     standard_name="abl_y_velocity" unit="m/s"      />
+      <field id="uvz1_abl"   long_name="ABL wind speed module"         standard_name="abl_wind_speed" unit="m/s"       > sqrt( uz1_abl^2 + vz1_abl^2 ) </field>
+      <field id="tz1_abl"    long_name="ABL potential temperature"     standard_name="abl_theta"      unit="K"        />
+      <field id="qz1_abl"    long_name="ABL specific humidity"         standard_name="abl_qspe"       unit="kg/kg"    />
+      <field id="uz1_dta"    long_name="DTA i-horizontal velocity"     standard_name="dta_x_velocity" unit="m/s"      />
+      <field id="vz1_dta"    long_name="DTA j-horizontal velocity"     standard_name="dta_y_velocity" unit="m/s"      />
+      <field id="uvz1_dta"   long_name="DTA wind speed module"         standard_name="dta_wind_speed" unit="m/s"       > sqrt( uz1_dta^2 + vz1_dta^2 ) </field>
+      <field id="tz1_dta"    long_name="DTA potential temperature"     standard_name="dta_theta"      unit="K"        />
+      <field id="qz1_dta"    long_name="DTA specific humidity"         standard_name="dta_qspe"       unit="kg/kg"    />
+      <!-- debug (to be removed) -->
+      <field id="uz1_geo"    long_name="GEO i-horizontal velocity"     standard_name="geo_x_velocity" unit="m/s"      />
+      <field id="vz1_geo"    long_name="GEO j-horizontal velocity"     standard_name="geo_y_velocity" unit="m/s"      />
+      <field id="uvz1_geo"   long_name="GEO wind speed module"         standard_name="geo_wind_speed" unit="m/s"       > sqrt( uz1_geo^2 + vz1_geo^2 ) </field>
+    </field_group>
+
+  </field_group> <!-- ABL -->
+
+
+  <!-- U grid -->
+
+  <field_group id="grid_U"   grid_ref="grid_U_2D">
+    <field id="hu"            long_name="water column height at U point"                         standard_name="water_column_height_U"       unit="m" />
+    <field id="e2u"           long_name="U-cell width in meridional direction"                   standard_name="cell_width"                  unit="m"                               />
+    <field id="e3u"           long_name="U-cell thickness"                                       standard_name="cell_thickness"              unit="m"          grid_ref="grid_U_3D" />
+    <field id="e3u_0"         long_name="Initial U-cell thickness"                               standard_name="ref_cell_thickness"          unit="m"          grid_ref="grid_U_3D"/>
+    <field id="utau"          long_name="Wind Stress along i-axis"                               standard_name="surface_downward_x_stress"   unit="N/m2"                            />
+    <field id="uoce"          long_name="ocean current along i-axis"                             standard_name="sea_water_x_velocity"        unit="m/s"        grid_ref="grid_U_3D" />
+    <field id="uoce_e3u"      long_name="ocean current along i-axis  (thickness weighted)"                                                   unit="m/s"        grid_ref="grid_U_3D"  > uoce * e3u </field>
+    <field id="uoce_e3u_vsum" long_name="ocean current along i-axis * e3u summed on the vertical"  field_ref="uoce_e3u"    unit="m3/s"       grid_ref="grid_U_vsum" detect_missing_value="true" />
+    <field id="uocetr_vsum"   long_name="ocean transport along i-axis  summed on the vertical"         field_ref="e2u"       unit="m3/s"> this * uoce_e3u_vsum  </field>
+
+    <field id="uocetr_vsum_op"    long_name="ocean current along i-axis * e3u * e2u summed on the vertical"  read_access="true"  freq_op="1mo"    field_ref="e2u"       unit="m3/s"> @uocetr_vsum </field>
+    <field id="uocetr_vsum_cumul" long_name="ocean current along i-axis * e3u * e2u cumulated from southwest point" freq_offset="_reset_" operation="instant" freq_op="1mo"  unit="m3/s" />
+    <field id="msftbarot"         long_name="ocean_barotropic_mass_streamfunction"   unit="kg s-1" > uocetr_vsum_cumul * $rho0 </field>
+
+
+    <field id="ssu"          long_name="ocean surface current along i-axis"                                                                 unit="m/s"                             />
+    <field id="sbu"          long_name="ocean bottom current along i-axis"                                                                  unit="m/s"  grid_ref="grid_U_2D_inner" />
+    <field id="ubar"         long_name="ocean barotropic current along i-axis"                                                              unit="m/s"                             />
+    <field id="uocetr_eff"   long_name="Effective ocean transport along i-axis"                 standard_name="ocean_volume_x_transport"    unit="m3/s"       grid_ref="grid_U_3D" />
+    <field id="uocet"        long_name="ocean transport along i-axis times temperature (CRS)"                                               unit="degC*m/s"   grid_ref="grid_U_3D" />
+    <field id="uoces"        long_name="ocean transport along i-axis times salinity (CRS)"                                                  unit="1e-3*m/s"   grid_ref="grid_U_3D" />
+    <field id="ssuww"        long_name="ocean surface wind work along i-axis"                   standard_name="surface_x_wind_work"         unit="N/m*s"                            > utau * ssu </field>
+    <!-- AGRIF sponge -->
+    <field id="agrif_spu"    long_name=" AGRIF u-sponge coefficient"   unit=" " />
+    <!-- u-eddy diffusivity coefficients (available if ln_traldf_OFF=F) -->
+    <field id="ahtu_2d"      long_name=" surface u-eddy diffusivity coefficient"   unit="m2/s or m4/s" />
+    <field id="ahtu_3d"      long_name=" 3D u-EIV coefficient"                     unit="m2/s or m4/s"      grid_ref="grid_U_3D"/>
+    <!-- u-eiv diffusivity coefficients (available if ln_ldfeiv=F) -->
+    <field id="aeiu_2d"      long_name=" surface u-EIV coefficient"                unit="m2/s" />
+    <field id="aeiu_3d"      long_name=" 3D u-EIV coefficient"                     unit="m2/s"              grid_ref="grid_U_3D"/>
+
+    <!-- variables available with MLE (ln_mle=T) -->
+    <field id="psiu_mle"     long_name="MLE streamfunction along i-axis"   unit="m3/s"   grid_ref="grid_U_3D" />
+
+    <!-- uoce_eiv: available EIV (ln_ldfeiv=T and ln_ldfeiv_dia=T) -->
+    <field id="uoce_eiv"      long_name="EIV ocean current along i-axis"                                  standard_name="bolus_sea_water_x_velocity"                     unit="m/s"   grid_ref="grid_U_3D" />
+    <field id="ueiv_masstr"   long_name="EIV Ocean Mass X Transport"                                      standard_name="bolus_ocean_mass_x_transport"                   unit="kg/s"  grid_ref="grid_U_3D" />
+    <field id="ueiv_heattr"   long_name="ocean bolus heat transport along i-axis"                         standard_name="ocean_heat_x_transport_due_to_bolus_advection"  unit="W"                         />
+    <field id="ueiv_salttr"   long_name="ocean bolus salt transport along i-axis"                         standard_name="ocean_salt_x_transport_due_to_bolus_advection"  unit="Kg"                        />
+    <field id="ueiv_heattr3d" long_name="ocean bolus heat transport along i-axis"                         standard_name="ocean_heat_x_transport_due_to_bolus_advection"  unit="W"     grid_ref="grid_U_3D" />
+    <field id="ueiv_salttr3d" long_name="ocean bolus salt transport along i-axis"                         standard_name="ocean_salt_x_transport_due_to_bolus_advection"  unit="kg"    grid_ref="grid_U_3D" />
+
+    <!-- uoce_bbl: available with ln_trabbl=T and nn_bbl_adv=1 -->
+    <field id="uoce_bbl"     long_name="BBL ocean current along i-axis"    unit="m/s"  />
+    <!-- ahu_bbl : available with ln_trabbl=T and nn_bbl_ldf=1 -->
+    <field id="ahu_bbl"      long_name="BBL diffusive flux along i-axis"   unit="m3/s" />
+
+    <!-- variables available with WAVE (ln_wave=T) -->
+    <field id="ustokes"      long_name="Stokes Drift Velocity i-axis"      standard_name="StokesDrift_x_velocity"      unit="m/s"        grid_ref="grid_U_3D" />
+    <field id="ustokes_e3u"  long_name="Stokes Drift Velocity i-axis  (thickness weighted)"                            unit="m/s"        grid_ref="grid_U_3D"  > ustokes * e3u </field>
+
+    <!-- variable for ice shelves -->
+    <field id="utbl"         long_name="zonal current in the Losh tbl"     unit="m/s" />
+
+    <!-- variables available with diaar5 -->
+    <field id="u_masstr"      long_name="Ocean Mass X Transport"                                          standard_name="ocean_mass_x_transport"                         unit="kg/s"   grid_ref="grid_U_3D" />
+    <field id="u_masstr_vint" long_name="vertical integral of ocean eulerian mass transport along i-axis" standard_name="vertical_integral_of_ocean_mass_x_transport"    unit="kg/s"   grid_ref="grid_U_2D_inner" />
+    <field id="u_heattr"      long_name="ocean eulerian heat transport along i-axis"                      standard_name="ocean_heat_x_transport"                         unit="W"      grid_ref="grid_U_2D_inner" />
+    <field id="u_salttr"      long_name="ocean eulerian salt transport along i-axis"                      standard_name="ocean_salt_x_transport"                         unit="1e-3*kg/s" grid_ref="grid_U_2D_inner" />
+    <field id="uadv_heattr"   long_name="ocean advective heat transport along i-axis"                     standard_name="advectice_ocean_heat_x_transport"               unit="W"                         />
+    <field id="uadv_salttr"   long_name="ocean advective salt transport along i-axis"                     standard_name="advectice_ocean_salt_x_transport"               unit="1e-3*kg/s"                 />
+    <field id="udiff_heattr"  long_name="ocean diffusion heat transport along i-axis"                     standard_name="ocean_heat_x_transport_due_to_diffusion"        unit="W"                         />
+    <field id="udiff_salttr"  long_name="ocean diffusion salt transport along i-axis"                     standard_name="ocean_salt_x_transport_due_to_diffusion"        unit="1e-3*kg/s"                 />
+  </field_group>
+
+  <!-- V grid -->
+
+  <field_group id="grid_V"   grid_ref="grid_V_2D">
+    <field id="e1v"          long_name="V-cell width in longitudinal direction"                 standard_name="cell_width"                  unit="m"                              />
+    <field id="e3v"          long_name="V-cell thickness"                                       standard_name="cell_thickness"              unit="m"          grid_ref="grid_V_3D" />
+    <field id="e3v_0"        long_name="Initial V-cell thickness"                               standard_name="ref_cell_thickness"          unit="m"          grid_ref="grid_V_3D" />
+    <field id="hv"            long_name="water column height at V point"                        standard_name="water_column_height_V"       unit="m" />
+    <field id="vtau"         long_name="Wind Stress along j-axis"                               standard_name="surface_downward_y_stress"   unit="N/m2"                            />
+    <field id="voce"         long_name="ocean current along j-axis"                             standard_name="sea_water_y_velocity"        unit="m/s"        grid_ref="grid_V_3D" />
+    <field id="voce_e3v"     long_name="ocean current along j-axis  (thickness weighted)"                                                   unit="m/s"        grid_ref="grid_V_3D"  > voce * e3v </field>
+    <field id="ssv"          long_name="ocean surface current along j-axis"                                                                 unit="m/s"                             />
+    <field id="sbv"          long_name="ocean bottom current along j-axis"                                                                  unit="m/s"  grid_ref="grid_V_2D_inner" />
+    <field id="vbar"         long_name="ocean barotropic current along j-axis"                                                              unit="m/s"                             />
+    <field id="vocetr_eff"   long_name="Effective ocean transport along j-axis"                 standard_name="ocean_volume_y_transport"    unit="m3/s"       grid_ref="grid_V_3D" />
+    <field id="vocet"        long_name="ocean transport along j-axis times temperature (CRS)"                                               unit="degC*m/s"   grid_ref="grid_V_3D" />
+    <field id="voces"        long_name="ocean transport along j-axis times salinity (CRS)"                                                  unit="1e-3*m/s"   grid_ref="grid_V_3D" />
+    <field id="ssvww"        long_name="ocean surface wind work along j-axis"                   standard_name="surface_y_wind_work"         unit="N/m*s"                            > vtau * ssv </field>
+    <!-- AGRIF sponge -->
+    <field id="agrif_spv"    long_name=" AGRIF v-sponge coefficient"   unit=" " />
+    <!-- v-eddy diffusivity coefficients (available if ln_traldf_OFF=F) -->
+    <field id="ahtv_2d"      long_name=" surface v-eddy diffusivity coefficient"     unit="m2/s or (m4/s)^1/2" />
+    <field id="ahtv_3d"      long_name=" 3D v-eddy diffusivity coefficient"          unit="m2/s or (m4/s)^1/2"           grid_ref="grid_V_3D"/>
+    <!-- v-eiv diffusivity coefficients (available if ln_ldfeiv=F) -->
+    <field id="aeiv_2d"      long_name=" surface v-EIV coefficient"                  unit="m2/s" />
+    <field id="aeiv_3d"      long_name=" 3D v-EIV coefficient"                       unit="m2/s"                         grid_ref="grid_V_3D" />
+
+    <!-- variables available with MLE (ln_mle=T) -->
+    <field id="psiv_mle"     long_name="MLE streamfunction along j-axis"   unit="m3/s"   grid_ref="grid_V_3D" />
+
+    <!-- voce_eiv: available EIV (ln_ldfeiv=T and ln_ldfeiv_dia=T)  -->
+    <field id="voce_eiv"     long_name="EIV ocean current along j-axis"  standard_name="bolus_sea_water_y_velocity"     unit="m/s"   grid_ref="grid_V_3D" />
+    <field id="veiv_masstr"  long_name="EIV Ocean Mass Y Transport"      standard_name="bolus_ocean_mass_y_transport"   unit="kg/s"  grid_ref="grid_V_3D" />
+    <field id="veiv_heattr"   long_name="ocean bolus heat transport along j-axis"       standard_name="ocean_heat_y_transport_due_to_bolus_advection"   unit="W"                         />
+    <field id="veiv_salttr"   long_name="ocean bolus salt transport along j-axis"       standard_name="ocean_salt_x_transport_due_to_bolus_advection"   unit="Kg"                        />
+    <field id="veiv_heattr3d" long_name="ocean bolus heat transport along j-axis"       standard_name="ocean_heat_y_transport_due_to_bolus_advection"   unit="W"    grid_ref="grid_V_3D" />
+    <field id="veiv_salttr3d" long_name="ocean bolus salt transport along j-axis"       standard_name="ocean_salt_y_transport_due_to_bolus_advection"   unit="kg"   grid_ref="grid_V_3D" />
+
+
+    <!-- voce_bbl: available with ln_trabbl=T and nn_bbl_adv=1 -->
+    <field id="voce_bbl"     long_name="BBL ocean current along j-axis"    unit="m/s"  />
+    <!-- ahu_bbl : available with ln_trabbl=T and nn_bbl_ldf=1 -->
+    <field id="ahv_bbl"      long_name="BBL diffusive flux along j-axis"   unit="m3/s" />
+
+    <!-- variables available with WAVE (ln_wave=T) -->
+    <field id="vstokes"      long_name="Stokes Drift Velocity j-axis"      standard_name="StokesDrift_y_velocity"      unit="m/s"        grid_ref="grid_V_3D" />
+    <field id="vstokes_e3v"  long_name="Stokes Drift Velocity j-axis  (thickness weighted)"                            unit="m/s"        grid_ref="grid_V_3D"  > vstokes * e3v </field>
+
+    <!-- variable for ice shelves -->
+    <field id="vtbl"         long_name="meridional current in the Losh tbl"   unit="m/s" />
+
+    <!-- variables available with diaar5 -->
+    <field id="v_masstr"      long_name="ocean eulerian mass transport along j-axis"    standard_name="ocean_mass_y_transport"                          unit="kg/s" grid_ref="grid_V_3D" />
+    <field id="v_heattr"      long_name="ocean eulerian heat transport along j-axis"    standard_name="ocean_heat_y_transport"                          unit="W"          grid_ref="grid_V_2D_inner" />
+    <field id="v_salttr"      long_name="ocean eulerian salt transport along i-axis"    standard_name="ocean_salt_y_transport"                          unit="1e-3*kg/s"  grid_ref="grid_V_2D_inner" />
+    <field id="vadv_heattr"   long_name="ocean advective heat transport along j-axis"   standard_name="advectice_ocean_heat_y_transport"                unit="W"                         />
+    <field id="vadv_salttr"   long_name="ocean advective salt transport along j-axis"   standard_name="advectice_ocean_salt_y_transport"                unit="1e-3*kg/s"                 />
+    <field id="vdiff_heattr"  long_name="ocean diffusion heat transport along j-axis"   standard_name="ocean_heat_y_transport_due_to_diffusion"         unit="W"                         />
+    <field id="vdiff_salttr"  long_name="ocean diffusion salt transport along j-axis"   standard_name="ocean_salt_y_transport_due_to_diffusion"         unit="1e-3*kg/s"                 />
+  </field_group>
+
+  <!-- W grid -->
+
+  <field_group id="grid_W" grid_ref="grid_W_3D">
+    <field id="e3w"          long_name="W-cell thickness"                              standard_name="cell_thickness"                         unit="m"    />
+    <field id="woce"         long_name="ocean vertical velocity"                       standard_name="upward_sea_water_velocity"              unit="m/s"  />
+    <field id="woce_e3w"     long_name="ocean vertical velocity * e3w"                                                                        unit="m2/s"  > woce * e3w </field>
+    <field id="wocetr_eff"   long_name="effective ocean vertical transport"                                                                   unit="m3/s" />
+
+    <!-- woce_eiv: available with EIV  (ln_ldfeiv=T and ln_ldfeiv_dia=T)  -->
+    <field id="woce_eiv"     long_name="EIV ocean vertical velocity"                    standard_name="bolus_upward_sea_water_velocity"       unit="m/s"  />
+    <field id="weiv_masstr"  long_name="EIV Upward Ocean Mass Transport"  standard_name="bolus_upward_ocean_mass_transport"             unit="kg/s"   />
+    <field id="weiv_heattr3d" long_name="ocean bolus heat transport"    standard_name="ocean_heat_z_transport_due_to_bolus_advection"   unit="W"    />
+    <field id="weiv_salttr3d" long_name="ocean bolus salt transport"    standard_name="ocean_salt_z_transport_due_to_bolus_advection"   unit="kg"   />
+
+    <field id="avt"          long_name="vertical eddy diffusivity"                      standard_name="ocean_vertical_heat_diffusivity"       unit="m2/s" />
+    <field id="avt_e3w"      long_name="vertical heat diffusivity * e3w"                unit="m3/s" > avt * e3w </field>
+    <field id="logavt"       long_name="logarithm of vertical eddy diffusivity"         standard_name="ocean_vertical_heat_diffusivity"       unit="m2/s" />
+    <field id="avm"          long_name="vertical eddy viscosity"                        standard_name="ocean_vertical_momentum_diffusivity"   unit="m2/s" />
+    <field id="avm_e3w"      long_name="vertical eddy viscosity * e3w"   unit="m3/s" > avm * e3w </field>
+
+    <!-- avs: /= avt with ln_zdfddm=T -->
+    <field id="avs"          long_name="salt vertical eddy diffusivity"                 standard_name="ocean_vertical_salt_diffusivity"       unit="m2/s" />
+    <field id="avs_e3w"      long_name="vertical salt diffusivity * e3w"   unit="m3/s" > avs * e3w </field>
+    <field id="logavs"       long_name="logarithm of salt vertical eddy diffusivity"    standard_name="ocean_vertical_heat_diffusivity"       unit="m2/s" />
+
+    <!-- avt_evd and avm_evd: available with ln_zdfevd -->
+    <field id="avt_evd"      long_name="convective enhancement of vertical diffusivity" standard_name="ocean_vertical_tracer_diffusivity_due_to_convection"     unit="m2/s" />
+    <field id="avt_evd_e3w"  long_name="convective enhancement to vertical diffusivity * e3w "    unit="m3/s" > avt_evd * e3w </field>
+    <field id="avm_evd"      long_name="convective enhancement of vertical viscosity"   standard_name="ocean_vertical_momentum_diffusivity_due_to_convection"   unit="m2/s" />
+
+    <!-- mf_app and mf_wp: available with ln_zdfmfc -->
+    <field id="mf_app"      long_name="convective area"        standard_name="mf_convective_area"    unit="%"      grid_ref="grid_W_3D" />
+    <field id="mf_wp"       long_name="convective velocity"    standard_name="mf_convective_velo"    unit="m/s"    grid_ref="grid_W_3D" />
+
+
+    <!-- avt_tide: available with ln_zdfiwm=T -->
+    <field id="av_ratio"     long_name="S over T diffusivity ratio"                     standard_name="salinity_over_temperature_diffusivity_ratio"                     unit="1"    />
+    <field id="av_wave"      long_name="internal wave-induced vertical diffusivity"     standard_name="ocean_vertical_tracer_diffusivity_due_to_internal_waves"         unit="m2/s" />
+    <field id="bflx_iwm"     long_name="internal wave-induced buoyancy flux"            standard_name="buoyancy_flux_due_to_internal_waves"                             unit="W/kg" />
+    <field id="pcmap_iwm"    long_name="power consumed by wave-driven mixing"           standard_name="vertically_integrated_power_consumption_by_wave_driven_mixing"   unit="W/m2"      grid_ref="grid_W_2D" />
+    <field id="emix_iwm"     long_name="power density available for mixing"             standard_name="power_available_for_mixing_from_breaking_internal_waves"         unit="W/kg" />
+
+    <!-- variables available with WAVE (ln_wave=T) -->
+    <field id="wstokes"      long_name="Stokes Drift vertical velocity"                 standard_name="upward_StokesDrift_velocity"   unit="m/s" />
+
+    <!-- variables available with diaar5 -->
+    <field id="w_masstr"     long_name="vertical mass transport"                        standard_name="upward_ocean_mass_transport"             unit="kg/s"   />
+    <field id="w_masstr2"    long_name="square of vertical mass transport"              standard_name="square_of_upward_ocean_mass_transport"   unit="kg2/s2" />
+
+    <!-- EOS -->
+    <field id="bn2"          long_name="squared Brunt-Vaisala frequency"                unit="s-2" />
+
+    <!-- dissipation diagnostics (note: ediss_k is only available with tke scheme) -->   
+    <field id="avt_k"        long_name="vertical eddy diffusivity from closure schemes" standard_name="ocean_vertical_eddy_diffusivity"       unit="m2/s" />
+    <field id="avm_k"        long_name="vertical eddy viscosity from closure schemes"   standard_name="ocean_vertical_eddy_viscosity"         unit="m2/s" />
+    <field id="ediss_k"      long_name="Kolmogorov energy dissipation (tke scheme)"     standard_name="Kolmogorov_energy_dissipation"         unit="W/kg" />
+    <field id="eshear_k"     long_name="energy source from vertical shear"              standard_name="energy_source_from_shear"              unit="W/kg" />
+    <field id="estrat_k"     long_name="energy sink from stratification"                standard_name="energy_sink_from_stratification"       unit="W/kg" />
+    
+  </field_group>
+
+  <!-- F grid -->
+  <field_group id="grid_F" grid_ref="grid_F_2D">
+    <field id="e3f"          long_name="F-cell thickness"                      standard_name="cell_thickness"         unit="m"   grid_ref="grid_F_3D" />
+    <field id="e3f_0"        long_name="F-cell thickness"                      standard_name="cell_thickness"         unit="m"   grid_ref="grid_F_3D" />
+    <field id="hf"           long_name="water column height at F point"        standard_name="water_column_height_F"  unit="m"                     />
+    <field id="ssKEf"        long_name="surface kinetic energy at F point"     standard_name="specific_kinetic_energy_of_sea_water"   unit="m2/s2" grid_ref="grid_F_2D_inner" />
+    <field id="ssrelvor"     long_name="surface relative vorticity"            standard_name="relative_vorticity"     unit="1/s"       grid_ref="grid_F_2D_inner" />
+    <field id="ssplavor"     long_name="surface planetary vorticity"           standard_name="planetary_vorticity"    unit="1/s"       />
+    <field id="ssrelpotvor"  long_name="surface relative potential vorticity"  standard_name="relpot_vorticity"       unit="1/m.s"     grid_ref="grid_F_2D_inner" />
+    <field id="ssabspotvor"  long_name="surface absolute potential vorticity"  standard_name="abspot_vorticity"       unit="1/m.s"     grid_ref="grid_F_2D_inner" />
+    <field id="ssEns"        long_name="surface enstrophy"                     standard_name="enstrophy"              unit="1/m2.s2"   grid_ref="grid_F_2D_inner" />
+  </field_group>
+
+  <!-- AGRIF sponge -->
+  <field id="agrif_spf"    long_name=" AGRIF f-sponge coefficient"   unit=" " />
+  <!-- f-eddy viscosity coefficients (ldfdyn) -->
+  <field id="ahmf_2d"      long_name=" surface f-eddy viscosity coefficient"   unit="m2/s or m4/s" />
+  <field id="ahmf_3d"      long_name=" 3D      f-eddy viscosity coefficient"   unit="m2/s or m4/s"  grid_ref="grid_T_3D"/>
+
+  <field_group id="scalar"  grid_ref="grid_scalar"  >
+    <!-- Need to have a salinity reference climatological file : sali_ref_clim_monthly -->
+    <field id="voltot"     long_name="global total volume"                          standard_name="sea_water_volume"                               unit="m3"   />
+    <field id="sshtot"     long_name="global mean ssh"                              standard_name="global_average_sea_level_change"                unit="m"    />
+    <field id="sshsteric"  long_name="global mean ssh steric"                       standard_name="global_average_steric_sea_level_change"         unit="m"    />
+    <field id="sshthster"  long_name="global mean ssh thermosteric"                 standard_name="global_average_thermosteric_sea_level_change"   unit="m"    />
+    <field id="masstot"    long_name="global total mass"                            standard_name="sea_water_mass"                                 unit="kg"   />
+    <field id="temptot"    long_name="global mean temperature"                      standard_name="sea_water_potential_temperature"                unit="degC" />
+    <field id="saltot"     long_name="global mean salinity"                         standard_name="sea_water_salinity"                             unit="1e-3" />
+    <field id="ssttot"     long_name="global mean sea surface temperature"          standard_name="sea_water_conservative_temperature"             unit="degC" />
+    <!-- EOS = TEOS-10 -->
+    <field id="temptot_pot" long_name="global mean potential temperature"            standard_name="sea_water_potential_temperature"               unit="degC" />
+
+    <!-- available with ln_diahsb -->
+    <field id="bgtemper"     long_name="drift in global mean temperature wrt timestep 1"                 standard_name="change_over_time_in_sea_water_potential_temperature"   unit="degC"     />
+    <field id="bgsaline"     long_name="drift in global mean salinity wrt timestep 1"                    standard_name="change_over_time_in_sea_water_practical_salinity"      unit="1e-3"     />
+    <field id="bgheatco"     long_name="drift in global mean heat content wrt timestep 1"                                                                                      unit="1.e20J"   />
+    <field id="bgheatfx"     long_name="drift in global mean heat flux    wrt timestep 1"                                                                                      unit="W/m2"     />
+    <field id="bgsaltco"     long_name="drift in global mean salt content wrt timestep 1"                                                                                      unit="1e-3*km3" />
+    <field id="bgvolssh"     long_name="drift in global mean ssh volume wrt timestep 1"                                                                                        unit="km3"      />
+    <field id="bgvole3t"     long_name="drift in global mean volume variation (e3t) wrt timestep 1"                                                                            unit="km3"      />
+    <field id="bgfrcvol"     long_name="global mean volume from forcing"                                                                                                       unit="km3"      />
+    <field id="bgfrctem"     long_name="global mean heat content from forcing"                                                                                                 unit="1.e20J"   />
+    <field id="bgfrchfx"     long_name="global mean heat flux from forcing"                                                                                                    unit="W/m2"     />
+    <field id="bgfrcsal"     long_name="global mean salt content from forcing"                                                                                                 unit="1e-3*km3" />
+    <field id="bgmistem"     long_name="global mean temperature error due to free surface (linssh true)"                                                                       unit="degC"     />
+    <field id="bgmissal"     long_name="global mean salinity error due to free surface (linssh true)"                                                                          unit="1e-3"     />
+  </field_group>
+
+
+  <!-- transects -->
+  <field_group id="oce_straits">
+    <field id="uoce_e3u_ave"         long_name="Monthly average of u*e3u"                        field_ref="uoce_e3u"                    freq_op="1mo"   freq_offset="_reset_" > @uoce_e3u </field>
+    <field id="uoce_e3u_ave_vsum"    long_name="Vertical sum of u*e3u"                           field_ref="uoce_e3u_ave"         grid_ref="grid_U_vsum"  detect_missing_value="true"   />
+    <field id="uocetr_vsum_section"  long_name="Total 2D transport in i-direction"               field_ref="uoce_e3u_ave_vsum"    grid_ref="grid_U_scalar"  detect_missing_value="true"> this * e2u </field>
+    <field id="uocetr_strait"        long_name="Total transport across lines in i-direction"     field_ref="uocetr_vsum_section"  grid_ref="grid_U_4strait" />
+    <field id="u_masstr_strait"      long_name="Sea water transport across line in i-direction"  field_ref="uocetr_strait"        grid_ref="grid_U_4strait_hsum" unit="kg/s"> this * maskMFO_u * $rho0 </field>
+
+    <field id="voce_e3v_ave"         long_name="Monthly average of v*e3v"                        field_ref="voce_e3v"                    freq_op="1mo"   freq_offset="_reset_" > @voce_e3v </field>
+    <field id="voce_e3v_ave_vsum"    long_name="Vertical sum of v*e3v"                           field_ref="voce_e3v_ave"         grid_ref="grid_V_vsum"  detect_missing_value="true"    />
+    <field id="vocetr_vsum_section"  long_name="Total 2D transport of in j-direction"            field_ref="voce_e3v_ave_vsum"    grid_ref="grid_V_scalar"  detect_missing_value="true"> this * e1v </field>
+    <field id="vocetr_strait"        long_name="Total transport across lines in j-direction"     field_ref="vocetr_vsum_section"  grid_ref="grid_V_4strait"  />
+    <field id="v_masstr_strait"      long_name="Sea water transport across line in j-direction"  field_ref="vocetr_strait"        grid_ref="grid_V_4strait_hsum" unit="kg/s"> this * maskMFO_v * $rho0 </field>
+
+    <field id="masstr_strait"        long_name="Sea water transport across line"                                                  grid_ref="grid_4strait"  > u_masstr_strait + v_masstr_strait </field>
+  </field_group>
+
+  <!-- variables available with ln_floats -->
+
+  <field_group id="floatvar" grid_ref="grid_T_nfloat"  operation="instant" >
+    <field id="traj_lon"      long_name="floats longitude"                                                           unit="degrees_east"  />
+    <field id="traj_lat"      long_name="floats latitude"                                                            unit="degrees_north" />
+    <field id="traj_dep"      long_name="floats depth"                                                               unit="m"             />
+    <field id="traj_temp"     long_name="floats temperature"       standard_name="sea_water_potential_temperature"   unit="degC"          />
+    <field id="traj_salt"     long_name="floats salinity"          standard_name="sea_water_practical_salinity"      unit="1e-3"          />
+    <field id="traj_dens"     long_name="floats in-situ density"   standard_name="sea_water_density"                 unit="kg/m3"         />
+    <field id="traj_group"    long_name="floats group"                                                               unit="1"             />
+  </field_group>
+
+  <!-- variables available with iceberg trajectories -->
+
+  <field_group id="icbvar" domain_ref="grid_T"  >
+    <field id="berg_melt"          long_name="icb melt rate of icebergs"                       unit="kg/m2/s"                    />
+    <field id="berg_melt_hcflx"    long_name="icb heat flux to ocean due to melting heat content"   unit="J/m2/s"                />
+    <field id="berg_melt_qlat"     long_name="icb heat flux to ocean due to melting latent heat"    unit="J/m2/s"                />
+    <field id="berg_buoy_melt"     long_name="icb buoyancy component of iceberg melt rate"     unit="kg/m2/s"                    />
+    <field id="berg_eros_melt"     long_name="icb erosion component of iceberg melt rate"      unit="kg/m2/s"                    />
+    <field id="berg_conv_melt"     long_name="icb convective component of iceberg melt rate"   unit="kg/m2/s"                    />
+    <field id="berg_virtual_area"  long_name="icb virtual coverage by icebergs"                unit="m2"                         />
+    <field id="bits_src"           long_name="icb mass source of bergy bits"                   unit="kg/m2/s"                    />
+    <field id="bits_melt"          long_name="icb melt rate of bergy bits"                     unit="kg/m2/s"                    />
+    <field id="bits_mass"          long_name="icb bergy bit density field"                     unit="kg/m2"                      />
+    <field id="berg_mass"          long_name="icb iceberg density field"                       unit="kg/m2"                      />
+    <field id="calving"            long_name="icb calving mass input"                          unit="kg/s"                       />
+    <field id="berg_floating_melt" long_name="icb melt rate of icebergs + bits"                unit="kg/m2/s"                    />
+    <field id="berg_real_calving"  long_name="icb calving into iceberg class"                  unit="kg/s"     axis_ref="icbcla" />
+    <field id="berg_stored_ice"    long_name="icb accumulated ice mass by class"               unit="kg"       axis_ref="icbcla" />
+  </field_group>
+
+  <!-- Poleward transport : ptr -->
+  <field_group id="diaptr" >
+    <field id="zomsf"         long_name="Overturning Stream-Function : All basins"                     unit="Sv"         grid_ref="grid_znl_W_3D" />
+    <field id="zotem"         long_name="Zonal Mean Temperature : All basins"                          unit="degree_C"   grid_ref="grid_znl_T_3D" />
+    <field id="zosal"         long_name="Zonal Mean Salinity : All basins"                             unit="0.001"      grid_ref="grid_znl_T_3D" />
+    <field id="zosrf"         long_name="Zonal Mean Surface : All basins"                              unit="m2"         grid_ref="grid_znl_T_3D" />
+    <field id="sophtove"      long_name="Overturning Heat Transport: All basins"                       unit="PW"         grid_ref="grid_znl_T_2D" />
+    <field id="sopstove"      long_name="Overturning Salt Transport: All basins"                       unit="Giga g/s"   grid_ref="grid_znl_T_2D" />
+    <field id="sophtbtr"      long_name="Barotropic Heat Transport: All basins"                        unit="PW"         grid_ref="grid_znl_T_2D" />
+    <field id="sopstbtr"      long_name="Barotropic Salt Transport: All basins"                        unit="Giga g/s"   grid_ref="grid_znl_T_2D" />
+    <field id="sophtadv"      long_name="Advective Heat Transport: All basins"                         unit="PW"         grid_ref="grid_znl_T_2D" />
+    <field id="sopstadv"      long_name="Advective Salt Transport: All basins"                         unit="Giga g/s"   grid_ref="grid_znl_T_2D" />
+    <field id="sophtldf"      long_name="Diffusive Heat Transport: All basins"                         unit="PW"         grid_ref="grid_znl_T_2D" />
+    <field id="sopstldf"      long_name="Diffusive Salt Transport: All basins"                         unit="Giga g/s"   grid_ref="grid_znl_T_2D" />
+    <field id="sophtvtr"      long_name="Heat Transport : All basins"                                  unit="PW"         grid_ref="grid_znl_T_2D" />
+    <field id="sopstvtr"      long_name="Salt Transport : All basins"                                  unit="Giga g/s"   grid_ref="grid_znl_T_2D" />
+    <field id="sophteiv"      long_name="Heat Transport from mesoscale eddy advection: All basins"     unit="PW"         grid_ref="grid_znl_T_2D" />
+    <field id="sopsteiv"      long_name="Salt Transport from mesoscale eddy advection : All basins"    unit="Giga g/s"   grid_ref="grid_znl_T_2D" />
+    <field id="sopstadv"      long_name="Advective Salt Transport"                                     unit="Giga g/s"   grid_ref="grid_znl_T_2D" />
+    <field id="sophtgyre"     long_name="Overturning heat transport due to gyre" field_ref="sophtove"  unit="W"          grid_ref="grid_znl_T_2D" > sophtvtr - sophtove  </field>
+    <field id="sopstgyre"     long_name="Overturning salt transport due to gyre" field_ref="sopstove"  unit="kg/s"       grid_ref="grid_znl_T_2D" > sophtvtr - sopstove  </field>
+  </field_group>
+
+  <field_group id="constant_fields"  grid_ref="grid_T_2D"  operation="once" >
+    <field id="bathy"       long_name="Sea floor depth below geoid"               standard_name="sea_floor_depth_below_geoid"               unit="m"/>
+    <field id="areacello"   long_name="Horizontal area of ocean grid cells"       standard_name="cell_area"                                 unit="m2" />
+    <field id="hfgeou"      long_name="Upward geothermal heat flux at sea floor"  standard_name="upward_geothermal_heat_flux_at_sea_floor"  unit="W/m2"/>
+    <field id="basins"      long_name="ocean tracer region masks"                 standard_name="ocean_tracer_region_masks"   unit="none" grid_ref="grid_basin"  />
+  </field_group>
+
+
+  <!--
+      ============================================================================================================
+      Physical ocean model trend diagnostics : temperature, KE, PE, momentum
+      ============================================================================================================
+  -->
+
+  <!-- variables available with ln_tra_trd -->
+  <!-- Asselin trends  calculated on odd time steps-->
+  <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" />
+    <!-- Thickness weighted versions: -->
+    <field id="ttrd_atf_e3t"      unit="degC/s * m"  >  ttrd_atf * e3t </field>
+    <field id="strd_atf_e3t"      unit="1e-3/s * m"  >  strd_atf * e3t </field>
+    <!-- OMIP  layer-integrated trends -->
+    <field id="ttrd_atf_li"      long_name="layer integrated heat-trend: asselin time filter "       unit="W/m^2" > ttrd_atf_e3t * 1026.0 * 3991.86795711963  </field>
+    <field id="strd_atf_li"      long_name="layer integrated salt   -trend: asselin time filter "       unit="kg/(m^2 s)" > strd_atf_e3t * 1026.0 * 0.001 </field>
+  </field_group>
+
+  <!-- Other trends  calculated on even time steps-->
+  <field_group id="trendT_even" grid_ref="grid_T_3D">
+    <field id="ttrd_xad"      long_name="temperature-trend: i-advection"                                                                                          unit="degC/s"                        />
+    <field id="strd_xad"      long_name="salinity   -trend: i-advection"                                                                                          unit="1e-3/s"                        />
+    <field id="ttrd_yad"      long_name="temperature-trend: j-advection"                                                                                          unit="degC/s"                        />
+    <field id="strd_yad"      long_name="salinity   -trend: j-advection"                                                                                          unit="1e-3/s"                        />
+    <field id="ttrd_zad"      long_name="temperature-trend: k-advection"                                                                                          unit="degC/s"                        />
+    <field id="strd_zad"      long_name="salinity   -trend: k-advection"                                                                                          unit="1e-3/s"                        />
+    <field id="ttrd_ad"       long_name="temperature-trend: advection"               standard_name="tendency_of_sea_water_temperature_due_to_advection"           unit="degC/s"                         > sqrt( ttrd_xad^2 + ttrd_yad^2 + ttrd_zad^2 ) </field>
+    <field id="strd_ad"       long_name="salinity   -trend: advection"               standard_name="tendency_of_sea_water_salinity_due_to_advection"              unit="1e-3/s"                         > sqrt( strd_xad^2 + strd_yad^2 + strd_zad^2 ) </field>
+    <field id="ttrd_totad"    long_name="temperature-trend: total advection"         standard_name="tendency_of_sea_water_salinity_due_to_advection"              unit="degC/s"                        />
+    <field id="strd_totad"    long_name="salinity   -trend: total advection"         standard_name="tendency_of_sea_water_salinity_due_to_advection"              unit="1e-3/s"                        />
+    <field id="ttrd_sad"      long_name="temperature-trend: surface adv. (linssh true)"                                                                           unit="degC/s"   grid_ref="grid_T_2D" />
+    <field id="strd_sad"      long_name="salinity   -trend: surface adv. (linssh true)"                                                                           unit="1e-3/s"   grid_ref="grid_T_2D" />
+    <field id="ttrd_ldf"      long_name="temperature-trend: lateral  diffusion"      standard_name="tendency_of_sea_water_temperature_due_to_horizontal_mixing"   unit="degC/s"                        />
+    <field id="strd_ldf"      long_name="salinity   -trend: lateral  diffusion"      standard_name="tendency_of_sea_water_salinity_due_to_horizontal_mixing"      unit="1e-3/s"                        />
+    <field id="ttrd_zdf"      long_name="temperature-trend: vertical diffusion"      standard_name="tendency_of_sea_water_temperature_due_to_vertical_mixing"     unit="degC/s"                        />
+    <field id="strd_zdf"      long_name="salinity   -trend: vertical diffusion"      standard_name="tendency_of_sea_water_salinity_due_to_vertical_mixing"        unit="1e-3/s"                        />
+    <field id="ttrd_evd"      long_name="temperature-trend: EVD convection"                                                                                       unit="degC/s"                        />
+    <field id="strd_evd"      long_name="salinity   -trend: EVD convection"                                                                                       unit="1e-3/s"                        />
+
+    <!-- ln_traldf_iso=T only (iso-neutral diffusion) -->
+    <field id="ttrd_iso"      long_name="temperature-trend: isopycnal diffusion"                             unit="degC/s" > ttrd_ldf + ttrd_zdf - ttrd_zdfp </field>
+    <field id="strd_iso"      long_name="salinity   -trend: isopycnal diffusion"                             unit="1e-3/s" > strd_ldf + strd_zdf - strd_zdfp </field>
+    <field id="ttrd_zdfp"     long_name="temperature-trend: pure vert. diffusion"   unit="degC/s" />
+    <field id="strd_zdfp"     long_name="salinity   -trend: pure vert. diffusion"   unit="1e-3/s" />
+
+    <!-- ln_zdfosm=T only (OSMOSIS-OBL) -->
+    <field id="ttrd_osm"      long_name="temperature-trend: OSM-OSBL non-local forcing"                             unit="degC/s" />
+    <field id="strd_osm"      long_name="salinity   -trend: OSM-OSBL non-local forcing"                             unit="1e-3/s" />
+
+
+    <!-- -->
+    <field id="ttrd_dmp"      long_name="temperature-trend: interior restoring"        unit="degC/s" />
+    <field id="strd_dmp"      long_name="salinity   -trend: interior restoring"        unit="1e-3/s" />
+    <field id="ttrd_bbl"      long_name="temperature-trend: bottom boundary layer"     unit="degC/s" />
+    <field id="strd_bbl"      long_name="salinity   -trend: bottom boundary layer"     unit="1e-3/s" />
+    <field id="ttrd_npc"      long_name="temperature-trend: non-penetrative conv."     unit="degC/s" />
+    <field id="strd_npc"      long_name="salinity   -trend: non-penetrative conv."     unit="1e-3/s" />
+    <field id="ttrd_qns"      long_name="temperature-trend: non-solar flux + runoff"   unit="degC/s" grid_ref="grid_T_2D" />
+    <field id="strd_cdt"      long_name="salinity   -trend: C/D term       + runoff"   unit="degC/s" grid_ref="grid_T_2D" />
+    <field id="ttrd_qsr"      long_name="temperature-trend: solar penetr. heating"     unit="degC/s" />
+    <field id="ttrd_bbc"      long_name="temperature-trend: geothermal heating"        unit="degC/s" />
+
+    <!-- Thickness weighted versions: -->
+    <field id="ttrd_xad_e3t"      unit="degC/s * m" >  ttrd_xad * e3t </field>
+    <field id="strd_xad_e3t"      unit="1e-3/s * m" >  strd_xad * e3t </field>
+    <field id="ttrd_yad_e3t"      unit="degC/s * m" >  ttrd_yad * e3t </field>
+    <field id="strd_yad_e3t"      unit="1e-3/s * m" >  strd_yad * e3t </field>
+    <field id="ttrd_zad_e3t"      unit="degC/s * m" >  ttrd_zad * e3t </field>
+    <field id="strd_zad_e3t"      unit="1e-3/s * m" >  strd_zad * e3t </field>
+    <field id="ttrd_ad_e3t"       unit="degC/s * m" >  ttrd_ad  * e3t </field>
+    <field id="strd_ad_e3t"       unit="1e-3/s * m" >  strd_ad  * e3t </field>
+    <field id="ttrd_totad_e3t"    unit="degC/s * m" >  ttrd_totad  * e3t </field>
+    <field id="strd_totad_e3t"    unit="1e-3/s * m" >  strd_totad  * e3t </field>
+    <field id="ttrd_ldf_e3t"      unit="degC/s * m" >  ttrd_ldf * e3t </field>
+    <field id="strd_ldf_e3t"      unit="1e-3/s * m" >  strd_ldf * e3t </field>
+    <field id="ttrd_zdf_e3t"      unit="degC/s * m" >  ttrd_zdf * e3t </field>
+    <field id="strd_zdf_e3t"      unit="1e-3/s * m" >  strd_zdf * e3t </field>
+    <field id="ttrd_evd_e3t"      unit="degC/s * m" >  ttrd_evd * e3t </field>
+    <field id="strd_evd_e3t"      unit="1e-3/s * m" >  strd_evd * e3t </field>
+
+    <!-- ln_traldf_iso=T only (iso-neutral diffusion) -->
+    <field id="ttrd_iso_e3t"      unit="degC/s * m"  >  ttrd_iso * e3t </field>
+    <field id="strd_iso_e3t"      unit="1e-3/s * m"  >  strd_iso * e3t </field>
+    <field id="ttrd_zdfp_e3t"     unit="degC/s * m"  >  ttrd_zdfp * e3t </field>
+    <field id="strd_zdfp_e3t"     unit="1e-3/s * m"  >  strd_zdfp * e3t </field>
+
+    <!-- ln_zdfosm=T only (OSMOSIS-OBL) -->
+    <field id="ttrd_osm_e3t"      long_name="temperature-trend: OSM-OSBL non-local forcing"                             unit="degC/s * m" >  ttrd_osm * e3t </field>
+    <field id="strd_osm_e3t"      long_name="salinity   -trend: OSM-OSBL non-local forcing"                             unit="1e-3/s * m" >  strd_osm * e3t </field>
+
+    <!-- -->
+    <field id="ttrd_dmp_e3t"      unit="degC/s * m"  >  ttrd_dmp * e3t </field>
+    <field id="strd_dmp_e3t"      unit="1e-3/s * m"  >  strd_dmp * e3t </field>
+    <field id="ttrd_bbl_e3t"      unit="degC/s * m"  >  ttrd_bbl * e3t </field>
+    <field id="strd_bbl_e3t"      unit="1e-3/s * m"  >  strd_bbl * e3t </field>
+    <field id="ttrd_npc_e3t"      unit="degC/s * m"  >  ttrd_npc * e3t </field>
+    <field id="strd_npc_e3t"      unit="1e-3/s * m"  >  strd_npc * e3t </field>
+    <field id="ttrd_qns_e3t"      unit="degC/s * m"  >  ttrd_qns * e3ts </field>
+    <field id="strd_cdt_e3t"      unit="degC/s * m"  >  strd_cdt * e3ts </field>
+    <field id="ttrd_qsr_e3t"      unit="degC/s * m"  >  ttrd_qsr * e3t </field>
+    <field id="ttrd_bbc_e3t"      unit="degC/s * m"  >  ttrd_bbc * e3t </field>
+
+    <!-- OMIP  layer-integrated trends -->
+    <field id="ttrd_totad_li"    long_name="layer integrated heat-trend: total advection"         unit="W/m^2"     > ttrd_totad_e3t * 1026.0 * 3991.86795711963 </field>
+    <field id="strd_totad_li"    long_name="layer integrated salt-trend: total advection"         unit="kg/(m^2 s)"    > strd_totad_e3t * 1026.0 * 0.001  </field>
+    <field id="ttrd_osm_li"    long_name="layer integrated heat-trend: non-local OSM"         unit="W/m^2"     > ttrd_osm_e3t * 1026.0 * 3991.86795711963 </field>
+    <field id="strd_osm_li"    long_name="layer integrated salt-trend: non-local OSM"         unit="kg/(m^2 s)"    > strd_osm_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>
+    <field id="strd_evd_li"      long_name="layer integrated salt-trend: EVD convection"          unit="kg/(m^2 s)"  > strd_evd_e3t * 1026.0 * 0.001  </field>
+    <field id="ttrd_iso_li"      long_name="layer integrated heat-trend: isopycnal diffusion"     unit="W/m^2" > ttrd_iso_e3t * 1026.0 * 3991.86795711963 </field>
+    <field id="strd_iso_li"      long_name="layer integrated salt-trend: isopycnal diffusion"     unit="kg/(m^2 s)" > strd_iso_e3t * 1026.0 * 0.001  </field>
+    <field id="ttrd_zdfp_li"     long_name="layer integrated heat-trend: pure vert. diffusion"    unit="W/m^2" > ttrd_zdfp_e3t * 1026.0 * 3991.86795711963 </field>
+    <field id="strd_zdfp_li"     long_name="layer integrated salt-trend: pure vert. diffusion"    unit="kg/(m^2 s)" > strd_zdfp_e3t * 1026.0 * 0.001  </field>
+    <field id="ttrd_qns_li"      long_name="layer integrated heat-trend: non-solar flux + runoff" unit="W/m^2" grid_ref="grid_T_2D"> ttrd_qns_e3t * 1026.0 * 3991.86795711963 </field>
+    <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="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>
+    <field id="strd_evd_li"      long_name="layer integrated salt-trend: evd convection "         unit="kg/(m^2 s)" > strd_evd_e3t * 1026.0 * 0.001  </field>
+
+  </field_group>
+
+  <!--  Total trends calculated every time step-->
+  <field_group id="trendT" grid_ref="grid_T_3D">
+    <field id="ttrd_tot"      long_name="temperature-trend: total model trend"         unit="degC/s" />
+    <field id="strd_tot"      long_name="salinity   -trend: total model trend"         unit="1e-3/s" />
+    <!-- Thickness weighted versions: -->
+    <field id="ttrd_tot_e3t"      unit="degC/s * m"  >  ttrd_tot * e3t </field>
+    <field id="strd_tot_e3t"      unit="1e-3/s * m"  >  strd_tot * e3t </field>
+    <!-- OMIP  layer-integrated total trends -->
+    <field id="ttrd_tot_li"      long_name="layer integrated heat-trend: total model trend :"         unit="W/m^2" > ttrd_tot_e3t * 1026.0 * 3991.86795711963 </field>
+    <field id="strd_tot_li"      long_name="layer integrated salt-trend: total model trend :"         unit="kg/(m^2 s)" > strd_tot_e3t * 1026.0 * 0.001  </field>
+
+    <!-- **** these trends have not been apportioned to all/even/odd ts yet **** -->
+    <!-- variables available with ln_KE_trd -->
+    <field id="ketrd_hpg"     long_name="ke-trend: hydrostatic pressure gradient"          unit="W/s^3"                        />
+    <field id="ketrd_spg"     long_name="ke-trend: surface     pressure gradient"          unit="W/s^3"                        />
+    <field id="ketrd_spgexp"  long_name="ke-trend: surface pressure gradient (explicit)"   unit="W/s^3"                        />
+    <field id="ketrd_spgflt"  long_name="ke-trend: surface pressure gradient (filter)"     unit="W/s^3"                        />
+    <field id="ssh_flt"       long_name="filtered contribution to ssh (dynspg_flt)"        unit="m"       grid_ref="grid_T_2D" />
+    <field id="w0"            long_name="surface vertical velocity"                        unit="m/s"     grid_ref="grid_T_2D" />
+    <field id="pw0_exp"       long_name="surface pressure flux due to ssh"                 unit="W/s^2"   grid_ref="grid_T_2D" />
+    <field id="pw0_flt"       long_name="surface pressure flux due to filtered ssh"        unit="W/s^2"   grid_ref="grid_T_2D" />
+    <field id="ketrd_keg"     long_name="ke-trend: KE gradient         or hor. adv."       unit="W/s^3"                        />
+    <field id="ketrd_rvo"     long_name="ke-trend: relative  vorticity or metric term"     unit="W/s^3"                        />
+    <field id="ketrd_pvo"     long_name="ke-trend: planetary vorticity"                    unit="W/s^3"                        />
+    <field id="ketrd_zad"     long_name="ke-trend: vertical  advection"                    unit="W/s^3"                        />
+    <field id="ketrd_udx"     long_name="ke-trend: U.dx[U]"                                unit="W/s^3"                        />
+    <field id="ketrd_ldf"     long_name="ke-trend: lateral   diffusion"                    unit="W/s^3"                        />
+    <field id="ketrd_zdf"     long_name="ke-trend: vertical  diffusion"                    unit="W/s^3"                        />
+    <field id="ketrd_tau"     long_name="ke-trend: wind stress "                           unit="W/s^3"   grid_ref="grid_T_2D" />
+    <field id="ketrd_bfr"     long_name="ke-trend: bottom friction (explicit)"             unit="W/s^3"                        />
+    <field id="ketrd_bfri"    long_name="ke-trend: bottom friction (implicit)"             unit="W/s^3"                        />
+    <field id="ketrd_atf"     long_name="ke-trend: asselin time filter trend"              unit="W/s^3"                        />
+    <field id="ketrd_convP2K" long_name="ke-trend: conversion (potential to kinetic)"      unit="W/s^3"                        />
+    <field id="KE"            long_name="kinetic energy: u(n)*u(n+1)/2"                    unit="W/s^2"                        />
+
+    <!-- variables available when explicit lateral mixing is used (ln_dynldf_OFF=F) -->
+    <field id="dispkexyfo"    long_name="KE-trend: lateral  mixing induced dissipation"   standard_name="ocean_kinetic_energy_dissipation_per_unit_area_due_to_xy_friction"                   unit="W/m^2" grid_ref="grid_T_2D" />
+    <field id="dispkevfo"     long_name="KE-trend: vertical mixing induced dissipation"   standard_name="ocean_kinetic_energy_dissipation_per_unit_area_due_to_vertical_friction"             unit="W/m^2" grid_ref="grid_T_2D" />
+    <!-- variables available with ln_traadv_eiv=T and ln_diaeiv=T -->
+    <field id="eketrd_eiv"    long_name="EKE-trend due to parameterized eddy advection"   standard_name="tendency_of_ocean_eddy_kinetic_energy_content_due_to_parameterized_eddy_advection"   unit="W/m^2" grid_ref="grid_T_2D" />
+
+    <!-- variables available with ln_PE_trd -->
+    <field id="petrd_xad"     long_name="pe-trend: i-advection"                unit="W/m^3"                        />
+    <field id="petrd_yad"     long_name="pe-trend: j-advection"                unit="W/m^3"                        />
+    <field id="petrd_zad"     long_name="pe-trend: k-advection"                unit="W/m^3"                        />
+    <field id="petrd_sad"     long_name="pe-trend: surface adv. (linssh true)" unit="W/m^3"   grid_ref="grid_T_2D" />
+    <field id="petrd_ldf"     long_name="pe-trend: lateral  diffusion"         unit="W/m^3"                        />
+    <field id="petrd_zdf"     long_name="pe-trend: vertical diffusion"         unit="W/m^3"                        />
+    <field id="petrd_zdfp"    long_name="pe-trend: pure vert. diffusion"       unit="W/m^3"                        />
+    <field id="petrd_dmp"     long_name="pe-trend: interior restoring"         unit="W/m^3"                        />
+    <field id="petrd_bbl"     long_name="pe-trend: bottom boundary layer"      unit="W/m^3"                        />
+    <field id="petrd_npc"     long_name="pe-trend: non-penetrative conv."      unit="W/m^3"                        />
+    <field id="petrd_nsr"     long_name="pe-trend: surface forcing + runoff"   unit="W/m^3"                        />
+    <field id="petrd_qsr"     long_name="pe-trend: solar penetr. heating"      unit="W/m^3"                        />
+    <field id="petrd_bbc"     long_name="pe-trend: geothermal heating"         unit="W/m^3"                        />
+    <field id="petrd_atf"     long_name="pe-trend: asselin time filter"        unit="W/m^3"                        />
+    <field id="PEanom"        long_name="potential energy anomaly"             unit="1"                            />
+    <field id="alphaPE"       long_name="partial deriv. of PEanom wrt T"       unit="degC-1"                       />
+    <field id="betaPE"        long_name="partial deriv. of PEanom wrt S"       unit="1e3"                          />
+  </field_group>
+
+  <field_group id="trendU" grid_ref="grid_U_3D">
+    <!-- variables available with ln_dyn_trd -->
+    <field id="utrd_hpg"       long_name="i-trend: hydrostatic pressure gradient"          unit="m/s^2"                        />
+    <field id="utrd_spg"       long_name="i-trend: surface     pressure gradient"          unit="m/s^2"                        />
+    <field id="utrd_spgexp"    long_name="i-trend: surface pressure gradient (explicit)"   unit="m/s^2"                        />
+    <field id="utrd_spgflt"    long_name="i-trend: surface pressure gradient (filtered)"   unit="m/s^2"                        />
+    <field id="utrd_keg"       long_name="i-trend: KE gradient         or hor. adv."       unit="m/s^2"                        />
+    <field id="utrd_rvo"       long_name="i-trend: relative  vorticity or metric term"     unit="m/s^2"                        />
+    <field id="utrd_pvo"       long_name="i-trend: planetary vorticity"                    unit="m/s^2"                        />
+    <field id="utrd_zad"       long_name="i-trend: vertical  advection"                    unit="m/s^2"                        />
+    <field id="utrd_udx"       long_name="i-trend: U.dx[U]"                                unit="m/s^2"                        />
+    <field id="utrd_ldf"       long_name="i-trend: lateral   diffusion"                    unit="m/s^2"                        />
+    <field id="utrd_zdf"       long_name="i-trend: vertical  diffusion"                    unit="m/s^2"                        />
+    <field id="utrd_tau"       long_name="i-trend: wind stress "                           unit="m/s^2"   grid_ref="grid_U_2D" />
+    <field id="utrd_bfr"       long_name="i-trend: bottom friction (explicit)"             unit="m/s^2"                        />
+    <field id="utrd_bfri"      long_name="i-trend: bottom friction (implicit)"             unit="m/s^2"                        />
+    <field id="utrd_tot"       long_name="i-trend: total momentum trend before atf"        unit="m/s^2"                        />
+    <field id="utrd_atf"       long_name="i-trend: asselin time filter trend"              unit="m/s^2"                        />
+  </field_group>
+
+  <field_group id="trendV" grid_ref="grid_V_3D">
+    <!-- variables available with ln_dyn_trd -->
+    <field id="vtrd_hpg"       long_name="j-trend: hydrostatic pressure gradient"          unit="m/s^2"                        />
+    <field id="vtrd_spg"       long_name="j-trend: surface     pressure gradient"          unit="m/s^2"                        />
+    <field id="vtrd_spgexp"    long_name="j-trend: surface pressure gradient (explicit)"   unit="m/s^2"                        />
+    <field id="vtrd_spgflt"    long_name="j-trend: surface pressure gradient (filtered)"   unit="m/s^2"                        />
+    <field id="vtrd_keg"       long_name="j-trend: KE gradient         or hor. adv."       unit="m/s^2"                        />
+    <field id="vtrd_rvo"       long_name="j-trend: relative  vorticity or metric term"     unit="m/s^2"                        />
+    <field id="vtrd_pvo"       long_name="j-trend: planetary vorticity"                    unit="m/s^2"                        />
+    <field id="vtrd_zad"       long_name="j-trend: vertical  advection"                    unit="m/s^2"                        />
+    <field id="vtrd_vdy"       long_name="i-trend: V.dx[V]"                                unit="m/s^2"                        />
+    <field id="vtrd_ldf"       long_name="j-trend: lateral   diffusion"                    unit="m/s^2"                        />
+    <field id="vtrd_zdf"       long_name="j-trend: vertical  diffusion"                    unit="m/s^2"                        />
+    <field id="vtrd_tau"       long_name="j-trend: wind stress "                           unit="m/s^2"   grid_ref="grid_V_2D" />
+    <field id="vtrd_bfr"       long_name="j-trend: bottom friction (explicit)"             unit="m/s^2"                        />
+    <field id="vtrd_bfri"      long_name="j-trend: bottom friction (implicit)"             unit="m/s^2"                        />
+    <field id="vtrd_tot"       long_name="j-trend: total momentum trend before atf"        unit="m/s^2"                        />
+    <field id="vtrd_atf"       long_name="j-trend: asselin time filter trend"              unit="m/s^2"                        />
+  </field_group>
+
+  <!-- shared variables available with TOP interface -->
+  <field_group id="top_shared" grid_ref="grid_T_3D">
+    <field id="xeps"           long_name="Broadband light attenuation"                     unit="-"                            />
+    <field id="Heup"           long_name="Euphotic layer depth"                            unit="m"     grid_ref="grid_T_2D"   />
+  </field_group>
+
+
+  <!--
+      ============================================================================================================
+      Definitions for iodef_demo.xml
+      ============================================================================================================
+  -->
+
+  <field_group id="TRD" >
+    <field field_ref="ttrd_totad_li"   name="opottempadvect"  />
+    <field field_ref="ttrd_iso_li"     name="opottemppmdiff"  />
+    <field field_ref="ttrd_zdfp_li"    name="opottempdiff"  />
+    <field field_ref="ttrd_evd_li"     name="opottempevd" />
+    <field field_ref="strd_evd_li"     name="osaltevd" />
+    <field field_ref="ttrd_qns_li"     name="opottempqns"  />
+    <field field_ref="ttrd_qsr_li"     name="rsdoabsorb" operation="accumulate" />
+    <field field_ref="strd_totad_li"   name="osaltadvect" />
+    <field field_ref="strd_iso_li"     name="osaltpmdiff"  />
+    <field field_ref="strd_zdfp_li"    name="osaltdiff" />
+  </field_group>
+
+  <field_group id="mooring" >
+    <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"      />
+    <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                   />
+    <field field_ref="uoce"         name="uo"       long_name="sea_water_x_velocity"                 />
+    <field field_ref="voce"         name="vo"       long_name="sea_water_y_velocity"                 />
+    <field field_ref="woce"         name="wo"       long_name="sea_water_z_velocity"                 />
+    <field field_ref="avt"          name="difvho"   long_name="ocean_vertical_heat_diffusivity"      />
+    <field field_ref="avm"          name="difvmo"   long_name="ocean_vertical_momentum_diffusivity"  />
+
+    <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       />
+    <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             />
+    <field field_ref="sstgrad"      name="tosgrad"  long_name="module_of_sea_surface_temperature_gradient"    />
+    <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          />
+    <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                />
+    <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     />
+    <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           />
+    <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          />
+    <field field_ref="taum"                                                                                   />
+    <field field_ref="20d"                                                                                    />
+    <field field_ref="mldkz5"                                                                                 />
+    <field field_ref="mldr10_1"                                                                               />
+    <field field_ref="mldr10_3"                                                                               />
+    <field field_ref="mldr0_1"                                                                                />
+    <field field_ref="mldr0_3"                                                                                />
+    <field field_ref="mld_dt02"                                                                               />
+    <field field_ref="topthdep"                                                                               />
+    <field field_ref="pycndep"                                                                                />
+    <field field_ref="tinv"                                                                                   />
+    <field field_ref="depti"                                                                                  />
+    <field field_ref="BLT"          name="blt"      long_name="barrier_layer_thickness"                       />
+    <field field_ref="utau"         name="tauuo"    long_name="surface_downward_x_stress"                     />
+    <field field_ref="vtau"         name="tauvo"    long_name="surface_downward_y_stress"                     />
+  </field_group>
+
+  <field_group id="groupT" >
+    <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               />
+    <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            />
+    <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       />
+    <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             />
+    <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          />
+    <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                />
+    <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     />
+    <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           />
+    <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          />
+    <field field_ref="taum"                                                                                   />
+    <field field_ref="20d"                                                                                    />
+    <field field_ref="mldkz5"                                                                                 />
+    <field field_ref="mldr10_1"                                                                               />
+    <field field_ref="mldr10_3"                                                                               />
+    <field field_ref="mld_dt02"                                                                               />
+    <field field_ref="topthdep"                                                                               />
+    <field field_ref="pycndep"                                                                                />
+    <field field_ref="tinv"                                                                                   />
+    <field field_ref="depti"                                                                                  />
+    <field field_ref="BLT"          name="blt"      long_name="Barrier Layer Thickness"                       />
+  </field_group>
+
+  <field_group id="groupU" >
+    <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      />
+    <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" />
+  </field_group>
+
+  <field_group id="groupV" >
+    <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      />
+    <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" />
+  </field_group>
+
+  <field_group id="groupW" >
+    <field field_ref="woce"         name="wo"       long_name="ocean vertical velocity"  />
+  </field_group>
+
+  <!-- TMB diagnostic output -->
+  <field_group  id="1h_grid_T_tmb" grid_ref="grid_T_2D" operation="instant">
+    <field id="top_temp"           name="votemper_top"  unit="degC"  />
+    <field id="mid_temp"           name="votemper_mid"  unit="degC"  />
+    <field id="bot_temp"           name="votemper_bot"  unit="degC"  />
+    <field id="top_sal"            name="vosaline_top"  unit="psu"   />
+    <field id="mid_sal"            name="vosaline_mid"  unit="psu"   />
+    <field id="bot_sal"            name="vosaline_bot"  unit="psu"   />
+    <field id="sshnmasked"         name="sossheig"      unit="m"     />
+  </field_group>
+
+  <field_group  id="1h_grid_U_tmb" grid_ref="grid_U_2D" operation="instant">
+    <field id="top_u"           name="vozocrtx_top"  unit="m/s"  />
+    <field id="mid_u"           name="vozocrtx_mid"  unit="m/s"  />
+    <field id="bot_u"           name="vozocrtx_bot"  unit="m/s"  />
+    <field id="baro_u"          name="vobtcrtx"      unit="m/s"  />
+  </field_group>
+
+  <field_group  id="1h_grid_V_tmb" grid_ref="grid_V_2D" operation="instant">
+    <field id="top_v"           name="vomecrty_top"  unit="m/s"  />
+    <field id="mid_v"           name="vomecrty_mid"  unit="m/s"  />
+    <field id="bot_v"           name="vomecrty_bot"  unit="m/s"  />
+    <field id="baro_v"          name="vobtcrty"      unit="m/s"  />
+  </field_group>
+
+  <!-- 25h diagnostic output -->
+  <field_group id="25h_grid_T" grid_ref="grid_T_3D_inner" operation="instant">
+    <field id="temper25h"         name="potential temperature 25h mean"    unit="degC" />
+    <field id="tempis25h"         name="insitu temperature 25h mean"    unit="degC" />
+    <field id="salin25h"          name="salinity 25h mean"                 unit="psu"  />
+    <field id="ssh25h"            name="sea surface height 25h mean"  grid_ref="grid_T_2D_inner"      unit="m"    />
+  </field_group>
+
+  <field_group id="25h_grid_U" grid_ref="grid_U_3D_inner" operation="instant" >
+    <field id="vozocrtx25h"         name="i current 25h mean"    unit="m/s"   />
+  </field_group>
+
+  <field_group id="25h_grid_V" grid_ref="grid_V_3D_inner" operation="instant">
+    <field id="vomecrty25h"         name="j current 25h mean"    unit="m/s"    />
+  </field_group>
+
+  <field_group id="25h_grid_W" grid_ref="grid_W_3D_inner" operation="instant">
+    <field id="vovecrtz25h"         name="k current 25h mean"                 unit="m/s"      />
+    <field id="avt25h"              name="vertical diffusivity25h mean"       unit="m2/s" />
+    <field id="avm25h"              name="vertical viscosity 25h mean"        unit="m2/s" />
+    <field id="tke25h"              name="turbulent kinetic energy 25h mean" />
+    <field id="mxln25h"             name="mixing length 25h mean"             unit="m" />
+  </field_group>
+
+  <!--
+      ============================================================================================================
+  -->
+  <!-- output variables for my configuration (example) -->
+
+  <field_group id="myvarOCE" >
+    <!-- grid T -->
+    <field field_ref="e3t"          name="e3t"      long_name="vertical scale factor"           />
+    <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"         />
+    <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"            />
+    <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"  />
+
+    <!-- grid U -->
+    <field field_ref="e3u"          name="e3u"     long_name="vertical scale factor"            />
+    <field field_ref="ssu"          name="uos"     long_name="sea_surface_x_velocity"           />
+
+    <!-- grid V -->
+    <field field_ref="e3v"          name="e3v"     long_name="vertical scale factor"            />
+    <field field_ref="ssv"          name="vos"     long_name="sea_surface_y_velocity"           />
+  </field_group>
+
+  <!--============================-->
+  <!--  CONSERVATION diagnostics  -->
+  <!--============================-->
+  <!-- BE CAREFUL: this group (OCE_budget) cannot be called in file_def.xml as such (unless nn_fsbc=1)
+                   If doing so, the last output (in time) of the netcdf file 
+		   would be corrupted (NaN values). However calling each of these
+		   variables directly in the file_def.xml works. It is probably 
+		   because there is a mix up of sbc variables with other variables
+    -->
+  <field_group id="OCE_budget"        grid_ref="grid_T_2D" >
+    <field field_ref="sst"                 name="tos"          />
+    <field field_ref="sss"                 name="sos"          />
+    <field field_ref="ssh"                 name="zos"          />
+    <!-- mass flux -->
+    <field field_ref="empmr"               name="empmr"        />
+    <field field_ref="runoffs"             name="runoffs"      />
+    <field field_ref="emp_ice"             name="emp_ice"      />
+    <field field_ref="emp_oce"             name="emp_oce"      />
+    <field field_ref="iceshelf_cea"        name="iceshelf"     />
+    <field field_ref="iceberg_cea"         name="iceberg"      />
+    <field field_ref="calving_cea"         name="calving"      />
+    <!-- <field field_ref="berg_floating_melt"  name="calving" /> -->
+    <field field_ref="precip"              name="precip"       />
+    <field field_ref="snowpre"             name="snowpre"      />
+    <field field_ref="rain"                name="rain"         />
+    <field field_ref="evap_ao_cea"         name="evap_ao"      />
+    <field field_ref="subl_ai_cea"         name="subl_ai"      />
+    <field field_ref="snow_ai_cea"         name="snow_ai"      />
+    <field field_ref="snow_ao_cea"         name="snow_ao"      />
+    <!-- heat flux -->
+    <field field_ref="qsr"                 name="qsr"          />
+    <field field_ref="qns"                 name="qns"          />
+    <field field_ref="qt_oce"              name="qt_oce"       />
+    <field field_ref="qemp_oce"            name="qemp_oce"     />
+    <field field_ref="hflx_rain_cea"       name="hflx_rain"    />
+    <field field_ref="hflx_evap_cea"       name="hflx_evap"    />
+    <field field_ref="hflx_snow_cea"       name="hflx_snow"    />
+    <field field_ref="hflx_snow_ao_cea"    name="hflx_snow_ao" />
+    <field field_ref="hflx_snow_ai_cea"    name="hflx_snow_ai" />
+    <field field_ref="hflx_rnf_cea"        name="hflx_rnf"     />
+    <field field_ref="hflx_icb_cea"        name="hflx_icb"     />
+    <field field_ref="hflx_isf_cea"        name="hflx_isf"     />
+    <!-- salt flux (includes ssr) -->
+    <field field_ref="saltflx"             name="saltflx"      />
+    <field field_ref="sflx_rnf_cea"        name="sflx_rnf"     />
+    <!-- relaxation and damping -->
+    <field field_ref="hflx_ssr_cea"        name="hflx_ssr"     />
+    <field field_ref="vflx_ssr_cea"        name="vflx_ssr"     />
+    <field field_ref="sflx_ssr_cea"        name="sflx_ssr"     />
+    <field field_ref="hflx_dmp_cea"        name="hflx_dmp"     />
+    <field field_ref="sflx_dmp_cea"        name="sflx_dmp"     />
+    <field field_ref="hflx_fwb_cea"        name="hflx_fwb"     />
+    <field field_ref="vflx_fwb_cea"        name="vflx_fwb"     />
+  </field_group>
+
+  <field_group id="OCE_globalbudget"  grid_ref="grid_scalar" >
+    <field field_ref="voltot"              name="scvoltot"     />
+    <field field_ref="saltot"              name="scsaltot"     />
+    <field field_ref="temptot"             name="sctemtot"     />
+  </field_group>
+
+  
+</field_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-pisces.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-pisces.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/field_def_nemo-pisces.xml	(revision 6423)
@@ -0,0 +1,341 @@
+<?xml version="1.0"?>
+<!-- $id$ -->
+
+<!--
+============================================================================================================
+=                                  definition of all existing variables                                    =
+=                                            DO NOT CHANGE                                                 =
+============================================================================================================
+-->
+<field_definition level="1" prec="4" operation="average" enabled=".TRUE." default_value="1.e20" > <!-- time step automaticaly defined -->
+
+  <!--
+      ============================================================================================================
+      Biogeochemistry model variables
+      ============================================================================================================
+  -->
+
+  <!-- ptrc on T grid -->
+
+  <field_group id="ptrc_T" grid_ref="grid_T_3D">
+    <!-- PISCES standard : variables available with ln_p4z  -->
+    <field id="DIC"          long_name="Dissolved inorganic Concentration"        unit="mmol/m3" />
+    <field id="DIC_e3t"      long_name="DIC * e3t"                                unit="mmol/m2" > DIC * e3t </field >
+    <field id="Alkalini"     long_name="Total Alkalinity Concentration"           unit="mmol/m3" />
+    <field id="Alkalini_e3t" long_name="Alkalini * e3t"                           unit="mmol/m2"  > Alkalini * e3t </field >
+    <field id="O2"           long_name="Oxygen Concentration"                     unit="mmol/m3" />
+    <field id="O2_e3t"       long_name="O2 * e3t"                                 unit="mmol/m2"  > O2 * e3t </field >
+    <field id="CaCO3"        long_name="Calcite Concentration"                    unit="mmol/m3" />
+    <field id="CaCO3_e3t"    long_name="CaCO3 * e3t"                              unit="mmol/m2"  > CaCO3 * e3t </field >
+    <field id="PO4"          long_name="Phosphate Concentration"                  unit="mmol/m3" />
+    <field id="PO4_e3t"      long_name="PO4 * e3t"                                unit="mmol/m2"  > PO4 * e3t </field >
+    <field id="POC"          long_name="Small organic carbon Concentration"       unit="mmol/m3" />
+    <field id="POC_e3t"      long_name="POC * e3t"                                unit="mmol/m2"  > POC * e3t </field >
+    <field id="Si"           long_name="Silicate Concentration"                   unit="mmol/m3" />
+    <field id="Si_e3t"       long_name="Si * e3t"                                 unit="mmol/m2"  > Si * e3t </field >
+    <field id="PHY"          long_name="(Nano)Phytoplankton Concentration"        unit="mmol/m3" />
+    <field id="PHY_e3t"      long_name="PHY * e3t"                                unit="mmol/m2"  > PHY * e3t </field >
+    <field id="ZOO"          long_name="(Micro)Zooplankton Concentration"         unit="mmol/m3" />
+    <field id="ZOO_e3t"      long_name="ZOO2 * e3t"                               unit="mmol/m2"  > ZOO * e3t </field >
+    <field id="DOC"          long_name="Dissolved organic Concentration"          unit="mmol/m3" />
+    <field id="DOC_e3t"      long_name="DOC * e3t"                                unit="mmol/m2"  > DOC * e3t </field >
+    <field id="PHY2"         long_name="Diatoms Concentration"                    unit="mmol/m3" />
+    <field id="PHY2_e3t"     long_name="PHY2 * e3t"                               unit="mmol/m2"  > PHY2 * e3t </field >
+    <field id="ZOO2"         long_name="Mesozooplankton Concentration"            unit="mmol/m3" />
+    <field id="ZOO2_e3t"     long_name="ZOO2 * e3t"                               unit="mmol/m2"  > ZOO2 * e3t </field >
+    <field id="DSi"          long_name="Diatoms Silicate Concentration"           unit="mmol/m3" />
+    <field id="DSi_e3t"      long_name="Dsi * e3t"                                unit="mmol/m2"  > DSi * e3t </field >
+    <field id="Fer"          long_name="Dissolved Iron Concentration"             unit="mmol/m3" />
+    <field id="Fer_e3t"      long_name="Fer * e3t"                                unit="mmol/m2"  > Fer * e3t </field >
+    <field id="BFe"          long_name="Big iron particles Concentration"         unit="mmol/m3" />
+    <field id="BFe_e3t"      long_name="BFe * e3t"                                unit="mmol/m2"  > BFe * e3t </field >
+    <field id="GOC"          long_name="Big organic carbon Concentration"         unit="mmol/m3" />
+    <field id="GOC_e3t"      long_name="GOC * e3t"                                unit="mmol/m2"  > GOC * e3t </field >
+    <field id="SFe"          long_name="Small iron particles Concentration"       unit="mmol/m3" />
+    <field id="SFe_e3t"      long_name="SFe * e3t"                                unit="mmol/m2"  > SFe * e3t </field >
+    <field id="DFe"          long_name="Diatoms iron  Concentration"              unit="mmol/m3" />
+    <field id="DFe_e3t"      long_name="DFe * e3t"                                unit="mmol/m2"  > DFe * e3t </field >
+    <field id="GSi"          long_name="Sinking biogenic Silicate Concentration"  unit="mmol/m3" />
+    <field id="GSi_e3t"      long_name="GSi * e3t"                                unit="mmol/m2"  > GSi * e3t </field >
+    <field id="NFe"          long_name="Nano iron Concentration"                  unit="mmol/m3" />
+    <field id="NFe_e3t"      long_name="NFe * e3t"                                unit="mmol/m2"  > NFe * e3t </field >
+    <field id="NCHL"         long_name="Nano chlorophyl Concentration"            unit="gChl/m3"   />
+    <field id="NCHL_e3t"     long_name="NCHL * e3t"                               unit="mmol/m2"  > NCHL * e3t </field >
+    <field id="DCHL"         long_name="Diatoms chlorophyl Concentration"         unit="gChl/m3"   />
+    <field id="DCHL_e3t"     long_name="DCHL * e3t"                               unit="mmol/m2"  > DCHL * e3t </field >
+    <field id="NO3"          long_name="Nitrate Concentration"                    unit="mmol/m3" />
+    <field id="NO3_e3t"      long_name="NO3 * e3t"                                unit="mmol/m2"  > NO3 * e3t </field >
+    <field id="NH4"          long_name="Ammonium Concentration"                   unit="mmol/m3" />
+    <field id="NH4_e3t"      long_name="NH4 * e3t"                                unit="mmol/m2"  > NH4 * e3t </field >
+
+    <!-- PISCES quota : variables available with ln_p5z  -->
+
+    <field id="DON"          long_name="Dissolved organic N Concentration"        unit="mmol/m3" />
+    <field id="DON_e3t"      long_name="DON * e3t"                                unit="mmol/m2"  > DON * e3t </field >
+    <field id="DOP"          long_name="Dissolved organic P Concentration"        unit="mmol/m3" />
+    <field id="DOP_e3t"      long_name="DOP * e3t"                                unit="mmol/m2"  > DOP * e3t </field >
+    <field id="PON"          long_name="Small PON Concentration"                  unit="mmol/m3" />
+    <field id="PON_e3t"      long_name="PON * e3t"                                unit="mmol/m2"  > PON * e3t </field >
+    <field id="POP"          long_name="Small POP Concentration"                  unit="mmol/m3" />
+    <field id="POP_e3t"      long_name="POP * e3t"                                unit="mmol/m2"  > POP * e3t </field >
+    <field id="GON"          long_name="Big PON Concentration"                    unit="mmol/m3" />
+    <field id="GON_e3t"      long_name="GON * e3t"                                unit="mmol/m2"  > GON * e3t </field >
+    <field id="GOP"          long_name="Big POP Concentration"                    unit="mmol/m3" />
+    <field id="GOP_e3t"      long_name="GOP * e3t"                                unit="mmol/m2"  > GOP * e3t </field >
+    <field id="PHYN"         long_name="Nanophytoplankton N biomass"              unit="mmol/m3" />
+    <field id="PHYN_e3t"     long_name="PHYN * e3t"                               unit="mmol/m2"  > PHYN * e3t </field >
+    <field id="PHYP"         long_name="Nanophytoplankton P biomass"              unit="mmol/m3" />
+    <field id="PHYP_e3t"     long_name="PHYP * e3t"                               unit="mmol/m2"  > PHYP * e3t </field >
+    <field id="DIAN"         long_name="Diatoms N biomass"                        unit="mmol/m3" />
+    <field id="DIAN_e3t"     long_name="DIAN * e3t"                               unit="mmol/m2"  > DIAN * e3t </field >
+    <field id="DIAP"         long_name="Diatoms P biomass"                        unit="mmol/m3" />
+    <field id="DIAP_e3t"     long_name="DIAP * e3t"                               unit="mmol/m2"  > DIAP * e3t </field >
+    <field id="PIC"          long_name="Picophytoplankton C biomass"              unit="mmol/m3" />
+    <field id="PIC_e3t"      long_name="PIC * e3t"                                unit="mmol/m2"  > PIC * e3t </field >
+    <field id="PICN"         long_name="Picophytoplankton N biomass"              unit="mmol/m3" />
+    <field id="PICN_e3t"     long_name="PICN * e3t"                               unit="mmol/m2"  > PICN * e3t </field >
+    <field id="PICP"         long_name="Picophytoplankton P biomass"              unit="mmol/m3" />
+    <field id="PICP_e3t"     long_name="PICP * e3t"                               unit="mmol/m2"  > PICP * e3t </field >
+    <field id="PFe"          long_name="Picophytoplankton Fe biomass"             unit="mmol/m3" />
+    <field id="PFe_e3t"      long_name="PFe * e3t"                                unit="mmol/m2"  > PFe * e3t </field >
+    <field id="PCHL"         long_name="Picophytoplankton Chl biomass"            unit="gChl/m3" />
+    <field id="PCHL_e3t"     long_name="PCHL * e3t"                               unit="mmol/m2"  > PCHL * e3t </field >
+
+    <!-- PISCES with ligand parametisation : variables available namelist paramter ln_ligand -->
+    <field id="LGW"         long_name="Weak ligands concentration"                unit="mmol/m3" />
+    <field id="LGW_e3t"     long_name="LGW * e3t"                                 unit="mmol/m2"  > LGW * e3t </field >
+
+    <!-- PISCES light : variables available with ln_p2z  -->
+    <field id="DET"         long_name="Detritus"                                 unit="mmol-N/m3" />
+    <field id="DET_e3t"     long_name="DET * e3t"                                unit="mmol-N/m2"  > DET * e3t </field >
+    <field id="DOM"         long_name="Dissolved Organic Matter"                 unit="mmol-N/m3" />
+    <field id="DOM_e3t"     long_name="DOM * e3t"                                unit="mmol-N/m2"  > DOM * e3t </field >
+
+  </field_group>
+
+  <!-- SEDIMENT variables on T sediment grid  -->
+  <field_group id="sed_T" grid_ref="grid_T_3DS">
+    <field id="SedDIC"          long_name="Dissolved inorganic Concentration"        unit="mmol/m3" />
+    <field id="SedAlkalini"     long_name="Total Alkalinity Concentration"           unit="mmol/m3" />
+    <field id="SedO2"           long_name="Oxygen Concentration"                     unit="mmol/m3" />
+    <field id="SedCaCO3"        long_name="Calcite Concentration"                    unit="%" />
+    <field id="SedPOS"          long_name="Semi-ref POC Concentration"               unit="%" />
+    <field id="SedPOR"          long_name="Refractory POC Concentration"             unit="%" />
+    <field id="SedPO4"          long_name="Phosphate Concentration"                  unit="mmol/m3" />
+    <field id="SedPOC"          long_name="Labile POC Concentration"                 unit="%" />
+    <field id="SedSil"          long_name="Silicate Concentration"                   unit="mmol/m3" />
+    <field id="SedFe2"          long_name="Fe2+ Concentration"                       unit="mmol/m3" />
+    <field id="SedBSi"          long_name="Biogenic Silicate Concentration"          unit="%" />
+    <field id="SedNO3"          long_name="Nitrate Concentration"                    unit="mmol/m3" />
+    <field id="SedNH4"          long_name="Ammonium Concentration"                   unit="mmol/m3" />
+    <field id="SedH2S"          long_name="H2S Concentration"                        unit="mmol/m3" />
+    <field id="SedSO4"          long_name="SO4 Concentration"                        unit="mmol/m3" />
+    <field id="SedClay"         long_name="Clay Concentration"                       unit="%" />
+    <field id="SedFeO"          long_name="Fe(OH)3 Concentration"                    unit="%" />
+    <field id="SedFeS"          long_name="FeS Concentration"                        unit="%" />
+    <field id="SedpH"           long_name="PH"                                       unit="1"          />
+    <field id="SedCO3por"       long_name="Bicarbonates"                             unit="mol/m3" />
+    <field id="Sedligand"       long_name="Ligands"                                  unit="mol/m3" />
+    <field id="SaturCO3"        long_name="CO3 Saturation"                           unit="-" />	    
+  </field_group>
+
+  <!-- SEDIMENT additional variables on T sediment grid  -->
+  <field_group id="Diag_S" grid_ref="grid_T_2D">
+      <field id="FlxSi"       long_name="Si sediment flux"                        unit="mol/cm2/s"     />
+       <field id="FlxO2"       long_name="O2 sediment flux"                        unit="mol/cm2/s"     />
+       <field id="FlxDIC"      long_name="DIC sediment flux"                       unit="mol/cm2/s"     />
+       <field id="FlxNO3"      long_name="NO3 sediment flux"                       unit="mol/cm2/s"     />
+       <field id="FlxPO4"      long_name="PO4 sediment flux"                       unit="mol/cm2/s"     />
+       <field id="FlxAlkalini" long_name="Alkalinity sediment flux"                unit="mol/cm2/s"     />
+       <field id="FlxNH4"      long_name="Ammonium sediment flux"                  unit="mol/cm2/s"     />
+       <field id="FlxH2S"      long_name="H2S sediment flux"                       unit="mol/cm2/s"     />
+       <field id="FlxSO4"      long_name="SO4 sediment flux"                       unit="mol/cm2/s"     />
+       <field id="FlxFe2"      long_name="Fe2+ sediment flux"                      unit="mol/cm2/s"     />
+       <field id="FlxLig"      long_name="Ligand sediment flux"                    unit="mol/cm2/s"     />
+       <field id="dzdep"       long_name="Sedimentation rate"                      unit="cm/s"     />
+       <field id="sflxclay"    long_name="Clay sedimentation rate"                 unit="g/cm2/s"     />
+       <field id="sflxbsi"     long_name="BSi sedimentation rate"                  unit="g/cm2/s"     />
+       <field id="sflxpoc"     long_name="POC sedimentation rate"                  unit="g/cm2/s"     />
+       <field id="sflxcal"     long_name="Calcite sedimentation rate"              unit="g/cm2/s"     />
+       <field id="sflxfeo"     long_name="Fe(OH)3 Sedimentation rate"              unit="mol/cm2/s"     />
+       <field id="FlxClay"     long_name="Clay burial rate"                        unit="g/cm2/s"     />
+       <field id="FlxCaCO3"    long_name="Calcite burial rate"                     unit="g/cm2/s"     />
+       <field id="FlxBSi"      long_name="BSi burial rate"                         unit="g/cm2/s"     />
+       <field id="FlxPOC"      long_name="POC burial rate"                         unit="g/cm2/s"     />
+       <field id="FlxFeO"      long_name="Fe(OH)3 burial rate"                     unit="g/cm2/s"     />
+       <field id="FlxFeS"      long_name="FeS burial rate"                         unit="g/cm2/s"     />
+       <field id="FlxPOR"      long_name="POR burial rate"                         unit="g/cm2/s"     />
+       <field id="FlxPOS"      long_name="POS burial rate"                         unit="g/cm2/s"     />
+       <field id="Flxtot"      long_name="total burial flux"                       unit="g/cm2/s"     />
+       <field id="Rstepros"    long_name="Number of iterations"                    unit="-"     />
+  </field_group>
+
+  <!-- PISCES additional diagnostics on T grid  -->
+
+  <field_group id="diad_T" grid_ref="grid_T_2D">
+    <field id="PH"          long_name="PH"                                      unit="1"          grid_ref="grid_T_3D" />
+    <field id="CO3"         long_name="Bicarbonates"                            unit="mol/m3"     grid_ref="grid_T_3D" />
+    <field id="CO3sat"      long_name="CO3 saturation"                          unit="mol/m3"     grid_ref="grid_T_3D" />
+    <field id="PAR"         long_name="Photosynthetically Available Radiation"  unit="W/m2"       grid_ref="grid_T_3D" />
+    <field id="PPPHYN"      long_name="Primary production of nanophyto"         unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PPPHYP"      long_name="Primary production of picophyto"         unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PPPHYD"      long_name="Primary production of diatoms"           unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PPNEWN"      long_name="New Primary production of nanophyto"     unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PPNEWP"      long_name="New Primary production of picophyto"     unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PPNEWD"      long_name="New Primary production of diatoms"       unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PBSi"        long_name="Primary production of Si diatoms"        unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PFeN"        long_name="Primary production of nano iron"         unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PFeP"        long_name="Primary production of pico iron"         unit="molC/m3/s"  grid_ref="grid_T_3D" />
+    <field id="PFeD"        long_name="Primary production of diatoms iron"      unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="xfracal"     long_name="Calcifying fraction"                     unit="1"          grid_ref="grid_T_3D" />
+    <field id="PCAL"        long_name="Calcite production"                      unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="DCAL"        long_name="Calcite dissolution"                     unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="GRAZ1"       long_name="Grazing by microzooplankton"             unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="GRAZ2"       long_name="Grazing by mesozooplankton"              unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="REMIN"       long_name="Oxic remineralization of OM"             unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="DENIT"       long_name="Anoxic remineralization of OM"           unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="REMINP"       long_name="Oxic remineralization rate of POC"      unit="d-1"        grid_ref="grid_T_3D" />
+    <field id="REMING"       long_name="Oxic remineralization rate of GOC"      unit="d-1"        grid_ref="grid_T_3D" />
+    <field id="Nfix"        long_name="Nitrogen fixation"                       unit="mol/m3/s"   grid_ref="grid_T_3D" />
+    <field id="Mumax"       long_name="Maximum growth rate"                     unit="s-1"        grid_ref="grid_T_3D" />
+    <field id="MuN"         long_name="Realized growth rate for nanophyto"      unit="s-1"        grid_ref="grid_T_3D" />
+    <field id="MuP"         long_name="Realized growth rate for picophyto"      unit="s-1"        grid_ref="grid_T_3D" />
+    <field id="MuD"         long_name="Realized growth rate for diatomes"       unit="s-1"        grid_ref="grid_T_3D" />
+    <field id="MunetN"      long_name="Net growth rate for nanophyto"           unit="s-1"        grid_ref="grid_T_3D" />
+    <field id="MunetP"      long_name="Net growth rate for picophyto"           unit="s-1"        grid_ref="grid_T_3D" />
+    <field id="MunetD"      long_name="Net growth rate for diatomes"            unit="s-1"        grid_ref="grid_T_3D" />
+    <field id="LNnut"       long_name="Nutrient limitation term in Nanophyto"   unit=""           grid_ref="grid_T_3D" />
+    <field id="LPnut"       long_name="Nutrient limitation term in Picophyto"   unit="-"          grid_ref="grid_T_3D" />
+    <field id="LDnut"       long_name="Nutrient limitation term in Diatoms"     unit=""           grid_ref="grid_T_3D" />
+    <field id="LNFe"        long_name="Iron limitation term in Nanophyto"       unit=""           grid_ref="grid_T_3D" />
+    <field id="LPFe"        long_name="Iron limitation term in Picophyto"       unit="-"          grid_ref="grid_T_3D" />
+    <field id="LDFe"        long_name="Iron limitation term in Diatoms"         unit=""           grid_ref="grid_T_3D" />
+    <field id="LNlight"     long_name="Light limitation term in Nanophyto"      unit=""           grid_ref="grid_T_3D" />
+    <field id="LPlight"     long_name="Light limitation term in Picophyto"      unit="-"          grid_ref="grid_T_3D" />
+    <field id="LDlight"     long_name="Light limitation term in Diatoms"        unit=""           grid_ref="grid_T_3D" />
+    <field id="SIZEN"       long_name="Mean relative size of nanophyto."        unit="-"          grid_ref="grid_T_3D" />
+    <field id="SIZEP"       long_name="Mean relative size of picophyto."        unit="-"          grid_ref="grid_T_3D" />
+    <field id="SIZED"       long_name="Mean relative size of diatoms"           unit="-"          grid_ref="grid_T_3D" />
+    <field id="RASSD"       long_name="Size of the protein machinery (Diat.)"   unit="-"          grid_ref="grid_T_3D" />
+    <field id="RASSN"       long_name="Size of the protein machinery (Nano.)"   unit="-"          grid_ref="grid_T_3D" />
+    <field id="RASSP"       long_name="Size of the protein machinery (Pico.)"   unit="-"          grid_ref="grid_T_3D" />
+    <field id="Fe3"         long_name="Iron III concentration"                  unit="nmol/m3"    grid_ref="grid_T_3D" />
+    <field id="FeL1"        long_name="Complexed Iron concentration with L1"    unit="nmol/m3"    grid_ref="grid_T_3D" />
+    <field id="TL1"         long_name="Total L1 concentration"                  unit="nmol/m3"    grid_ref="grid_T_3D" />
+    <field id="pdust"       long_name="dust concentration"                      unit="g/m3"                            />
+    <field id="Totlig"      long_name="Total ligand concentation"               unit="nmol/m3"    grid_ref="grid_T_3D" />
+    <field id="Biron"       long_name="Bioavailable iron"                       unit="nmol/m3"    grid_ref="grid_T_3D" />
+    <field id="Sdenit"      long_name="Nitrate reduction in the sediments"      unit="mol/m2/s"                        />
+    <field id="Ironice"     long_name="Iron input/uptake due to sea ice"        unit="mol/m2/s"                        />
+    <field id="SedCal"      long_name="Calcite burial in the sediments"         unit="molC/m2/s"                       />
+    <field id="SedSi"       long_name="Silicon burial in the sediments"         unit="molSi/m2/s"                      />
+    <field id="SedC"        long_name="Organic C burial in the sediments"       unit="molC/m2/s"                       />
+    <field id="HYDR"        long_name="Iron input from hydrothemal vents"       unit="mol/m2/s"   grid_ref="grid_T_3D" />
+    <field id="EPC100"      long_name="Export of carbon particles at 100 m"     unit="mol/m2/s"                        />
+    <field id="EPFE100"     long_name="Export of biogenic iron at 100 m"        unit="mol/m2/s"                        />
+    <field id="EPSI100"     long_name="Export of Silicate at 100 m"             unit="mol/m2/s"                        />
+    <field id="EPCAL100"    long_name="Export of Calcite at 100 m"              unit="mol/m2/s"                        />
+    <field id="EXPC"        long_name="Export of carbon"                        unit="mol/m2/s"   grid_ref="grid_T_3D" />
+    <field id="EXPFE"       long_name="Export of biogenic iron"                 unit="mol/m2/s"   grid_ref="grid_T_3D" />
+    <field id="EXPSI"       long_name="Export of Silicate"                      unit="mol/m2/s"   grid_ref="grid_T_3D" />
+    <field id="EXPCAL"      long_name="Export of Calcite"                       unit="mol/m2/s"   grid_ref="grid_T_3D" />
+    <field id="Cflx"        long_name="DIC flux"                                unit="mol/m2/s"                        />
+    <field id="Oflx"        long_name="Oxygen flux"                             unit="mol/m2/s"                        />
+    <field id="Kg"          long_name="Gas transfer"                            unit="mol/m2/s/uatm"                   />
+    <field id="Dpco2"       long_name="Delta CO2"                               unit="uatm"                            />
+    <field id="pCO2sea"     long_name="surface ocean pCO2"                      unit="uatm"                            />
+    <field id="Dpo2"        long_name="Delta O2"                                unit="uatm"                            />
+    <field id="Heup"        long_name="Euphotic layer depth"                    unit="m"                               />
+    <field id="AtmCo2"      long_name="Atmospheric CO2 concentration"           unit="ppm"                               />
+    <field id="Irondep"     long_name="Iron deposition from dust"               unit="mol/m2/s"                        />
+    <field id="Ironsed"     long_name="Iron deposition from sediment"           unit="mol/m2/s"   grid_ref="grid_T_3D" />
+    <field id="FESCAV"      long_name="Scavenging of Iron"                      unit="mmol-Fe/m3/s"   grid_ref="grid_T_3D" />
+    <field id="FECOLL"      long_name="Colloidal Pumping of FeL"                unit="mmol-FeL/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LGWCOLL"     long_name="Coagulation loss of ligands"             unit="mmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="REMINF"      long_name="Oxic remineralization suppy of Fe"       unit="mmol-Fe/m3/s"  grid_ref="grid_T_3D" />
+    <field id="BACT"        long_name="Bacterial Biomass"                       unit="mmol/m3"  grid_ref="grid_T_3D" />
+    <field id="FEBACT"      long_name="Bacterial uptake of Fe"                  unit="molFe/m3/s"  grid_ref="grid_T_3D" />
+    <field id="FEPREC"      long_name="Precipitation of Fe"                     unit="molFe/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LPRODR"      long_name="OM remineralisation ligand production rate" unit="nmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LPRODP"      long_name="phytoplankton ligand production rate"    unit="nmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LIGREM"      long_name="Remineralisation loss of ligands"        unit="nmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LIGPR"       long_name="Photochemical loss of ligands"           unit="nmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LDETP"       long_name="Ligand destruction during phytoplankton uptake" unit="nmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LPRODZ2"     long_name="mesozooplankton ligand production rate"  unit="nmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="LPRODZ"      long_name="microzooplankton ligand production rate" unit="nmol-L/m3/s"  grid_ref="grid_T_3D" />
+    <field id="FEZOO"       long_name="microzooplankton iron recycling rate"    unit="nmol-FeL/m3/s"  grid_ref="grid_T_3D" />
+    <field id="FEZOO2"      long_name="mesozooplankton iron recycling rate"     unit="nmol-FeL/m3/s"  grid_ref="grid_T_3D" />
+
+    <!-- PISCES tracers trends -->
+    <field id="INTdtAlk"    long_name="Vertically int. of change of alkalinity"             unit="mol/m2/s"                       />
+    <field id="INTdtDIC"    long_name="Vertically int. of change of dissic    "             unit="mol/m2/s"                       />
+    <field id="INTdtFer"    long_name="Vertically int. of change of iron      "             unit="mol/m2/s"                       />
+    <field id="INTdtDIN"    long_name="Vertically int. of change of nitrogen  "             unit="mol/m2/s"                       />
+    <field id="INTdtDIP"    long_name="Vertically int. of change of phophate  "             unit="mol/m2/s"                       />
+    <field id="INTdtSil"    long_name="Vertically int. of change of silicon   "             unit="mol/m2/s"                       />
+
+
+    <!-- dbio_T on T grid : variables available with diaar5 -->
+    <field id="TPP"         long_name="Total Primary production of phyto"                   unit="mol/m3/s"  grid_ref="grid_T_3D" />
+    <field id="TPNEW"       long_name="New Primary production of phyto"                     unit="mol/m3/s"  grid_ref="grid_T_3D" />
+    <field id="TPBFE"       long_name="Total biogenic iron production"                      unit="mol/m3/s"  grid_ref="grid_T_3D" />
+    <field id="INTDIC"      long_name="DIC content"                                         unit="kg/m2"                          />
+    <field id="O2MIN"       long_name="Oxygen minimum concentration"                        unit="mol/m3"                          />
+    <field id="ZO2MIN"      long_name="Depth of oxygen minimum concentration"               unit="m"                              />
+    <field id="Nfix_e3t"    long_name="Nfix * e3t"                                          unit="mol/m2/s" > Nfix * e3t </field >
+    <field id="PPPHYN_e3t"  long_name="PPPHYN * e3t"                                        unit="mol/m2/s" > PPPHYN * e3t </field >
+    <field id="PPPHYD_e3t"  long_name="PPPHYD * e3t"                                        unit="mol/m2/s" > PPPHYD * e3t </field >
+    <field id="PPPHYP_e3t"  long_name="PPPHYP * e3t"                                        unit="mol/m2/s" > PPPHYP * e3t </field >
+    <field id="TPP_e3t"     long_name="TPP * e3t"                                           unit="mol/m2/s" > TPP * e3t </field >
+    <field id="TPNEW_e3t"   long_name="TPNEW * e3t"                                         unit="mol/m2/s" > TPNEW * e3t </field >
+    <field id="TPBFE_e3t"   long_name="TPBFE * e3t"                                         unit="mol/m2/s" > TPBFE * e3t </field >
+    <field id="TPBSI_e3t"   long_name="TPBSi * e3t"                                         unit="mol/m2/s" > PBSi * e3t </field >
+    <field id="INTNFIX"     long_name="Nitrogen fixation rate : vert. integrated"           unit="mol/m2/s"  field_ref="Nfix_e3t"    grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="INTPPPHYN"   long_name="Vertically integrated primary production by nanophy" unit="mol/m2/s"  field_ref="PPPHYN_e3t"  grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="INTPPPHYD"   long_name="Vertically integrated primary production by diatom"  unit="mol/m2/s"  field_ref="PPPHYD_e3t"  grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="INTPPPHYP"   long_name="Vertically integrated primary production by picophy" unit="mol/m2/s"  field_ref="PPPHYP_e3t"  grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="INTPP"       long_name="Vertically integrated primary production by phyto"   unit="mol/m2/s"  field_ref="TPP_e3t"     grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="INTPNEW"     long_name="Vertically integrated new primary production"        unit="mol/m2/s"  field_ref="TPNEW_e3t"   grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="INTPBFE"     long_name="Vertically integrated of biogenic iron production"   unit="mol/m2/s"  field_ref="TPBFE_e3t"   grid_ref="grid_T_vsum"  detect_missing_value="true" />
+    <field id="INTPBSI"     long_name="Vertically integrated of biogenic Si production"     unit="mol/m2/s"  field_ref="TPBSi_e3t"   grid_ref="grid_T_vsum"  detect_missing_value="true" />
+
+    <!-- PISCES light : variables available with key_pisces_reduced -->
+    <field id="FNO3PHY"     long_name="FNO3PHY"                                 unit=""          grid_ref="grid_T_3D" />
+    <field id="FNH4PHY"     long_name="FNH4PHY"                                 unit=""          grid_ref="grid_T_3D" />
+    <field id="FNH4NO3"     long_name="FNH4NO3"                                 unit=""          grid_ref="grid_T_3D" />
+    <field id="TNO3PHY"     long_name="TNO3PHY"                                 unit=""  />
+    <field id="TNH4PHY"     long_name="TNH4PHY"                                 unit=""  />
+    <field id="TPHYDOM"     long_name="TPHYDOM"                                 unit=""  />
+    <field id="TPHYNH4"     long_name="TPHYNH4"                                 unit=""  />
+    <field id="TPHYZOO"     long_name="TPHYZOO"                                 unit=""  />
+    <field id="TPHYDET"     long_name="TPHYDET"                                 unit=""  />
+    <field id="TDETZOO"     long_name="TDETZOO"                                 unit=""  />
+    <field id="TZOODET"     long_name="TZOODET"                                 unit=""  />
+    <field id="TZOOBOD"     long_name="TZOOBOD"                                 unit=""  />
+    <field id="TZOONH4"     long_name="TZOONH4"                                 unit=""  />
+    <field id="TZOODOM"     long_name="TZOODOM"                                 unit=""  />
+    <field id="TNH4NO3"     long_name="TNH4NO3"                                 unit=""  />
+    <field id="TDOMNH4"     long_name="TDOMNH4"                                 unit=""  />
+    <field id="TDETNH4"     long_name="TDETNH4"                                 unit=""  />
+    <field id="TPHYTOT"     long_name="TPHYTOT"                                 unit=""  />
+    <field id="TZOOTOT"     long_name="TZOOTOT"                                 unit=""  />
+    <field id="SEDPOC"      long_name="SEDPOC"                                  unit=""  />
+    <field id="TDETSED"     long_name="TDETSED"                                 unit=""  />
+  </field_group>
+
+  <field_group id="tracer_scalar"  grid_ref="grid_scalar"  >
+    <!-- PISCES scalar  -->
+    <field id="pno3tot"         long_name="Global mean nitrate concentration"                  unit="mol/m3"   />
+    <field id="ppo4tot"         long_name="global mean phosphorus concentration"               unit="mol/m3"   />
+    <field id="psiltot"         long_name="Global mean silicate concentration"                 unit="mol/m3"   />
+    <field id="palktot"         long_name="Global mean alkalinity concentration"               unit="mol/m3"   />
+    <field id="pfertot"         long_name="Global mean iron concentration"                     unit="mol/m3"   />
+    <field id="tcflx"           long_name="Total Flux of Carbon out of the ocean"              unit="mol/s"   />
+    <field id="tcflxcum"        long_name="Cumulative total Flux of Carbon out of the ocean"   unit="mol/s"   />
+    <field id="tcexp"           long_name="Total Carbon export at 100m"                        unit="mol/s"   />
+    <field id="tintpp"          long_name="Global total integrated primary production"         unit="mol/s"   />
+    <field id="tnfix"           long_name="Global total nitrogen fixation"                     unit="mol/s"   />
+    <field id="tdenit"          long_name="Total denitrification"                              unit="mol/s"   />
+  </field_group>
+
+</field_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-ice_ORCA1_tuning.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-ice_ORCA1_tuning.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-ice_ORCA1_tuning.xml	(revision 6423)
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+    <!-- $id$ -->
+    
+ <!--
+============================================================================================================
+=                                           output files definition                                        =
+=                                            Define your own files for ice3                                =
+=                                         put the variables you want...                                    =
+============================================================================================================
+  -->
+    
+    <file_definition type="one_file" name="@expname@_@freq@" sync_freq="1d" min_digits="4" compression_level="4" >
+    
+      <file_group id="1ts_ice" output_freq="1ts"  output_level="10" enabled=".TRUE."/> <!-- 1 time step files -->
+      <file_group id="1h_ice" output_freq="1h"  output_level="10" enabled=".TRUE."/> <!-- 1h files -->
+      <file_group id="2h_ice" output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files -->
+      <file_group id="3h_ice" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->     
+      <file_group id="4h_ice" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files -->
+      <file_group id="6h_ice" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files -->        
+      <file_group id="1d_ice" output_freq="1d"  output_level="_AUTO_" enabled="_AUTO_"/>  <!-- 5d files -->
+      <file_group id="5d_ice" output_freq="5d"  output_level="_AUTO_" enabled="_AUTO_"/>  <!-- 5d files -->
+
+      <file_group id="1m_ice" output_freq="1mo" output_level="_AUTO_" enabled="_AUTO_"> <!-- real monthly files -->
+
+       <file id="file51" name_suffix="_icemod" description="ice variables" >
+
+       <!-- ice mask -->
+         <field field_ref="icemask"       name="simsk"   level="1" />
+         <field field_ref="icemask05"     name="simsk05" level="1" />
+	 <field field_ref="icemask15"     name="simsk15" level="1" />
+
+	 <field field_ref="NH_icearea"    name="siarean"     level="1"  />  <!-- P2 (1e6 km2) sea_ice_area : total area of sea ice in the Northern hemisphere -->
+         <field field_ref="SH_icearea"    name="siareas"     level="1"  />  <!-- P2 (1e6 km2) sea_ice_area : total area of sea ice in the Sorthern hemisphere -->
+         <field field_ref="NH_iceextt"    name="siextentn"   level="1"  /> <!-- P2 (1e6 km2) sea_ice_extent : Total area of all Northern-Hemisphere grid cells that are covered by at least 15 % areal fraction of sea ice -->
+         <field field_ref="SH_iceextt"    name="siextents"   level="1"  /> <!-- P2 (1e6 km2) sea_ice_extent : Total area of all Sorthern-Hemisphere grid cells that are covered by at least 15 % areal fraction of sea ice -->
+         <field field_ref="NH_icevolu"    name="sivoln"      level="1"  /> <!-- P2 (1e3 km3) sea_ice_volume : total volume of sea ice in the Nouthern hemisphere -->
+         <field field_ref="SH_icevolu"    name="sivols"      level="1"  /> <!-- P2 (1e3 km3) sea_ice_volume : total volume of sea ice in the Southern hemisphere -->
+
+       <!-- general -->
+         <field field_ref="icethic"       name="sithic" long_name="sea_ice_thickness" level="1"        />
+         <field field_ref="iceconc"       name="siconc" level="1"  />
+         <field field_ref="snwthic"       name="snthic"     long_name="surface_snow_thickness" level="1"  />
+         <field field_ref="sst_m"         name="sst"  level="1"  />
+         <field field_ref="sss_m"         name="sss"  level="1" />
+
+       <!-- thermo -->
+	 <field field_ref="icesalt"       name="sisali" level="1" />
+         <field field_ref="icetemp"       name="sitemp" level="1" />
+         <field field_ref="icettop"       name="sistem" level="1" />
+         <field field_ref="snwtemp"       name="sntemp" level="1" />
+         <field field_ref="icehc"         name="siheco" level="1" />
+         <field field_ref="snwhc"         name="snheco" level="1" />
+
+     <!-- momentum -->
+         <field field_ref="uice"          name="sivelu"  level="1" />
+         <field field_ref="vice"          name="sivelv"  level="1" />
+
+       <!-- heat fluxes -->
+         <field field_ref="qt_oce_ai"     name="hfxout"   level="1" />
+         <field field_ref="qt_atm_oi"     name="hfxin"   level="1"  />
+
+       </file>
+
+     <!-- To compute transport through straits : need to read ice mask at ice iteration at freq_offset = 1mo - nn_fsbc -->
+
+        <file id="file52" name_suffix="_strait_ice" description="transport variables through straits" >
+          <field field_ref="strait_mifl"      name="simassacrossline"  freq_offset="1mo-2ts" />
+          <field field_ref="strait_msfl"      name="snmassacrossline"  freq_offset="1mo-2ts" />
+          <field field_ref="strait_arfl"      name="siareaacrossline"  freq_offset="1mo-2ts" />
+        </file>
+
+      </file_group>
+
+   <!-- To compute transport through straits : need to read ice mask at ice iteration at freq_offset = - nn_fsbc + 1 -->
+      <file id="maskMFO" name="maskMFO" enabled="true" mode="read" output_freq="1mo" cyclic="true"  >
+         <field id="maskMFO_u_ice" operation="instant"  freq_offset="-1ts"  grid_ref="grid_U_4strait_ice" />
+         <field id="maskMFO_v_ice" operation="instant"  freq_offset="-1ts"  grid_ref="grid_V_4strait_ice" />
+      </file>
+
+
+      <file_group id="2m_ice" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files -->
+      <file_group id="3m_ice" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files -->
+      <file_group id="4m_ice" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files -->
+      <file_group id="6m_ice" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files -->
+      <file_group id="1y_ice"  output_freq="1y" output_level="_AUTO_" enabled="_AUTO_"/> <!-- real yearly files -->
+      <file_group id="2y_ice"  output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files -->
+      <file_group id="5y_ice"  output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files -->
+      <file_group id="10y_ice" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files -->
+
+   </file_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-ice_ORCA2_tuning.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-ice_ORCA2_tuning.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-ice_ORCA2_tuning.xml	(revision 6423)
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+    <!-- $id$ -->
+    
+ <!--
+============================================================================================================
+=                                           output files definition                                        =
+=                                            Define your own files for ice3                                =
+=                                         put the variables you want...                                    =
+============================================================================================================
+  -->
+    
+    <file_definition type="one_file" name="@expname@_@freq@" sync_freq="1d" min_digits="4" compression_level="4" >
+    
+      <file_group id="1ts_ice" output_freq="1ts"  output_level="10" enabled=".TRUE."/> <!-- 1 time step files -->
+      <file_group id="1h_ice" output_freq="1h"  output_level="10" enabled=".TRUE."/> <!-- 1h files -->
+      <file_group id="2h_ice" output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files -->
+      <file_group id="3h_ice" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->     
+      <file_group id="4h_ice" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files -->
+      <file_group id="6h_ice" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files -->        
+      <file_group id="1d_ice" output_freq="1d"  output_level="_AUTO_" enabled="_AUTO_"/>  <!-- 5d files -->
+      <file_group id="5d_ice" output_freq="5d"  output_level="_AUTO_" enabled="_AUTO_"/>  <!-- 5d files -->
+
+      <file_group id="1m_ice" output_freq="1mo" output_level="_AUTO_" enabled="_AUTO_"> <!-- real monthly files -->
+
+       <file id="file51" name_suffix="_icemod" description="ice variables" >
+
+       <!-- ice mask -->
+         <field field_ref="icemask"       name="simsk"   level="1" />
+         <field field_ref="icemask05"     name="simsk05" level="1" />
+	 <field field_ref="icemask15"     name="simsk15" level="1" />
+
+	 <field field_ref="NH_icearea"    name="siarean"     level="1"  />  <!-- P2 (1e6 km2) sea_ice_area : total area of sea ice in the Northern hemisphere -->
+         <field field_ref="SH_icearea"    name="siareas"     level="1"  />  <!-- P2 (1e6 km2) sea_ice_area : total area of sea ice in the Sorthern hemisphere -->
+         <field field_ref="NH_iceextt"    name="siextentn"   level="1"  /> <!-- P2 (1e6 km2) sea_ice_extent : Total area of all Northern-Hemisphere grid cells that are covered by at least 15 % areal fraction of sea ice -->
+         <field field_ref="SH_iceextt"    name="siextents"   level="1"  /> <!-- P2 (1e6 km2) sea_ice_extent : Total area of all Sorthern-Hemisphere grid cells that are covered by at least 15 % areal fraction of sea ice -->
+         <field field_ref="NH_icevolu"    name="sivoln"      level="1"  /> <!-- P2 (1e3 km3) sea_ice_volume : total volume of sea ice in the Nouthern hemisphere -->
+         <field field_ref="SH_icevolu"    name="sivols"      level="1"  /> <!-- P2 (1e3 km3) sea_ice_volume : total volume of sea ice in the Southern hemisphere -->
+
+       <!-- general -->
+         <field field_ref="icethic"       name="sithic" long_name="sea_ice_thickness" level="1"        />
+         <field field_ref="iceconc"       name="siconc" level="1"  />
+         <field field_ref="snwthic"       name="snthic"     long_name="surface_snow_thickness" level="1"  />
+         <field field_ref="sst_m"         name="sst"  level="1"  />
+         <field field_ref="sss_m"         name="sss"  level="1" />
+
+       <!-- thermo -->
+	 <field field_ref="icesalt"       name="sisali" level="1" />
+         <field field_ref="icetemp"       name="sitemp" level="1" />
+         <field field_ref="icettop"       name="sistem" level="1" />
+         <field field_ref="snwtemp"       name="sntemp" level="1" />
+         <field field_ref="icehc"         name="siheco" level="1" />
+         <field field_ref="snwhc"         name="snheco" level="1" />
+
+     <!-- momentum -->
+         <field field_ref="uice"          name="sivelu"  level="1" />
+         <field field_ref="vice"          name="sivelv"  level="1" />
+
+       <!-- heat fluxes -->
+         <field field_ref="qt_oce_ai"     name="hfxout"   level="1" />
+         <field field_ref="qt_atm_oi"     name="hfxin"   level="1"  />
+
+       </file>
+
+     <!-- To compute transport through straits : need to read ice mask at ice iteration at freq_offset = 1mo - nn_fsbc -->
+
+        <file id="file52" name_suffix="_strait_ice" description="transport variables through straits" >
+          <field field_ref="strait_mifl"      name="simassacrossline"  freq_offset="1mo-2ts" />
+          <field field_ref="strait_msfl"      name="snmassacrossline"  freq_offset="1mo-2ts" />
+          <field field_ref="strait_arfl"      name="siareaacrossline"  freq_offset="1mo-2ts" />
+        </file>
+
+      </file_group>
+
+   <!-- To compute transport through straits : need to read ice mask at ice iteration at freq_offset = - nn_fsbc + 1 -->
+      <file id="maskMFO" name="maskMFO" enabled="true" mode="read" output_freq="1mo" cyclic="true"  >
+         <field id="maskMFO_u_ice" operation="instant"  freq_offset="-1ts"  grid_ref="grid_U_4strait_ice" />
+         <field id="maskMFO_v_ice" operation="instant"  freq_offset="-1ts"  grid_ref="grid_V_4strait_ice" />
+      </file>
+
+
+      <file_group id="2m_ice" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files -->
+      <file_group id="3m_ice" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files -->
+      <file_group id="4m_ice" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files -->
+      <file_group id="6m_ice" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files -->
+      <file_group id="1y_ice"  output_freq="1y" output_level="_AUTO_" enabled="_AUTO_"/> <!-- real yearly files -->
+      <file_group id="2y_ice"  output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files -->
+      <file_group id="5y_ice"  output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files -->
+      <file_group id="10y_ice" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files -->
+
+   </file_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-oce_tuning.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-oce_tuning.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-oce_tuning.xml	(revision 6423)
@@ -0,0 +1,155 @@
+<?xml version="1.0"?>
+
+<!--
+============================================================================================================
+=                                           output files definition                                        =
+=                                            Define your own filesfor ocean dynamics context                                         =
+=                                         put the variables you want...                                    =
+============================================================================================================
+    -->
+   
+    <file_definition type="one_file" name="@expname@_@freq@" sync_freq="1d" min_digits="4" compression_level="4" >
+    
+      <file_group id="1ts_opa" output_freq="1ts"  output_level="10" enabled=".TRUE."/> <!-- 1 time step files -->
+
+      <file_group id="1h_opa" output_freq="1h"  output_level="10" enabled=".TRUE."/> <!-- 1h files -->
+
+      <file_group id="2h_opa" output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files -->
+
+      <file_group id="3h_opa" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->     
+
+      <file_group id="4h_opa" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files -->
+
+      <file_group id="6h_opa" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files -->     
+ 
+      <file_group id="1d_opa" output_freq="1d"  output_level="_AUTO_" enabled="_AUTO_">  <!-- 1d files -->   
+      </file_group> 
+
+      <file_group id="5d_opa" output_freq="5d"  output_level="_AUTO_" enabled="_AUTO_">  <!-- 5d files -->
+      </file_group> 
+	
+      <file_group id="1m_opa" output_freq="1mo" output_level="_AUTO_" enabled="_AUTO_"> <!-- real monthly files -->
+
+        <file id="file9" name_suffix="_grid_T" >
+	  <field field_ref="e3t" long_name="T-cell thickness"  level="2" />
+          <field field_ref="ssh"          name="zos"         long_name="sea_surface_height_above_geoid"     level="1"                            />
+          <field field_ref="sst_pot"      name="tos"         long_name="sea_surface potential_temperature"                              level="1" />
+          <field field_ref="sss"          name="sos"         long_name="sea_surface_salinity"                                                level="1" />
+          <field field_ref="toce_pot"     name="toce100"     long_name="sea_water_potential_temperature at 100m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_100" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce200"   long_name="sea_water_potential_temperature at 200m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_200" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce300"   long_name="sea_water_potential_temperature at 300m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_300" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce500"   long_name="sea_water_potential_temperature at 500m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_500" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce700"   long_name="sea_water_potential_temperature at 700m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_700" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce1000"   long_name="sea_water_potential_temperature at 1000m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_1000" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce2000"   long_name="sea_water_potential_temperature at 2000m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_2000" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce3000"   long_name="sea_water_potential_temperature at 3000m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_3000" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="toce_pot"     name="toce4000"   long_name="sea_water_potential_temperature at 4000m"   operation="average" freq_op="1mo"  level="1" grid_ref="grid_T_4000" > @toce_pot_e3t / @e3t </field>      
+          <field field_ref="soce"         name="so100"      long_name="sea_water_salinity at 100m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_100"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so200"      long_name="sea_water_salinity at 200m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_200"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so300"      long_name="sea_water_salinity at 300m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_300"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so500"      long_name="sea_water_salinity at 500m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_500"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so700"      long_name="sea_water_salinity at 700m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_700"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so1000"     long_name="sea_water_salinity at 1000m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_1000"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so2000"     long_name="sea_water_salinity at 2000m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_2000"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so3000"     long_name="sea_water_salinity at 3000m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_3000"  > @soce_e3t / @e3t </field>       
+          <field field_ref="soce"         name="so4000"     long_name="sea_water_salinity at 4000m"                operation="average" freq_op="1mo" level="1"  grid_ref="grid_T_4000"  > @soce_e3t / @e3t </field>       
+          <field field_ref="mldr10_1"     name="mldr10_1"   level="1" />
+          <field field_ref="20d"          name="d20"        level="1" /> 
+	  <field field_ref="hc300"        name="hc300"      level="1" />
+	  <field field_ref="heatc_2"      name="heatc"      level="1"    />
+	  <field field_ref="qt_oce"       name="qt_oce"   long_name="downward total flux at ocean surface"       level="1"     />
+        </file>
+
+	
+	<file id="file13" name_suffix="_scalar" description="scalar variables"  >
+
+	  <!-- Volume -->
+          <!-- global contents -->
+	  <field field_ref="voltot"          name="scvoltot"  level="1" />
+	  <field field_ref="sshtot"          name="scsshtot"  level="1" />
+	  <field field_ref="sshsteric"       name="scsshste"  level="1" />
+	  <field field_ref="sshthster"       name="scsshtst"  level="1" />
+	  <field field_ref="masstot"         name="scmastot"  level="1" />
+	  <field field_ref="temptot"         name="sctemtot"  level="1" />
+	  <field field_ref="saltot"          name="scsaltot"  level="1" />
+	  
+	  <!-- global drifts (conservation checks) -->
+	  <field field_ref="bgtemper"        name="bgtemper"   level="1"  />
+	  <field field_ref="bgsaline"        name="bgsaline"   level="1"  />
+	  <field field_ref="bgheatco"        name="bgheatco"   level="1"  />
+	  <field field_ref="bgheatfx"        name="bgheatfx"   level="1"  />
+	  <field field_ref="bgsaltco"        name="bgsaltco"   level="1"  />
+	  <field field_ref="bgvolssh"        name="bgvolssh"   level="1"  />
+	  <field field_ref="bgvole3t"        name="bgvole3t"   level="1"  />
+
+	  <!-- global surface forcings  -->
+	  <field field_ref="bgfrcvol"        name="bgfrcvol"   level="1"  />
+	  <field field_ref="bgfrctem"        name="bgfrctem"   level="1"  />
+	  <field field_ref="bgfrchfx"        name="bgfrchfx"   level="1"  />
+	  <field field_ref="bgfrcsal"        name="bgfrcsal"   level="1"  />
+
+	  <!-- Surface -->
+	  <!-- global contents -->
+          <field field_ref="ibgvol_tot"       name="ibgvol_tot"  level="1"  />
+          <field field_ref="sbgvol_tot"       name="sbgvol_tot"  level="1"  />
+          <field field_ref="ibgarea_tot"      name="ibgarea_tot" level="1"  />
+          <field field_ref="ibgsalt_tot"      name="ibgsalt_tot" level="1"  />
+          <field field_ref="ibgheat_tot"      name="ibgheat_tot" level="1"  />
+          <field field_ref="sbgheat_tot"      name="sbgheat_tot" level="1"  />
+	  
+	  <!-- global drifts (conservation checks) -->
+          <field field_ref="ibgvolume"        name="ibgvolume"   level="1"  />
+          <field field_ref="ibgsaltco"        name="ibgsaltco"   level="1"  />
+          <field field_ref="ibgheatco"        name="ibgheatco"   level="1"  />
+          <field field_ref="ibgheatfx"        name="ibgheatfx"   level="1"  />
+	  
+	  <!-- global forcings  -->
+          <field field_ref="ibgfrcvoltop"     name="ibgfrcvoltop" level="1" />
+          <field field_ref="ibgfrcvolbot"     name="ibgfrcvolbot" level="1" />
+          <field field_ref="ibgfrctemtop"     name="ibgfrctemtop" level="1" />
+          <field field_ref="ibgfrctembot"     name="ibgfrctembot" level="1" />
+          <field field_ref="ibgfrcsal"        name="ibgfrcsal"    level="1" />
+          <field field_ref="ibgfrchfxtop"     name="ibgfrchfxtop" level="1" />
+          <field field_ref="ibgfrchfxbot"     name="ibgfrchfxbot" level="1" />
+	  
+        </file>
+
+         <file id="file15" name_suffix="_diaptr_T_3D" description="zonal mean variables" >
+          <field field_ref="zotem"       name="znltem"        grid_ref="grid_ptr_T_3D" level="2" />
+          <field field_ref="zosal"       name="znlsal"        grid_ref="grid_ptr_T_3D" level="2" />
+          <field field_ref="zosrf"       name="znlsrf"        grid_ref="grid_ptr_T_3D" level="2" />
+        </file>
+
+	    <file id="file16" name_suffix="_diaptr_W" description="diaptr variables"  >
+          <field field_ref="zomsf"   name="msftyz_glo"  long_name="Overturning Stream-Function : global"       grid_ref="grid_ptr_W_GLO" level="1" />
+          <field field_ref="zomsf"   name="msftyz_atl"  long_name="Overturning Stream-Function : Atlantic"     grid_ref="grid_ptr_W_ATL" level="1" />
+          <field field_ref="zomsf"   name="msftyz_ind"  long_name="Overturning Stream-Function : Indo-PAcific" grid_ref="grid_ptr_W_IND" level="1" />
+        </file>
+
+         <file id="file17" name_suffix="_strait_oce" description="transport variables through straits" >
+           <field field_ref="masstr_strait"      name="mfo"  level="1"    />
+         </file>
+
+
+      </file_group>
+
+
+      <file_group id="2m_opa" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files -->
+      <file_group id="3m_opa" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files -->
+      <file_group id="4m_opa" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files -->
+      <file_group id="6m_opa" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files -->
+
+      <file_group id="1y_opa"  output_freq="1y" output_level="_AUTO_" enabled="_AUTO_"> <!-- real yearly files -->
+      </file_group>
+      
+      <!--  To compute transport through straits : need to read mask file ( every month is the best otherwise costly ) -->
+      <file id="maskMFO"  name="maskMFO" enabled="true" mode="read" output_freq="1mo" cyclic="true"  >
+        <field id="maskMFO_u" operation="instant" freq_offset="1mo" grid_ref="grid_U_4strait" />
+        <field id="maskMFO_v" operation="instant" freq_offset="1mo" grid_ref="grid_V_4strait" />
+      </file>
+
+      <file_group id="2y_opa"  output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files -->
+      <file_group id="5y_opa"  output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files -->
+      <file_group id="10y_opa" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files -->
+
+    </file_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-pisces_tuning.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-pisces_tuning.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/file_def_nemo-pisces_tuning.xml	(revision 6423)
@@ -0,0 +1,87 @@
+    <!-- $id$ -->
+    
+    <!-- 
+
+============================================================================================================
+=                                           output files definition                                        =
+=                                            Define your own files ocean biogeochemistry                                         =
+=                                         put the variables you want...                                    =
+============================================================================================================
+    -->
+    
+    <file_definition type="one_file" name="@expname@_@freq@" sync_freq="1d" min_digits="4" compression_level="4" >
+    
+      <file_group id="1ts_pis" output_freq="1ts"  output_level="10" enabled=".TRUE."/> <!-- 1 time step files -->
+
+      <file_group id="1h_pis" output_freq="1h"  output_level="10" enabled=".TRUE."/> <!-- 1h files -->
+
+      <file_group id="2h_pis" output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files -->
+
+      <file_group id="3h_pis" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->     
+
+      <file_group id="4h_pis" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files -->
+
+      <file_group id="6h_pis" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files -->     
+    
+     <file_group id="1d_pis" output_freq="1d"  output_level="_AUTO_" enabled="_AUTO_" >  <!-- 1d files -->
+      </file_group> 
+
+      <file_group id="5d_pis" output_freq="5d"  output_level="_AUTO_" enabled="_AUTO_" >  <!-- 5d files -->
+         <file id="file34" name_suffix="_ptrc_T" description="pisces sms variables" >
+           <field field_ref="NCHL"   name="CHL"  operation="average" grid_ref="grid_T_SFC" freq_op="5d" level="1"  > @NCHL_e3t / @e3t +  @DCHL_e3t / @e3t  </field>
+        </file>
+      </file_group> 
+
+	
+     <file_group id="1m_pis" output_freq="1mo" output_level="_AUTO_" enabled="_AUTO_" > <!-- real monthly files -->
+     </file_group>
+
+
+      <file_group id="2m_pis" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files -->
+      <file_group id="3m_pis" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files -->
+      <file_group id="4m_pis" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files -->
+      <file_group id="6m_pis" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files -->
+
+     <file_group id="1y_pis"  output_freq="1y" output_level="_AUTO_" enabled="_AUTO_"> <!-- real yearly files -->
+
+       <file id="file35" name_suffix="_bioscalar" description="pisces sms variables" >
+          <field field_ref="tdenit"   name="tdenit"    unit="TgN/yr" operation="instant" level="1" > tdenit * 14. * 86400. * 365. / 1e12 </field>
+          <field field_ref="tnfix"    name="tnfix"     unit="TgN/yr" operation="instant" level="1" > tnfix * 14. * 86400. * 365. / 1e12 </field>
+          <field field_ref="tcflx"    name="tcflx"     unit="PgC/yr" operation="instant" level="1" > tcflx * -1. * 12. * 86400. * 365. / 1e15 </field>
+          <field field_ref="tcflxcum" name="tcflxcum"  unit="PgC"    operation="instant" level="1" > tcflxcum * -1. * 12. / 1e15 </field>
+          <field field_ref="tcexp"    name="tcexp"     unit="PgC/yr" operation="instant" level="1" > tcexp * 12. * 86400. * 365. / 1e15 </field>
+          <field field_ref="tintpp"   name="tintpp"    unit="PgC/yr" operation="instant" level="1" > tintpp * 12. * 86400. * 365. / 1e15 </field>
+          <field field_ref="pno3tot"  name="pno3tot"   unit="umolN"  operation="instant" level="1" > pno3tot * 16. / 117. * 1e6 </field>
+          <field field_ref="ppo4tot"  name="ppo4tot"   unit="umolP"  operation="instant" level="1" > ppo4tot * 1. / 117. * 1e6 </field>
+          <field field_ref="psiltot"  name="psiltot"   unit="umolC"  operation="instant" level="1" > psiltot * 1e6  </field>
+          <field field_ref="palktot"  name="palktot"   unit="umolC"  operation="instant" level="1" > palktot * 1e6  </field>
+          <field field_ref="pfertot"  name="pfertot"   unit="nmolFe" operation="instant" level="1" > pfertot * 1e9  </field>
+        </file>
+
+       <file id="file36" name_suffix="_ptrc_T" description="pisces sms variables" >
+          <field field_ref="O2"        name="O2"       operation="average" freq_op="1y" level="1"  > @O2_e3t / @e3t </field>
+       </file>
+
+       <file id="file38" name_suffix="_Age" description="Age tracer" enabled=".FALSE." >
+          <field field_ref="Age"         name="Age"      operation="average" freq_op="1y" level="1"  > @Age_e3t / @e3t </field>
+      </file>
+
+       <file id="file39" name_suffix="_CFC11" description="CFC11 tracer" enabled=".FALSE." >
+          <field field_ref="CFC11"       name="CFC11"    operation="average" freq_op="1y" level="1"  > @CFC11_e3t / @e3t </field>
+          <field field_ref="qtr_CFC11"   name="qtrCFC11"  level="1"   />
+          <field field_ref="qint_CFC11"  name="qintCFC11" level="1"   />
+      </file>
+
+       <file id="file40" name_suffix="_CFC12" description="CFC12 tracer" enabled=".FALSE." >
+          <field field_ref="CFC12"       name="CFC12"    operation="average" freq_op="1y" level="1"  > @CFC12_e3t / @e3t </field>
+          <field field_ref="qtr_CFC12"   name="qtrCFC12"  level="1"   />
+          <field field_ref="qint_CFC12"  name="qintCFC12" level="1"   />
+      </file>
+
+      </file_group>
+      <file_group id="2y_pis"  output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files -->
+      <file_group id="5y_pis"  output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files -->
+      <file_group id="10y_pis" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files -->
+
+   </file_definition>
+
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/grid_def_nemo.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/grid_def_nemo.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/NEMO/grid_def_nemo.xml	(revision 6423)
@@ -0,0 +1,519 @@
+<?xml version="1.0"?>
+<!--
+============================================================================================================
+= grid definition = = DO NOT CHANGE =
+============================================================================================================
+-->
+
+<grid_definition>
+
+  <!--  -->
+  <grid id="grid_T_2D" >
+    <domain domain_ref="grid_T" />
+  </grid>
+  <grid id="grid_T_2D_inner" >
+    <domain domain_ref="grid_T_inner" />
+  </grid>
+  <!--  -->
+  <grid id="grid_T_ncatice" >
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="ncatice" />
+  </grid>
+  <grid id="grid_T_ncatice_inner" >
+    <domain domain_ref="grid_T_inner" />
+    <axis axis_ref="ncatice" />
+  </grid>
+  <!--  -->
+  <grid id="grid_T_3D" >
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht" />
+  </grid>
+  <grid id="grid_T_3D_inner" >
+    <domain domain_ref="grid_T_inner" />
+    <axis axis_ref="deptht" />
+  </grid>
+  <!--  -->
+  <grid id="grid_T_3DS" >
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="profsed" />
+  </grid>
+  <grid id="grid_T_3DS_inner" >
+    <domain domain_ref="grid_T_inner" />
+    <axis axis_ref="profsed" />
+  </grid>
+  <!--  -->
+  <grid id="grid_U_2D" >
+    <domain domain_ref="grid_U" />
+  </grid>
+  <grid id="grid_U_2D_inner" >
+    <domain domain_ref="grid_U_inner" />
+  </grid>
+  <!--  -->
+  <grid id="grid_U_3D" >
+    <domain domain_ref="grid_U" />
+    <axis axis_ref="depthu" />
+  </grid>
+  <grid id="grid_U_3D_inner" >
+    <domain domain_ref="grid_U_inner" />
+    <axis axis_ref="depthu" />
+  </grid>
+  <!--  -->
+  <grid id="grid_V_2D" >
+    <domain domain_ref="grid_V" />
+  </grid>
+  <grid id="grid_V_2D_inner" >
+    <domain domain_ref="grid_V_inner" />
+  </grid>
+  <!--  -->
+  <grid id="grid_V_3D" >
+    <domain domain_ref="grid_V" />
+    <axis axis_ref="depthv" />
+  </grid>
+  <grid id="grid_V_3D_inner" >
+    <domain domain_ref="grid_V_inner" />
+    <axis axis_ref="depthv" />
+  </grid>
+  <!--  -->
+  <grid id="grid_W_2D" >
+    <domain domain_ref="grid_W" />
+  </grid>
+  <grid id="grid_W_2D_inner" >
+    <domain domain_ref="grid_W_inner" />
+  </grid>
+  <!--  -->
+  <grid id="grid_W_3D" >
+    <domain domain_ref="grid_W" />
+    <axis axis_ref="depthw" />
+  </grid>
+  <grid id="grid_W_3D_inner" >
+    <domain domain_ref="grid_W_inner" />
+    <axis axis_ref="depthw" />
+  </grid>
+  <!--  -->
+  <grid id="grid_F_2D" >
+    <domain domain_ref="grid_F" />
+  </grid>
+  <grid id="grid_F_2D_inner" >
+    <domain domain_ref="grid_F_inner" />
+  </grid>
+  <!--  -->
+  <grid id="grid_F_3D" >
+    <domain domain_ref="grid_F" />
+    <axis axis_ref="depthf" />
+  </grid>
+  <grid id="grid_F_3D_inner" >
+    <domain domain_ref="grid_F_inner" />
+    <axis axis_ref="depthf" />
+  </grid>
+  <!--  -->
+  <grid id="grid_1point" >
+    <domain domain_ref="1point"/>
+  </grid>
+  <!--  -->
+  <grid id="grid_T_nfloat" >
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="nfloat" />
+  </grid>
+  <!--  -->
+  <grid id="grid_EqT" >
+    <domain domain_ref="EqT" />
+  </grid>
+  <!--  -->
+
+  <grid id="grid_znl_T_2D">
+    <domain domain_ref="gznl" />
+    <axis axis_ref="basin" />
+  </grid>
+
+  <grid id="grid_znl_T_3D">
+    <domain domain_ref="gznl" />
+    <axis axis_ref="deptht"  />
+    <axis axis_ref="basin" />
+  </grid>
+
+  <grid id="grid_znl_W_3D">
+    <domain domain_ref="gznl" />
+    <axis axis_ref="depthw"  />
+    <axis axis_ref="basin" />
+  </grid>
+
+  <grid id="grid_ptr_T_2D">
+    <domain domain_ref="ptr" />
+    <axis axis_ref="basin" />
+  </grid>
+
+  <grid id="grid_ptr_T_3D">
+    <domain  domain_ref="ptr" />
+    <axis axis_ref="deptht"  />
+    <axis axis_ref="basin" />
+  </grid>
+
+  <grid id="grid_ptr_W_3D">
+    <domain  domain_ref="ptr" />
+    <axis axis_ref="depthw"  />
+    <axis axis_ref="basin" />
+  </grid>
+
+  <grid id="grid_ptr_W_GLO">
+    <domain  domain_ref="ptr" />
+    <axis axis_ref="depthw"  />
+    <scalar>
+      <extract_axis position="0" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_ptr_W_ATL">
+    <domain  domain_ref="ptr" />
+    <axis axis_ref="depthw"  />
+    <scalar>
+      <extract_axis position="1" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_ptr_W_IND">
+    <domain  domain_ref="ptr" />
+    <axis axis_ref="depthw"  />
+    <scalar>
+      <extract_axis position="2" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_SFC">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="0" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_100">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="24" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_200">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="31" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_300">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="35" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_500">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="40" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_700">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="43" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_1000">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="47" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_2000">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="54" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_3000">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="60" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_4000">
+    <domain domain_ref="grid_T" />
+    <scalar>
+      <extract_axis position="66" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_T_vsum">
+    <domain domain_ref="grid_T"/>
+    <scalar>
+      <reduce_axis operation="sum" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_U_vsum">
+    <domain domain_ref="grid_U"/>
+    <scalar>
+      <reduce_axis operation="sum" />
+    </scalar>
+  </grid>
+
+  <grid id="grid_V_vsum">
+    <domain domain_ref="grid_V"/>
+    <scalar>
+      <reduce_axis operation="sum" />
+    </scalar>
+  </grid>
+
+  <!-- for ORCA2 grid  
+  <grid id="cumul_U">
+    <axis axis_ref="cumul_U" n_glo="182" >
+      <reduce_domain local="true" operation="sum" direction="jDir" />
+      <reduce_axis operation="sum" />
+    </axis>
+    <axis axis_ref="depthu" />
+  </grid>
+  -->
+
+  <!-- for eORCA1 grid -->
+  <grid id="cumul_U">
+    <axis axis_ref="cumul_U" n_glo="360" >
+      <reduce_domain local="true" operation="sum" direction="jDir" />
+      <reduce_axis operation="sum" />
+    </axis>
+   <axis axis_ref="depthu" />
+  </grid>
+
+  <grid id="grid_T_zoom_200">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht200" />
+  </grid>
+
+
+  <grid id="grid_T_zoom_300">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht300" />
+  </grid>
+
+    <grid id="grid_T_zoom_500">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht500" />
+  </grid>
+
+    <grid id="grid_T_zoom_700">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht700" />
+  </grid>
+
+    <grid id="grid_T_zoom_1000">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht1000" />
+  </grid>
+
+    <grid id="grid_T_zoom_2000">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht2000" />
+  </grid>
+
+    <grid id="grid_T_zoom_3000">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht3000" />
+  </grid>
+
+    <grid id="grid_T_zoom_4000">
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht4000" />
+  </grid>
+
+
+  <grid id="grid_U_scalar" >
+    <domain domain_ref="grid_U" />
+    <scalar/>
+  </grid>
+
+  <grid id="grid_V_scalar" >
+    <domain domain_ref="grid_V" />
+    <scalar/>
+  </grid>
+
+  <grid id="grid_U_4strait">
+    <domain domain_ref="grid_U" />
+    <axis axis_ref="section">
+      <duplicate_scalar/>
+    </axis>
+  </grid>
+
+  <grid id="grid_V_4strait">
+    <domain domain_ref="grid_V" />
+    <axis axis_ref="section">
+      <duplicate_scalar/>
+    </axis>
+  </grid>
+
+  <grid id="grid_U_4strait_hsum">
+    <scalar >
+      <reduce_domain operation="sum" local="true"/>
+      <reduce_scalar operation="sum" />
+    </scalar>
+    <axis axis_ref="section"/>
+  </grid>
+
+  <grid id="grid_V_4strait_hsum">
+    <scalar >
+      <reduce_domain operation="sum" local="true"/>
+      <reduce_scalar operation="sum" />
+    </scalar>
+    <axis axis_ref="section"/>
+  </grid>
+
+  <grid id="grid_4strait">
+    <axis axis_ref="section"/>
+  </grid>
+
+  <grid id="grid_U_4strait_ice">
+    <domain domain_ref="grid_U" />
+    <axis axis_ref="section_ice">
+      <duplicate_scalar/>
+    </axis>
+  </grid>
+
+  <grid id="grid_V_4strait_ice">
+    <domain domain_ref="grid_V" />
+    <axis axis_ref="section_ice">
+      <duplicate_scalar/>
+    </axis>
+  </grid>
+
+  <grid id="grid_U_4strait_ice_hsum">
+    <scalar >
+      <reduce_domain operation="sum" local="true"/>
+      <reduce_scalar operation="sum" />
+    </scalar>
+    <axis axis_ref="section_ice"/>
+  </grid>
+
+  <grid id="grid_V_4strait_ice_hsum">
+    <scalar >
+      <reduce_domain operation="sum" local="true"/>
+      <reduce_scalar operation="sum" />
+    </scalar>
+    <axis axis_ref="section_ice"/>
+  </grid>
+
+  <grid id="grid_4strait_ice">
+    <axis axis_ref="section_ice"/>
+  </grid>
+
+  <!-- scalars -->
+  <grid id="grid_scalar" >
+    <scalar/>
+  </grid>
+
+  <!-- ABL grid definition -->
+  <grid id="grid_TA_2D">
+    <domain domain_ref="grid_T" />
+  </grid>
+  <grid id="grid_TA_3D">
+    <domain domain_ref="grid_T" />
+    <axis  id="ght_abl" />
+  </grid>
+  <grid id="grid_WA_3D">
+    <domain domain_ref="grid_T" />
+    <axis  id="ghw_abl" />
+  </grid>
+  <!--  -->
+
+  <!-- grid definitions for multiple-linear-regression analysis (diamlr) -->
+  <grid id="diamlr_grid_scalar" >
+    <scalar />
+    <scalar />
+  </grid>
+  <grid id="diamlr_grid_T_2D" >
+    <domain domain_ref="grid_T" />
+    <scalar />
+  </grid>
+  <grid id="diamlr_grid_U_2D" >
+    <domain domain_ref="grid_U" />
+    <scalar />
+  </grid>
+  <grid id="diamlr_grid_V_2D" >
+    <domain domain_ref="grid_V" />
+    <scalar />
+  </grid>
+  <grid id="diamlr_grid_W_2D" >
+    <domain domain_ref="grid_W" />
+    <scalar />
+  </grid>
+  <grid id="diamlr_grid_2D_to_grid_T_3D" >
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+  <grid id="diamlr_grid_2D_to_grid_U_3D" >
+    <domain domain_ref="grid_U" />
+    <axis axis_ref="depthu">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+  <grid id="diamlr_grid_2D_to_grid_V_3D" >
+    <domain domain_ref="grid_V" />
+    <axis axis_ref="depthv">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+  <grid id="diamlr_grid_2D_to_grid_W_3D" >
+    <domain domain_ref="grid_W" />
+    <axis axis_ref="depthw">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+  <grid id="diamlr_grid_2D_to_scalar" >
+    <scalar>
+      <reduce_domain operation="average" />
+    </scalar>
+    <scalar />
+  </grid>
+  <!-- grid definitions for the computation of daily detided model diagnostics (diadetide) -->
+  <grid id="diadetide_grid_T_2D" >
+    <domain domain_ref="grid_T" />
+    <scalar />
+  </grid>
+  <grid id="diadetide_grid_U_2D" >
+    <domain domain_ref="grid_U" />
+    <scalar />
+  </grid>
+  <grid id="diadetide_grid_V_2D" >
+    <domain domain_ref="grid_V" />
+    <scalar />
+  </grid>
+  <grid id="diadetide_grid_2D_to_grid_T_3D" >
+    <domain domain_ref="grid_T" />
+    <axis axis_ref="deptht">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+  <grid id="diadetide_grid_2D_to_grid_U_3D" >
+    <domain domain_ref="grid_U" />
+    <axis axis_ref="depthu">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+  <grid id="diadetide_grid_2D_to_grid_V_3D" >
+    <domain domain_ref="grid_V" />
+    <axis axis_ref="depthv">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+  <grid id="diadetide_grid_2D_to_grid_W_3D" >
+    <domain domain_ref="grid_W" />
+    <axis axis_ref="depthw">
+      <duplicate_scalar />
+    </axis>
+  </grid>
+
+</grid_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/ORCHIDEE/file_def_orchidee.xml
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/ORCHIDEE/file_def_orchidee.xml	(revision 6423)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/SOURCES/ORCHIDEE/file_def_orchidee.xml	(revision 6423)
@@ -0,0 +1,68 @@
+<!-- =========================================================================================================== -->
+<!-- file_def_orchidee_short.xml : Definition of output files                                                          -->
+<!--                                                                                                             -->
+<!-- In this set up, only one output files is prepared. It contains variable from both sechiba and stomate.      -->
+<!-- This file is compatible with ORCHIDEE_2_2 revision 7983                                                     -->
+<!--                                                                                                             -->
+<!-- $HeadURL: svn://forge.ipsl.jussieu.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/file_def_orchidee.xml $               -->
+<!-- $Date: 2023-04-19 13:48:54 +0200 (Wed, 19 Apr 2023) $                                                      -->
+<!-- $Revision: 7983 $                                                                                           -->
+<!-- =========================================================================================================== -->
+
+<file_definition type="one_file" par_access="collective" enabled=".TRUE." min_digits="4" compression_level="2" >
+
+  <!-- ========================================================================================================= -->
+  <!-- Definition of output files -->
+  <!-- ========================================================================================================= -->
+
+  <!-- Definition of output files with sechiba diagnostics -->
+
+  <!-- Mixed sechiba stomate output file -->
+  <file id="sechiba1" name="sechiba_stomate_history" output_level="1" output_freq="1mo" enabled=".TRUE.">
+
+   <field_group group_ref="remap_1mo" grid_ref="grid_landpoints_out" >
+    <!-- level 1 -->
+    <field field_ref="areas" level="1"/>
+    <field field_ref="contfrac" level="1"/>
+    <field field_ref="maxvegetfrac" grid_ref="grid_nvm_out" level="1"/>
+
+    <field field_ref="soilflx" level="1"/> <!-- Qg -->
+    <field field_ref="mc_layh" grid_ref="grid_nslm_out" level="1"/>
+    <field field_ref="mcl_layh" grid_ref="grid_nslm_out" level="1"/>
+    <field field_ref="ptn" grid_ref="grid_ngrnd_out" level="1"/>
+    <field field_ref="tsol_rad" level="1"/>
+    <field field_ref="albedo_vis" level="1"/>
+    <field field_ref="albedo_nir" level="1"/>
+    <field field_ref="fluxsens" level="1"/>
+    <field field_ref="fluxlat" level="1"/>
+    <field field_ref="netrad" level="1"/>
+    <field field_ref="snowheat" grid_ref="grid_nsnow_out"  level="1"/>
+    <field field_ref="snowmelt" level="1"/>
+    <field field_ref="snowflxtot" level="1"/>
+    <field field_ref="snow" level="1"/>    
+    <field field_ref="snowdepth"  level="1"/>
+    <field field_ref="frac_snow_veg"  level="1"/>
+    <field field_ref="lai_ipcc" name="lai_ipcc" level="1"/>
+    <field field_ref="gpp_ipcc" name="gpp_ipcc" level="1"/>
+    <field field_ref="ra" level="1"/> 
+    <field field_ref="rh" level="1"/>
+    <field field_ref="nbp" level="1"/>
+    <field field_ref="humtot" level="1"/> <!-- mrso -->
+    <field field_ref="humtot_top" level="1"/> <!-- mrsos -->
+    <field field_ref="vevapnu" name="evapnu" level="1" unit="mm/d" > @vevapnu*86400  </field>
+    <field field_ref="vevapp" name="evap_sec" level="1"/>
+    <field field_ref="transpir" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="inter" grid_ref="grid_nvm_out" level="1"/>
+    <field field_ref="temp_sol_new" level="1"/>
+    <field field_ref="runoff" name="runoff" level="1" unit="mm/d" > @runoff*86400  </field>
+    <field field_ref="drainage" name="drainage" level="1" unit="mm/d" > @drainage*86400  </field>
+    <field field_ref="prveg" level="1"/>
+    <field field_ref="evspsblveg" level="1"/>
+    <field field_ref="evspsblsoi" level="1"/>
+    <field field_ref="tran" level="1"/>
+    <field field_ref="tws" level="1"/>
+    
+   </field_group>
+    
+  </file>
+</file_definition>
Index: CONFIG/UNIFORM/v6/IPSLCM6.5.1/compile_ipslcm6.sh
===================================================================
--- CONFIG/UNIFORM/v6/IPSLCM6.5.1/compile_ipslcm6.sh	(revision 6421)
+++ CONFIG/UNIFORM/v6/IPSLCM6.5.1/compile_ipslcm6.sh	(revision 6423)
@@ -354,5 +354,5 @@
 echo >> $outfile ; echo cp $mysrc_path/LMDZ/arch-${fcm_arch}.fcm arch/.   >> $outfile
 echo >> $outfile
-cd $lmdz_root ; cp $mysrc_path/LMDZ/arch-${fcm_arch}.fcm arch/.
+cd $lmdz_root ; cp $mysrc_path/LMDZ/arch-${fcm_arch}.path arch/.
 
 # Check if the compilation of LMDZ was previsouly interupted prematured. 
