New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3415 – NEMO

Changeset 3415


Ignore:
Timestamp:
2012-06-15T15:29:37+02:00 (12 years ago)
Author:
rblod
Message:

Changes for compilation and few code modifications for the new ioserver, see ticket #974

Location:
branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM
Files:
4 added
16 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/ARCH/CNRS/arch-X64_CURIE.fcm

    r3303 r3415  
    1313# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
    1414# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     15# here NETCDF_INC_DIR, HDF5_INC_DIR are variables relative to this compiler exported before 
    1516 
    1617%NCDF_INC            -I$(NETCDF_INC_DIR) 
    17 %NCDF_LIB            -L$(NETCDF_LIB_DIR) -lnetcdff -lnetcdf 
     18%NCDF_LIB            -L$(NETCDF_LIB_DIR) -L$HDF5_LIB_DIR    -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl -lstdc++ 
    1819%FC                  mpif90 -c -cpp 
    1920# for Curie Fat Node 
    20 %FCFLAGS             -i4 -r8 -fast -xSSE4.2 -automatic 
     21%FCFLAGS             -i4 -r8  
    2122# for Curie Thin Node 
    2223#%FCFLAGS             -i4 -r8 -fast -xAVX   -automatic 
     
    2829%ARFLAGS             rs 
    2930%MK                  gmake 
    30 %USER_INC            %NCDF_INC 
    31 %USER_LIB            %NCDF_LIB 
     31%USER_INC            %NCDF_INC  
     32%USER_LIB            %NCDF_LIB  
     33 
     34# Flags only needed for IOSERVER 
     35%CC      mpicc 
     36%XIO_CFLAGS    -ansi -O3 -DNONE -DXIOS_LIBRARY -diag-disable 1125 -diag-disable 279 -D BOOST_DISABLE_ASSERTS 
     37%XIO_FFLAGS    -O3 -DXIOS_LIBRARY  
     38%XIO_LD         mpif90  -nofor-main 
     39%XIO_LDFLAGS        -lstdc++ 
     40%XIO_INC       -D __NONE__ 
     41 
     42%XIO_CINC     -I$HDF5_INC_DIR -I$NETCDF_INC_DIR 
     43%XIO_FINC 
     44%XIO_LDINC     -L$(NETCDF_LIB_DIR) -L$HDF5_LIB_DIR   -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl -lstdc++   
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/GYRE/EXP00/iodef.xml

    r3294 r3415  
    11<?xml version="1.0"?> 
    2 <simulation> 
    3    
    4   <context id="nemo">  
     2<simulation>  
     3 
     4 <!--context id="nemo" calendar_type="Gregorian" start_date="1989-02-01 00:00:00"--> 
     5 <context id="nemo"    time_origin="0001-01-01 00:00:00" > 
    56     
    67    <!-- $id$ --> 
    7  
     8     
    89    <!--  
    910============================================================================================================ 
     
    1213============================================================================================================ 
    1314    --> 
    14      
    15     <field_definition level="1" prec="4" operation="ave(X)" enabled=".TRUE."> <!-- time step automaticaly defined --> 
    16  
    17       <!-- T grid --> 
    18        
    19       <group id="grid_T" axis_ref="none" grid_ref="grid_T"> 
    20    <field id="toce"         description="temperature"                               unit="degC" axis_ref="deptht"   /> 
    21          <field id="soce"         description="salinity"                                  unit="psu"  axis_ref="deptht"   /> 
    22    <field id="sst"          description="sea surface temperature"                   unit="degC"                     /> 
    23    <field id="sst2"         description="square of sea surface temperature"         unit="degC2"                    /> 
    24    <field id="sstgrad"      description="module of sst gradient"                    unit="degC/m"                   /> 
    25    <field id="sstgrad2"     description="square of module of sst gradient"          unit="degC2/m2"                 /> 
    26    <field id="sss"          description="sea surface salinity"                      unit="psu"                      /> 
    27    <field id="sss2"         description="square of sea surface salinity"            unit="psu2"                     /> 
    28    <field id="ssh"          description="sea surface height"                        unit="m"                        /> 
    29    <field id="ssh2"         description="square of sea surface height"              unit="m2"                       /> 
    30    <field id="mldkz5"       description="mixing layer depth (Turbocline)"           unit="m"                        /> 
    31    <field id="mldr10_1"     description="Mixed Layer Depth 0.01 ref.10m"            unit="m"                        /> 
    32          <field id="rhop"         description="potential density (sigma0)"                unit="kg/m3" axis_ref="deptht"  /> 
    33    <!-- next variables available with key_diahth --> 
    34    <field id="mlddzt"       description="Thermocline Depth (max dT/dz)"             unit="m"                        /> 
    35    <field id="mldr10_3"     description="Mixed Layer Depth dr=0.03 (ref.10m)"       unit="m"                        /> 
    36    <field id="mldr0_1"      description="Mixed Layer Depth dr=0.01 (ref.surf)"      unit="m"                        /> 
    37    <field id="mldr0_3"      description="Mixed Layer Depth dr=0.03 (ref.surf)"      unit="m"                        /> 
    38    <field id="mld_dt02"     description="Mixed Layer Depth |dt|=0.2 (ref.10m)"      unit="m"                        /> 
    39    <field id="topthdep"     description="Top of the thermocline dt=-0.2 (ref.10m)"  unit="m"                        /> 
    40    <field id="pycndep"      description="Pycnocline depth dr~dt=-0.2 (ref.10m)"     unit="m"                        /> 
    41    <field id="BLT"          description="Barrier Layer Thickness"                   unit="m"                        /> 
    42    <field id="tinv"         description="Max of vertical invertion of temperature"  unit="degC"                     /> 
    43    <field id="depti"        description="Depth of max. vert. inv. of temperature"   unit="m"                        /> 
    44         <field id="20d"          description="Depth of 20C isotherm"                     unit="m"                        /> 
    45    <field id="28d"          description="Depth of 28C isotherm"                     unit="m"                        /> 
    46    <field id="hc300"        description="Heat content 300 m"                        unit="W"                        /> 
    47    <!-- variables available with key_diaar5 --> 
    48    <field id="botpres"      description="Pressure at sea floor"                     unit="dbar"                     /> 
    49    <field id="cellthc"      description="Cell thickness"                            unit="m"     axis_ref="deptht"  /> 
    50      </group> 
    51  
    52       <!-- SBC --> 
    53        
    54       <group id="SBC" axis_ref="none" grid_ref="grid_T" > <!-- time step automaticaly defined based on nn_fsbc --> 
    55  
    56    <field id="empmr"        description="Net Upward Water Flux"                                        unit="kg/m2/s"  /> 
    57    <field id="empsmr"       description="concentration/dilution water flux"                            unit="kg/m2/s"  /> 
    58    <field id="snowpre"      description="Snow precipitation"                                           unit="kg/m2/s"  /> 
    59    <field id="runoffs"      description="River Runoffs"                                                unit="Kg/m2/s"  /> 
    60  
    61    <field id="qt"           description="Net Downward Heat Flux"                                       unit="W/m2"     /> 
    62    <field id="qns"          description="non solar Downward Heat Flux"                                 unit="W/m2"     /> 
    63    <field id="qsr"          description="Shortwave Radiation"                                          unit="W/m2"     /> 
    64    <field id="qsr3d"        description="Shortwave Radiation 3D distribution"        axis_ref="deptht" unit="W/m2"     /> 
    65    <field id="qrp"          description="Surface Heat Flux: Damping"                                   unit="W/m2"     /> 
    66    <field id="erp"          description="Surface Water Flux: Damping"                                  unit="Kg/m2/s"  /> 
    67    <field id="taum"         description="wind stress module"                                           unit="N/m2"     /> 
    68    <field id="wspd"         description="Wind speed module at 10 m"                                    unit="m/s"      /> 
    69  
    70         <!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn --> 
    71         <field id="ssh_ib"       description="Inverse barometer sea surface height"                         unit="m"        /> 
    72     
    73    <!-- *_oce variables available with ln_blk_clio or ln_blk_core --> 
    74    <field id="qns_oce"      description="Non solar Downward Heat Flux over open ocean"                 unit="W/m2"     /> 
    75    <field id="qlw_oce"      description="Longwave Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    76    <field id="qsb_oce"      description="Sensible Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    77    <field id="qla_oce"      description="Latent Downward Heat Flux over open ocean"                    unit="W/m2"     /> 
    78    <field id="taum_oce"     description="wind stress module over open ocean"                           unit="N/m2"     /> 
    79  
    80    <field id="ice_cover"    description="Ice fraction"                                                 unit="1"        /> 
    81  
    82    <field id="ioceflxb"     description="Oceanic flux at the ice base"                                 unit="W/m2"     /> 
    83    <field id="qsr_ai_cea"   description="Air-Ice downward solar heat flux (cell average)"              unit="W/m2"     /> 
    84    <field id="qns_ai_cea"   description="Air-Ice downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
    85    <field id="qla_ai_cea"   description="Air-Ice downward Latent heat flux (cell average)"             unit="W/m2"     /> 
    86     
    87    <field id="qsr_io_cea"   description="Ice-Oce downward solar heat flux (cell average)"              unit="W/m2"     /> 
    88    <field id="qns_io_cea"   description="Ice-Oce downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
    89     
    90    <field id="snowthic_cea" description="Snow thickness (cell average)"                                unit="m"        /> 
    91    <field id="icethic_cea"  description="Ice thickness (cell average)"                                 unit="m"        /> 
    92    <field id="iceprod_cea"  description="Ice production (cell average)"                                unit="m/s"      /> 
    93     
    94    <field id="ice_pres"     description="Ice presence"                                                 unit="-"        /> 
    95    <field id="ist_cea"      description="Ice surface temperature (cell average)"                       unit="degC"     /> 
    96    <field id="ist_ipa"      description="Ice surface temperature (ice presence average)"               unit="degC"     />       
    97    <field id="uice_ipa"     description="Ice velocity along i-axis at I-point (ice presence average)"  unit="m/s"      />       
    98    <field id="vice_ipa"     description="Ice velocity along j-axis at I-point (ice presence average)"  unit="m/s"      />       
    99     
    100    <field id="utau_ice"     description="Wind stress along i-axis over the ice at i-point"             unit="N/m2"     /> 
    101    <field id="vtau_ice"     description="Wind stress along j-axis over the ice at i-point"             unit="N/m2"     /> 
    102     
    103    <field id="u_imasstr"    description="Sea-ice mass transport along i-axis"                          unit="kg/s"     /> 
    104    <field id="v_imasstr"    description="Sea-ice mass transport along j-axis"                          unit="kg/s"     /> 
    105  
    106    <!-- available key_coupled --> 
    107    <field id="snow_ao_cea"  description="Snow over ice-free ocean (cell average)"                      unit="kg/m2/s"  /> 
    108    <field id="snow_ai_cea"  description="Snow over sea-ice (cell average)"                             unit="kg/m2/s"  /> 
    109    <field id="subl_ai_cea"  description="Sublimation over sea-ice (cell average)"                      unit="kg/m2/s"  /> 
    110    <field id="icealb_cea"   description="Ice albedo (cell average)"                                    unit="1"        /> 
    111    <field id="calving"      description="Calving"                                                      unit="kg/m2/s"  /> 
    112    <!-- available if key_coupled + conservative method --> 
    113    <field id="rain"         description="Liquid precipitation"                                         unit="Kg/m2/s"  /> 
    114    <field id="evap_ao_cea"  description="Evaporation over ice-free ocean (cell average)"               unit="kg/m2/s"  /> 
    115    <!-- variables available with key_diaar5 --> 
    116    <field id="isnwmlt_cea"   description="Snow over Ice melting (cell average)"                        unit="kg/m2/s"  /> 
    117    <field id="fsal_virt_cea" description="Virtual salt flux due to ice formation (cell average)"       unit="kg/m2/s"  /> 
    118    <field id="fsal_real_cea" description="Real salt flux due to ice formation (cell average)"          unit="kg/m2/s"  /> 
    119    <field id="hflx_rain_cea" description="heat flux due to rainfall"                                   unit="W/m2"     /> 
    120    <field id="hflx_evap_cea" description="heat flux due to evaporation"                                unit="W/m2"     /> 
    121    <field id="hflx_snow_cea" description="heat flux due to snow falling over ice-free ocean"           unit="W/m2"     /> 
    122    <field id="hflx_ice_cea"  description="heat flux due to ice thermodynamics"                         unit="W/m2"     /> 
    123    <field id="hflx_rnf_cea"  description="heat flux due to runoffs"                                    unit="W/m2"     /> 
    124    <field id="hflx_cal_cea"  description="heat flux due to calving"                                    unit="W/m2"     /> 
    125    <field id="bicemel_cea"  description="Rate of Melt at Sea Ice Base (cell average)"                  unit="kg/m2/s"  /> 
    126    <field id="licepro_cea"  description="Lateral Sea Ice Growth Rate (cell average)"                   unit="kg/m2/s"  /> 
    127    <field id="snowmel_cea"  description="Snow Melt Rate (cell average)"                                unit="kg/m2/s"  /> 
    128    <field id="sntoice_cea"  description="Snow-Ice Formation Rate (cell average)"                       unit="kg/m2/s"  /> 
    129    <field id="ticemel_cea"  description="Rate of Melt at Upper Surface of Sea Ice (cell average)"      unit="kg/m2/s"  /> 
    130  
    131       </group> 
    132  
    133       <!-- U grid --> 
    134        
    135       <group id="grid_U"  axis_ref="depthu" grid_ref="grid_U"> 
    136    <field id="utau"         description="Wind Stress along i-axis"                    unit="N/m2" axis_ref="none" /> 
    137    <field id="uoce"         description="ocean current along i-axis"                  unit="m/s"                  /> 
    138    <field id="uocetr_eff"   description="Effective ocean transport along i-axis"      unit="m3/s"                 /> 
    139    <!-- uoce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    140    <field id="uoce_eiv"     description="EIV ocean current along i-axis"              unit="m/s"                  /> 
    141    <!-- uoce_eiv: available with key_trabbl --> 
    142    <field id="uoce_bbl"     description="BBL ocean current along i-axis"              unit="m/s"                  /> 
    143    <field id="ahu_bbl"      description="BBL diffusive flux along i-axis"             unit="m3/s" axis_ref="none" /> 
    144    <!-- variables available with key_diaar5 --> 
    145    <field id="u_masstr"     description="ocean eulerian mass transport along i-axis"  unit="kg/s"                 /> 
    146    <field id="u_heattr"     description="ocean eulerian heat transport along i-axis"  unit="W"    axis_ref="none" /> 
    147    <field id="ueiv_heattr"  description="ocean bolus heat transport along i-axis"     unit="W"    axis_ref="none" /> 
    148    <field id="udiff_heattr" description="ocean diffusion heat transport along i-axis" unit="W"    axis_ref="none" /> 
    149      </group> 
    150        
    151       <!-- V grid --> 
    152        
    153       <group id="grid_V"  axis_ref="depthv" grid_ref="grid_V"> 
    154    <field id="vtau"         description="Wind Stress along j-axis"                    unit="N/m2" axis_ref="none" /> 
    155    <field id="voce"         description="ocean current along j-axis"                  unit="m/s"                  /> 
    156    <field id="vocetr_eff"   description="Effective ocean transport along j-axis"      unit="m3/s"                 /> 
    157    <!-- voce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    158    <field id="voce_eiv"     description="EIV ocean current along j-axis"              unit="m/s"                  /> 
    159    <!-- voce_eiv: available with key_trabbl --> 
    160    <field id="voce_bbl"     description="BBL ocean current along j-axis"              unit="m/s"                  /> 
    161    <field id="ahv_bbl"      description="BBL diffusive flux along j-axis"             unit="m3/s" axis_ref="none" /> 
    162    <!-- variables available with key_diaar5 --> 
    163    <field id="v_masstr"     description="ocean eulerian mass transport along j-axis"  unit="kg/s"                 /> 
    164    <field id="v_heattr"     description="ocean eulerian heat transport along j-axis"  unit="W"    axis_ref="none" /> 
    165    <field id="veiv_heattr"  description="ocean bolus heat transport along j-axis"     unit="W"    axis_ref="none" /> 
    166    <field id="vdiff_heattr" description="ocean diffusion heat transport along j-axis" unit="W"    axis_ref="none" /> 
    167       </group> 
    168        
    169       <!-- W grid --> 
    170        
    171       <group id="grid_W"  axis_ref="depthw" grid_ref="grid_W"> 
    172    <field id="woce"         description="ocean vertical velocity"                     unit="m/s"                  /> 
    173    <field id="wocetr_eff"   description="effective ocean vertical transport"          unit="m3/s"                 /> 
    174    <!-- woce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    175    <field id="woce_eiv"     description="EIV ocean vertical velocity"                 unit="m/s"                  /> 
    176    <!-- woce_eiv: available with key_trabbl_adv --> 
    177    <field id="avt"          description="vertical eddy diffusivity"                   unit="m2/s"                 /> 
    178    <field id="avm"          description="vertical eddy viscosity"                     unit="m2/s"                 /> 
    179    <!-- avs: available with key_zdfddm --> 
    180    <field id="avs"          description="salt vertical eddy diffusivity"              unit="m2/s"                 /> 
    181    <!-- avt_evd and avm_evd: available with ln_zdfevd --> 
    182    <field id="avt_evd"      description="enhanced vertical diffusivity"               unit="m2/s"                 /> 
    183    <field id="avm_evd"      description="enhanced vertical viscosity"                 unit="m2/s"                 /> 
    184    <!-- aht2d and  aht2d_eiv: available with key_traldf_eiv and key_traldf_c2d --> 
    185    <field id="aht2d"        description="lateral eddy diffusivity"                    unit="m2/s" axis_ref="none" /> 
    186    <field id="aht2d_eiv"    description="EIV lateral eddy diffusivity"                unit="m2/s" axis_ref="none" /> 
    187    <!-- avt_tide: available with key_zdftmx --> 
    188    <field id="av_tide"      description="tidal vertical diffusivity"                  unit="m2/s"                 /> 
    189    <!-- variables available with key_diaar5 -->    
    190    <field id="w_masstr"     description="vertical mass trasport"                      unit="kg/s"                 /> 
    191    <field id="w_masstr2"    description="square of vertical mass trasport"            unit="kg2/s2"               /> 
    192       </group> 
    193            
    194       <!-- scalar --> 
    195        
    196       <!-- variables available with key_diaar5 --> 
    197       <group id="scalar" axis_ref="none" grid_ref="scalarpoint" zoom_ref="1point" > 
    198    <field id="voltot"     description="global mean volume"                         unit="m3"   /> 
    199    <field id="sshtot"     description="global mean ssh"                            unit="m"    /> 
    200    <field id="sshsteric"  description="global mean ssh steric"                     unit="m"    /> 
    201    <field id="sshthster"  description="global mean ssh thermosteric"               unit="m"    /> 
    202    <field id="masstot"    description="global mean mass"                           unit="kg"   /> 
    203    <field id="temptot"    description="global mean temperature"                    unit="degC" /> 
    204    <field id="saltot"     description="global mean salinity"                       unit="psu"  /> 
    205    <field id="fram_trans" description="Sea Ice Mass Transport Through Fram Strait" unit="kg/s" /> 
    206       </group> 
    207  
    208       <!-- variables available with key_float --> 
    209       <group id="floatvar" axis_ref="nfloat" grid_ref="scalarpoint" zoom_ref="1point"> 
    210         <field id="traj_lon"   description="floats longitude"   unit="deg"  operation="inst(X)" /> 
    211         <field id="traj_lat"   description="floats latitude"    unit="deg"   /> 
    212         <field id="traj_dep"   description="floats depth"       unit="m"     /> 
    213         <field id="traj_temp"  description="floats temperature" unit="degC"  /> 
    214         <field id="traj_salt"  description="floats salinity"    unit="psu"   /> 
    215         <field id="traj_dens"  description="floats density"     unit="kg/m3" /> 
    216         <field id="traj_group" description="floats group"       unit="none"  /> 
    217       </group> 
    218  
    219  
    220     </field_definition> 
    221  
     15    <field_definition src="./field_def.xml"/> 
    22216    <!--  
    22317============================================================================================================ 
     
    22721============================================================================================================ 
    22822    --> 
    229     <file_definition > 
     23     
     24    <file_definition type="multi_file" sync_freq="1d"> 
     25     
     26      <file_group id="1h" output_freq="1h"   output_level="10" enabled=".TRUE."/> <!-- 1h files --> 
    23027 
    231       <group id="1h" output_freq="3600"   output_level="10" enabled=".TRUE.">                      <!-- 1h files --> 
    232       </group> 
     28      <file_group id="2h" output_freq="2h"   output_level="10" enabled=".FALSE."/> <!-- 2h files --> 
    23329 
    234       <group id="2h" output_freq="7200"   output_level="10" enabled=".TRUE.">                      <!-- 2h files --> 
    235       </group> 
     30      <file_group id="3h" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->      
     31      <file_group id="4h" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files --> 
     32      <file_group id="6h" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files --> 
     33      
     34      <file_group id="1d" output_freq="1d"   output_level="10" enabled=".TRUE."> <!-- 1d files --> 
    23635 
    237       <group id="3h" output_freq="10800"  output_level="10" enabled=".TRUE.">                      <!-- 3h files --> 
    238       </group> 
     36   <file id="1d_grid_T" name="auto" description="ocean T grid variables" > 
     37       <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
     38       <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
     39       <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
     40   </file> 
    23941 
    240       <group id="4h" output_freq="14400"  output_level="10" enabled=".TRUE.">                      <!-- 4h files --> 
    241       </group> 
     42   <file id="1d_grid_U" name="auto" description="ocean T grid variables" > 
     43     <field field_ref="suoce"        name="uos"      long_name="sea_surface_x_velocity"    /> 
     44          <field field_ref="utau"         name="tauuo"    long_name="surface_downward_x_stress" /> 
     45   </file> 
    24246 
    243       <group id="6h" output_freq="21600"  output_level="10" enabled=".TRUE.">                      <!-- 6h files --> 
    244       </group> 
     47   <file id="1d_grid_V" name="auto" description="ocean T grid variables" > 
     48     <field field_ref="svoce"        name="vos"      long_name="sea_surface_y_velocity"    /> 
     49          <field field_ref="vtau"         name="tauvo"    long_name="surface_downward_y_stress" /> 
     50   </file> 
    24551 
    246       <group id="1d" output_freq="86400"  output_level="10" enabled=".TRUE.">                      <!-- 1d files --> 
    247       </group> 
     52      </file_group> 
    24853 
    249       <group id="2d" output_freq="172800" output_level="10" enabled=".TRUE.">                      <!-- 2d files --> 
    250       </group> 
     54      <file_group id="3d" output_freq="3d" output_level="10" enabled=".FALSE."/> <!-- 3d files -->     
     55  
     56      <file_group id="5d" output_freq="5d" output_level="10" enabled=".FALSE.">  <!-- 5d files -->    
     57   <file_group id="5d_grid_T" name="auto" description="ocean T grid variables" > 
     58     <file id="5d_grid_T_2D" name_suffix="_2D" > 
     59       <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
     60     </file> 
     61    
     62     <file id="5d_grid_T_T3D" name_suffix="_T3D" > 
     63       <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
     64     </file> 
     65    
     66     <file id="5d_grid_T_S3D" name_suffix="_S3D" > 
     67       <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
     68     </file> 
     69        </file_group> 
     70    
     71   <file_group id="5d_grid_U" name="auto" description="ocean U grid variables" > 
     72     <file id="5d_grid_U_2D" name_suffix="_2D" > 
     73       <field field_ref="suoce"        name="uos"     long_name="sea_surface_x_velocity"    /> 
     74       <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     75     </file> 
     76    
     77     <file id="5d_grid_U_3D" name_suffix="_3D" > 
     78       <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"  /> 
     79     </file> 
     80        </file_group> 
     81    
     82   <file_group id="5d_grid_V" name="auto" description="ocean V grid variables" > 
     83     <file id="5d_grid_V_2D" name_suffix="_2D" > 
     84       <field field_ref="svoce"        name="vos"      long_name="sea_surface_y_velocity"    /> 
     85       <field field_ref="vtau"         name="tauvo"    long_name="surface_downward_y_stress" /> 
     86     </file> 
     87       
     88     <file id="5d_grid_V_3D" name_suffix="_3D" > 
     89       <field field_ref="voce"         name="vo"       long_name="sea_water_y_velocity" /> 
     90     </file> 
     91        </file_group> 
    25192 
    252       <group id="5d" output_freq="432000" output_level="10" enabled=".TRUE.">                      <!-- 5d files --> 
    253       
    254         <file id="5d_grid_T" name="auto" description="ocean T grid variables" > 
    255      <field ref="toce"         name="votemper"  /> 
    256      <field ref="soce"         name="vosaline"  /> 
    257      <field ref="sst"          name="sosstsst"  /> 
    258      <field ref="sss"          name="sosaline"  /> 
    259      <field ref="ssh"          name="sossheig"  /> 
    260      <field ref="empmr"        name="sowaflup"  /> 
    261      <field ref="qsr"          name="soshfldo"  /> 
    262      <field ref="empsmr"       name="sowaflcd"  /> 
    263      <field ref="qt"           name="sohefldo"  /> 
    264      <field ref="mldr10_1"     name="somxl010"  /> 
    265      <field ref="mldkz5"       name="somixhgt"  /> 
    266      <field ref="wspd"         name="sowindsp"  /> 
    267      <field ref="qrp"          name="sohefldp"  /> 
    268      <field ref="erp"          name="sowafldp"  /> 
    269      <field ref="mldr10_1"     name="sobowlin"  operation="t_max(X)" /> 
    270      <field ref="mlddzt"       name="sothedep"  /> 
    271      <field ref="20d"          name="so20chgt"  /> 
    272      <field ref="28d"          name="so28chgt"  /> 
    273      <field ref="hc300"        name="sohtc300"  /> 
    274         </file> 
     93   <file id="5d_grid_W" name="auto" description="ocean W grid variables" > 
     94     <field field_ref="woce"         name="wo"       long_name="ocean_vertical_velocity" /> 
     95   </file> 
    27596 
    276         <file id="5d_grid_U" name="auto" description="ocean U grid variables" > 
    277           <field ref="uoce"         name="vozocrtx"  /> 
    278           <field ref="uoce_eiv"     name="vozoeivu"  /> 
    279           <field ref="utau"         name="sozotaux"  /> 
    280         </file> 
     97      </file_group> 
    28198 
    282         <file id="5d_grid_V" name="auto" description="ocean V grid variables" > 
    283           <field ref="voce"         name="vomecrty"  />  
    284           <field ref="voce_eiv"     name="vomeeivv"  /> 
    285           <field ref="vtau"         name="sometauy"  />  
    286         </file> 
     99      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files --> 
     100      <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files --> 
     101      <file_group id="3m" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files --> 
     102      <file_group id="4m" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files --> 
     103      <file_group id="6m" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files --> 
    287104 
    288         <file id="5d_grid_W" name="auto" description="ocean W grid variables" > 
    289           <field ref="woce"         name="vovecrtz" /> 
    290           <field ref="woce_eiv"     name="voveeivw" /> 
    291           <field ref="avt"          name="votkeavt" /> 
    292           <field ref="avt_evd"      name="votkeevd" /> 
    293           <field ref="avm"          name="votkeavm" /> 
    294           <field ref="avm_evd"      name="votkeevm" /> 
    295           <field ref="avs"          name="voddmavs" /> 
    296           <field ref="aht2d"        name="soleahtw" /> 
    297           <field ref="aht2d_eiv"    name="soleaeiw" /> 
    298         </file> 
    299  
    300         <!-- variables available with key_float, instantaneous fields --> 
    301         <file id="floats"  description="floats variables"> 
    302             <field ref="traj_lon"   name="floats_longitude"   freq_op="432000" /> 
    303             <field ref="traj_lat"   name="floats_latitude"    freq_op="432000" /> 
    304             <field ref="traj_dep"   name="floats_depth"       freq_op="432000" /> 
    305             <field ref="traj_temp"  name="floats_temperature" freq_op="432000" /> 
    306             <field ref="traj_salt"  name="floats_salinity"    freq_op="432000" /> 
    307             <field ref="traj_dens"  name="floats_density"     freq_op="432000" /> 
    308             <field ref="traj_group" name="floats_group"       freq_op="432000" /> 
    309         </file> 
    310  
    311       </group> 
    312  
    313       <group id="1m" output_freq="-1"     output_level="10" enabled=".TRUE.">                      <!-- real monthly files --> 
    314       </group> 
    315  
    316       <group id="2m" output_freq="-2"     output_level="10" enabled=".TRUE.">                      <!-- real 2m files --> 
    317       </group> 
    318  
    319       <group id="3m" output_freq="-3"     output_level="10" enabled=".TRUE.">                      <!-- real 3m files --> 
    320       </group> 
    321  
    322       <group id="4m" output_freq="-4"     output_level="10" enabled=".TRUE.">                      <!-- real 4m files --> 
    323       </group> 
    324  
    325       <group id="6m" output_freq="-6"     output_level="10" enabled=".TRUE.">                      <!-- real 6m files --> 
    326       </group> 
    327  
    328       <group id="1y" output_freq="-12"    output_level="10" enabled=".TRUE.">                      <!-- real yearly files --> 
    329       </group> 
    330  
    331       <group id="2y"  output_freq="-24"   output_level="10" enabled=".TRUE.">                      <!-- real 2y files --> 
    332       </group> 
    333  
    334       <group id="5y"  output_freq="-60"   output_level="10" enabled=".TRUE.">                      <!-- real 5y files --> 
    335       </group> 
    336  
    337       <group id="10y" output_freq="-120"  output_level="10" enabled=".TRUE.">                      <!-- real 10y files --> 
    338       </group> 
    339  
     105      <file_group id="1y"  output_freq="1y"  output_level="10" enabled=".TRUE."/> <!-- real yearly files --> 
     106      <file_group id="2y"  output_freq="2y"  output_level="10" enabled=".TRUE."/> <!-- real 2y files --> 
     107      <file_group id="5y"  output_freq="5y"  output_level="10" enabled=".TRUE."/> <!-- real 5y files --> 
     108      <file_group id="10y" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files --> 
    340109 
    341110   </file_definition> 
    342  
     111     
    343112    <!--  
    344113============================================================================================================ 
    345 =                                           grid definition                                                = 
    346 =                                            DO NOT CHANGE                                                 = 
     114= grid definition = = DO NOT CHANGE = 
    347115============================================================================================================ 
    348116    --> 
     117     
     118   <axis_definition>   
     119      <axis id="deptht" long_name="Vertical T levels" unit="m"  /><!-- positive=".FALSE." --> 
     120      <axis id="depthu" long_name="Vertical U levels" unit="m"  /><!-- positive=".FALSE." --> 
     121      <axis id="depthv" long_name="Vertical V levels" unit="m"  /><!-- positive=".FALSE." --> 
     122      <axis id="depthw" long_name="Vertical W levels" unit="m"  /><!-- positive=".FALSE." --> 
     123      <axis id="none"   long_name="axe non defini"    unit="none" value="1" size="1" /> 
     124   </axis_definition>  
     125     
     126   <domain_definition src="./domain_def.xml"/> 
     127    
     128   <grid_definition />     
     129   
     130  </context> 
     131   
    349132 
    350   <axis_definition>   
    351      <axis id="deptht" description="Vertical T levels" unit="m" positive=".false." /> 
    352      <axis id="depthu" description="Vertical U levels" unit="m" positive=".false." /> 
    353      <axis id="depthv" description="Vertical V levels" unit="m" positive=".false." /> 
    354      <axis id="depthw" description="Vertical W levels" unit="m" positive=".false." /> 
    355      <axis id="nfloat" description="Number of float"   unit="no unit" positive=".false." /> 
    356      <axis id="none" description="axe non defini" unit="none" size="1" /> 
    357   </axis_definition>  
     133  <context id="xios"> 
    358134 
    359   <grid_definition> 
    360     <grid id="grid_T" description="grid T" /> 
    361     <grid id="grid_U" description="grid U" /> 
    362     <grid id="grid_V" description="grid V" /> 
    363     <grid id="grid_W" description="grid W" /> 
    364     <grid id="scalarpoint" description="scalar" > 
    365       <zoom id="1point" ibegin="1" jbegin="1" ni="1" nj="1" /> 
    366     </grid> 
    367   </grid_definition>     
    368  
    369 </context> 
    370  
     135      <variable_definition> 
     136  
     137      <variable_group id="buffer"> 
     138   buffer_size = 1000000000 
     139   buffer_server_factor_size = 2 
     140   info_level = 0 
     141      </variable_group> 
     142       
     143      <variable_group id="coupling"> 
     144   <variable id="using_server" type="boolean">false</variable> 
     145   <variable id="using_oasis" type="boolean">false</variable> 
     146   <variable id="client_id" type="string">oceanx</variable> 
     147   <variable id="server_id" type="string">ionemo</variable> 
     148      </variable_group> 
     149             
     150    </variable_definition> 
     151     
     152  </context> 
     153   
    371154</simulation> 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/GYRE/cpp_GYRE.fcm

    r3294 r3415  
    1  bld::tool::fppkeys key_gyre key_dynspg_flt key_ldfslp key_zdftke key_iomput 
     1 bld::tool::fppkeys key_gyre key_dynspg_flt key_ldfslp key_zdftke key_mpp_mpi key_iomput 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/GYRE_LOBSTER/cpp_GYRE_LOBSTER.fcm

    r3294 r3415  
    1 bld::tool::fppkeys  key_gyre key_dynspg_flt key_ldfslp key_zdftke key_top key_lobster key_iomput  
     1bld::tool::fppkeys  key_gyre key_dynspg_flt key_ldfslp key_zdftke key_top key_lobster key_iomput key_mpp_mpi 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef.xml

    r3294 r3415  
    11<?xml version="1.0"?> 
    22<simulation>  
    3    
    4   <context id="nemo"> 
     3 
     4 <!--context id="nemo" calendar_type="Gregorian" start_date="1989-02-01 00:00:00"--> 
     5 <context id="nemo"    time_origin="0001-01-01 00:00:00" > 
    56     
    67    <!-- $id$ --> 
     
    1213============================================================================================================ 
    1314    --> 
    14      
    15     <field_definition level="1" prec="4" operation="ave(X)" enabled=".TRUE."> <!-- time step automaticaly defined --> 
    16  
    17       <!-- T grid --> 
    18        
    19       <group id="grid_T" axis_ref="none" grid_ref="grid_T"> 
    20    <field id="toce"         description="temperature"                               unit="degC" axis_ref="deptht"   /> 
    21          <field id="soce"         description="salinity"                                  unit="psu"  axis_ref="deptht"   /> 
    22    <field id="sst"          description="sea surface temperature"                   unit="degC"                     /> 
    23    <field id="sst2"         description="square of sea surface temperature"         unit="degC2"                    /> 
    24    <field id="sstgrad"      description="module of sst gradient"                    unit="degC/m"                   /> 
    25    <field id="sstgrad2"     description="square of module of sst gradient"          unit="degC2/m2"                 /> 
    26    <field id="sss"          description="sea surface salinity"                      unit="psu"                      /> 
    27    <field id="sss2"         description="square of sea surface salinity"            unit="psu2"                     /> 
    28    <field id="ssh"          description="sea surface height"                        unit="m"                        /> 
    29    <field id="ssh2"         description="square of sea surface height"              unit="m2"                       /> 
    30    <field id="mldkz5"       description="mixing layer depth (Turbocline)"           unit="m"                        /> 
    31    <field id="mldr10_1"     description="Mixed Layer Depth 0.01 ref.10m"            unit="m"                        /> 
    32          <field id="rhop"         description="potential density (sigma0)"                unit="kg/m3" axis_ref="deptht"  /> 
    33    <!-- next variables available with key_diahth --> 
    34    <field id="mlddzt"       description="Thermocline Depth (max dT/dz)"             unit="m"                        /> 
    35    <field id="mldr10_3"     description="Mixed Layer Depth dr=0.03 (ref.10m)"       unit="m"                        /> 
    36    <field id="mldr0_1"      description="Mixed Layer Depth dr=0.01 (ref.surf)"      unit="m"                        /> 
    37    <field id="mldr0_3"      description="Mixed Layer Depth dr=0.03 (ref.surf)"      unit="m"                        /> 
    38    <field id="mld_dt02"     description="Mixed Layer Depth |dt|=0.2 (ref.10m)"      unit="m"                        /> 
    39    <field id="topthdep"     description="Top of the thermocline dt=-0.2 (ref.10m)"  unit="m"                        /> 
    40    <field id="pycndep"      description="Pycnocline depth dr~dt=-0.2 (ref.10m)"     unit="m"                        /> 
    41    <field id="BLT"          description="Barrier Layer Thickness"                   unit="m"                        /> 
    42    <field id="tinv"         description="Max of vertical invertion of temperature"  unit="degC"                     /> 
    43    <field id="depti"        description="Depth of max. vert. inv. of temperature"   unit="m"                        /> 
    44         <field id="20d"          description="Depth of 20C isotherm"                     unit="m"                        /> 
    45    <field id="28d"          description="Depth of 28C isotherm"                     unit="m"                        /> 
    46    <field id="hc300"        description="Heat content 300 m"                        unit="W"                        /> 
    47    <!-- variables available with key_diaar5 --> 
    48    <field id="botpres"      description="Pressure at sea floor"                     unit="dbar"                     /> 
    49    <field id="cellthc"      description="Cell thickness"                            unit="m"     axis_ref="deptht"  /> 
    50     <!-- tidal composante --> 
    51     <field id="M2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    52     <field id="M2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    53     <field id="S2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    54     <field id="S2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    55     <field id="N2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    56     <field id="N2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    57     <field id="K1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    58     <field id="K1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    59     <field id="O1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    60     <field id="O1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    61     <field id="Q1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    62     <field id="Q1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    63     <field id="M4x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    64     <field id="M4y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    65     <field id="K2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    66     <field id="K2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    67     <field id="P1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    68     <field id="P1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    69     <field id="Mfx"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    70     <field id="Mfy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    71     <field id="Mmx"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    72     <field id="Mmy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    73  
    74     <field id="M2x_u"          description="M2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    75     <field id="M2y_u"          description="M2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    76     <field id="S2x_u"          description="S2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    77     <field id="S2y_u"          description="S2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    78     <field id="N2x_u"          description="N2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    79     <field id="N2y_u"          description="N2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    80     <field id="K1x_u"          description="K1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    81     <field id="K1y_u"          description="K1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    82     <field id="O1x_u"          description="O1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    83     <field id="O1y_u"          description="O1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    84     <field id="Q1x_u"          description="Q1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    85     <field id="Q1y_u"          description="Q1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    86     <field id="M4x_u"          description="M4 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    87     <field id="M4y_u"          description="M4 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    88     <field id="K2x_u"          description="K2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    89     <field id="K2y_u"          description="K2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    90     <field id="P1x_u"          description="P1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    91     <field id="P1y_u"          description="P1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    92     <field id="Mfx_u"          description="Mf current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    93     <field id="Mfy_u"          description="Mf current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    94     <field id="Mmx_u"          description="Mm current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    95     <field id="Mmy_u"          description="Mm current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    96  
    97     <field id="M2x_v"          description="M2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    98     <field id="M2y_v"          description="M2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    99     <field id="S2x_v"          description="S2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    100     <field id="S2y_v"          description="S2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    101     <field id="N2x_v"          description="N2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    102     <field id="N2y_v"          description="N2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    103     <field id="K1x_v"          description="K1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    104     <field id="K1y_v"          description="K1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    105     <field id="O1x_v"          description="O1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    106     <field id="O1y_v"          description="O1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    107     <field id="Q1x_v"          description="Q1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    108     <field id="Q1y_v"          description="Q1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    109     <field id="M4x_v"          description="M4 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    110     <field id="M4y_v"          description="M4 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    111     <field id="K2x_v"          description="K2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    112     <field id="K2y_v"          description="K2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    113     <field id="P1x_v"          description="P1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    114     <field id="P1y_v"          description="P1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    115     <field id="Mfx_v"          description="Mf current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    116     <field id="Mfy_v"          description="Mf current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    117     <field id="Mmx_v"          description="Mm current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    118     <field id="Mmy_v"          description="Mm current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    119      </group> 
    120  
    121       <!-- SBC --> 
    122        
    123       <group id="SBC" axis_ref="none" grid_ref="grid_T" > <!-- time step automaticaly defined based on nn_fsbc --> 
    124  
    125    <field id="empmr"        description="Net Upward Water Flux"                                        unit="kg/m2/s"  /> 
    126    <field id="empsmr"       description="concentration/dilution water flux"                            unit="kg/m2/s"  /> 
    127    <field id="snowpre"      description="Snow precipitation"                                           unit="kg/m2/s"  /> 
    128    <field id="runoffs"      description="River Runoffs"                                                unit="Kg/m2/s"  /> 
    129  
    130    <field id="qt"           description="Net Downward Heat Flux"                                       unit="W/m2"     /> 
    131    <field id="qns"          description="non solar Downward Heat Flux"                                 unit="W/m2"     /> 
    132    <field id="qsr"          description="Shortwave Radiation"                                          unit="W/m2"     /> 
    133    <field id="qsr3d"        description="Shortwave Radiation 3D distribution"        axis_ref="deptht" unit="W/m2"     /> 
    134    <field id="qrp"          description="Surface Heat Flux: Damping"                                   unit="W/m2"     /> 
    135    <field id="erp"          description="Surface Water Flux: Damping"                                  unit="Kg/m2/s"  /> 
    136    <field id="taum"         description="wind stress module"                                           unit="N/m2"     /> 
    137    <field id="wspd"         description="Wind speed module at 10 m"                                    unit="m/s"      /> 
    138     
    139    <!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn --> 
    140    <field id="ssh_ib"       description="Inverse barometer sea surface height"                         unit="m"        /> 
    141  
    142    <!-- *_oce variables available with ln_blk_clio or ln_blk_core --> 
    143    <field id="qns_oce"      description="Non solar Downward Heat Flux over open ocean"                 unit="W/m2"     /> 
    144    <field id="qlw_oce"      description="Longwave Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    145    <field id="qsb_oce"      description="Sensible Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    146    <field id="qla_oce"      description="Latent Downward Heat Flux over open ocean"                    unit="W/m2"     /> 
    147    <field id="taum_oce"     description="wind stress module over open ocean"                           unit="N/m2"     /> 
    148  
    149    <field id="ice_cover"    description="Ice fraction"                                                 unit="1"        /> 
    150  
    151    <field id="ioceflxb"     description="Oceanic flux at the ice base"                                 unit="W/m2"     /> 
    152    <field id="qsr_ai_cea"   description="Air-Ice downward solar heat flux (cell average)"              unit="W/m2"     /> 
    153    <field id="qns_ai_cea"   description="Air-Ice downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
    154    <field id="qla_ai_cea"   description="Air-Ice downward Latent heat flux (cell average)"             unit="W/m2"     /> 
    155     
    156    <field id="qsr_io_cea"   description="Ice-Oce downward solar heat flux (cell average)"              unit="W/m2"     /> 
    157    <field id="qns_io_cea"   description="Ice-Oce downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
    158     
    159    <field id="snowthic_cea" description="Snow thickness (cell average)"                                unit="m"        /> 
    160    <field id="icethic_cea"  description="Ice thickness (cell average)"                                 unit="m"        /> 
    161    <field id="iceprod_cea"  description="Ice production (cell average)"                                unit="m/s"      /> 
    162     
    163    <field id="ice_pres"     description="Ice presence"                                                 unit="-"        /> 
    164    <field id="ist_cea"      description="Ice surface temperature (cell average)"                       unit="degC"     /> 
    165    <field id="ist_ipa"      description="Ice surface temperature (ice presence average)"               unit="degC"     />       
    166    <field id="uice_ipa"     description="Ice velocity along i-axis at I-point (ice presence average)"  unit="m/s"      />       
    167    <field id="vice_ipa"     description="Ice velocity along j-axis at I-point (ice presence average)"  unit="m/s"      />       
    168     
    169    <field id="utau_ice"     description="Wind stress along i-axis over the ice at i-point"             unit="N/m2"     /> 
    170    <field id="vtau_ice"     description="Wind stress along j-axis over the ice at i-point"             unit="N/m2"     /> 
    171     
    172    <field id="u_imasstr"    description="Sea-ice mass transport along i-axis"                          unit="kg/s"     /> 
    173    <field id="v_imasstr"    description="Sea-ice mass transport along j-axis"                          unit="kg/s"     /> 
    174  
    175    <!-- available key_coupled --> 
    176    <field id="snow_ao_cea"  description="Snow over ice-free ocean (cell average)"                      unit="kg/m2/s"  /> 
    177    <field id="snow_ai_cea"  description="Snow over sea-ice (cell average)"                             unit="kg/m2/s"  /> 
    178    <field id="subl_ai_cea"  description="Sublimation over sea-ice (cell average)"                      unit="kg/m2/s"  /> 
    179    <field id="icealb_cea"   description="Ice albedo (cell average)"                                    unit="1"        /> 
    180    <field id="calving"      description="Calving"                                                      unit="kg/m2/s"  /> 
    181    <!-- available if key_coupled + conservative method --> 
    182    <field id="rain"         description="Liquid precipitation"                                         unit="Kg/m2/s"  /> 
    183    <field id="evap_ao_cea"  description="Evaporation over ice-free ocean (cell average)"               unit="kg/m2/s"  /> 
    184    <!-- variables available with key_diaar5 --> 
    185    <field id="isnwmlt_cea"   description="Snow over Ice melting (cell average)"                        unit="kg/m2/s"  /> 
    186    <field id="fsal_virt_cea" description="Virtual salt flux due to ice formation (cell average)"       unit="kg/m2/s"  /> 
    187    <field id="fsal_real_cea" description="Real salt flux due to ice formation (cell average)"          unit="kg/m2/s"  /> 
    188    <field id="hflx_rain_cea" description="heat flux due to rainfall"                                   unit="W/m2"     /> 
    189    <field id="hflx_evap_cea" description="heat flux due to evaporation"                                unit="W/m2"     /> 
    190    <field id="hflx_snow_cea" description="heat flux due to snow falling over ice-free ocean"           unit="W/m2"     /> 
    191    <field id="hflx_ice_cea"  description="heat flux due to ice thermodynamics"                         unit="W/m2"     /> 
    192    <field id="hflx_rnf_cea"  description="heat flux due to runoffs"                                    unit="W/m2"     /> 
    193    <field id="hflx_cal_cea"  description="heat flux due to calving"                                    unit="W/m2"     /> 
    194    <field id="bicemel_cea"  description="Rate of Melt at Sea Ice Base (cell average)"                  unit="kg/m2/s"  /> 
    195    <field id="licepro_cea"  description="Lateral Sea Ice Growth Rate (cell average)"                   unit="kg/m2/s"  /> 
    196    <field id="snowmel_cea"  description="Snow Melt Rate (cell average)"                                unit="kg/m2/s"  /> 
    197    <field id="sntoice_cea"  description="Snow-Ice Formation Rate (cell average)"                       unit="kg/m2/s"  /> 
    198    <field id="ticemel_cea"  description="Rate of Melt at Upper Surface of Sea Ice (cell average)"      unit="kg/m2/s"  /> 
    199       </group> 
    200  
    201       <!-- U grid --> 
    202        
    203       <group id="grid_U"  axis_ref="depthu" grid_ref="grid_U"> 
    204    <field id="utau"         description="Wind Stress along i-axis"                    unit="N/m2" axis_ref="none" /> 
    205    <field id="uoce"         description="ocean current along i-axis"                  unit="m/s"                  /> 
    206    <field id="uocetr_eff"   description="Effective ocean transport along i-axis"      unit="m3/s"                  /> 
    207    <!-- uoce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    208    <field id="uoce_eiv"     description="EIV ocean current along i-axis"              unit="m/s"                  /> 
    209    <!-- uoce_eiv: available with key_trabbl --> 
    210    <field id="uoce_bbl"     description="BBL ocean current along i-axis"              unit="m/s"  axis_ref="none" /> 
    211    <field id="ahu_bbl"      description="BBL diffusive flux along i-axis"             unit="m3/s" axis_ref="none" /> 
    212    <!-- variables available with key_diaar5 --> 
    213    <field id="u_masstr"     description="ocean eulerian mass transport along i-axis"  unit="kg/s"                 /> 
    214    <field id="u_heattr"     description="ocean eulerian heat transport along i-axis"  unit="W"    axis_ref="none" /> 
    215    <field id="ueiv_heattr"  description="ocean bolus heat transport along i-axis"     unit="W"    axis_ref="none" /> 
    216    <field id="udiff_heattr" description="ocean diffusion heat transport along i-axis" unit="W"    axis_ref="none" /> 
    217      </group> 
    218        
    219       <!-- V grid --> 
    220        
    221       <group id="grid_V"  axis_ref="depthv" grid_ref="grid_V"> 
    222    <field id="vtau"         description="Wind Stress along j-axis"                    unit="N/m2" axis_ref="none" /> 
    223    <field id="voce"         description="ocean current along j-axis"                  unit="m/s"                  /> 
    224    <field id="vocetr_eff"   description="Effective ocean transport along j-axis"      unit="m3/s"                  /> 
    225    <!-- voce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    226    <field id="voce_eiv"     description="EIV ocean current along j-axis"              unit="m/s"                  /> 
    227    <!-- voce_eiv: available with key_trabbl --> 
    228    <field id="voce_bbl"     description="BBL ocean current along j-axis"              unit="m/s" axis_ref="none"  /> 
    229    <field id="ahv_bbl"      description="BBL diffusive flux along j-axis"             unit="m3/s" axis_ref="none" /> 
    230    <!-- variables available with key_diaar5 --> 
    231    <field id="v_masstr"     description="ocean eulerian mass transport along j-axis"  unit="kg/s"                 /> 
    232    <field id="v_heattr"     description="ocean eulerian heat transport along j-axis"  unit="W"    axis_ref="none" /> 
    233    <field id="veiv_heattr"  description="ocean bolus heat transport along j-axis"     unit="W"    axis_ref="none" /> 
    234    <field id="vdiff_heattr" description="ocean diffusion heat transport along j-axis" unit="W"    axis_ref="none" /> 
    235       </group> 
    236        
    237       <!-- W grid --> 
    238        
    239       <group id="grid_W"  axis_ref="depthw" grid_ref="grid_W"> 
    240    <field id="woce"         description="ocean vertical velocity"                     unit="m/s"                  /> 
    241    <field id="wocetr_eff"   description="effective ocean vertical transport"          unit="m3/s"                 /> 
    242    <!-- woce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    243    <field id="woce_eiv"     description="EIV ocean vertical velocity"                 unit="m/s"                  /> 
    244    <!-- woce_eiv: available with key_trabbl_adv --> 
    245    <field id="avt"          description="vertical eddy diffusivity"                   unit="m2/s"                 /> 
    246    <field id="avm"          description="vertical eddy viscosity"                     unit="m2/s"                 /> 
    247    <!-- avs: available with key_zdfddm --> 
    248    <field id="avs"          description="salt vertical eddy diffusivity"              unit="m2/s"                 /> 
    249    <!-- avt_evd and avm_evd: available with ln_zdfevd --> 
    250    <field id="avt_evd"      description="enhanced vertical diffusivity"               unit="m2/s"                 /> 
    251    <field id="avm_evd"      description="enhanced vertical viscosity"                 unit="m2/s"                 /> 
    252    <!-- aht2d and  aht2d_eiv: available with key_traldf_eiv and key_traldf_c2d --> 
    253    <field id="aht2d"        description="lateral eddy diffusivity"                    unit="m2/s" axis_ref="none" /> 
    254    <field id="aht2d_eiv"    description="EIV lateral eddy diffusivity"                unit="m2/s" axis_ref="none" /> 
    255    <!-- avt_tide: available with key_zdftmx --> 
    256    <field id="av_tide"      description="tidal vertical diffusivity"                  unit="m2/s"                 /> 
    257    <!-- variables available with key_diaar5 -->    
    258    <field id="w_masstr"     description="vertical mass trasport"                      unit="kg/s"                 /> 
    259    <field id="w_masstr2"    description="square of vertical mass trasport"            unit="kg2/s2"               /> 
    260       </group> 
    261            
    262       <!-- scalar --> 
    263        
    264       <!-- variables available with key_diaar5 --> 
    265       <group id="scalar" axis_ref="none" grid_ref="scalarpoint" zoom_ref="1point" > 
    266    <field id="voltot"     description="global mean volume"                         unit="m3"   /> 
    267    <field id="sshtot"     description="global mean ssh"                            unit="m"    /> 
    268    <field id="sshsteric"  description="global mean ssh steric"                     unit="m"    /> 
    269    <field id="sshthster"  description="global mean ssh thermosteric"               unit="m"    /> 
    270    <field id="masstot"    description="global mean mass"                           unit="kg"   /> 
    271    <field id="temptot"    description="global mean temperature"                    unit="degC" /> 
    272    <field id="saltot"     description="global mean salinity"                       unit="psu"  /> 
    273    <field id="fram_trans" description="Sea Ice Mass Transport Through Fram Strait" unit="kg/s" /> 
    274       </group> 
    275  
    276  
    277       <!-- variables available with key_float --> 
    278       <group id="floatvar" axis_ref="nfloat" grid_ref="scalarpoint" zoom_ref="1point"> 
    279         <field id="traj_lon"   description="floats longitude"   unit="deg"   operation="inst(X)" /> 
    280         <field id="traj_lat"   description="floats latitude"    unit="deg"   operation="inst(X)"  /> 
    281         <field id="traj_dep"   description="floats depth"       unit="m"     operation="inst(X)"  /> 
    282         <field id="traj_temp"  description="floats temperature" unit="degC"  operation="inst(X)"  /> 
    283         <field id="traj_salt"  description="floats salinity"    unit="psu"   operation="inst(X)"  /> 
    284         <field id="traj_dens"  description="floats density"     unit="kg/m3" operation="inst(X)"  /> 
    285         <field id="traj_group" description="floats group"       unit="none"  operation="inst(X)"  /> 
    286       </group> 
    287  
    288     </field_definition> 
    289  
     15    <field_definition src="./field_def.xml"/> 
    29016    <!--  
    29117============================================================================================================ 
     
    29622    --> 
    29723     
    298     <file_definition > 
     24    <file_definition type="multi_file" sync_freq="1d"> 
     25     
     26      <file_group id="1h" output_freq="1h"   output_level="10" enabled=".TRUE."/> <!-- 1h files --> 
    29927 
    300       <group id="1h" output_freq="3600"   output_level="10" enabled=".TRUE.">                      <!-- 1h files --> 
    301       </group> 
    302        
    303       <group id="2h" output_freq="7200"   output_level="10" enabled=".TRUE.">                      <!-- 2h files --> 
    304       </group> 
    305        
    306       <group id="3h" output_freq="10800"  output_level="10" enabled=".TRUE.">                      <!-- 3h files --> 
    307       </group> 
    308        
    309       <group id="4h" output_freq="14400"  output_level="10" enabled=".TRUE.">                      <!-- 4h files --> 
    310       </group> 
    311        
    312       <group id="6h" output_freq="21600"  output_level="10" enabled=".TRUE.">                      <!-- 6h files --> 
    313       </group> 
    314        
    315       <group id="1d" output_freq="86400"  output_level="10" enabled=".TRUE.">                      <!-- 1d files --> 
     28      <file_group id="2h" output_freq="2h"   output_level="10" enabled=".FALSE."/> <!-- 2h files --> 
    31629 
    317     <!--  
    318 ............................................................................................................ 
    319            example of 3 types of 1d files 
    320 ............................................................................................................ 
    321     --> 
    322    <!-- automatic definition of the name based on id="1d_grid_T"  
    323         => this name is used as the radical for all file names of this group 
    324         => add a suffix to be sure that all files names of this group are different   --> 
    325    <group id="1d_grid_T" name="auto" description="ocean T grid variables" > 
    326      <!-- mooring: automatic definition of the file name suffix based on id="0n180wT"  --> 
    327      <file id="0n180wT" name_suffix="auto" > 
    328        <group id="0n180wT" zoom_ref="0n180wT" >    <!-- group of variables sharing the same zoom --> 
    329          <field ref="toce" name="votemper"  /> 
    330          <field ref="uoce" name="vozocrtx"  />     <!-- include a U-grid variable in the list => switch to T-grid --> 
    331        </group> 
    332      </file> 
    333      <!-- Equatorial section: automatic definition of the file name suffix based on id="EqT" --> 
    334      <file id="EqT" name_suffix="auto" > 
    335        <group id="EqT" zoom_ref="EqT" > 
    336          <field ref="toce" name="votemper"  /> 
    337        </group> 
    338      </file> 
    339      <!-- global file with different operations on data   --> 
    340      <file id="global" > 
    341        <field ref="sst"    name="sst_1d_ave"                       />     <!-- mean --> 
    342        <field ref="sst"    name="sst_1d_max"  operation="t_max(X)" />     <!-- max --> 
    343             <field ref="M2x"     name="M2_x_elev"  /> 
    344             <field ref="M2y"     name="M2_y_elev"  /> 
    345      </file> 
    346    </group> 
     30      <file_group id="3h" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->      
     31      <file_group id="4h" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files --> 
     32      <file_group id="6h" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files --> 
     33      
     34      <file_group id="1d" output_freq="1d"   output_level="10" enabled=".TRUE."> <!-- 1d files --> 
    34735 
    348         <!-- variables available with key_float, instantaneous fields --> 
    349 <!-- 
    350         <file id="floats"  description="floats variables"> 
    351             <field ref="traj_lon"   name="floats_longitude"   freq_op="86400" /> 
    352             <field ref="traj_lat"   name="floats_latitude"    freq_op="86400" /> 
    353             <field ref="traj_dep"   name="floats_depth"       freq_op="86400" /> 
    354             <field ref="traj_temp"  name="floats_temperature" freq_op="86400" /> 
    355             <field ref="traj_salt"  name="floats_salinity"    freq_op="86400" /> 
    356             <field ref="traj_dens"  name="floats_density"     freq_op="86400" /> 
    357             <field ref="traj_group" name="floats_group"       freq_op="86400" /> 
    358         </file> 
    359 --> 
    360       </group> 
    361        
    362       <group id="3d" output_freq="259200" output_level="10" enabled=".TRUE.">                      <!-- 3d files --> 
    363       </group> 
    364        
    365       <group id="5d" output_freq="432000" output_level="10" enabled=".TRUE.">                      <!-- 5d files --> 
    366  
    367    <file id="5d_grid_T" name="auto" description="ocean T grid variables" > 
    368      <field ref="toce"         name="votemper"  /> 
    369      <field ref="soce"         name="vosaline"  /> 
    370      <field ref="sst"          name="sosstsst"  /> 
    371      <field ref="sss"          name="sosaline"  /> 
    372      <field ref="ssh"          name="sossheig"  /> 
    373      <field ref="empmr"        name="sowaflup"  /> 
    374      <field ref="qsr"          name="soshfldo"  /> 
    375      <field ref="empsmr"       name="sowaflcd"  /> 
    376      <field ref="qt"           name="sohefldo"  /> 
    377      <field ref="mldr10_1"     name="somxl010"  /> 
    378      <field ref="mldkz5"       name="somixhgt"  /> 
    379      <field ref="ice_cover"    name="soicecov"  /> 
    380      <field ref="wspd"         name="sowindsp"  /> 
    381      <field ref="qrp"          name="sohefldp"  /> 
    382      <field ref="erp"          name="sowafldp"  /> 
    383      <field ref="mlddzt"       name="sothedep"  /> 
    384      <field ref="20d"          name="so20chgt"  /> 
    385      <field ref="28d"          name="so28chgt"  /> 
    386      <field ref="hc300"        name="sohtc300"  /> 
    387      <field ref="ist_ipa"      name="soicetem"  /> 
    388      <field ref="icealb_cea"   name="soicealb"  />    
    389    </file> 
    390     
    391    <file id="5d_grid_U" name="auto" description="ocean U grid variables" > 
    392      <field ref="uoce"         name="vozocrtx"  /> 
    393      <field ref="uoce_eiv"     name="vozoeivu"  /> 
    394      <field ref="utau"         name="sozotaux"  /> 
    395    </file> 
    396     
    397    <file id="5d_grid_V" name="auto" description="ocean V grid variables" > 
    398      <field ref="voce"         name="vomecrty"  /> 
    399      <field ref="voce_eiv"     name="vomeeivv"  /> 
    400      <field ref="vtau"         name="sometauy"  /> 
    401    </file> 
    402     
    403    <file id="5d_grid_W" name="auto" description="ocean W grid variables" > 
    404      <field ref="woce"         name="vovecrtz" /> 
    405      <field ref="woce_eiv"     name="voveeivw" /> 
    406      <field ref="avt"          name="votkeavt" /> 
    407      <field ref="avt_evd"      name="votkeevd" /> 
    408      <field ref="avm"          name="votkeavm" /> 
    409      <field ref="avm_evd"      name="votkeevm" /> 
    410      <field ref="avs"          name="voddmavs" /> 
    411      <field ref="aht2d"        name="soleahtw" /> 
    412      <field ref="aht2d_eiv"    name="soleaeiw" /> 
    413    </file> 
    414     
    415    <file id="5d_icemod" name="auto" description="ice variables" > 
    416      <field ref="ice_pres"                     /> 
    417      <field ref="snowthic_cea" name="isnowthi" /> 
    418      <field ref="icethic_cea"  name="iicethic" /> 
    419      <field ref="iceprod_cea"  name="iiceprod" /> 
    420      <field ref="ist_ipa"      name="iicetemp" /> 
    421      <field ref="ioceflxb"     name="ioceflxb" /> 
    422      <field ref="uice_ipa"     name="iicevelu" /> 
    423      <field ref="vice_ipa"     name="iicevelv" /> 
    424      <field ref="utau_ice"     name="iicestru" /> 
    425      <field ref="vtau_ice"     name="iicestrv" /> 
    426      <field ref="qsr_io_cea"   name="iicesflx" /> 
    427      <field ref="qns_io_cea"   name="iicenflx" /> 
    428      <field ref="snowpre"      name="isnowpre" /> 
    429    </file> 
    430     
    431       </group> 
    432        
    433       <group id="1m" output_freq="-1"     output_level="10" enabled=".TRUE.">                      <!-- real monthly files --> 
    434  
    435    <file id="1m_grid_T" name="auto" description="ocean T grid variables" > 
    436      <field ref="sst"          name="sosstsst"  /> 
    437    </file>    
    438  
    439       </group> 
    440  
    441       <group id="2m" output_freq="-2"     output_level="10" enabled=".TRUE.">                      <!-- real 2m files --> 
    442       </group> 
    443  
    444       <group id="3m" output_freq="-3"     output_level="10" enabled=".TRUE.">                      <!-- real 3m files --> 
    445       </group> 
    446  
    447       <group id="4m" output_freq="-4"     output_level="10" enabled=".TRUE.">                      <!-- real 4m files --> 
    448       </group> 
    449  
    450       <group id="6m" output_freq="-6"     output_level="10" enabled=".TRUE.">                      <!-- real 6m files --> 
    451       </group> 
    452  
    453       <group id="1y" output_freq="-12"    output_level="10" enabled=".TRUE.">                      <!-- real yearly files --> 
    454  
    455    <file id="1y_grid_T" name="auto" description="ocean T grid variables" > 
    456      <field ref="mldr10_1"     name="sobowlin"  operation="t_max(X)" /> 
     36   <file id="1d_grid_T" name="auto" description="ocean T grid variables" > 
     37       <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
     38       <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
     39       <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
    45740   </file> 
    45841 
    459       </group> 
     42   <file id="1d_grid_U" name="auto" description="ocean T grid variables" > 
     43     <field field_ref="suoce"        name="uos"      long_name="sea_surface_x_velocity"    /> 
     44          <field field_ref="utau"         name="tauuo"    long_name="surface_downward_x_stress" /> 
     45   </file> 
    46046 
    461       <group id="2y"  output_freq="-24"   output_level="10" enabled=".TRUE.">                      <!-- real 2y files --> 
    462       </group> 
     47   <file id="1d_grid_V" name="auto" description="ocean T grid variables" > 
     48     <field field_ref="svoce"        name="vos"      long_name="sea_surface_y_velocity"    /> 
     49          <field field_ref="vtau"         name="tauvo"    long_name="surface_downward_y_stress" /> 
     50   </file> 
    46351 
    464       <group id="5y"  output_freq="-60"   output_level="10" enabled=".TRUE.">                      <!-- real 5y files --> 
    465       </group> 
     52      </file_group> 
    46653 
    467       <group id="10y" output_freq="-120"  output_level="10" enabled=".TRUE.">                      <!-- real 10y files --> 
    468       </group> 
     54      <file_group id="3d" output_freq="3d" output_level="10" enabled=".FALSE."/> <!-- 3d files -->     
     55  
     56      <file_group id="5d" output_freq="5d" output_level="10" enabled=".FALSE.">  <!-- 5d files -->    
     57   <file_group id="5d_grid_T" name="auto" description="ocean T grid variables" > 
     58     <file id="5d_grid_T_2D" name_suffix="_2D" > 
     59       <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
     60     </file> 
     61    
     62     <file id="5d_grid_T_T3D" name_suffix="_T3D" > 
     63       <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
     64     </file> 
     65    
     66     <file id="5d_grid_T_S3D" name_suffix="_S3D" > 
     67       <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
     68     </file> 
     69        </file_group> 
     70    
     71   <file_group id="5d_grid_U" name="auto" description="ocean U grid variables" > 
     72     <file id="5d_grid_U_2D" name_suffix="_2D" > 
     73       <field field_ref="suoce"        name="uos"     long_name="sea_surface_x_velocity"    /> 
     74       <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     75     </file> 
     76    
     77     <file id="5d_grid_U_3D" name_suffix="_3D" > 
     78       <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"  /> 
     79     </file> 
     80        </file_group> 
     81    
     82   <file_group id="5d_grid_V" name="auto" description="ocean V grid variables" > 
     83     <file id="5d_grid_V_2D" name_suffix="_2D" > 
     84       <field field_ref="svoce"        name="vos"      long_name="sea_surface_y_velocity"    /> 
     85       <field field_ref="vtau"         name="tauvo"    long_name="surface_downward_y_stress" /> 
     86     </file> 
     87       
     88     <file id="5d_grid_V_3D" name_suffix="_3D" > 
     89       <field field_ref="voce"         name="vo"       long_name="sea_water_y_velocity" /> 
     90     </file> 
     91        </file_group> 
    46992 
    470     </file_definition> 
     93   <file id="5d_grid_W" name="auto" description="ocean W grid variables" > 
     94     <field field_ref="woce"         name="wo"       long_name="ocean_vertical_velocity" /> 
     95   </file> 
     96 
     97      </file_group> 
     98 
     99      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files --> 
     100      <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files --> 
     101      <file_group id="3m" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files --> 
     102      <file_group id="4m" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files --> 
     103      <file_group id="6m" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files --> 
     104 
     105      <file_group id="1y"  output_freq="1y"  output_level="10" enabled=".TRUE."/> <!-- real yearly files --> 
     106      <file_group id="2y"  output_freq="2y"  output_level="10" enabled=".TRUE."/> <!-- real 2y files --> 
     107      <file_group id="5y"  output_freq="5y"  output_level="10" enabled=".TRUE."/> <!-- real 5y files --> 
     108      <file_group id="10y" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files --> 
     109 
     110   </file_definition> 
    471111     
    472112    <!--  
    473113============================================================================================================ 
    474 =                                           grid definition                                                = 
    475 =                                            DO NOT CHANGE                                                 = 
     114= grid definition = = DO NOT CHANGE = 
    476115============================================================================================================ 
    477116    --> 
    478117     
    479     <axis_definition>   
    480       <axis id="deptht" description="Vertical T levels" unit="m"       positive=".false." /> 
    481       <axis id="depthu" description="Vertical U levels" unit="m"       positive=".false." /> 
    482       <axis id="depthv" description="Vertical V levels" unit="m"       positive=".false." /> 
    483       <axis id="depthw" description="Vertical W levels" unit="m"       positive=".false." /> 
    484       <axis id="nfloat" description="Number of float"   unit="no unit" positive=".false." /> 
    485       <axis id="none" description="axe non defini" unit="none" size="1" /> 
    486     </axis_definition>  
     118   <axis_definition>   
     119      <axis id="deptht" long_name="Vertical T levels" unit="m"  /><!-- positive=".FALSE." --> 
     120      <axis id="depthu" long_name="Vertical U levels" unit="m"  /><!-- positive=".FALSE." --> 
     121      <axis id="depthv" long_name="Vertical V levels" unit="m"  /><!-- positive=".FALSE." --> 
     122      <axis id="depthw" long_name="Vertical W levels" unit="m"  /><!-- positive=".FALSE." --> 
     123      <axis id="none"   long_name="axe non defini"    unit="none" value="1" size="1" /> 
     124   </axis_definition>  
    487125     
    488     <grid_definition> 
    489       <grid id="grid_T" description="grid T" > 
    490     <!--   Eq section   --> 
    491    <zoom id="EqT" ibegin="1" jbegin="0000" ni="0000" nj="1" /> 
    492     <!--   TAO   --> 
    493       <!--   137e   --> 
    494    <zoom id="2n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    495    <zoom id="5n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    496    <zoom id="8n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    497       <!--   147e   --> 
    498    <zoom id="0n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    499    <zoom id="2n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    500    <zoom id="5n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    501       <!--   156e   --> 
    502    <zoom id="5s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    503    <zoom id="2s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    504    <zoom id="0n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    505    <zoom id="2n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    506    <zoom id="5n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    507    <zoom id="8n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    508       <!--   165e   --> 
    509    <zoom id="8s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    510    <zoom id="5s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    511    <zoom id="2s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    512    <zoom id="0n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    513    <zoom id="2n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    514    <zoom id="5n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    515    <zoom id="8n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    516       <!--   180w   --> 
    517    <zoom id="8s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    518    <zoom id="5s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    519    <zoom id="2s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    520    <zoom id="0n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    521    <zoom id="2n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    522    <zoom id="5n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    523    <zoom id="8n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    524       <!--   170w   --> 
    525    <zoom id="8s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    526    <zoom id="5s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    527    <zoom id="2s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    528    <zoom id="0n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    529    <zoom id="2n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    530    <zoom id="5n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    531    <zoom id="8n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    532       <!--   155w   --> 
    533    <zoom id="8s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    534    <zoom id="5s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    535    <zoom id="2s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    536    <zoom id="0n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    537    <zoom id="2n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    538    <zoom id="5n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    539    <zoom id="8n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    540       <!--   140w   --> 
    541    <zoom id="8s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    542    <zoom id="5s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    543    <zoom id="2s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    544    <zoom id="0n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    545    <zoom id="2n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    546    <zoom id="5n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    547    <zoom id="8n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    548       <!--   125w   --> 
    549    <zoom id="8s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    550    <zoom id="5s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    551    <zoom id="2s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    552    <zoom id="0n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    553    <zoom id="2n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    554    <zoom id="5n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    555    <zoom id="8n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    556       <!--   110w   --> 
    557    <zoom id="8s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    558    <zoom id="5s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    559    <zoom id="2s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    560    <zoom id="0n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    561    <zoom id="2n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    562    <zoom id="5n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    563    <zoom id="8n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    564       <!--   95w   --> 
    565    <zoom id="8s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    566    <zoom id="5s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    567    <zoom id="2s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    568    <zoom id="0n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    569    <zoom id="2n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    570    <zoom id="5n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    571    <zoom id="8n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    572     <!--   RAMA   --> 
    573       <!--   55e   --> 
    574    <zoom id="16s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    575    <zoom id="12s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    576    <zoom id="8s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    577    <zoom id="4s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    578    <zoom id="1.5s55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    579    <zoom id="0n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    580    <zoom id="1.5n55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    581    <zoom id="4n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    582       <!--   65e   --> 
    583    <zoom id="15n65eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    584       <!--   67e   --> 
    585    <zoom id="16s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    586    <zoom id="12s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    587    <zoom id="8s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    588    <zoom id="4s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    589    <zoom id="1.5s67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    590    <zoom id="0n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    591    <zoom id="1.5n67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    592    <zoom id="4n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    593    <zoom id="8n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    594       <!--   80.5e   --> 
    595    <zoom id="16s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    596    <zoom id="12s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    597    <zoom id="8s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    598    <zoom id="4s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    599    <zoom id="1.5s80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    600    <zoom id="0n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    601    <zoom id="1.5n80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    602    <zoom id="4n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    603       <!--   90e   --> 
    604    <zoom id="1.5s90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    605    <zoom id="0n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    606    <zoom id="1.5n90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    607    <zoom id="4n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    608    <zoom id="8n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    609    <zoom id="12n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    610    <zoom id="15n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    611       <!--   95e   --> 
    612    <zoom id="16s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    613    <zoom id="12s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    614    <zoom id="8s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    615    <zoom id="5s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    616     <!--   PIRATA   --> 
    617       <!--   38w-30w   --> 
    618    <zoom id="19s34wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    619    <zoom id="14s32wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    620    <zoom id="8s30wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    621    <zoom id="0n35wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    622    <zoom id="4n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    623    <zoom id="8n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    624    <zoom id="12n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    625    <zoom id="15n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    626    <zoom id="20n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    627       <!--   23w   --> 
    628    <zoom id="0n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    629    <zoom id="4n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    630    <zoom id="12n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    631    <zoom id="21n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    632       <!--   10w   --> 
    633    <zoom id="10s10wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    634    <zoom id="6s10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    635    <zoom id="0n10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    636       <!--   0e   --> 
    637    <zoom id="0n0eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    638       </grid> 
     126   <domain_definition src="./domain_def.xml"/> 
     127    
     128   <grid_definition />     
     129   
     130  </context> 
     131   
    639132 
    640       <grid id="grid_U" description="grid U" > 
    641     <!--   Eq section   --> 
    642    <zoom id="EqU" ibegin="1" jbegin="0000" ni="0000" nj="1" /> 
    643       </grid> 
     133  <context id="xios"> 
    644134 
    645       <grid id="grid_V" description="grid V" > 
    646       </grid> 
    647  
    648       <grid id="grid_W" description="grid W" > 
    649     <!--   Eq section   --> 
    650    <zoom id="EqW" ibegin="1" jbegin="0000" ni="0000" nj="1" /> 
    651       </grid> 
    652  
    653       <grid id="scalarpoint" description="scalar" > 
    654    <zoom id="1point" ibegin="1" jbegin="1" ni="1" nj="1" /> 
    655       </grid> 
    656  
    657     </grid_definition>     
     135      <variable_definition> 
     136  
     137      <variable_group id="buffer"> 
     138   buffer_size = 1000000000 
     139   buffer_server_factor_size = 2 
     140   info_level = 0 
     141      </variable_group> 
     142       
     143      <variable_group id="coupling"> 
     144   <variable id="using_server" type="boolean">false</variable> 
     145   <variable id="using_oasis" type="boolean">false</variable> 
     146   <variable id="client_id" type="string">oceanx</variable> 
     147   <variable id="server_id" type="string">ionemo</variable> 
     148      </variable_group> 
     149             
     150    </variable_definition> 
    658151     
    659152  </context> 
    660   <context id="1_nemo"> 
    661      
    662     <!-- $id$ --> 
    663      
    664     <!--  
    665 ============================================================================================================ 
    666 =                                  definition of all existing variables                                    = 
    667 =                                            DO NOT CHANGE                                                 = 
    668 ============================================================================================================ 
    669     --> 
    670      
    671     <field_definition level="1" prec="4" operation="ave(X)" enabled=".TRUE."> <!-- time step automaticaly defined --> 
    672  
    673       <!-- T grid --> 
    674        
    675       <group id="grid_T" axis_ref="none" grid_ref="grid_T"> 
    676    <field id="toce"         description="temperature"                               unit="degC" axis_ref="deptht"   /> 
    677          <field id="soce"         description="salinity"                                  unit="psu"  axis_ref="deptht"   /> 
    678    <field id="sst"          description="sea surface temperature"                   unit="degC"                     /> 
    679    <field id="sst2"         description="square of sea surface temperature"         unit="degC2"                    /> 
    680    <field id="sstgrad"      description="module of sst gradient"                    unit="degC/m"                   /> 
    681    <field id="sstgrad2"     description="square of module of sst gradient"          unit="degC2/m2"                 /> 
    682    <field id="sss"          description="sea surface salinity"                      unit="psu"                      /> 
    683    <field id="sss2"         description="square of sea surface salinity"            unit="psu2"                     /> 
    684    <field id="ssh"          description="sea surface height"                        unit="m"                        /> 
    685    <field id="ssh2"         description="square of sea surface height"              unit="m2"                       /> 
    686    <field id="mldkz5"       description="mixing layer depth (Turbocline)"           unit="m"                        /> 
    687    <field id="mldr10_1"     description="Mixed Layer Depth 0.01 ref.10m"            unit="m"                        /> 
    688          <field id="rhop"         description="potential density (sigma0)"                unit="kg/m3" axis_ref="deptht"  /> 
    689    <!-- next variables available with key_diahth --> 
    690    <field id="mlddzt"       description="Thermocline Depth (max dT/dz)"             unit="m"                        /> 
    691    <field id="mldr10_3"     description="Mixed Layer Depth dr=0.03 (ref.10m)"       unit="m"                        /> 
    692    <field id="mldr0_1"      description="Mixed Layer Depth dr=0.01 (ref.surf)"      unit="m"                        /> 
    693    <field id="mldr0_3"      description="Mixed Layer Depth dr=0.03 (ref.surf)"      unit="m"                        /> 
    694    <field id="mld_dt02"     description="Mixed Layer Depth |dt|=0.2 (ref.10m)"      unit="m"                        /> 
    695    <field id="topthdep"     description="Top of the thermocline dt=-0.2 (ref.10m)"  unit="m"                        /> 
    696    <field id="pycndep"      description="Pycnocline depth dr~dt=-0.2 (ref.10m)"     unit="m"                        /> 
    697    <field id="BLT"          description="Barrier Layer Thickness"                   unit="m"                        /> 
    698    <field id="tinv"         description="Max of vertical invertion of temperature"  unit="degC"                     /> 
    699    <field id="depti"        description="Depth of max. vert. inv. of temperature"   unit="m"                        /> 
    700         <field id="20d"          description="Depth of 20C isotherm"                     unit="m"                        /> 
    701    <field id="28d"          description="Depth of 28C isotherm"                     unit="m"                        /> 
    702    <field id="hc300"        description="Heat content 300 m"                        unit="W"                        /> 
    703    <!-- variables available with key_diaar5 --> 
    704    <field id="botpres"      description="Pressure at sea floor"                     unit="dbar"                     /> 
    705    <field id="cellthc"      description="Cell thickness"                            unit="m"     axis_ref="deptht"  /> 
    706     <!-- tidal composante --> 
    707     <field id="M2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    708     <field id="M2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    709     <field id="S2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    710     <field id="S2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    711     <field id="N2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    712     <field id="N2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    713     <field id="K1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    714     <field id="K1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    715     <field id="O1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    716     <field id="O1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    717     <field id="Q1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    718     <field id="Q1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    719     <field id="M4x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    720     <field id="M4y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    721     <field id="K2x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    722     <field id="K2y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    723     <field id="P1x"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    724     <field id="P1y"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    725     <field id="Mfx"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    726     <field id="Mfy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    727     <field id="Mmx"          description="M2 Elevation harmonic real part "                             unit="m"        /> 
    728     <field id="Mmy"          description="M2 Elevation harmonic imaginary part"                         unit="m"        /> 
    729  
    730     <field id="M2x_u"          description="M2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    731     <field id="M2y_u"          description="M2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    732     <field id="S2x_u"          description="S2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    733     <field id="S2y_u"          description="S2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    734     <field id="N2x_u"          description="N2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    735     <field id="N2y_u"          description="N2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    736     <field id="K1x_u"          description="K1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    737     <field id="K1y_u"          description="K1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    738     <field id="O1x_u"          description="O1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    739     <field id="O1y_u"          description="O1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    740     <field id="Q1x_u"          description="Q1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    741     <field id="Q1y_u"          description="Q1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    742     <field id="M4x_u"          description="M4 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    743     <field id="M4y_u"          description="M4 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    744     <field id="K2x_u"          description="K2 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    745     <field id="K2y_u"          description="K2 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    746     <field id="P1x_u"          description="P1 current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    747     <field id="P1y_u"          description="P1 current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    748     <field id="Mfx_u"          description="Mf current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    749     <field id="Mfy_u"          description="Mf current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    750     <field id="Mmx_u"          description="Mm current barotrope along i-axis harmonic real part "      unit="m/s"        /> 
    751     <field id="Mmy_u"          description="Mm current barotrope along i-axis harmonic imaginary part " unit="m/s"        /> 
    752  
    753     <field id="M2x_v"          description="M2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    754     <field id="M2y_v"          description="M2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    755     <field id="S2x_v"          description="S2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    756     <field id="S2y_v"          description="S2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    757     <field id="N2x_v"          description="N2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    758     <field id="N2y_v"          description="N2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    759     <field id="K1x_v"          description="K1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    760     <field id="K1y_v"          description="K1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    761     <field id="O1x_v"          description="O1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    762     <field id="O1y_v"          description="O1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    763     <field id="Q1x_v"          description="Q1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    764     <field id="Q1y_v"          description="Q1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    765     <field id="M4x_v"          description="M4 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    766     <field id="M4y_v"          description="M4 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    767     <field id="K2x_v"          description="K2 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    768     <field id="K2y_v"          description="K2 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    769     <field id="P1x_v"          description="P1 current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    770     <field id="P1y_v"          description="P1 current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    771     <field id="Mfx_v"          description="Mf current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    772     <field id="Mfy_v"          description="Mf current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    773     <field id="Mmx_v"          description="Mm current barotrope along j-axis harmonic real part "      unit="m/s"        /> 
    774     <field id="Mmy_v"          description="Mm current barotrope along j-axis harmonic imaginary part " unit="m/s"        /> 
    775      </group> 
    776  
    777       <!-- SBC --> 
    778        
    779       <group id="SBC" axis_ref="none" grid_ref="grid_T" > <!-- time step automaticaly defined based on nn_fsbc --> 
    780  
    781    <field id="empmr"        description="Net Upward Water Flux"                                        unit="kg/m2/s"  /> 
    782    <field id="empsmr"       description="concentration/dilution water flux"                            unit="kg/m2/s"  /> 
    783    <field id="snowpre"      description="Snow precipitation"                                           unit="kg/m2/s"  /> 
    784    <field id="runoffs"      description="River Runoffs"                                                unit="Kg/m2/s"  /> 
    785  
    786    <field id="qt"           description="Net Downward Heat Flux"                                       unit="W/m2"     /> 
    787    <field id="qns"          description="non solar Downward Heat Flux"                                 unit="W/m2"     /> 
    788    <field id="qsr"          description="Shortwave Radiation"                                          unit="W/m2"     /> 
    789    <field id="qsr3d"        description="Shortwave Radiation 3D distribution"        axis_ref="deptht" unit="W/m2"     /> 
    790    <field id="qrp"          description="Surface Heat Flux: Damping"                                   unit="W/m2"     /> 
    791    <field id="erp"          description="Surface Water Flux: Damping"                                  unit="Kg/m2/s"  /> 
    792    <field id="taum"         description="wind stress module"                                           unit="N/m2"     /> 
    793    <field id="wspd"         description="Wind speed module at 10 m"                                    unit="m/s"      /> 
    794     
    795    <!-- * variable relative to atmospheric pressure forcing : available with ln_apr_dyn --> 
    796    <field id="ssh_ib"       description="Inverse barometer sea surface height"                         unit="m"        /> 
    797  
    798    <!-- *_oce variables available with ln_blk_clio or ln_blk_core --> 
    799    <field id="qns_oce"      description="Non solar Downward Heat Flux over open ocean"                 unit="W/m2"     /> 
    800    <field id="qlw_oce"      description="Longwave Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    801    <field id="qsb_oce"      description="Sensible Downward Heat Flux over open ocean"                  unit="W/m2"     /> 
    802    <field id="qla_oce"      description="Latent Downward Heat Flux over open ocean"                    unit="W/m2"     /> 
    803    <field id="taum_oce"     description="wind stress module over open ocean"                           unit="N/m2"     /> 
    804  
    805    <field id="ice_cover"    description="Ice fraction"                                                 unit="1"        /> 
    806  
    807    <field id="ioceflxb"     description="Oceanic flux at the ice base"                                 unit="W/m2"     /> 
    808    <field id="qsr_ai_cea"   description="Air-Ice downward solar heat flux (cell average)"              unit="W/m2"     /> 
    809    <field id="qns_ai_cea"   description="Air-Ice downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
    810    <field id="qla_ai_cea"   description="Air-Ice downward Latent heat flux (cell average)"             unit="W/m2"     /> 
    811     
    812    <field id="qsr_io_cea"   description="Ice-Oce downward solar heat flux (cell average)"              unit="W/m2"     /> 
    813    <field id="qns_io_cea"   description="Ice-Oce downward non-solar heat flux (cell average)"          unit="W/m2"     /> 
    814     
    815    <field id="snowthic_cea" description="Snow thickness (cell average)"                                unit="m"        /> 
    816    <field id="icethic_cea"  description="Ice thickness (cell average)"                                 unit="m"        /> 
    817    <field id="iceprod_cea"  description="Ice production (cell average)"                                unit="m/s"      /> 
    818     
    819    <field id="ice_pres"     description="Ice presence"                                                 unit="-"        /> 
    820    <field id="ist_cea"      description="Ice surface temperature (cell average)"                       unit="degC"     /> 
    821    <field id="ist_ipa"      description="Ice surface temperature (ice presence average)"               unit="degC"     />       
    822    <field id="uice_ipa"     description="Ice velocity along i-axis at I-point (ice presence average)"  unit="m/s"      />       
    823    <field id="vice_ipa"     description="Ice velocity along j-axis at I-point (ice presence average)"  unit="m/s"      />       
    824     
    825    <field id="utau_ice"     description="Wind stress along i-axis over the ice at i-point"             unit="N/m2"     /> 
    826    <field id="vtau_ice"     description="Wind stress along j-axis over the ice at i-point"             unit="N/m2"     /> 
    827     
    828    <field id="u_imasstr"    description="Sea-ice mass transport along i-axis"                          unit="kg/s"     /> 
    829    <field id="v_imasstr"    description="Sea-ice mass transport along j-axis"                          unit="kg/s"     /> 
    830  
    831    <!-- available key_coupled --> 
    832    <field id="snow_ao_cea"  description="Snow over ice-free ocean (cell average)"                      unit="kg/m2/s"  /> 
    833    <field id="snow_ai_cea"  description="Snow over sea-ice (cell average)"                             unit="kg/m2/s"  /> 
    834    <field id="subl_ai_cea"  description="Sublimation over sea-ice (cell average)"                      unit="kg/m2/s"  /> 
    835    <field id="icealb_cea"   description="Ice albedo (cell average)"                                    unit="1"        /> 
    836    <field id="calving"      description="Calving"                                                      unit="kg/m2/s"  /> 
    837    <!-- available if key_coupled + conservative method --> 
    838    <field id="rain"         description="Liquid precipitation"                                         unit="Kg/m2/s"  /> 
    839    <field id="evap_ao_cea"  description="Evaporation over ice-free ocean (cell average)"               unit="kg/m2/s"  /> 
    840    <!-- variables available with key_diaar5 --> 
    841    <field id="isnwmlt_cea"   description="Snow over Ice melting (cell average)"                        unit="kg/m2/s"  /> 
    842    <field id="fsal_virt_cea" description="Virtual salt flux due to ice formation (cell average)"       unit="kg/m2/s"  /> 
    843    <field id="fsal_real_cea" description="Real salt flux due to ice formation (cell average)"          unit="kg/m2/s"  /> 
    844    <field id="hflx_rain_cea" description="heat flux due to rainfall"                                   unit="W/m2"     /> 
    845    <field id="hflx_evap_cea" description="heat flux due to evaporation"                                unit="W/m2"     /> 
    846    <field id="hflx_snow_cea" description="heat flux due to snow falling over ice-free ocean"           unit="W/m2"     /> 
    847    <field id="hflx_ice_cea"  description="heat flux due to ice thermodynamics"                         unit="W/m2"     /> 
    848    <field id="hflx_rnf_cea"  description="heat flux due to runoffs"                                    unit="W/m2"     /> 
    849    <field id="hflx_cal_cea"  description="heat flux due to calving"                                    unit="W/m2"     /> 
    850    <field id="bicemel_cea"  description="Rate of Melt at Sea Ice Base (cell average)"                  unit="kg/m2/s"  /> 
    851    <field id="licepro_cea"  description="Lateral Sea Ice Growth Rate (cell average)"                   unit="kg/m2/s"  /> 
    852    <field id="snowmel_cea"  description="Snow Melt Rate (cell average)"                                unit="kg/m2/s"  /> 
    853    <field id="sntoice_cea"  description="Snow-Ice Formation Rate (cell average)"                       unit="kg/m2/s"  /> 
    854    <field id="ticemel_cea"  description="Rate of Melt at Upper Surface of Sea Ice (cell average)"      unit="kg/m2/s"  /> 
    855  
    856       </group> 
    857  
    858       <!-- U grid --> 
    859        
    860       <group id="grid_U"  axis_ref="depthu" grid_ref="grid_U"> 
    861    <field id="utau"         description="Wind Stress along i-axis"                    unit="N/m2" axis_ref="none" /> 
    862    <field id="uoce"         description="ocean current along i-axis"                  unit="m/s"                  /> 
    863    <field id="uocetr_eff"   description="Effective ocean transport along i-axis"      unit="m3/s"                  /> 
    864    <!-- uoce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    865    <field id="uoce_eiv"     description="EIV ocean current along i-axis"              unit="m/s"                  /> 
    866    <!-- uoce_eiv: available with key_trabbl --> 
    867    <field id="uoce_bbl"     description="BBL ocean current along i-axis"              unit="m/s"  axis_ref="none" /> 
    868    <field id="ahu_bbl"      description="BBL diffusive flux along i-axis"             unit="m3/s" axis_ref="none" /> 
    869    <!-- variables available with key_diaar5 --> 
    870    <field id="u_masstr"     description="ocean eulerian mass transport along i-axis"  unit="kg/s"                 /> 
    871    <field id="u_heattr"     description="ocean eulerian heat transport along i-axis"  unit="W"    axis_ref="none" /> 
    872    <field id="ueiv_heattr"  description="ocean bolus heat transport along i-axis"     unit="W"    axis_ref="none" /> 
    873    <field id="udiff_heattr" description="ocean diffusion heat transport along i-axis" unit="W"    axis_ref="none" /> 
    874      </group> 
    875        
    876       <!-- V grid --> 
    877        
    878       <group id="grid_V"  axis_ref="depthv" grid_ref="grid_V"> 
    879    <field id="vtau"         description="Wind Stress along j-axis"                    unit="N/m2" axis_ref="none" /> 
    880    <field id="voce"         description="ocean current along j-axis"                  unit="m/s"                  /> 
    881    <field id="vocetr_eff"   description="Effective ocean transport along j-axis"      unit="m3/s"                  /> 
    882    <!-- voce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    883    <field id="voce_eiv"     description="EIV ocean current along j-axis"              unit="m/s"                  /> 
    884    <!-- voce_eiv: available with key_trabbl --> 
    885    <field id="voce_bbl"     description="BBL ocean current along j-axis"              unit="m/s" axis_ref="none"  /> 
    886    <field id="ahv_bbl"      description="BBL diffusive flux along j-axis"             unit="m3/s" axis_ref="none" /> 
    887    <!-- variables available with key_diaar5 --> 
    888    <field id="v_masstr"     description="ocean eulerian mass transport along j-axis"  unit="kg/s"                 /> 
    889    <field id="v_heattr"     description="ocean eulerian heat transport along j-axis"  unit="W"    axis_ref="none" /> 
    890    <field id="veiv_heattr"  description="ocean bolus heat transport along j-axis"     unit="W"    axis_ref="none" /> 
    891    <field id="vdiff_heattr" description="ocean diffusion heat transport along j-axis" unit="W"    axis_ref="none" /> 
    892       </group> 
    893        
    894       <!-- W grid --> 
    895        
    896       <group id="grid_W"  axis_ref="depthw" grid_ref="grid_W"> 
    897    <field id="woce"         description="ocean vertical velocity"                     unit="m/s"                  /> 
    898    <field id="wocetr_eff"   description="effective ocean vertical transport"          unit="m3/s"                 /> 
    899    <!-- woce_eiv: available with key_traldf_eiv and key_diaeiv --> 
    900    <field id="woce_eiv"     description="EIV ocean vertical velocity"                 unit="m/s"                  /> 
    901    <!-- woce_eiv: available with key_trabbl_adv --> 
    902    <field id="avt"          description="vertical eddy diffusivity"                   unit="m2/s"                 /> 
    903    <field id="avm"          description="vertical eddy viscosity"                     unit="m2/s"                 /> 
    904    <!-- avs: available with key_zdfddm --> 
    905    <field id="avs"          description="salt vertical eddy diffusivity"              unit="m2/s"                 /> 
    906    <!-- avt_evd and avm_evd: available with ln_zdfevd --> 
    907    <field id="avt_evd"      description="enhanced vertical diffusivity"               unit="m2/s"                 /> 
    908    <field id="avm_evd"      description="enhanced vertical viscosity"                 unit="m2/s"                 /> 
    909    <!-- aht2d and  aht2d_eiv: available with key_traldf_eiv and key_traldf_c2d --> 
    910    <field id="aht2d"        description="lateral eddy diffusivity"                    unit="m2/s" axis_ref="none" /> 
    911    <field id="aht2d_eiv"    description="EIV lateral eddy diffusivity"                unit="m2/s" axis_ref="none" /> 
    912    <!-- avt_tide: available with key_zdftmx --> 
    913    <field id="av_tide"      description="tidal vertical diffusivity"                  unit="m2/s"                 /> 
    914    <!-- variables available with key_diaar5 -->    
    915    <field id="w_masstr"     description="vertical mass trasport"                      unit="kg/s"                 /> 
    916    <field id="w_masstr2"    description="square of vertical mass trasport"            unit="kg2/s2"               /> 
    917       </group> 
    918            
    919       <!-- scalar --> 
    920        
    921       <!-- variables available with key_diaar5 --> 
    922       <group id="scalar" axis_ref="none" grid_ref="scalarpoint" zoom_ref="1point" > 
    923    <field id="voltot"     description="global mean volume"                         unit="m3"   /> 
    924    <field id="sshtot"     description="global mean ssh"                            unit="m"    /> 
    925    <field id="sshsteric"  description="global mean ssh steric"                     unit="m"    /> 
    926    <field id="sshthster"  description="global mean ssh thermosteric"               unit="m"    /> 
    927    <field id="masstot"    description="global mean mass"                           unit="kg"   /> 
    928    <field id="temptot"    description="global mean temperature"                    unit="degC" /> 
    929    <field id="saltot"     description="global mean salinity"                       unit="psu"  /> 
    930    <field id="fram_trans" description="Sea Ice Mass Transport Through Fram Strait" unit="kg/s" /> 
    931       </group> 
    932  
    933       <!-- variables available with key_float --> 
    934       <group id="floatvar" axis_ref="nfloat" grid_ref="scalarpoint" zoom_ref="1point"> 
    935         <field id="traj_lon"   description="floats longitude"   unit="deg"   operation="inst(X)" /> 
    936         <field id="traj_lat"   description="floats latitude"    unit="deg"   operation="inst(X)"  /> 
    937         <field id="traj_dep"   description="floats depth"       unit="m"     operation="inst(X)"  /> 
    938         <field id="traj_temp"  description="floats temperature" unit="degC"  operation="inst(X)"  /> 
    939         <field id="traj_salt"  description="floats salinity"    unit="psu"   operation="inst(X)"  /> 
    940         <field id="traj_dens"  description="floats density"     unit="kg/m3" operation="inst(X)"  /> 
    941         <field id="traj_group" description="floats group"       unit="none"  operation="inst(X)"  /> 
    942       </group> 
    943  
    944     </field_definition> 
    945      
    946     <!--  
    947 ============================================================================================================ 
    948 =                                           output files definition                                        = 
    949 =                                            Define your own files                                         = 
    950 =                                         put the variables you want...                                    = 
    951 ============================================================================================================ 
    952     --> 
    953      
    954     <file_definition > 
    955  
    956       <group id="1h" output_freq="3600"   output_level="10" enabled=".TRUE.">                      <!-- 1h files --> 
    957       </group> 
    958        
    959       <group id="2h" output_freq="7200"   output_level="10" enabled=".TRUE.">                      <!-- 2h files --> 
    960       </group> 
    961        
    962       <group id="3h" output_freq="10800"  output_level="10" enabled=".TRUE.">                      <!-- 3h files --> 
    963       </group> 
    964        
    965       <group id="4h" output_freq="14400"  output_level="10" enabled=".TRUE.">                      <!-- 4h files --> 
    966       </group> 
    967        
    968       <group id="6h" output_freq="21600"  output_level="10" enabled=".TRUE.">                      <!-- 6h files --> 
    969       </group> 
    970        
    971       <group id="1d" output_freq="86400"  output_level="10" enabled=".TRUE.">                      <!-- 1d files --> 
    972  
    973     <!--  
    974 ............................................................................................................ 
    975            example of 3 types of 1d files 
    976 ............................................................................................................ 
    977     --> 
    978         <!-- automatic definition of the name based on id="1d_grid_T" 
    979              => this name is used as the radical for all file names of this group 
    980              => add a suffix to be sure that all files names of this group are different   --> 
    981         <group id="1d_grid_T" name="auto" description="ocean T grid variables" > 
    982           <!-- global file with different operations on data   --> 
    983           <file id="global" > 
    984             <field ref="sst"    name="sst_1d_ave"                       />     <!-- mean --> 
    985             <field ref="sst"    name="sst_1d_max"  operation="t_max(X)" />     <!-- max --> 
    986             <field ref="M2x"     name="M2_x_elev"  /> 
    987             <field ref="M2y"     name="M2_y_elev"  /> 
    988           </file> 
    989         </group> 
    990  
    991         <!-- variables available with key_float, instantaneous fields --> 
    992 <!-- 
    993         <file id="floats"  description="floats variables"> 
    994             <field ref="traj_lon"   name="floats_longitude"   freq_op="86400" /> 
    995             <field ref="traj_lat"   name="floats_latitude"    freq_op="86400" /> 
    996             <field ref="traj_dep"   name="floats_depth"       freq_op="86400" /> 
    997             <field ref="traj_temp"  name="floats_temperature" freq_op="86400" /> 
    998             <field ref="traj_salt"  name="floats_salinity"    freq_op="86400" /> 
    999             <field ref="traj_dens"  name="floats_density"     freq_op="86400" /> 
    1000             <field ref="traj_group" name="floats_group"       freq_op="86400" /> 
    1001         </file> 
    1002 --> 
    1003       </group> 
    1004        
    1005       <group id="3d" output_freq="259200" output_level="10" enabled=".TRUE.">                      <!-- 3d files --> 
    1006       </group> 
    1007        
    1008       <group id="5d" output_freq="432000" output_level="10" enabled=".TRUE.">                      <!-- 5d files --> 
    1009  
    1010    <file id="5d_grid_T" name="auto" description="ocean T grid variables" > 
    1011      <field ref="toce"         name="votemper"  /> 
    1012      <field ref="soce"         name="vosaline"  /> 
    1013      <field ref="sst"          name="sosstsst"  /> 
    1014      <field ref="sss"          name="sosaline"  /> 
    1015      <field ref="ssh"          name="sossheig"  /> 
    1016      <field ref="empmr"        name="sowaflup"  /> 
    1017      <field ref="qsr"          name="soshfldo"  /> 
    1018      <field ref="empsmr"       name="sowaflcd"  /> 
    1019      <field ref="qt"           name="sohefldo"  /> 
    1020      <field ref="mldr10_1"     name="somxl010"  /> 
    1021      <field ref="mldkz5"       name="somixhgt"  /> 
    1022      <field ref="ice_cover"    name="soicecov"  /> 
    1023      <field ref="wspd"         name="sowindsp"  /> 
    1024      <field ref="qrp"          name="sohefldp"  /> 
    1025      <field ref="erp"          name="sowafldp"  /> 
    1026      <field ref="mlddzt"       name="sothedep"  /> 
    1027      <field ref="20d"          name="so20chgt"  /> 
    1028      <field ref="28d"          name="so28chgt"  /> 
    1029      <field ref="hc300"        name="sohtc300"  /> 
    1030      <field ref="ist_ipa"      name="soicetem"  /> 
    1031      <field ref="icealb_cea"   name="soicealb"  />    
    1032    </file> 
    1033     
    1034    <file id="5d_grid_U" name="auto" description="ocean U grid variables" > 
    1035      <field ref="uoce"         name="vozocrtx"  /> 
    1036      <field ref="uoce_eiv"     name="vozoeivu"  /> 
    1037      <field ref="utau"         name="sozotaux"  /> 
    1038    </file> 
    1039     
    1040    <file id="5d_grid_V" name="auto" description="ocean V grid variables" > 
    1041      <field ref="voce"         name="vomecrty"  /> 
    1042      <field ref="voce_eiv"     name="vomeeivv"  /> 
    1043      <field ref="vtau"         name="sometauy"  /> 
    1044    </file> 
    1045     
    1046    <file id="5d_grid_W" name="auto" description="ocean W grid variables" > 
    1047      <field ref="woce"         name="vovecrtz" /> 
    1048      <field ref="woce_eiv"     name="voveeivw" /> 
    1049      <field ref="avt"          name="votkeavt" /> 
    1050      <field ref="avt_evd"      name="votkeevd" /> 
    1051      <field ref="avm"          name="votkeavm" /> 
    1052      <field ref="avm_evd"      name="votkeevm" /> 
    1053      <field ref="avs"          name="voddmavs" /> 
    1054      <field ref="aht2d"        name="soleahtw" /> 
    1055      <field ref="aht2d_eiv"    name="soleaeiw" /> 
    1056    </file> 
    1057     
    1058 <!--   
    1059       <file id="5d_icemod" name="auto" description="ice variables" > 
    1060      <field ref="ice_pres"                     /> 
    1061      <field ref="snowthic_cea" name="isnowthi" /> 
    1062      <field ref="icethic_cea"  name="iicethic" /> 
    1063      <field ref="iceprod_cea"  name="iiceprod" /> 
    1064      <field ref="ist_ipa"      name="iicetemp" /> 
    1065      <field ref="ioceflxb"     name="ioceflxb" /> 
    1066      <field ref="uice_ipa"     name="iicevelu" /> 
    1067      <field ref="vice_ipa"     name="iicevelv" /> 
    1068      <field ref="utau_ice"     name="iicestru" /> 
    1069      <field ref="vtau_ice"     name="iicestrv" /> 
    1070      <field ref="qsr_io_cea"   name="iicesflx" /> 
    1071      <field ref="qns_io_cea"   name="iicenflx" /> 
    1072      <field ref="snowpre"      name="isnowpre" /> 
    1073    </file> 
    1074 -->    
    1075       </group> 
    1076        
    1077       <group id="1m" output_freq="-1"     output_level="10" enabled=".TRUE.">                      <!-- real monthly files --> 
    1078  
    1079    <file id="1m_grid_T" name="auto" description="ocean T grid variables" > 
    1080      <field ref="sst"          name="sosstsst"  /> 
    1081    </file>    
    1082  
    1083       </group> 
    1084  
    1085       <group id="2m" output_freq="-2"     output_level="10" enabled=".TRUE.">                      <!-- real 2m files --> 
    1086       </group> 
    1087  
    1088       <group id="3m" output_freq="-3"     output_level="10" enabled=".TRUE.">                      <!-- real 3m files --> 
    1089       </group> 
    1090  
    1091       <group id="4m" output_freq="-4"     output_level="10" enabled=".TRUE.">                      <!-- real 4m files --> 
    1092       </group> 
    1093  
    1094       <group id="6m" output_freq="-6"     output_level="10" enabled=".TRUE.">                      <!-- real 6m files --> 
    1095       </group> 
    1096  
    1097       <group id="1y" output_freq="-12"    output_level="10" enabled=".TRUE.">                      <!-- real yearly files --> 
    1098  
    1099    <file id="1y_grid_T" name="auto" description="ocean T grid variables" > 
    1100      <field ref="mldr10_1"     name="sobowlin"  operation="t_max(X)" /> 
    1101    </file> 
    1102  
    1103       </group> 
    1104  
    1105       <group id="2y"  output_freq="-24"   output_level="10" enabled=".TRUE.">                      <!-- real 2y files --> 
    1106       </group> 
    1107  
    1108       <group id="5y"  output_freq="-60"   output_level="10" enabled=".TRUE.">                      <!-- real 5y files --> 
    1109       </group> 
    1110  
    1111       <group id="10y" output_freq="-120"  output_level="10" enabled=".TRUE.">                      <!-- real 10y files --> 
    1112       </group> 
    1113  
    1114     </file_definition> 
    1115      
    1116     <!--  
    1117 ============================================================================================================ 
    1118 =                                           grid definition                                                = 
    1119 =                                            DO NOT CHANGE                                                 = 
    1120 ============================================================================================================ 
    1121     --> 
    1122      
    1123     <axis_definition>   
    1124       <axis id="deptht" description="Vertical T levels" unit="m" positive=".false." /> 
    1125       <axis id="depthu" description="Vertical U levels" unit="m" positive=".false." /> 
    1126       <axis id="depthv" description="Vertical V levels" unit="m" positive=".false." /> 
    1127       <axis id="depthw" description="Vertical W levels" unit="m" positive=".false." /> 
    1128       <axis id="none" description="axe non defini" unit="none" size="1" /> 
    1129       <axis id="nfloat" description="Number of float"   unit="no unit" positive=".false." /> 
    1130     </axis_definition>  
    1131      
    1132     <grid_definition> 
    1133       <grid id="grid_T" description="grid T" > 
    1134     <!--   Eq section   --> 
    1135    <zoom id="EqT" ibegin="1" jbegin="0000" ni="0000" nj="1" /> 
    1136     <!--   TAO   --> 
    1137       <!--   137e   --> 
    1138    <zoom id="2n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1139    <zoom id="5n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1140    <zoom id="8n137eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1141       <!--   147e   --> 
    1142    <zoom id="0n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1143    <zoom id="2n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1144    <zoom id="5n147eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1145       <!--   156e   --> 
    1146    <zoom id="5s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1147    <zoom id="2s156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1148    <zoom id="0n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1149    <zoom id="2n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1150    <zoom id="5n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1151    <zoom id="8n156eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1152       <!--   165e   --> 
    1153    <zoom id="8s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1154    <zoom id="5s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1155    <zoom id="2s165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1156    <zoom id="0n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1157    <zoom id="2n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1158    <zoom id="5n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1159    <zoom id="8n165eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1160       <!--   180w   --> 
    1161    <zoom id="8s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1162    <zoom id="5s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1163    <zoom id="2s180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1164    <zoom id="0n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1165    <zoom id="2n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1166    <zoom id="5n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1167    <zoom id="8n180wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1168       <!--   170w   --> 
    1169    <zoom id="8s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1170    <zoom id="5s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1171    <zoom id="2s170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1172    <zoom id="0n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1173    <zoom id="2n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1174    <zoom id="5n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1175    <zoom id="8n170wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1176       <!--   155w   --> 
    1177    <zoom id="8s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1178    <zoom id="5s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1179    <zoom id="2s155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1180    <zoom id="0n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1181    <zoom id="2n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1182    <zoom id="5n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1183    <zoom id="8n155wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1184       <!--   140w   --> 
    1185    <zoom id="8s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1186    <zoom id="5s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1187    <zoom id="2s140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1188    <zoom id="0n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1189    <zoom id="2n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1190    <zoom id="5n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1191    <zoom id="8n140wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1192       <!--   125w   --> 
    1193    <zoom id="8s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1194    <zoom id="5s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1195    <zoom id="2s125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1196    <zoom id="0n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1197    <zoom id="2n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1198    <zoom id="5n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1199    <zoom id="8n125wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1200       <!--   110w   --> 
    1201    <zoom id="8s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1202    <zoom id="5s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1203    <zoom id="2s110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1204    <zoom id="0n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1205    <zoom id="2n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1206    <zoom id="5n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1207    <zoom id="8n110wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1208       <!--   95w   --> 
    1209    <zoom id="8s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1210    <zoom id="5s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1211    <zoom id="2s95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1212    <zoom id="0n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1213    <zoom id="2n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1214    <zoom id="5n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1215    <zoom id="8n95wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1216     <!--   RAMA   --> 
    1217       <!--   55e   --> 
    1218    <zoom id="16s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1219    <zoom id="12s55eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1220    <zoom id="8s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1221    <zoom id="4s55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1222    <zoom id="1.5s55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1223    <zoom id="0n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1224    <zoom id="1.5n55eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1225    <zoom id="4n55eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1226       <!--   65e   --> 
    1227    <zoom id="15n65eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1228       <!--   67e   --> 
    1229    <zoom id="16s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1230    <zoom id="12s67eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1231    <zoom id="8s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1232    <zoom id="4s67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1233    <zoom id="1.5s67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1234    <zoom id="0n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1235    <zoom id="1.5n67eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1236    <zoom id="4n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1237    <zoom id="8n67eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1238       <!--   80.5e   --> 
    1239    <zoom id="16s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1240    <zoom id="12s80.5eT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1241    <zoom id="8s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1242    <zoom id="4s80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1243    <zoom id="1.5s80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1244    <zoom id="0n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1245    <zoom id="1.5n80.5eT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1246    <zoom id="4n80.5eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1247       <!--   90e   --> 
    1248    <zoom id="1.5s90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1249    <zoom id="0n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1250    <zoom id="1.5n90eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1251    <zoom id="4n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1252    <zoom id="8n90eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1253    <zoom id="12n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1254    <zoom id="15n90eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1255       <!--   95e   --> 
    1256    <zoom id="16s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1257    <zoom id="12s95eT"    ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1258    <zoom id="8s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1259    <zoom id="5s95eT"     ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1260     <!--   PIRATA   --> 
    1261       <!--   38w-30w   --> 
    1262    <zoom id="19s34wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1263    <zoom id="14s32wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1264    <zoom id="8s30wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1265    <zoom id="0n35wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1266    <zoom id="4n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1267    <zoom id="8n38wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1268    <zoom id="12n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1269    <zoom id="15n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1270    <zoom id="20n38wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1271       <!--   23w   --> 
    1272    <zoom id="0n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1273    <zoom id="4n23wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1274    <zoom id="12n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1275    <zoom id="21n23wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1276       <!--   10w   --> 
    1277    <zoom id="10s10wT" ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1278    <zoom id="6s10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1279    <zoom id="0n10wT"  ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1280       <!--   0e   --> 
    1281    <zoom id="0n0eT"   ibegin="0000" jbegin="0000" ni="1" nj="1" /> 
    1282       </grid> 
    1283  
    1284       <grid id="grid_U" description="grid U" > 
    1285     <!--   Eq section   --> 
    1286    <zoom id="EqU" ibegin="1" jbegin="0000" ni="0000" nj="1" /> 
    1287       </grid> 
    1288  
    1289       <grid id="grid_V" description="grid V" > 
    1290       </grid> 
    1291  
    1292       <grid id="grid_W" description="grid W" > 
    1293     <!--   Eq section   --> 
    1294    <zoom id="EqW" ibegin="1" jbegin="0000" ni="0000" nj="1" /> 
    1295       </grid> 
    1296  
    1297       <grid id="scalarpoint" description="scalar" > 
    1298    <zoom id="1point" ibegin="1" jbegin="1" ni="1" nj="1" /> 
    1299       </grid> 
    1300  
    1301     </grid_definition>     
    1302      
    1303   </context> 
    1304  
     153   
    1305154</simulation> 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/ORCA2_LIM/cpp_ORCA2_LIM.fcm

    r3294 r3415  
    1  bld::tool::fppkeys key_trabbl key_orca_r2 key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_zdftmx key_iomput  
     1 bld::tool::fppkeys key_trabbl key_orca_r2 key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_zdftmx key_iomput key_mpp_mpi 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/ORCA2_LIM_PISCES/cpp_ORCA2_LIM_PISCES.fcm

    r3294 r3415  
    1 bld::tool::fppkeys key_trabbl key_orca_r2 key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_top key_pisces key_iomput  
     1bld::tool::fppkeys key_trabbl key_orca_r2 key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_top key_pisces key_iomput key_mpp_mpi 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/cpp_ORCA2_OFF_PISCES.fcm

    r3294 r3415  
    1 bld::tool::fppkeys key_trabbl key_orca_r2 key_ldfslp key_traldf_c2d key_traldf_eiv key_top key_offline key_pisces key_iomput  
     1bld::tool::fppkeys key_trabbl key_orca_r2 key_ldfslp key_traldf_c2d key_traldf_eiv key_top key_offline key_pisces key_iomput key_mpp_mpi 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/CONFIG/makenemo

    r3294 r3415  
    297297#- Compile --- 
    298298 
     299#IO server first as a library 
     300cd $MAIN_DIR/EXTERNAL/XIOS 
     301   fcm build -j 1 --ignore-lock || exit 
     302cd - 
     303  
     304 
     305 
    299306if [ "${NBR_PRC}" -gt 0 ]; then 
    300307    cd ${NEMO_TDIR}/${NEW_CONF} || cd - 
     
    307314    fcm build ${x_c} --ignore-lock -v ${x_v} -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD || cd - 
    308315    [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/nemo.exe ] && ln -sf ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/nemo.exe  ${CONFIG_DIR}/${NEW_CONF}/EXP00/opa 
    309     [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/server.exe ] && ln -sf ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/server.exe  ${CONFIG_DIR}/${NEW_CONF}/EXP00/server.exe 
     316    [ -f $MAIN_DIR/EXTERNAL/XIOS/bin/xios_server.exe ] && ln -sf $MAIN_DIR/EXTERNAL/XIOS/bin/xios_server.exe  ${CONFIG_DIR}/${NEW_CONF}/EXP00/xios_server.exe 
    310317 
    311318#add remove for clean option 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/EXTERNAL/XIOS/bld.cfg

    r3408 r3415  
    33cfg::version                        1.0 
    44 
     5inc $COMPIL_DIR/arch_nemo.fcm 
     6inc $COMPIL_DIR/cpp.fcm 
    57 
    68# ------------------------------------------------------------------------------ 
    79# Build information 
    810# ------------------------------------------------------------------------------ 
    9  
    10 inc arch.fcm 
    11 inc config.fcm 
    12  
    13 %CFLAGS           %BASE_CFLAGS %COMPIL_CFLAGS 
    14 %FFLAGS           %BASE_FFLAGS %COMPIL_FFLAGS 
    15 %LD_FLAGS         %ARCH_LD %BASE_LD 
    16  
    1711 
    1812dest::root   $PWD 
     
    3327bld::exe_dep 
    3428 
    35 bld::tool::cc        %CCOMPILER 
    36 bld::tool::fc        %FCOMPILER 
     29bld::tool::cc        %CC 
     30bld::tool::fc        %FC 
    3731bld::tool::fpp       cpp 
    3832bld::tool::cpp       cpp 
    39 bld::tool::cppflags  %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include  
    40 bld::tool::fppflags  -std=c99 %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include  
    41 bld::tool::ld        %LINKER 
    42 bld::tool::ldflags   %LD_FLAGS  
    43 bld::tool::cflags    %CFLAGS %CBASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include  
    44 bld::tool::fflags    %FFLAGS %FBASE_INC  
    45 bld::tool::cppkeys   %CPP_KEY 
    46 bld::tool::fppkeys   %CPP_KEY 
    47 bld::tool::make   gmake 
     33bld::tool::cppflags  %XIO_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include  
     34bld::tool::fppflags  -std=c99 %XIO_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include  
     35bld::tool::ld        %XIO_LD 
     36bld::tool::ldflags   %XIO_LDFLAGS %XIO_LDINC 
     37bld::tool::cflags    %XIO_CFLAGS %XIO_CINC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include  
     38bld::tool::fflags    %XIO_FFLAGS   
     39bld::tool::make   %MK 
    4840 
    4941# Pre-process code before analysing dependencies 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r3389 r3415  
    145145      CALL iom_put( "sss2"   , tsn(:,:,1,jp_sal) * tsn(:,:,1,jp_sal) )    ! square of sea surface salinity 
    146146      CALL iom_put( "uoce"   , un                                    )    ! i-current       
     147      CALL iom_put( "suoce"  , un(:,:,1)                             )    ! surface i-current       
    147148      CALL iom_put( "voce"   , vn                                    )    ! j-current 
     149      CALL iom_put( "svoce"  , vn(:,:,1)                             )    ! surface j-current 
    148150       
    149151      CALL iom_put( "avt"    , avt                                   )    ! T vert. eddy diff. coef. 
     
    171173         z3d(:,:,jpk) = 0.e0 
    172174         DO jk = 1, jpkm1 
    173             z3d(:,:,jk) = rau0 * un(:,:,jk) * e2u(:,:) * fse3u(:,:,jk) 
     175            z3d(:,:,jk) = rau0 * un(:,:,jk) * e1u(:,:) * fse3u(:,:,jk) 
    174176         END DO 
    175177         CALL iom_put( "u_masstr", z3d )                  ! mass transport in i-direction 
     
    186188         CALL iom_put( "u_heattr", z2d )                  ! heat transport in i-direction 
    187189         DO jk = 1, jpkm1 
    188             z3d(:,:,jk) = rau0 * vn(:,:,jk) * e1v(:,:) * fse3v(:,:,jk) 
     190            z3d(:,:,jk) = rau0 * vn(:,:,jk) * e2v(:,:) * fse3v(:,:,jk) 
    189191         END DO 
    190192         CALL iom_put( "v_masstr", z3d )                  ! mass transport in j-direction 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r3294 r3415  
    3232   USE phycst          ! physical constants 
    3333   USE dianam          ! build name of file 
    34    USE mod_event_client 
    35    USE mod_attribut 
     34   USE xios 
    3635# endif 
    3736 
     
    5150   PRIVATE iom_p1d, iom_p2d, iom_p3d 
    5251#if defined key_iomput 
    53    PRIVATE set_grid 
     52   PRIVATE iom_set_domain_attr, iom_set_field_attr, iom_set_file_attr, set_grid, set_scalar, set_xmlatt, set_mooring 
    5453# endif 
    5554 
     
    6867#if defined key_iomput 
    6968   INTERFACE iom_setkt 
    70       MODULE PROCEDURE event__set_timestep 
     69      MODULE PROCEDURE xios_update_calendar 
    7170   END INTERFACE 
    7271# endif 
     
    8887      !!---------------------------------------------------------------------- 
    8988#if defined key_iomput 
    90       REAL(wp) ::   ztmp 
    91       !!---------------------------------------------------------------------- 
    92       ! read the xml file 
    93       IF( Agrif_Root() ) CALL event__parse_xml_file( 'iodef.xml' )   ! <- to get from the nameliste (namrun)... 
     89      TYPE(xios_time) :: dtime    = xios_time(0, 0, 0, 0, 0, 0) 
     90      CHARACTER(len=19) :: cldate  
     91      !!---------------------------------------------------------------------- 
     92 
     93      CALL xios_context_initialize("nemo", mpi_comm_opa) 
    9494      CALL iom_swap 
    9595 
    9696      ! calendar parameters 
    9797      SELECT CASE ( nleapy )        ! Choose calendar for IOIPSL 
    98       CASE ( 1)   ;   CALL event__set_calendar('gregorian') 
    99       CASE ( 0)   ;   CALL event__set_calendar('noleap'   ) 
    100       CASE (30)   ;   CALL event__set_calendar('360d'     ) 
     98      CASE ( 1)   ;   CALL xios_set_context_attr("nemo", calendar_type= "Gregorian") 
     99      CASE ( 0)   ;   CALL xios_set_context_attr("nemo", calendar_type= "NoLeap") 
     100      CASE (30)   ;   CALL xios_set_context_attr("nemo", calendar_type= "D360") 
    101101      END SELECT 
    102       ztmp = fjulday - adatrj 
    103       IF( ABS(ztmp  - REAL(NINT(ztmp),wp)) < 0.1 / rday )   ztmp = REAL(NINT(ztmp),wp)   ! avoid truncation error 
    104       CALL event__set_time_parameters( nit000 - 1, ztmp, rdt ) 
     102      WRITE(cldate,"(i4.4,'-',i2.2,'-',i2.2,' 00:00:00')") nyear,nmonth,nday  
     103      CALL xios_set_context_attr("nemo", start_date=cldate ) 
    105104 
    106105      ! horizontal grid definition 
    107106      CALL set_scalar 
    108       CALL set_grid( "grid_T", glamt, gphit ) 
     107      CALL set_grid( "grid_T", glamt, gphit )  
    109108      CALL set_grid( "grid_U", glamu, gphiu ) 
    110109      CALL set_grid( "grid_V", glamv, gphiv ) 
     
    112111 
    113112      ! vertical grid definition 
    114       CALL event__set_vert_axis( "deptht", gdept_0 ) 
    115       CALL event__set_vert_axis( "depthu", gdept_0 ) 
    116       CALL event__set_vert_axis( "depthv", gdept_0 ) 
    117       CALL event__set_vert_axis( "depthw", gdepw_0 ) 
    118 # if defined key_floats 
    119       CALL event__set_vert_axis( "nfloat", REAL(nfloat,wp)  ) 
    120 # endif 
     113      CALL xios_set_axis_attr("deptht",size=size(gdept_0),value=gdept_0) 
     114      CALL xios_set_axis_attr("depthu",size=size(gdept_0),value=gdept_0) 
     115      CALL xios_set_axis_attr("depthv",size=size(gdept_0),value=gdept_0) 
     116      CALL xios_set_axis_attr("depthw",size=size(gdepw_0),value=gdepw_0) 
    121117       
    122118      ! automatic definitions of some of the xml attributs 
     
    124120 
    125121      ! end file definition 
    126       CALL event__close_io_definition 
     122       dtime%second=rdt 
     123       CALL xios_set_timestep(dtime) 
     124       CALL xios_close_context_definition() 
     125 
     126       CALL xios_update_calendar(0) 
    127127#endif 
    128128 
     
    137137      !!--------------------------------------------------------------------- 
    138138#if defined key_iomput 
     139      TYPE(xios_context) :: nemo_hdl 
    139140 
    140141     IF( TRIM(Agrif_CFixed()) == '0' ) THEN 
    141         CALL event__swap_context("nemo") 
     142        CALL xios_get_handle("nemo",nemo_hdl) 
    142143     ELSE 
    143         CALL event__swap_context(TRIM(Agrif_CFixed())//"_nemo") 
     144        CALL xios_get_handle(TRIM(Agrif_CFixed())//"_nemo",nemo_hdl) 
    144145     ENDIF 
     146     CALL xios_set_current_context(nemo_hdl) 
    145147 
    146148#endif 
     
    339341      INTEGER ::   i_s, i_e   ! temporary integer 
    340342      CHARACTER(LEN=100)    ::   clinfo    ! info character 
     343      INTEGER :: inb_period_initial, inb_period_final, inb_period_sec, inb_period_max, inb_period 
    341344      !--------------------------------------------------------------------- 
    342345      ! 
     
    349352         i_e = jpmax_files 
    350353#if defined key_iomput 
    351          CALL event__stop_ioserver 
     354         CALL xios_context_finalize() 
    352355#endif 
    353356      ENDIF 
     
    960963      REAL(wp)        , INTENT(in) ::   pfield0d 
    961964#if defined key_iomput 
    962       CALL event__write_field2D( cdname, RESHAPE( (/pfield0d/), (/1,1/) ) ) 
     965      CALL xios_send_field(cdname, (/pfield0d/)) 
    963966#else 
    964967      IF( .FALSE. )   WRITE(numout,*) cdname, pfield0d   ! useless test to avoid compilation warnings 
     
    969972      CHARACTER(LEN=*)          , INTENT(in) ::   cdname 
    970973      REAL(wp),     DIMENSION(:), INTENT(in) ::   pfield1d 
    971       INTEGER :: jpz 
    972974#if defined key_iomput 
    973       jpz=SIZE(pfield1d) 
    974       CALL event__write_field3D( cdname, RESHAPE( (/pfield1d/), (/1,1,jpz/) ) ) 
     975      CALL xios_send_field( cdname, RESHAPE( (/pfield1d/), (/1,1,SIZE(pfield1d)/) ) ) 
    975976#else 
    976977      IF( .FALSE. )   WRITE(numout,*) cdname, pfield1d   ! useless test to avoid compilation warnings 
     
    982983      REAL(wp),     DIMENSION(:,:), INTENT(in) ::   pfield2d 
    983984#if defined key_iomput 
    984       CALL event__write_field2D( cdname, pfield2d(nldi:nlei, nldj:nlej) ) 
     985      CALL xios_send_field(cdname, pfield2d) 
    985986#else 
    986987      IF( .FALSE. )   WRITE(numout,*) cdname, pfield2d   ! useless test to avoid compilation warnings 
     
    992993      REAL(wp),       DIMENSION(:,:,:), INTENT(in) ::   pfield3d 
    993994#if defined key_iomput 
    994       CALL event__write_field3D( cdname, pfield3d(nldi:nlei, nldj:nlej, :) ) 
     995      CALL xios_send_field(cdname, pfield3d) 
    995996#else 
    996997      IF( .FALSE. )   WRITE(numout,*) cdname, pfield3d   ! useless test to avoid compilation warnings 
     
    10021003#if defined key_iomput 
    10031004 
     1005   SUBROUTINE iom_set_domain_attr( cdname, ni_glo, nj_glo, ibegin, jbegin, ni, nj, zoom_ibegin, zoom_jbegin, zoom_ni, zoom_nj,   & 
     1006      &                                    data_dim, data_ibegin, data_ni, data_jbegin, data_nj, lonvalue, latvalue ) 
     1007      CHARACTER(LEN=*)                , INTENT(in) ::   cdname 
     1008      INTEGER               , OPTIONAL, INTENT(in) ::   ni_glo, nj_glo, ibegin, jbegin, ni, nj 
     1009      INTEGER               , OPTIONAL, INTENT(in) ::   data_dim, data_ibegin, data_ni, data_jbegin, data_nj 
     1010      INTEGER               , OPTIONAL, INTENT(in) ::   zoom_ibegin, zoom_jbegin, zoom_ni, zoom_nj 
     1011      REAL(wp), DIMENSION(:), OPTIONAL, INTENT(in) ::   lonvalue, latvalue 
     1012 
     1013      IF ( xios_is_valid_domain(TRIM(cdname)) ) THEN 
     1014         CALL xios_set_domain_attr( cdname, ni_glo=ni_glo, nj_glo=nj_glo, ibegin=ibegin, jbegin=jbegin, ni=ni, nj=nj  ,   & 
     1015            &    data_dim=data_dim, data_ibegin=data_ibegin, data_ni=data_ni, data_jbegin=data_jbegin, data_nj=data_nj,   & 
     1016            &    zoom_ibegin=zoom_ibegin, zoom_jbegin=zoom_jbegin, zoom_ni=zoom_ni, zoom_nj=zoom_nj,                      & 
     1017            &    lonvalue=lonvalue, latvalue=latvalue ) 
     1018      ENDIF 
     1019 
     1020      IF ( xios_is_valid_domaingroup(TRIM(cdname)) ) THEN 
     1021         CALL xios_set_domaingroup_attr( cdname, ni_glo=ni_glo, nj_glo=nj_glo, ibegin=ibegin, jbegin=jbegin, ni=ni, nj=nj,   & 
     1022            &    data_dim=data_dim, data_ibegin=data_ibegin, data_ni=data_ni, data_jbegin=data_jbegin, data_nj=data_nj   ,   & 
     1023            &    zoom_ibegin=zoom_ibegin, zoom_jbegin=zoom_jbegin, zoom_ni=zoom_ni, zoom_nj=zoom_nj,                         & 
     1024            &    lonvalue=lonvalue, latvalue=latvalue ) 
     1025      ENDIF 
     1026 
     1027   END SUBROUTINE iom_set_domain_attr 
     1028 
     1029 
     1030   SUBROUTINE iom_set_field_attr( cdname, freq_op) 
     1031      CHARACTER(LEN=*)          , INTENT(in) ::   cdname 
     1032      CHARACTER(LEN=*),OPTIONAL , INTENT(in) ::   freq_op 
     1033 
     1034      IF ( xios_is_valid_field(TRIM(cdname)) ) THEN 
     1035         CALL xios_set_field_attr( cdname, freq_op=freq_op ) 
     1036      ENDIF 
     1037      IF ( xios_is_valid_fieldgroup(TRIM(cdname)) ) THEN 
     1038         CALL xios_set_fieldgroup_attr( cdname, freq_op=freq_op ) 
     1039      ENDIF 
     1040 
     1041   END SUBROUTINE iom_set_field_attr 
     1042 
     1043 
     1044   SUBROUTINE iom_set_file_attr( cdname, name, name_suffix ) 
     1045      CHARACTER(LEN=*)          , INTENT(in) ::   cdname 
     1046      CHARACTER(LEN=*),OPTIONAL , INTENT(in) ::   name, name_suffix 
     1047 
     1048      IF ( xios_is_valid_file(TRIM(cdname)) ) THEN 
     1049         CALL xios_set_file_attr( cdname, name=name, name_suffix=name_suffix ) 
     1050      ENDIF 
     1051      IF ( xios_is_valid_filegroup(TRIM(cdname)) ) THEN 
     1052         CALL xios_set_filegroup_attr( cdname, name=name, name_suffix=name_suffix ) 
     1053      ENDIF 
     1054 
     1055   END SUBROUTINE iom_set_file_attr 
     1056 
     1057 
    10041058   SUBROUTINE set_grid( cdname, plon, plat ) 
    10051059      !!---------------------------------------------------------------------- 
     
    10121066      REAL(wp), DIMENSION(jpi,jpj), INTENT(in) ::   plon 
    10131067      REAL(wp), DIMENSION(jpi,jpj), INTENT(in) ::   plat 
    1014  
    1015       CALL event__set_grid_dimension( cdname, jpiglo, jpjglo) 
    1016       CALL event__set_grid_domain( cdname, nlei-nldi+1, nlej-nldj+1, nimpp+nldi-1, njmpp+nldj-1, & 
    1017          &                         plon(nldi:nlei, nldj:nlej), plat(nldi:nlei, nldj:nlej) ) 
    1018       CALL event__set_grid_type_nemo( cdname ) 
    1019  
     1068      INTEGER  :: ni,nj 
     1069       
     1070      ni=nlei-nldi+1 ; nj=nlej-nldj+1 
     1071 
     1072      CALL iom_set_domain_attr(cdname, ni_glo=jpiglo, nj_glo=jpjglo, ibegin=nimpp+nldi-1, jbegin=njmpp+nldj-1, ni=ni, nj=nj) 
     1073      CALL iom_set_domain_attr(cdname, data_dim=2, data_ibegin = 1-nldi, data_ni = jpi, data_jbegin = 1-nldj, data_nj = jpj) 
     1074      CALL iom_set_domain_attr(cdname, lonvalue = RESHAPE(plon(nldi:nlei, nldj:nlej),(/ ni*nj /)),   & 
     1075         &                             latvalue = RESHAPE(plat(nldi:nlei, nldj:nlej),(/ ni*nj /)))    
     1076       
    10201077   END SUBROUTINE set_grid 
    10211078 
     
    10301087      REAL(wp), DIMENSION(1,1) ::   zz = 1. 
    10311088      !!---------------------------------------------------------------------- 
    1032       CALL event__set_grid_dimension( 'scalarpoint', jpnij, 1) 
    1033       CALL event__set_grid_domain   ( 'scalarpoint', 1, 1, narea, 1, zz, zz ) 
    1034       CALL event__set_grid_type_nemo( 'scalarpoint' ) 
     1089      CALL iom_set_domain_attr('scalarpoint', ni_glo=jpnij, nj_glo=1, ibegin=narea, jbegin=1, ni=1, nj=1) 
     1090      CALL iom_set_domain_attr('scalarpoint', data_dim=1) 
     1091      CALL iom_set_domain_attr('scalarpoint', lonvalue=(/ zz /), latvalue=(/ zz /)) 
    10351092 
    10361093   END SUBROUTINE set_scalar 
     
    10491106      CHARACTER(len=1)               ::   cl1                      ! 1 character 
    10501107      CHARACTER(len=2)               ::   cl2                      ! 1 character 
     1108      CHARACTER(len=255)             ::   tfo 
    10511109      INTEGER                        ::   idt                      ! time-step in seconds 
    10521110      INTEGER                        ::   iddss, ihhss             ! number of seconds in 1 day, 1 hour and 1 year 
     
    10681126 
    10691127      ! frequency of the call of iom_put (attribut: freq_op) 
    1070       CALL event__set_attribut( 'field_definition', attr( field__freq_op, idt           ) )    ! model time-step 
    1071       CALL event__set_attribut( 'SBC'             , attr( field__freq_op, idt * nn_fsbc ) )    ! SBC time-step 
    1072        
     1128      tfo = TRIM(i2str(idt))//'s' 
     1129      CALL iom_set_field_attr('field_definition', freq_op=tfo) 
     1130      CALL iom_set_field_attr('SBC', freq_op=TRIM(i2str(idt* nn_fsbc))//'s') 
     1131        
    10731132      ! output file names (attribut: name) 
    10741133      clsuff(:) = (/ 'grid_T', 'grid_U', 'grid_V', 'grid_W', 'icemod', 'ptrc_T', 'diad_T', 'scalar' /)       
     
    10781137               WRITE(cl2,'(i2)') jh  
    10791138               CALL dia_nam( clname, jh * ihhss, clsuff(jg), ldfsec = .TRUE. ) 
    1080                CALL event__set_attribut( TRIM(ADJUSTL(cl2))//'h_'//clsuff(jg), attr( file__name, TRIM(clname) ) ) 
     1139               CALL iom_set_file_attr(TRIM(ADJUSTL(cl2))//'h_'//clsuff(jg), name=TRIM(clname)) 
    10811140            ENDIF 
    10821141         END DO 
     
    10841143            WRITE(cl1,'(i1)') jd  
    10851144            CALL dia_nam( clname, jd * iddss, clsuff(jg), ldfsec = .TRUE. ) 
    1086             CALL event__set_attribut( cl1//'d_'//clsuff(jg), attr( file__name, TRIM(clname) ) ) 
     1145            CALL iom_set_file_attr(cl1//'d_'//clsuff(jg), name=TRIM(clname)) 
    10871146         END DO 
    10881147         DO jm = 1, 6                                                                          ! 1, 2, 3, 4, 6 months 
     
    10901149               WRITE(cl1,'(i1)') jm  
    10911150               CALL dia_nam( clname, -jm, clsuff(jg) ) 
    1092                CALL event__set_attribut( cl1//'m_'//clsuff(jg), attr( file__name, TRIM(clname) ) ) 
     1151               CALL iom_set_file_attr(cl1//'m_'//clsuff(jg), name=TRIM(clname)) 
    10931152            ENDIF 
    10941153         END DO 
     
    10971156               WRITE(cl2,'(i2)') jy  
    10981157               CALL dia_nam( clname, -jy * iyymo, clsuff(jg) ) 
    1099                CALL event__set_attribut( TRIM(ADJUSTL(cl2))//'y_'//clsuff(jg), attr( file__name, TRIM(clname) ) ) 
     1158               CALL iom_set_file_attr(TRIM(ADJUSTL(cl2))//'y_'//clsuff(jg), name=TRIM(clname)) 
    11001159            ENDIF 
    11011160         END DO 
     
    11081167         ! Equatorial section (attributs: jbegin, ni, name_suffix) 
    11091168         CALL dom_ngb( 0., 0., ix, iy, cl1 ) 
    1110          CALL event__set_attribut( 'Eq'//cl1, attr( zoom__jbegin     , iy     ) ) 
    1111          CALL event__set_attribut( 'Eq'//cl1, attr( zoom__ni         , jpiglo ) ) 
    1112          CALL event__set_attribut( 'Eq'//cl1, attr( file__name_suffix, '_Eq'  ) ) 
     1169         CALL iom_set_domain_attr('Eq'//cl1, zoom_jbegin=iy, zoom_ni=jpiglo) 
     1170         CALL iom_set_file_attr('Eq'//cl1, name_suffix= '_Eq') 
    11131171      END DO 
    11141172      ! TAO moorings (attributs: ibegin, jbegin, name_suffix) 
     
    11851243               ENDIF 
    11861244               clname = TRIM(ADJUSTL(clat))//TRIM(ADJUSTL(clon)) 
    1187                CALL event__set_attribut( TRIM(clname)//cl1, attr( zoom__ibegin     , ix                ) ) 
    1188                CALL event__set_attribut( TRIM(clname)//cl1, attr( zoom__jbegin     , iy                ) ) 
    1189                CALL event__set_attribut( TRIM(clname)//cl1, attr( file__name_suffix, '_'//TRIM(clname) ) )       
     1245               CALL iom_set_domain_attr(TRIM(clname)//cl1, zoom_ibegin= ix, zoom_jbegin= iy) 
     1246               CALL iom_set_file_attr(TRIM(clname)//cl1, name_suffix= '_'//TRIM(clname)) 
    11901247            END DO 
    11911248         END DO 
     
    12031260#endif 
    12041261 
    1205  
     1262   FUNCTION i2str(int) 
     1263   IMPLICIT NONE 
     1264      INTEGER, INTENT(IN) :: int 
     1265      CHARACTER(LEN=255) :: i2str 
     1266 
     1267      WRITE(i2str,*) int 
     1268       
     1269   END FUNCTION i2str   
     1270    
    12061271   !!====================================================================== 
    12071272END MODULE iom 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r3294 r3415  
    241241      !                                            ! ---------------------------------------- ! 
    242242 
    243       CALL iom_setkt( kt + nn_fsbc - 1 )                 ! in sbc, iom_put is called every nn_fsbc time step 
     243!      CALL iom_setkt( kt + nn_fsbc - 1 )                 ! in sbc, iom_put is called every nn_fsbc time step 
    244244      ! 
    245245      IF( ln_apr_dyn ) CALL sbc_apr( kt )                ! atmospheric pressure provided at kt+0.5*nn_fsbc 
     
    344344      ENDIF 
    345345      ! 
    346       CALL iom_setkt( kt )           ! iom_put outside of sbc is called at every time step 
     346!      CALL iom_setkt( kt )           ! iom_put outside of sbc is called at every time step 
    347347      ! 
    348348      CALL iom_put( "utau", utau )   ! i-wind stress   (stress can be updated at  
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r3352 r3415  
    7373   USE lib_mpp         ! distributed memory computing 
    7474#if defined key_iomput 
    75    USE mod_ioclient 
     75   USE xios 
    7676#endif 
    7777 
     
    185185      CALL cpl_prism_finalize           ! end coupling and mpp communications with OASIS 
    186186#else 
     187# if defined key_iomput 
     188      IF( Agrif_Root() ) THEN 
     189         CALL xios_finalize             ! end mpp communications 
     190      ENDIF 
     191# else 
    187192      IF( lk_mpp )   CALL mppstop       ! end mpp communications 
     193# endif 
    188194#endif 
    189195      ! 
     
    219225      IF( Agrif_Root() ) THEN 
    220226# if defined key_oasis3 || defined key_oasis4 
    221          CALL cpl_prism_init( ilocal_comm )                 ! nemo local communicator given by oasis 
     227         CALL cpl_prism_init( ilocal_comm )      ! nemo local communicator given by oasis 
     228         CALL xios_initialize( "oceanx",local_comm=ilocal_comm ) 
     229# else 
     230         CALL  xios_initialize( "nemo",return_comm=ilocal_comm ) 
    222231# endif 
    223          CALL  init_ioclient( ilocal_comm )                 ! exchange io_server nemo local communicator with the io_server 
    224232      ENDIF 
    225233      narea = mynode( cltxt, numnam, nstop, ilocal_comm )   ! Nodes selection 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/NEMO/OPA_SRC/step.F90

    r3294 r3415  
    8989                             indic = 0                ! reset to no error condition 
    9090      IF( kstp /= nit000 )   CALL day( kstp )         ! Calendar (day was already called at nit000 in day_init) 
    91                              CALL iom_setkt( kstp )   ! say to iom that we are at time step kstp 
     91                             CALL iom_setkt( kstp - nit000 + 1 )   ! say to iom that we are at time step kstp 
    9292 
    9393      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/TOOLS/COMPILE/bldxag.cfg

    r2734 r3415  
    1313search_src           1 
    1414 
    15 src::xmlf90::cml          $MAIN_DIR/EXTERNAL/XMLF90/src/cml 
    16 src::xmlf90::dom          $MAIN_DIR/EXTERNAL/XMLF90/src/dom 
    17 src::xmlf90::sax          $MAIN_DIR/EXTERNAL/XMLF90/src/sax 
    18 src::xmlf90::strings      $MAIN_DIR/EXTERNAL/XMLF90/src/strings 
    19 src::xmlf90::wxml         $MAIN_DIR/EXTERNAL/XMLF90/src/wxml 
    20 src::xmlf90::xpath        $MAIN_DIR/EXTERNAL/XMLF90/src/xpath 
    21 src::xmlio                $MAIN_DIR/EXTERNAL/XMLIO_SERVER/src/XMLIO 
    22 src::ioserver             $MAIN_DIR/EXTERNAL/XMLIO_SERVER/src/IOSERVER 
     15src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK 
    2316src::ioipsl               $MAIN_DIR/EXTERNAL/IOIPSL/src 
    24 src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK 
    2517 
    26 bld::target  server.exe nemo.exe 
     18bld::target  nemo.exe 
    2719bld::exe_dep 
    2820 
     
    3022dir::root            $NEMO_TDIR/$NEW_CONF/BLD 
    3123 
    32  
    3324bld::tool::fc        %FC  
    34 bld::tool::fflags    %FCFLAGS %USER_INC 
     25bld::tool::fflags    %FCFLAGS %USER_INC -I$MAIN_DIR/EXTERNAL/XIOS/inc 
    3526bld::tool::ld        %LD 
    36 bld::tool::ldflags   %LDFLAGS %USER_LIB 
     27bld::tool::ldflags   %LDFLAGS %USER_LIB -L$MAIN_DIR/EXTERNAL/XIOS/lib  -lxios  -lstdc++ 
    3728bld::tool::ar        %AR 
    3829bld::tool::arflags   %ARFLAGS 
     
    4031 
    4132# Pre-process code before analysing dependencies 
    42 bld::pp::xmlio    1 
    43 bld::pp::ioserver 1 
     33bld::pp::nemo     1 
    4434bld::pp::ioipsl   1 
    45 bld::pp::nemo     1 
    4635bld::tool::fpp       $COMPIL_DIR/agrifpp.sh 
    4736bld::tool::fppflags::nemo ${AGRIFUSE} %FPPFLAGS 
    48 bld::tool::fppflags::xmlio    0 %FPPFLAGS 
    49 bld::tool::fppflags::ioserver 0 %FPPFLAGS 
    5037bld::tool::fppflags::ioipsl   0 %FPPFLAGS 
    5138 
     
    5441bld::excl_dep        inc::VT.inc 
    5542bld::excl_dep        use::netcdf 
     43bld::excl_dep        use::xios 
    5644bld::excl_dep        h::netcdf.inc 
    5745bld::excl_dep        h::mpif.h 
Note: See TracChangeset for help on using the changeset viewer.