Index: branches/2012/dev_MERGE_2012/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef.xml
===================================================================
--- branches/2012/dev_MERGE_2012/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef.xml	(revision 3677)
+++ branches/2012/dev_MERGE_2012/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef.xml	(revision 3695)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <simulation> 
-  
-  <context id="nemo">
+
+ <context id="nemo" time_origin="1900-01-01 00:00:00" >
     
     <!-- $id$ -->
@@ -12,284 +12,5 @@
 ============================================================================================================
     -->
-    
-    <field_definition level="1" prec="4" operation="ave(X)" enabled=".TRUE."> <!-- time step automaticaly defined -->
-
-      <!-- T grid -->
-      
-      <group id="grid_T" axis_ref="none" grid_ref="grid_T">
-	<field id="toce"         description="temperature"                               unit="degC" axis_ref="deptht"   />
-       	<field id="soce"         description="salinity"                                  unit="psu"  axis_ref="deptht"   />
-	<field id="sst"          description="sea surface temperature"                   unit="degC"                     />
-	<field id="sst2"         description="square of sea surface temperature"         unit="degC2"                    />
-	<field id="sstgrad"      description="module of sst gradient"                    unit="degC/m"                   />
-	<field id="sstgrad2"     description="square of module of sst gradient"          unit="degC2/m2"                 />
-	<field id="sss"          description="sea surface salinity"                      unit="psu"                      />
-	<field id="sss2"         description="square of sea surface salinity"            unit="psu2"                     />
-	<field id="ssh"          description="sea surface height"                        unit="m"                        />
-	<field id="ssh2"         description="square of sea surface height"              unit="m2"                       />
-	<field id="mldkz5"       description="mixing layer depth (Turbocline)"           unit="m"                        />
-	<field id="mldr10_1"     description="Mixed Layer Depth 0.01 ref.10m"            unit="m"                        />
-       	<field id="rhop"         description="potential density (sigma0)"                unit="kg/m3" axis_ref="deptht"  />
-	<!-- next variables available with key_diahth -->
-	<field id="mlddzt"       description="Thermocline Depth (max dT/dz)"             unit="m"                        />
-	<field id="mldr10_3"     description="Mixed Layer Depth dr=0.03 (ref.10m)"       unit="m"                        />
-	<field id="mldr0_1"      description="Mixed Layer Depth dr=0.01 (ref.surf)"      unit="m"                        />
-	<field id="mldr0_3"      description="Mixed Layer Depth dr=0.03 (ref.surf)"      unit="m"                        />
-	<field id="mld_dt02"     description="Mixed Layer Depth |dt|=0.2 (ref.10m)"      unit="m"                        />
-	<field id="topthdep"     description="Top of the thermocline dt=-0.2 (ref.10m)"  unit="m"                        />
-	<field id="pycndep"      description="Pycnocline depth dr~dt=-0.2 (ref.10m)"     unit="m"                        />
-	<field id="BLT"          description="Barrier Layer Thickness"                   unit="m"                        />
-	<field id="tinv"         description="Max of vertical invertion of temperature"  unit="degC"                     />
-	<field id="depti"        description="Depth of max. vert. inv. of temperature"   unit="m"                        />
-        <field id="20d"          description="Depth of 20C isotherm"                     unit="m"                        />
-	<field id="28d"          description="Depth of 28C isotherm"                     unit="m"                        />
-	<field id="hc300"        description="Heat content 300 m"                        unit="W"                        />
-	<!-- variables available with key_diaar5 -->
-	<field id="botpres"      description="Pressure at sea floor"                     unit="dbar"                     />
-	<field id="cellthc"      description="Cell thickness"                            unit="m"     axis_ref="deptht"  />
-    <!-- tidal composante -->
-    <field id="M2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="M2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="S2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="S2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="N2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="N2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="K1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="K1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="O1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="O1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="Q1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="Q1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="M4x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="M4y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="K2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="K2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="P1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="P1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="Mfx"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="Mfy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="Mmx"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="Mmy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-
-    <field id="M2x_u"          description="M2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="M2y_u"          description="M2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="S2x_u"          description="S2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="S2y_u"          description="S2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="N2x_u"          description="N2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="N2y_u"          description="N2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K1x_u"          description="K1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="K1y_u"          description="K1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="O1x_u"          description="O1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="O1y_u"          description="O1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Q1x_u"          description="Q1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="Q1y_u"          description="Q1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="M4x_u"          description="M4 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="M4y_u"          description="M4 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K2x_u"          description="K2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="K2y_u"          description="K2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="P1x_u"          description="P1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="P1y_u"          description="P1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mfx_u"          description="Mf current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="Mfy_u"          description="Mf current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mmx_u"          description="Mm current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="Mmy_u"          description="Mm current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-
-    <field id="M2x_v"          description="M2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="M2y_v"          description="M2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="S2x_v"          description="S2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="S2y_v"          description="S2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="N2x_v"          description="N2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="N2y_v"          description="N2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K1x_v"          description="K1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="K1y_v"          description="K1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="O1x_v"          description="O1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="O1y_v"          description="O1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Q1x_v"          description="Q1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="Q1y_v"          description="Q1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="M4x_v"          description="M4 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="M4y_v"          description="M4 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K2x_v"          description="K2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="K2y_v"          description="K2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="P1x_v"          description="P1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="P1y_v"          description="P1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mfx_v"          description="Mf current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="Mfy_v"          description="Mf current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mmx_v"          description="Mm current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="Mmy_v"          description="Mm current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-     </group>
-
-      <!-- SBC -->
-      
-      <group id="SBC" axis_ref="none" grid_ref="grid_T" > <!-- time step automaticaly defined based on nn_fsbc -->
-
-	<field id="empmr"        description="Net Upward Water Flux"                                        unit="kg/m2/s"  />
-	<field id="saltflx"      description="Downward Salt Flux"                                           unit="PSU/m2/s" />
-	<field id="snowpre"      description="Snow precipitation"                                           unit="kg/m2/s"  />
-	<field id="runoffs"      description="River Runoffs"                                                unit="Kg/m2/s"  />
-
-	<field id="qt"           description="Net Downward Heat Flux"                                       unit="W/m2"     />
-	<field id="qns"          description="non solar Downward Heat Flux"                                 unit="W/m2"     />
-	<field id="qsr"          description="Shortwave Radiation"                                          unit="W/m2"     />
-	<field id="qsr3d"        description="Shortwave Radiation 3D distribution"        axis_ref="deptht" unit="W/m2"     />
-	<field id="qrp"          description="Surface Heat Flux: Damping"                                   unit="W/m2"     />
-	<field id="erp"          description="Surface Water Flux: Damping"                                  unit="Kg/m2/s"  />
-	<field id="taum"         description="wind stress module"                                           unit="N/m2"     />
-	<field id="wspd"         description="Wind speed module at 10 m"                                    unit="m/s"      />
-	
-	<!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn -->
-	<field id="ssh_ib"       description="Inverse barometer sea surface height"                         unit="m"        />
-
-	<!-- *_oce variables available with ln_blk_clio or ln_blk_core -->
-	<field id="qns_oce"      description="Non solar Downward Heat Flux over open ocean"                 unit="W/m2"     />
-	<field id="qlw_oce"      description="Longwave Downward Heat Flux over open ocean"                  unit="W/m2"     />
-	<field id="qsb_oce"      description="Sensible Downward Heat Flux over open ocean"                  unit="W/m2"     />
-	<field id="qla_oce"      description="Latent Downward Heat Flux over open ocean"                    unit="W/m2"     />
-	<field id="qhc_oce"      description="Downward Heat Content of E-P over open ocean"                 unit="W/m2"     />
-	<field id="taum_oce"     description="wind stress module over open ocean"                           unit="N/m2"     />
-
-	<field id="ice_cover"    description="Ice fraction"                                                 unit="1"        />
-
-	<field id="ioceflxb"     description="Oceanic flux at the ice base"                                 unit="W/m2"     />
-	<field id="qsr_ai_cea"   description="Air-Ice downward solar heat flux (cell average)"              unit="W/m2"     />
-	<field id="qns_ai_cea"   description="Air-Ice downward non-solar heat flux (cell average)"          unit="W/m2"     />
-	<field id="qla_ai_cea"   description="Air-Ice downward Latent heat flux (cell average)"             unit="W/m2"     />
-	
-	<field id="qsr_io_cea"   description="Ice-Oce downward solar heat flux (cell average)"              unit="W/m2"     />
-	<field id="qns_io_cea"   description="Ice-Oce downward non-solar heat flux (cell average)"          unit="W/m2"     />
-	
-	<field id="snowthic_cea" description="Snow thickness (cell average)"                                unit="m"        />
-	<field id="icethic_cea"  description="Ice thickness (cell average)"                                 unit="m"        />
-	<field id="iceprod_cea"  description="Ice production (cell average)"                                unit="m/s"      />
-	
-	<field id="ice_pres"     description="Ice presence"                                                 unit="-"        />
-	<field id="ist_cea"      description="Ice surface temperature (cell average)"                       unit="degC"     />
-	<field id="ist_ipa"      description="Ice surface temperature (ice presence average)"               unit="degC"     />      
-	<field id="uice_ipa"     description="Ice velocity along i-axis at I-point (ice presence average)"  unit="m/s"      />      
-	<field id="vice_ipa"     description="Ice velocity along j-axis at I-point (ice presence average)"  unit="m/s"      />      
-	
-	<field id="utau_ice"     description="Wind stress along i-axis over the ice at i-point"             unit="N/m2"     />
-	<field id="vtau_ice"     description="Wind stress along j-axis over the ice at i-point"             unit="N/m2"     />
-	
-	<field id="u_imasstr"    description="Sea-ice mass transport along i-axis"                          unit="kg/s"     />
-	<field id="v_imasstr"    description="Sea-ice mass transport along j-axis"                          unit="kg/s"     />
-
-	<!-- available if not defined key_vvl -->
-	<field id="emp_x_sst"      description="Concentration/Dilution term on SST"                         unit="kgC/m2/s" />
-	<field id="emp_x_sss"      description="Concentration/Dilution term on SSS"                       unit="kgPSU/m2/s" />
-	<!-- available key_coupled -->
-	<field id="snow_ao_cea"  description="Snow over ice-free ocean (cell average)"                      unit="kg/m2/s"  />
-	<field id="snow_ai_cea"  description="Snow over sea-ice (cell average)"                             unit="kg/m2/s"  />
-	<field id="subl_ai_cea"  description="Sublimation over sea-ice (cell average)"                      unit="kg/m2/s"  />
-	<field id="icealb_cea"   description="Ice albedo (cell average)"                                    unit="1"        />
-	<field id="calving"      description="Calving"                                                      unit="kg/m2/s"  />
-	<!-- available if key_coupled + conservative method -->
-	<field id="rain"         description="Liquid precipitation"                                         unit="Kg/m2/s"  />
-	<field id="evap_ao_cea"  description="Evaporation over ice-free ocean (cell average)"               unit="kg/m2/s"  />
-	<!-- variables available with key_diaar5 -->
-	<field id="isnwmlt_cea"   description="Snow over Ice melting (cell average)"                        unit="kg/m2/s"  />
-	<field id="fsal_virt_cea" description="Virtual salt flux due to ice formation (cell average)"       unit="kg/m2/s"  />
-	<field id="fsal_real_cea" description="Real salt flux due to ice formation (cell average)"          unit="kg/m2/s"  />
-	<field id="hflx_rain_cea" description="heat flux due to rainfall"                                   unit="W/m2"     />
-	<field id="hflx_evap_cea" description="heat flux due to evaporation"                                unit="W/m2"     />
-	<field id="hflx_snow_cea" description="heat flux due to snow falling over ice-free ocean"           unit="W/m2"     />
-	<field id="hflx_ice_cea"  description="heat flux due to ice thermodynamics"                         unit="W/m2"     />
-	<field id="hflx_rnf_cea"  description="heat flux due to runoffs"                                    unit="W/m2"     />
-	<field id="hflx_cal_cea"  description="heat flux due to calving"                                    unit="W/m2"     />
-	<field id="bicemel_cea"  description="Rate of Melt at Sea Ice Base (cell average)"                  unit="kg/m2/s"  />
-	<field id="licepro_cea"  description="Lateral Sea Ice Growth Rate (cell average)"                   unit="kg/m2/s"  />
-	<field id="snowmel_cea"  description="Snow Melt Rate (cell average)"                                unit="kg/m2/s"  />
-	<field id="sntoice_cea"  description="Snow-Ice Formation Rate (cell average)"                       unit="kg/m2/s"  />
-	<field id="ticemel_cea"  description="Rate of Melt at Upper Surface of Sea Ice (cell average)"      unit="kg/m2/s"  />
-      </group>
-
-      <!-- U grid -->
-      
-      <group id="grid_U"  axis_ref="depthu" grid_ref="grid_U">
-	<field id="utau"         description="Wind Stress along i-axis"                    unit="N/m2" axis_ref="none" />
-	<field id="uoce"         description="ocean current along i-axis"                  unit="m/s"                  />
-	<field id="uocetr_eff"   description="Effective ocean transport along i-axis"      unit="m3/s"                  />
-	<!-- uoce_eiv: available with key_traldf_eiv and key_diaeiv -->
-	<field id="uoce_eiv"     description="EIV ocean current along i-axis"              unit="m/s"                  />
-	<!-- uoce_eiv: available with key_trabbl -->
-	<field id="uoce_bbl"     description="BBL ocean current along i-axis"              unit="m/s"  axis_ref="none" />
-	<field id="ahu_bbl"      description="BBL diffusive flux along i-axis"             unit="m3/s" axis_ref="none" />
- 	<!-- variables available with key_diaar5 -->
-	<field id="u_masstr"     description="ocean eulerian mass transport along i-axis"  unit="kg/s"                 />
-	<field id="u_heattr"     description="ocean eulerian heat transport along i-axis"  unit="W"    axis_ref="none" />
-	<field id="ueiv_heattr"  description="ocean bolus heat transport along i-axis"     unit="W"    axis_ref="none" />
-	<field id="udiff_heattr" description="ocean diffusion heat transport along i-axis" unit="W"    axis_ref="none" />
-     </group>
-      
-      <!-- V grid -->
-      
-      <group id="grid_V"  axis_ref="depthv" grid_ref="grid_V">
-	<field id="vtau"         description="Wind Stress along j-axis"                    unit="N/m2" axis_ref="none" />
-	<field id="voce"         description="ocean current along j-axis"                  unit="m/s"                  />
-	<field id="vocetr_eff"   description="Effective ocean transport along j-axis"      unit="m3/s"                  />
-	<!-- voce_eiv: available with key_traldf_eiv and key_diaeiv -->
-	<field id="voce_eiv"     description="EIV ocean current along j-axis"              unit="m/s"                  />
-	<!-- voce_eiv: available with key_trabbl -->
-	<field id="voce_bbl"     description="BBL ocean current along j-axis"              unit="m/s" axis_ref="none"  />
-	<field id="ahv_bbl"      description="BBL diffusive flux along j-axis"             unit="m3/s" axis_ref="none" />
-	<!-- variables available with key_diaar5 -->
-	<field id="v_masstr"     description="ocean eulerian mass transport along j-axis"  unit="kg/s"                 />
-	<field id="v_heattr"     description="ocean eulerian heat transport along j-axis"  unit="W"    axis_ref="none" />
-	<field id="veiv_heattr"  description="ocean bolus heat transport along j-axis"     unit="W"    axis_ref="none" />
-	<field id="vdiff_heattr" description="ocean diffusion heat transport along j-axis" unit="W"    axis_ref="none" />
-      </group>
-      
-      <!-- W grid -->
-      
-      <group id="grid_W"  axis_ref="depthw" grid_ref="grid_W">
-	<field id="woce"         description="ocean vertical velocity"                     unit="m/s"                  />
-	<field id="wocetr_eff"   description="effective ocean vertical transport"          unit="m3/s"                 />
-	<!-- woce_eiv: available with key_traldf_eiv and key_diaeiv -->
-	<field id="woce_eiv"     description="EIV ocean vertical velocity"                 unit="m/s"                  />
-	<!-- woce_eiv: available with key_trabbl_adv -->
-	<field id="avt"          description="vertical eddy diffusivity"                   unit="m2/s"                 />
-	<field id="avm"          description="vertical eddy viscosity"                     unit="m2/s"                 />
-	<!-- avs: available with key_zdfddm -->
-	<field id="avs"          description="salt vertical eddy diffusivity"              unit="m2/s"                 />
-	<!-- avt_evd and avm_evd: available with ln_zdfevd -->
-	<field id="avt_evd"      description="enhanced vertical diffusivity"               unit="m2/s"                 />
-	<field id="avm_evd"      description="enhanced vertical viscosity"                 unit="m2/s"                 />
-	<!-- aht2d and  aht2d_eiv: available with key_traldf_eiv and key_traldf_c2d -->
-	<field id="aht2d"        description="lateral eddy diffusivity"                    unit="m2/s" axis_ref="none" />
-	<field id="aht2d_eiv"    description="EIV lateral eddy diffusivity"                unit="m2/s" axis_ref="none" />
-	<!-- avt_tide: available with key_zdftmx -->
-	<field id="av_tide"      description="tidal vertical diffusivity"                  unit="m2/s"                 />
-	<!-- variables available with key_diaar5 -->   
-	<field id="w_masstr"     description="vertical mass trasport"                      unit="kg/s"                 />
-	<field id="w_masstr2"    description="square of vertical mass trasport"            unit="kg2/s2"               />
-      </group>
-          
-      <!-- scalar -->
-      
-      <!-- variables available with key_diaar5 -->
-      <group id="scalar" axis_ref="none" grid_ref="scalarpoint" zoom_ref="1point" >
-	<field id="voltot"     description="global mean volume"                         unit="m3"   />
-	<field id="sshtot"     description="global mean ssh"                            unit="m"    />
-	<field id="sshsteric"  description="global mean ssh steric"                     unit="m"    />
-	<field id="sshthster"  description="global mean ssh thermosteric"               unit="m"    />
-	<field id="masstot"    description="global mean mass"                           unit="kg"   />
-	<field id="temptot"    description="global mean temperature"                    unit="degC" />
-	<field id="saltot"     description="global mean salinity"                       unit="psu"  />
-	<field id="fram_trans" description="Sea Ice Mass Transport Through Fram Strait" unit="kg/s" />
-      </group>
-
-
-      <!-- variables available with key_float -->
-      <group id="floatvar" axis_ref="nfloat" grid_ref="scalarpoint" zoom_ref="1point">
-        <field id="traj_lon"   description="floats longitude"   unit="deg"   operation="inst(X)" />
-        <field id="traj_lat"   description="floats latitude"    unit="deg"   operation="inst(X)"  />
-        <field id="traj_dep"   description="floats depth"       unit="m"     operation="inst(X)"  />
-        <field id="traj_temp"  description="floats temperature" unit="degC"  operation="inst(X)"  />
-        <field id="traj_salt"  description="floats salinity"    unit="psu"   operation="inst(X)"  />
-        <field id="traj_dens"  description="floats density"     unit="kg/m3" operation="inst(X)"  />
-        <field id="traj_group" description="floats group"       unit="none"  operation="inst(X)"  />
-      </group>
-
-    </field_definition>
-
+    <field_definition src="./field_def.xml"/>
     <!-- 
 ============================================================================================================
