<?xml version="1.0"?>
    <!-- 
============================================================================================================
=                                           output files definition                                        =
=                                            Define your own files                                         =
=                                         put the variables you want...                                    =
============================================================================================================
    -->
    
    <file_definition type="one_file" name="@expname@_@freq@_@startdate@_@enddate@" sync_freq="1d" min_digits="4">
    
      <file_group id="1ts" output_freq="1ts"  output_level="10" enabled=".TRUE."> <!-- 1 time step files -->
	<file id="file96" name_suffix="_grid_T" description="ocean T grid variables" >
	  <field field_ref="ssh"          name="sossheig"  />
          <field field_ref="sss"          name="sosaline"  />
	  <!--
	  <field field_ref="wdmask"       name="wdmask"  />
	  <field field_ref="wetdep"       name="wetdepth"  />
          <field field_ref="toce"         name="votemper"  />
          <field field_ref="soce"         name="vosaline"  />
          -->
        </file>
	<file id="file87" name_suffix="_grid_U" description="ocean U grid variables" >
	  <!--
          <field field_ref="un_b"         name="un_b"    operation="instant"/>
          <field field_ref="uoce"         name="vozocrtx" operation="instant"  />
          -->
          <field field_ref="ubar"         name="ubaro"    operation="instant"/>
	  <!--
          <field field_ref="un_b"         name="un_b"    operation="instant"/>
          <field field_ref="ucli"         name="uc_un" operation="instant"  />
          <field field_ref="ucli2"         name="uc_un2" operation="instant"  />
          <field field_ref="ssu"         name="r1_hu_a" operation="instant"  />
          <field field_ref="wdlmtu"         name="wdlmtu" operation="instant"  />
          -->
        </file>
	<file id="file88" name_suffix="_grid_V" description="ocean V grid variables" >
          <field field_ref="vbar"         name="vbaro"    operation="instant"/>
        </file>
      </file_group>
      <file_group id="1h" output_freq="1h"  output_level="10" enabled=".TRUE."> <!-- 1h files -->
	<file id="file97" name_suffix="_grid_T" description="ocean T grid variables" >
	  <field field_ref="ssh"          name="sossheig"  operation="instant"  />
	  <field field_ref="e3t"          name="e3t"  operation="instant"  />
          <field field_ref="toce"         name="votemper"  />
      </file>
      <file id="file98" name_suffix="_grid_U" description="ocean U grid variables" >
          <field field_ref="ubar"         name="ubaro"    operation="instant"/>
      </file>
      </file_group>
      <file_group id="2h" output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files -->
      <file_group id="3h" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->     
      <file_group id="4h" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files -->
      <file_group id="6h" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files -->
     
      <file_group id="1d" output_freq="1d"  output_level="10" enabled=".TRUE."/> <!-- 1d files -->
      <file_group id="3d" output_freq="3d"  output_level="10" enabled=".TRUE."/> <!-- 3d files -->    
      <file_group id="5d" output_freq="5d"  output_level="10" enabled=".TRUE.">  <!-- 5d files -->  
 
	<file id="file1" name_suffix="_grid_T" description="ocean T grid variables" >
	  <field field_ref="toce"         name="votemper"  />
	  <field field_ref="soce"         name="vosaline"  />
	  <field field_ref="sst"          name="sosstsst"  />
	  <field field_ref="sss"          name="sosaline"  />
	  <field field_ref="ssh"          name="sossheig"  />
	  <field field_ref="empmr"        name="sowaflup"  />
	  <field field_ref="qsr"          name="soshfldo"  />
      <field field_ref="saltflx"      name="sosfldow"  />
	  <field field_ref="qt"           name="sohefldo"  />
	  <field field_ref="mldr10_1"     name="somxl010"  />
	  <field field_ref="mldkz5"       name="somixhgt"  />
          <field field_ref="utau"         name="sozotaux"  />
          <field field_ref="vtau"         name="sometauy"  /> 
    </file>
	
	<file id="file2" name_suffix="_grid_U" description="ocean U grid variables" >
          <field field_ref="uoce"         name="vozocrtx"  />
    </file>
	
	<file id="file3" name_suffix="_grid_V" description="ocean V grid variables" >
          <field field_ref="voce"         name="vomecrty"  /> 
    </file>
	
	<file id="file4" name_suffix="_grid_W" description="ocean W grid variables" >
          <field field_ref="woce"         name="vovecrtz" />
          <field field_ref="avt"          name="votkeavt" />
    </file>

      </file_group>

      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".TRUE."/> <!-- real monthly files -->
      <file_group id="2m" output_freq="2mo" output_level="10" enabled=".TRUE."/> <!-- real 2m files -->
      <file_group id="3m" output_freq="3mo" output_level="10" enabled=".TRUE."/> <!-- real 3m files -->
      <file_group id="4m" output_freq="4mo" output_level="10" enabled=".TRUE."/> <!-- real 4m files -->
      <file_group id="6m" output_freq="6mo" output_level="10" enabled=".TRUE."/> <!-- real 6m files -->

      <file_group id="1y"  output_freq="1y" output_level="10" enabled=".TRUE."/> <!-- real yearly files -->
      <file_group id="2y"  output_freq="2y" output_level="10" enabled=".TRUE."/> <!-- real 2y files -->
      <file_group id="5y"  output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files -->
      <file_group id="10y" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files -->

   </file_definition>