@@ -300,1014 +21,69 @@
     -->
     
-    <file_definition >
+    <file_definition type="multi_file" sync_freq="1d" min_digits="4">
+    
+      <file_group id="1h" output_freq="1h"  output_level="10" enabled=".TRUE."/> <!-- 1h files -->
+      <file_group id="2h" output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files -->
+      <file_group id="3h" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->     
+      <file_group id="4h" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files -->
+      <file_group id="6h" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files -->
+     
+      <file_group id="1d" output_freq="1d"  output_level="10" enabled=".TRUE."> <!-- 1d files -->
+      </file_group>
+      <file_group id="3d" output_freq="3d"  output_level="10" enabled=".TRUE."/> <!-- 3d files -->    
+      <file_group id="5d" output_freq="5d"  output_level="10" enabled=".TRUE.">  <!-- 5d files -->   
+      </file_group>
 
-      <group id="1h" output_freq="3600"   output_level="10" enabled=".TRUE.">                      <!-- 1h files -->
-      </group>
-      
-      <group id="2h" output_freq="7200"   output_level="10" enabled=".TRUE.">                      <!-- 2h files -->
-      </group>
-      
-      <group id="3h" output_freq="10800"  output_level="10" enabled=".TRUE.">                      <!-- 3h files -->
-      </group>
-      
-      <group id="4h" output_freq="14400"  output_level="10" enabled=".TRUE.">                      <!-- 4h files -->
-      </group>
-      
-      <group id="6h" output_freq="21600"  output_level="10" enabled=".TRUE.">                      <!-- 6h files -->
-      </group>
-      
-      <group id="1d" output_freq="86400"  output_level="10" enabled=".TRUE.">                      <!-- 1d files -->
+      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files -->
+      <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files -->
+      <file_group id="3m" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files -->
+      <file_group id="4m" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files -->
+      <file_group id="6m" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files -->
 
-    <!-- 
-............................................................................................................
-           example of 3 types of 1d files
-............................................................................................................
-    -->
-	<!-- automatic definition of the name based on id="1d_grid_T" 
-	     => this name is used as the radical for all file names of this group
-	     => add a suffix to be sure that all files names of this group are different   -->
-	<group id="1d_grid_T" name="auto" description="ocean T grid variables" >
-	  <!-- mooring: automatic definition of the file name suffix based on id="0n180wT"  -->
-	  <file id="0n180wT" name_suffix="auto" >
-	    <group id="0n180wT" zoom_ref="0n180wT" >    <!-- group of variables sharing the same zoom -->
-	      <field ref="toce" name="votemper"  />
-	      <field ref="uoce" name="vozocrtx"  />     <!-- include a U-grid variable in the list => switch to T-grid -->
-	    </group>
-	  </file>
-	  <!-- Equatorial section: automatic definition of the file name suffix based on id="EqT" -->
-	  <file id="EqT" name_suffix="auto" >
-	    <group id="EqT" zoom_ref="EqT" >
-	      <field ref="toce" name="votemper"  />
-	    </group>
-	  </file>
-	  <!-- global file with different operations on data   -->
-	  <file id="global" >
-	    <field ref="sst"    name="sst_1d_ave"                       />     <!-- mean -->
-	    <field ref="sst"    name="sst_1d_max"  operation="t_max(X)" />     <!-- max -->
-            <field ref="M2x"     name="M2_x_elev"  />
-            <field ref="M2y"     name="M2_y_elev"  />
-	  </file>
-	</group>
+      <file_group id="1y"  output_freq="1y" output_level="10" enabled=".TRUE."/> <!-- real yearly files -->
+      <file_group id="2y"  output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files -->
+      <file_group id="5y"  output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files -->
+      <file_group id="10y" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files -->
 
-        <!-- variables available with key_float, instantaneous fields -->
-<!--
-        <file id="floats"  description="floats variables">
-            <field ref="traj_lon"   name="floats_longitude"   freq_op="86400" />
-            <field ref="traj_lat"   name="floats_latitude"    freq_op="86400" />
-            <field ref="traj_dep"   name="floats_depth"       freq_op="86400" />
-            <field ref="traj_temp"  name="floats_temperature" freq_op="86400" />
-            <field ref="traj_salt"  name="floats_salinity"    freq_op="86400" />
-            <field ref="traj_dens"  name="floats_density"     freq_op="86400" />
-            <field ref="traj_group" name="floats_group"       freq_op="86400" />
-        </file>
--->
-      </group>
-      
-      <group id="3d" output_freq="259200" output_level="10" enabled=".TRUE.">                      <!-- 3d files -->
-      </group>
-      
-      <group id="5d" output_freq="432000" output_level="10" enabled=".TRUE.">                      <!-- 5d files -->
-
-	<file id="5d_grid_T" name="auto" description="ocean T grid variables" >
-	  <field ref="toce"         name="votemper"  />
-	  <field ref="soce"         name="vosaline"  />
-	  <field ref="sst"          name="sosstsst"  />
-	  <field ref="sss"          name="sosaline"  />
-	  <field ref="ssh"          name="sossheig"  />
-	  <field ref="empmr"        name="sowaflup"  />
-	  <field ref="qsr"          name="soshfldo"  />
-          <field ref="saltflx"      name="sosfldow"  />
-	  <field ref="qt"           name="sohefldo"  />
-	  <field ref="mldr10_1"     name="somxl010"  />
-	  <field ref="mldkz5"       name="somixhgt"  />
-	  <field ref="ice_cover"    name="soicecov"  />
-	  <field ref="wspd"         name="sowindsp"  />
-	  <field ref="qrp"          name="sohefldp"  />
-	  <field ref="erp"          name="sowafldp"  />
-	  <field ref="mlddzt"       name="sothedep"  />
-	  <field ref="20d"          name="so20chgt"  />
-	  <field ref="28d"          name="so28chgt"  />
-	  <field ref="hc300"        name="sohtc300"  />
-	  <field ref="ist_ipa"      name="soicetem"  />
-	  <field ref="icealb_cea"   name="soicealb"  />   
-	</file>
-	
-	<file id="5d_grid_U" name="auto" description="ocean U grid variables" >
-	  <field ref="uoce"         name="vozocrtx"  />
-	  <field ref="uoce_eiv"     name="vozoeivu"  />
-	  <field ref="utau"         name="sozotaux"  />
-	</file>
-	
-	<file id="5d_grid_V" name="auto" description="ocean V grid variables" >
-	  <field ref="voce"         name="vomecrty"  />
-	  <field ref="voce_eiv"     name="vomeeivv"  />
-	  <field ref="vtau"         name="sometauy"  />
-	</file>
-	
-	<file id="5d_grid_W" name="auto" description="ocean W grid variables" >
-	  <field ref="woce"         name="vovecrtz" />
-	  <field ref="woce_eiv"     name="voveeivw" />
-	  <field ref="avt"          name="votkeavt" />
-	  <field ref="avt_evd"      name="votkeevd" />
-	  <field ref="avm"          name="votkeavm" />
-	  <field ref="avm_evd"      name="votkeevm" />
-	  <field ref="avs"          name="voddmavs" />
-	  <field ref="aht2d"        name="soleahtw" />
-	  <field ref="aht2d_eiv"    name="soleaeiw" />
-	</file>
-	
-	<file id="5d_icemod" name="auto" description="ice variables" >
-	  <field ref="ice_pres"                     />
-	  <field ref="snowthic_cea" name="isnowthi" />
-	  <field ref="icethic_cea"  name="iicethic" />
-	  <field ref="iceprod_cea"  name="iiceprod" />
-	  <field ref="ist_ipa"      name="iicetemp" />
-	  <field ref="ioceflxb"     name="ioceflxb" />
-	  <field ref="uice_ipa"     name="iicevelu" />
-	  <field ref="vice_ipa"     name="iicevelv" />
-	  <field ref="utau_ice"     name="iicestru" />
-	  <field ref="vtau_ice"     name="iicestrv" />
-	  <field ref="qsr_io_cea"   name="iicesflx" />
-	  <field ref="qns_io_cea"   name="iicenflx" />
-	  <field ref="snowpre"      name="isnowpre" />
-	</file>
-	
-      </group>
-      
-      <group id="1m" output_freq="-1"     output_level="10" enabled=".TRUE.">                      <!-- real monthly files -->
-
-	<file id="1m_grid_T" name="auto" description="ocean T grid variables" >
-	  <field ref="sst"          name="sosstsst"  />
-	</file>   
-
-      </group>
-
-      <group id="2m" output_freq="-2"     output_level="10" enabled=".TRUE.">                      <!-- real 2m files -->
-      </group>
-
-      <group id="3m" output_freq="-3"     output_level="10" enabled=".TRUE.">                      <!-- real 3m files -->
-      </group>
-
-      <group id="4m" output_freq="-4"     output_level="10" enabled=".TRUE.">                      <!-- real 4m files -->
-      </group>
-
-      <group id="6m" output_freq="-6"     output_level="10" enabled=".TRUE.">                      <!-- real 6m files -->
-      </group>
-
-      <group id="1y" output_freq="-12"    output_level="10" enabled=".TRUE.">                      <!-- real yearly files -->
-
-	<file id="1y_grid_T" name="auto" description="ocean T grid variables" >
-	  <field ref="mldr10_1"     name="sobowlin"  operation="t_max(X)" />
-	</file>
-
-      </group>
-
-      <group id="2y"  output_freq="-24"   output_level="10" enabled=".TRUE.">                      <!-- real 2y files -->
-      </group>
-
-      <group id="5y"  output_freq="-60"   output_level="10" enabled=".TRUE.">                      <!-- real 5y files -->
-      </group>
-
-      <group id="10y" output_freq="-120"  output_level="10" enabled=".TRUE.">                      <!-- real 10y files -->
-      </group>
-
-    </file_definition>
+   </file_definition>
     
     <!-- 
 ============================================================================================================
-=                                           grid definition                                                =
-=                                            DO NOT CHANGE                                                 =
+= grid definition = = DO NOT CHANGE =
 ============================================================================================================
     -->
     
-    <axis_definition>  
-      <axis id="deptht" description="Vertical T levels" unit="m"       positive=".false." />
-      <axis id="depthu" description="Vertical U levels" unit="m"       positive=".false." />
-      <axis id="depthv" description="Vertical V levels" unit="m"       positive=".false." />
-      <axis id="depthw" description="Vertical W levels" unit="m"       positive=".false." />
-      <axis id="nfloat" description="Number of float"   unit="no unit" positive=".false." />
-      <axis id="none" description="axe non defini" unit="none" size="1" />
-    </axis_definition> 
+   <axis_definition>  
+      <axis id="deptht" long_name="Vertical T levels" unit="m"  /><!-- positive=".FALSE." -->
+      <axis id="depthu" long_name="Vertical U levels" unit="m"  /><!-- positive=".FALSE." -->
+      <axis id="depthv" long_name="Vertical V levels" unit="m"  /><!-- positive=".FALSE." -->
+      <axis id="depthw" long_name="Vertical W levels" unit="m"  /><!-- positive=".FALSE." -->
+      <axis id="nfloat" long_name="Float number"      unit="-"  />
+   </axis_definition> 
     
-    <grid_definition>
-      <grid id="grid_T" description="grid T" >
-    <!--   Eq section   -->
-	<zoom id="EqT" ibegin="1" jbegin="0000" ni="0000" nj="1" />
-    <!--   TAO   -->
-      <!--   137e   -->
-	<zoom id="2n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   147e   -->
-	<zoom id="0n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   156e   -->
-	<zoom id="5s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   165e   -->
-	<zoom id="8s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   180w   -->
-	<zoom id="8s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   170w   -->
-	<zoom id="8s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   155w   -->
-	<zoom id="8s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   140w   -->
-	<zoom id="8s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   125w   -->
-	<zoom id="8s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   110w   -->
-	<zoom id="8s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   95w   -->
-	<zoom id="8s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-    <!--   RAMA   -->
-      <!--   55e   -->
-	<zoom id="16s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
- 	<zoom id="8s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5s55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   65e   -->
-	<zoom id="15n65eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   67e   -->
-	<zoom id="16s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5s67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   80.5e   -->
-	<zoom id="16s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5s80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   90e   -->
-	<zoom id="1.5s90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="15n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   95e   -->
-	<zoom id="16s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-    <!--   PIRATA   -->
-      <!--   38w-30w   -->
-	<zoom id="19s34wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="14s32wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s30wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n35wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="15n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="20n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   23w   -->
-	<zoom id="0n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="21n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   10w   -->
-	<zoom id="10s10wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="6s10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   0e   -->
-	<zoom id="0n0eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      </grid>
+   <domain_definition src="./domain_def.xml"/>
+   
+   <grid_definition />    
+  
+  </context>
+  
 
-      <grid id="grid_U" description="grid U" >
-    <!--   Eq section   -->
-	<zoom id="EqU" ibegin="1" jbegin="0000" ni="0000" nj="1" />
-      </grid>
+  <context id="xios">
 
-      <grid id="grid_V" description="grid V" >
-      </grid>
-
-      <grid id="grid_W" description="grid W" >
-    <!--   Eq section   -->
-	<zoom id="EqW" ibegin="1" jbegin="0000" ni="0000" nj="1" />
-      </grid>
-
-      <grid id="scalarpoint" description="scalar" >
-	<zoom id="1point" ibegin="1" jbegin="1" ni="1" nj="1" />
-      </grid>
-
-    </grid_definition>    
-    
+      <variable_definition>
+	
+     <!-- 
+        We must have buffer_size > jpi*jpj*jpk*8 (with jpi and jpj the subdomain size)
+-->
+	  <variable id="buffer_size"               type="integer">10000000</variable>
+	  <variable id="buffer_server_factor_size" type="integer">2</variable>
+	  <variable id="info_level"                type="integer">0</variable>
+	  <variable id="using_server"              type="boolean">true</variable>
+	  <variable id="using_oasis"               type="boolean">false</variable>
+	  <variable id="oasis_codes_id"            type="string" >oceanx</variable>
+	
+      </variable_definition>
+               
   </context>
-  <context id="1_nemo">
-    
-    <!-- $id$ -->
-    
-    <!-- 
-============================================================================================================
-=                                  definition of all existing variables                                    =
-=                                            DO NOT CHANGE                                                 =
-============================================================================================================
-    -->
-    
-    <field_definition level="1" prec="4" operation="ave(X)" enabled=".TRUE."> <!-- time step automaticaly defined -->
-
-      <!-- T grid -->
-      
-      <group id="grid_T" axis_ref="none" grid_ref="grid_T">
-	<field id="toce"         description="temperature"                               unit="degC" axis_ref="deptht"   />
-       	<field id="soce"         description="salinity"                                  unit="psu"  axis_ref="deptht"   />
-	<field id="sst"          description="sea surface temperature"                   unit="degC"                     />
-	<field id="sst2"         description="square of sea surface temperature"         unit="degC2"                    />
-	<field id="sstgrad"      description="module of sst gradient"                    unit="degC/m"                   />
-	<field id="sstgrad2"     description="square of module of sst gradient"          unit="degC2/m2"                 />
-	<field id="sss"          description="sea surface salinity"                      unit="psu"                      />
-	<field id="sss2"         description="square of sea surface salinity"            unit="psu2"                     />
-	<field id="ssh"          description="sea surface height"                        unit="m"                        />
-	<field id="ssh2"         description="square of sea surface height"              unit="m2"                       />
-	<field id="mldkz5"       description="mixing layer depth (Turbocline)"           unit="m"                        />
-	<field id="mldr10_1"     description="Mixed Layer Depth 0.01 ref.10m"            unit="m"                        />
-       	<field id="rhop"         description="potential density (sigma0)"                unit="kg/m3" axis_ref="deptht"  />
-	<!-- next variables available with key_diahth -->
-	<field id="mlddzt"       description="Thermocline Depth (max dT/dz)"             unit="m"                        />
-	<field id="mldr10_3"     description="Mixed Layer Depth dr=0.03 (ref.10m)"       unit="m"                        />
-	<field id="mldr0_1"      description="Mixed Layer Depth dr=0.01 (ref.surf)"      unit="m"                        />
-	<field id="mldr0_3"      description="Mixed Layer Depth dr=0.03 (ref.surf)"      unit="m"                        />
-	<field id="mld_dt02"     description="Mixed Layer Depth |dt|=0.2 (ref.10m)"      unit="m"                        />
-	<field id="topthdep"     description="Top of the thermocline dt=-0.2 (ref.10m)"  unit="m"                        />
-	<field id="pycndep"      description="Pycnocline depth dr~dt=-0.2 (ref.10m)"     unit="m"                        />
-	<field id="BLT"          description="Barrier Layer Thickness"                   unit="m"                        />
-	<field id="tinv"         description="Max of vertical invertion of temperature"  unit="degC"                     />
-	<field id="depti"        description="Depth of max. vert. inv. of temperature"   unit="m"                        />
-        <field id="20d"          description="Depth of 20C isotherm"                     unit="m"                        />
-	<field id="28d"          description="Depth of 28C isotherm"                     unit="m"                        />
-	<field id="hc300"        description="Heat content 300 m"                        unit="W"                        />
-	<!-- variables available with key_diaar5 -->
-	<field id="botpres"      description="Pressure at sea floor"                     unit="dbar"                     />
-	<field id="cellthc"      description="Cell thickness"                            unit="m"     axis_ref="deptht"  />
-    <!-- tidal composante -->
-    <field id="M2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="M2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="S2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="S2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="N2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="N2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="K1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="K1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="O1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="O1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="Q1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="Q1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="M4x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="M4y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="K2x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="K2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="P1x"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="P1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="Mfx"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="Mfy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-    <field id="Mmx"          description="M2 Elevation harmonic real part "                             unit="m"        />
-    <field id="Mmy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        />
-
-    <field id="M2x_u"          description="M2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="M2y_u"          description="M2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="S2x_u"          description="S2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="S2y_u"          description="S2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="N2x_u"          description="N2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="N2y_u"          description="N2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K1x_u"          description="K1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="K1y_u"          description="K1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="O1x_u"          description="O1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="O1y_u"          description="O1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Q1x_u"          description="Q1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="Q1y_u"          description="Q1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="M4x_u"          description="M4 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="M4y_u"          description="M4 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K2x_u"          description="K2 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="K2y_u"          description="K2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="P1x_u"          description="P1 current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="P1y_u"          description="P1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mfx_u"          description="Mf current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="Mfy_u"          description="Mf current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mmx_u"          description="Mm current barotrope along i-axis harmonic real part "      unit="m/s"        />
-    <field id="Mmy_u"          description="Mm current barotrope along i-axis harmonic imaginary part " unit="m/s"        />
-
-    <field id="M2x_v"          description="M2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="M2y_v"          description="M2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="S2x_v"          description="S2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="S2y_v"          description="S2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="N2x_v"          description="N2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="N2y_v"          description="N2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K1x_v"          description="K1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="K1y_v"          description="K1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="O1x_v"          description="O1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="O1y_v"          description="O1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Q1x_v"          description="Q1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="Q1y_v"          description="Q1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="M4x_v"          description="M4 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="M4y_v"          description="M4 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="K2x_v"          description="K2 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="K2y_v"          description="K2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="P1x_v"          description="P1 current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="P1y_v"          description="P1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mfx_v"          description="Mf current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="Mfy_v"          description="Mf current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-    <field id="Mmx_v"          description="Mm current barotrope along j-axis harmonic real part "      unit="m/s"        />
-    <field id="Mmy_v"          description="Mm current barotrope along j-axis harmonic imaginary part " unit="m/s"        />
-     </group>
-
-      <!-- SBC -->
-      
-      <group id="SBC" axis_ref="none" grid_ref="grid_T" > <!-- time step automaticaly defined based on nn_fsbc -->
-
-	<field id="empmr"        description="Net Upward Water Flux"                                        unit="kg/m2/s"  />
-       <field id="saltflx"      description="Downward salt flux"                                          unit="PSU/m2/s"  />
-	<field id="snowpre"      description="Snow precipitation"                                           unit="kg/m2/s"  />
-	<field id="runoffs"      description="River Runoffs"                                                unit="Kg/m2/s"  />
-
-	<field id="qt"           description="Net Downward Heat Flux"                                       unit="W/m2"     />
-	<field id="qns"          description="non solar Downward Heat Flux"                                 unit="W/m2"     />
-	<field id="qsr"          description="Shortwave Radiation"                                          unit="W/m2"     />
-	<field id="qsr3d"        description="Shortwave Radiation 3D distribution"        axis_ref="deptht" unit="W/m2"     />
-	<field id="qrp"          description="Surface Heat Flux: Damping"                                   unit="W/m2"     />
-	<field id="erp"          description="Surface Water Flux: Damping"                                  unit="Kg/m2/s"  />
-	<field id="taum"         description="wind stress module"                                           unit="N/m2"     />
-	<field id="wspd"         description="Wind speed module at 10 m"                                    unit="m/s"      />
-	
-	<!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn -->
-	<field id="ssh_ib"       description="Inverse barometer sea surface height"                         unit="m"        />
-
-	<!-- *_oce variables available with ln_blk_clio or ln_blk_core -->
-	<field id="qns_oce"      description="Non solar Downward Heat Flux over open ocean"                 unit="W/m2"     />
-	<field id="qlw_oce"      description="Longwave Downward Heat Flux over open ocean"                  unit="W/m2"     />
-	<field id="qsb_oce"      description="Sensible Downward Heat Flux over open ocean"                  unit="W/m2"     />
-	<field id="qla_oce"      description="Latent Downward Heat Flux over open ocean"                    unit="W/m2"     />
-        <field id="qhc_oce"      description="Downward Heat Content of E-P over open ocean"                 unit="W/m2"     />
-	<field id="taum_oce"     description="wind stress module over open ocean"                           unit="N/m2"     />
-
-	<field id="ice_cover"    description="Ice fraction"                                                 unit="1"        />
-
-	<field id="ioceflxb"     description="Oceanic flux at the ice base"                                 unit="W/m2"     />
-	<field id="qsr_ai_cea"   description="Air-Ice downward solar heat flux (cell average)"              unit="W/m2"     />
-	<field id="qns_ai_cea"   description="Air-Ice downward non-solar heat flux (cell average)"          unit="W/m2"     />
-	<field id="qla_ai_cea"   description="Air-Ice downward Latent heat flux (cell average)"             unit="W/m2"     />
-	
-	<field id="qsr_io_cea"   description="Ice-Oce downward solar heat flux (cell average)"              unit="W/m2"     />
-	<field id="qns_io_cea"   description="Ice-Oce downward non-solar heat flux (cell average)"          unit="W/m2"     />
-	
-	<field id="snowthic_cea" description="Snow thickness (cell average)"                                unit="m"        />
-	<field id="icethic_cea"  description="Ice thickness (cell average)"                                 unit="m"        />
-	<field id="iceprod_cea"  description="Ice production (cell average)"                                unit="m/s"      />
-	
-	<field id="ice_pres"     description="Ice presence"                                                 unit="-"        />
-	<field id="ist_cea"      description="Ice surface temperature (cell average)"                       unit="degC"     />
-	<field id="ist_ipa"      description="Ice surface temperature (ice presence average)"               unit="degC"     />      
-	<field id="uice_ipa"     description="Ice velocity along i-axis at I-point (ice presence average)"  unit="m/s"      />      
-	<field id="vice_ipa"     description="Ice velocity along j-axis at I-point (ice presence average)"  unit="m/s"      />      
-	
-	<field id="utau_ice"     description="Wind stress along i-axis over the ice at i-point"             unit="N/m2"     />
-	<field id="vtau_ice"     description="Wind stress along j-axis over the ice at i-point"             unit="N/m2"     />
-	
-	<field id="u_imasstr"    description="Sea-ice mass transport along i-axis"                          unit="kg/s"     />
-	<field id="v_imasstr"    description="Sea-ice mass transport along j-axis"                          unit="kg/s"     />
-
-        <!-- available if not defined key_vvl -->
-        <field id="emp_x_sst"      description="Concentration/Dilution term on SST"                         unit="kgC/m2/s" />
-        <field id="emp_x_sss"      description="Concentration/Dilution term on SSS"                       unit="kgPSU/m2/s" />
-	<!-- available key_coupled -->
-	<field id="snow_ao_cea"  description="Snow over ice-free ocean (cell average)"                      unit="kg/m2/s"  />
-	<field id="snow_ai_cea"  description="Snow over sea-ice (cell average)"                             unit="kg/m2/s"  />
-	<field id="subl_ai_cea"  description="Sublimation over sea-ice (cell average)"                      unit="kg/m2/s"  />
-	<field id="icealb_cea"   description="Ice albedo (cell average)"                                    unit="1"        />
-	<field id="calving"      description="Calving"                                                      unit="kg/m2/s"  />
-	<!-- available if key_coupled + conservative method -->
-	<field id="rain"         description="Liquid precipitation"                                         unit="Kg/m2/s"  />
-	<field id="evap_ao_cea"  description="Evaporation over ice-free ocean (cell average)"               unit="kg/m2/s"  />
-	<!-- variables available with key_diaar5 -->
-	<field id="isnwmlt_cea"   description="Snow over Ice melting (cell average)"                        unit="kg/m2/s"  />
-	<field id="fsal_virt_cea" description="Virtual salt flux due to ice formation (cell average)"       unit="kg/m2/s"  />
-	<field id="fsal_real_cea" description="Real salt flux due to ice formation (cell average)"          unit="kg/m2/s"  />
-	<field id="hflx_rain_cea" description="heat flux due to rainfall"                                   unit="W/m2"     />
-	<field id="hflx_evap_cea" description="heat flux due to evaporation"                                unit="W/m2"     />
-	<field id="hflx_snow_cea" description="heat flux due to snow falling over ice-free ocean"           unit="W/m2"     />
-	<field id="hflx_ice_cea"  description="heat flux due to ice thermodynamics"                         unit="W/m2"     />
-	<field id="hflx_rnf_cea"  description="heat flux due to runoffs"                                    unit="W/m2"     />
-	<field id="hflx_cal_cea"  description="heat flux due to calving"                                    unit="W/m2"     />
-	<field id="bicemel_cea"  description="Rate of Melt at Sea Ice Base (cell average)"                  unit="kg/m2/s"  />
-	<field id="licepro_cea"  description="Lateral Sea Ice Growth Rate (cell average)"                   unit="kg/m2/s"  />
-	<field id="snowmel_cea"  description="Snow Melt Rate (cell average)"                                unit="kg/m2/s"  />
-	<field id="sntoice_cea"  description="Snow-Ice Formation Rate (cell average)"                       unit="kg/m2/s"  />
-	<field id="ticemel_cea"  description="Rate of Melt at Upper Surface of Sea Ice (cell average)"      unit="kg/m2/s"  />
-
-      </group>
-
-      <!-- U grid -->
-      
-      <group id="grid_U"  axis_ref="depthu" grid_ref="grid_U">
-	<field id="utau"         description="Wind Stress along i-axis"                    unit="N/m2" axis_ref="none" />
-	<field id="uoce"         description="ocean current along i-axis"                  unit="m/s"                  />
-	<field id="uocetr_eff"   description="Effective ocean transport along i-axis"      unit="m3/s"                  />
-	<!-- uoce_eiv: available with key_traldf_eiv and key_diaeiv -->
-	<field id="uoce_eiv"     description="EIV ocean current along i-axis"              unit="m/s"                  />
-	<!-- uoce_eiv: available with key_trabbl -->
-	<field id="uoce_bbl"     description="BBL ocean current along i-axis"              unit="m/s"  axis_ref="none" />
-	<field id="ahu_bbl"      description="BBL diffusive flux along i-axis"             unit="m3/s" axis_ref="none" />
- 	<!-- variables available with key_diaar5 -->
-	<field id="u_masstr"     description="ocean eulerian mass transport along i-axis"  unit="kg/s"                 />
-	<field id="u_heattr"     description="ocean eulerian heat transport along i-axis"  unit="W"    axis_ref="none" />
-	<field id="ueiv_heattr"  description="ocean bolus heat transport along i-axis"     unit="W"    axis_ref="none" />
-	<field id="udiff_heattr" description="ocean diffusion heat transport along i-axis" unit="W"    axis_ref="none" />
-     </group>
-      
-      <!-- V grid -->
-      
-      <group id="grid_V"  axis_ref="depthv" grid_ref="grid_V">
-	<field id="vtau"         description="Wind Stress along j-axis"                    unit="N/m2" axis_ref="none" />
-	<field id="voce"         description="ocean current along j-axis"                  unit="m/s"                  />
-	<field id="vocetr_eff"   description="Effective ocean transport along j-axis"      unit="m3/s"                  />
-	<!-- voce_eiv: available with key_traldf_eiv and key_diaeiv -->
-	<field id="voce_eiv"     description="EIV ocean current along j-axis"              unit="m/s"                  />
-	<!-- voce_eiv: available with key_trabbl -->
-	<field id="voce_bbl"     description="BBL ocean current along j-axis"              unit="m/s" axis_ref="none"  />
-	<field id="ahv_bbl"      description="BBL diffusive flux along j-axis"             unit="m3/s" axis_ref="none" />
-	<!-- variables available with key_diaar5 -->
-	<field id="v_masstr"     description="ocean eulerian mass transport along j-axis"  unit="kg/s"                 />
-	<field id="v_heattr"     description="ocean eulerian heat transport along j-axis"  unit="W"    axis_ref="none" />
-	<field id="veiv_heattr"  description="ocean bolus heat transport along j-axis"     unit="W"    axis_ref="none" />
-	<field id="vdiff_heattr" description="ocean diffusion heat transport along j-axis" unit="W"    axis_ref="none" />
-      </group>
-      
-      <!-- W grid -->
-      
-      <group id="grid_W"  axis_ref="depthw" grid_ref="grid_W">
-	<field id="woce"         description="ocean vertical velocity"                     unit="m/s"                  />
-	<field id="wocetr_eff"   description="effective ocean vertical transport"          unit="m3/s"                 />
-	<!-- woce_eiv: available with key_traldf_eiv and key_diaeiv -->
-	<field id="woce_eiv"     description="EIV ocean vertical velocity"                 unit="m/s"                  />
-	<!-- woce_eiv: available with key_trabbl_adv -->
-	<field id="avt"          description="vertical eddy diffusivity"                   unit="m2/s"                 />
-	<field id="avm"          description="vertical eddy viscosity"                     unit="m2/s"                 />
-	<!-- avs: available with key_zdfddm -->
-	<field id="avs"          description="salt vertical eddy diffusivity"              unit="m2/s"                 />
-	<!-- avt_evd and avm_evd: available with ln_zdfevd -->
-	<field id="avt_evd"      description="enhanced vertical diffusivity"               unit="m2/s"                 />
-	<field id="avm_evd"      description="enhanced vertical viscosity"                 unit="m2/s"                 />
-	<!-- aht2d and  aht2d_eiv: available with key_traldf_eiv and key_traldf_c2d -->
-	<field id="aht2d"        description="lateral eddy diffusivity"                    unit="m2/s" axis_ref="none" />
-	<field id="aht2d_eiv"    description="EIV lateral eddy diffusivity"                unit="m2/s" axis_ref="none" />
-	<!-- avt_tide: available with key_zdftmx -->
-	<field id="av_tide"      description="tidal vertical diffusivity"                  unit="m2/s"                 />
-	<!-- variables available with key_diaar5 -->   
-	<field id="w_masstr"     description="vertical mass trasport"                      unit="kg/s"                 />
-	<field id="w_masstr2"    description="square of vertical mass trasport"            unit="kg2/s2"               />
-      </group>
-          
-      <!-- scalar -->
-      
-      <!-- variables available with key_diaar5 -->
-      <group id="scalar" axis_ref="none" grid_ref="scalarpoint" zoom_ref="1point" >
-	<field id="voltot"     description="global mean volume"                         unit="m3"   />
-	<field id="sshtot"     description="global mean ssh"                            unit="m"    />
-	<field id="sshsteric"  description="global mean ssh steric"                     unit="m"    />
-	<field id="sshthster"  description="global mean ssh thermosteric"               unit="m"    />
-	<field id="masstot"    description="global mean mass"                           unit="kg"   />
-	<field id="temptot"    description="global mean temperature"                    unit="degC" />
-	<field id="saltot"     description="global mean salinity"                       unit="psu"  />
-	<field id="fram_trans" description="Sea Ice Mass Transport Through Fram Strait" unit="kg/s" />
-      </group>
-
-      <!-- variables available with key_float -->
-      <group id="floatvar" axis_ref="nfloat" grid_ref="scalarpoint" zoom_ref="1point">
-        <field id="traj_lon"   description="floats longitude"   unit="deg"   operation="inst(X)" />
-        <field id="traj_lat"   description="floats latitude"    unit="deg"   operation="inst(X)"  />
-        <field id="traj_dep"   description="floats depth"       unit="m"     operation="inst(X)"  />
-        <field id="traj_temp"  description="floats temperature" unit="degC"  operation="inst(X)"  />
-        <field id="traj_salt"  description="floats salinity"    unit="psu"   operation="inst(X)"  />
-        <field id="traj_dens"  description="floats density"     unit="kg/m3" operation="inst(X)"  />
-        <field id="traj_group" description="floats group"       unit="none"  operation="inst(X)"  />
-      </group>
-
-    </field_definition>
-    
-    <!-- 
-============================================================================================================
-=                                           output files definition                                        =
-=                                            Define your own files                                         =
-=                                         put the variables you want...                                    =
-============================================================================================================
-    -->
-    
-    <file_definition >
-
-      <group id="1h" output_freq="3600"   output_level="10" enabled=".TRUE.">                      <!-- 1h files -->
-      </group>
-      
-      <group id="2h" output_freq="7200"   output_level="10" enabled=".TRUE.">                      <!-- 2h files -->
-      </group>
-      
-      <group id="3h" output_freq="10800"  output_level="10" enabled=".TRUE.">                      <!-- 3h files -->
-      </group>
-      
-      <group id="4h" output_freq="14400"  output_level="10" enabled=".TRUE.">                      <!-- 4h files -->
-      </group>
-      
-      <group id="6h" output_freq="21600"  output_level="10" enabled=".TRUE.">                      <!-- 6h files -->
-      </group>
-      
-      <group id="1d" output_freq="86400"  output_level="10" enabled=".TRUE.">                      <!-- 1d files -->
-
-    <!-- 
-............................................................................................................
-           example of 3 types of 1d files
-............................................................................................................
-    -->
-        <!-- automatic definition of the name based on id="1d_grid_T"
-             => this name is used as the radical for all file names of this group
-             => add a suffix to be sure that all files names of this group are different   -->
-        <group id="1d_grid_T" name="auto" description="ocean T grid variables" >
-          <!-- global file with different operations on data   -->
-          <file id="global" >
-            <field ref="sst"    name="sst_1d_ave"                       />     <!-- mean -->
-            <field ref="sst"    name="sst_1d_max"  operation="t_max(X)" />     <!-- max -->
-            <field ref="M2x"     name="M2_x_elev"  />
-            <field ref="M2y"     name="M2_y_elev"  />
-          </file>
-        </group>
-
-        <!-- variables available with key_float, instantaneous fields -->
-<!--
-        <file id="floats"  description="floats variables">
-            <field ref="traj_lon"   name="floats_longitude"   freq_op="86400" />
-            <field ref="traj_lat"   name="floats_latitude"    freq_op="86400" />
-            <field ref="traj_dep"   name="floats_depth"       freq_op="86400" />
-            <field ref="traj_temp"  name="floats_temperature" freq_op="86400" />
-            <field ref="traj_salt"  name="floats_salinity"    freq_op="86400" />
-            <field ref="traj_dens"  name="floats_density"     freq_op="86400" />
-            <field ref="traj_group" name="floats_group"       freq_op="86400" />
-        </file>
--->
-      </group>
-      
-      <group id="3d" output_freq="259200" output_level="10" enabled=".TRUE.">                      <!-- 3d files -->
-      </group>
-      
-      <group id="5d" output_freq="432000" output_level="10" enabled=".TRUE.">                      <!-- 5d files -->
-
-	<file id="5d_grid_T" name="auto" description="ocean T grid variables" >
-	  <field ref="toce"         name="votemper"  />
-	  <field ref="soce"         name="vosaline"  />
-	  <field ref="sst"          name="sosstsst"  />
-	  <field ref="sss"          name="sosaline"  />
-	  <field ref="ssh"          name="sossheig"  />
-	  <field ref="empmr"        name="sowaflup"  />
-	  <field ref="qsr"          name="soshfldo"  />
-	  <field ref="saltflx"      name="sosfldow"  />
-	  <field ref="qt"           name="sohefldo"  />
-	  <field ref="mldr10_1"     name="somxl010"  />
-	  <field ref="mldkz5"       name="somixhgt"  />
-	  <field ref="ice_cover"    name="soicecov"  />
-	  <field ref="wspd"         name="sowindsp"  />
-	  <field ref="qrp"          name="sohefldp"  />
-	  <field ref="erp"          name="sowafldp"  />
-	  <field ref="mlddzt"       name="sothedep"  />
-	  <field ref="20d"          name="so20chgt"  />
-	  <field ref="28d"          name="so28chgt"  />
-	  <field ref="hc300"        name="sohtc300"  />
-	  <field ref="ist_ipa"      name="soicetem"  />
-	  <field ref="icealb_cea"   name="soicealb"  />   
-	</file>
-	
-	<file id="5d_grid_U" name="auto" description="ocean U grid variables" >
-	  <field ref="uoce"         name="vozocrtx"  />
-	  <field ref="uoce_eiv"     name="vozoeivu"  />
-	  <field ref="utau"         name="sozotaux"  />
-	</file>
-	
-	<file id="5d_grid_V" name="auto" description="ocean V grid variables" >
-	  <field ref="voce"         name="vomecrty"  />
-	  <field ref="voce_eiv"     name="vomeeivv"  />
-	  <field ref="vtau"         name="sometauy"  />
-	</file>
-	
-	<file id="5d_grid_W" name="auto" description="ocean W grid variables" >
-	  <field ref="woce"         name="vovecrtz" />
-	  <field ref="woce_eiv"     name="voveeivw" />
-	  <field ref="avt"          name="votkeavt" />
-	  <field ref="avt_evd"      name="votkeevd" />
-	  <field ref="avm"          name="votkeavm" />
-	  <field ref="avm_evd"      name="votkeevm" />
-	  <field ref="avs"          name="voddmavs" />
-	  <field ref="aht2d"        name="soleahtw" />
-	  <field ref="aht2d_eiv"    name="soleaeiw" />
-	</file>
-	
-<!--	
-      <file id="5d_icemod" name="auto" description="ice variables" >
-	  <field ref="ice_pres"                     />
-	  <field ref="snowthic_cea" name="isnowthi" />
-	  <field ref="icethic_cea"  name="iicethic" />
-	  <field ref="iceprod_cea"  name="iiceprod" />
-	  <field ref="ist_ipa"      name="iicetemp" />
-	  <field ref="ioceflxb"     name="ioceflxb" />
-	  <field ref="uice_ipa"     name="iicevelu" />
-	  <field ref="vice_ipa"     name="iicevelv" />
-	  <field ref="utau_ice"     name="iicestru" />
-	  <field ref="vtau_ice"     name="iicestrv" />
-	  <field ref="qsr_io_cea"   name="iicesflx" />
-	  <field ref="qns_io_cea"   name="iicenflx" />
-	  <field ref="snowpre"      name="isnowpre" />
-	</file>
--->	
-      </group>
-      
-      <group id="1m" output_freq="-1"     output_level="10" enabled=".TRUE.">                      <!-- real monthly files -->
-
-	<file id="1m_grid_T" name="auto" description="ocean T grid variables" >
-	  <field ref="sst"          name="sosstsst"  />
-	</file>   
-
-      </group>
-
-      <group id="2m" output_freq="-2"     output_level="10" enabled=".TRUE.">                      <!-- real 2m files -->
-      </group>
-
-      <group id="3m" output_freq="-3"     output_level="10" enabled=".TRUE.">                      <!-- real 3m files -->
-      </group>
-
-      <group id="4m" output_freq="-4"     output_level="10" enabled=".TRUE.">                      <!-- real 4m files -->
-      </group>
-
-      <group id="6m" output_freq="-6"     output_level="10" enabled=".TRUE.">                      <!-- real 6m files -->
-      </group>
-
-      <group id="1y" output_freq="-12"    output_level="10" enabled=".TRUE.">                      <!-- real yearly files -->
-
-	<file id="1y_grid_T" name="auto" description="ocean T grid variables" >
-	  <field ref="mldr10_1"     name="sobowlin"  operation="t_max(X)" />
-	</file>
-
-      </group>
-
-      <group id="2y"  output_freq="-24"   output_level="10" enabled=".TRUE.">                      <!-- real 2y files -->
-      </group>
-
-      <group id="5y"  output_freq="-60"   output_level="10" enabled=".TRUE.">                      <!-- real 5y files -->
-      </group>
-
-      <group id="10y" output_freq="-120"  output_level="10" enabled=".TRUE.">                      <!-- real 10y files -->
-      </group>
-
-    </file_definition>
-    
-    <!-- 
-============================================================================================================
-=                                           grid definition                                                =
-=                                            DO NOT CHANGE                                                 =
-============================================================================================================
-    -->
-    
-    <axis_definition>  
-      <axis id="deptht" description="Vertical T levels" unit="m" positive=".false." />
-      <axis id="depthu" description="Vertical U levels" unit="m" positive=".false." />
-      <axis id="depthv" description="Vertical V levels" unit="m" positive=".false." />
-      <axis id="depthw" description="Vertical W levels" unit="m" positive=".false." />
-      <axis id="none" description="axe non defini" unit="none" size="1" />
-      <axis id="nfloat" description="Number of float"   unit="no unit" positive=".false." />
-    </axis_definition> 
-    
-    <grid_definition>
-      <grid id="grid_T" description="grid T" >
-    <!--   Eq section   -->
-	<zoom id="EqT" ibegin="1" jbegin="0000" ni="0000" nj="1" />
-    <!--   TAO   -->
-      <!--   137e   -->
-	<zoom id="2n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   147e   -->
-	<zoom id="0n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   156e   -->
-	<zoom id="5s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   165e   -->
-	<zoom id="8s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   180w   -->
-	<zoom id="8s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   170w   -->
-	<zoom id="8s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   155w   -->
-	<zoom id="8s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   140w   -->
-	<zoom id="8s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   125w   -->
-	<zoom id="8s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   110w   -->
-	<zoom id="8s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   95w   -->
-	<zoom id="8s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="2n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-    <!--   RAMA   -->
-      <!--   55e   -->
-	<zoom id="16s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
- 	<zoom id="8s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5s55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   65e   -->
-	<zoom id="15n65eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   67e   -->
-	<zoom id="16s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5s67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   80.5e   -->
-	<zoom id="16s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5s80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   90e   -->
-	<zoom id="1.5s90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="1.5n90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="15n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   95e   -->
-	<zoom id="16s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="5s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" />
-    <!--   PIRATA   -->
-      <!--   38w-30w   -->
-	<zoom id="19s34wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="14s32wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8s30wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n35wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="8n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="15n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="20n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   23w   -->
-	<zoom id="0n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="4n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="12n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="21n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   10w   -->
-	<zoom id="10s10wT" ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="6s10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-	<zoom id="0n10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      <!--   0e   -->
-	<zoom id="0n0eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" />
-      </grid>
-
-      <grid id="grid_U" description="grid U" >
-    <!--   Eq section   -->
-	<zoom id="EqU" ibegin="1" jbegin="0000" ni="0000" nj="1" />
-      </grid>
-
-      <grid id="grid_V" description="grid V" >
-      </grid>
-
-      <grid id="grid_W" description="grid W" >
-    <!--   Eq section   -->
-	<zoom id="EqW" ibegin="1" jbegin="0000" ni="0000" nj="1" />
-      </grid>
-
-      <grid id="scalarpoint" description="scalar" >
-	<zoom id="1point" ibegin="1" jbegin="1" ni="1" nj="1" />
-      </grid>
-
-    </grid_definition>    
-    
-  </context>
-
+  
 </simulation>
