<?xml version="1.0"?>

<!--
============================================================================================================
=                                           output files definition                                        =
=                                            Define your own filesfor ocean dynamics context               =
=                                         put the variables you want...                                    =
============================================================================================================
    -->
   
    <file_definition type="one_file" name="@expname@_@freq@_@startdate@_@enddate@" sync_freq="5d" min_digits="4">
    
      <file_group id="5d" output_freq="5d"  output_level="10" enabled=".TRUE.">  <!-- 5d files -->   
        <file id="file11" name_suffix="_grid_T" description="ocean T grid variables" >
          <field field_ref="e3t"      />
          <field field_ref="toce"         name="thetao"                                                                      operation="instant" freq_op="5d" > @toce_e3t / @e3t </field>
          <field field_ref="soce"         name="so"                                                                          operation="instant" freq_op="5d" > @soce_e3t / @e3t </field>

          <field field_ref="sst"          name="tos"   />
          <field field_ref="sss"          name="sos"   />
          <field field_ref="ssh"          name="zos"   />

          <field field_ref="mldr10_1" />

          <field field_ref="sbt"                          />
          <field field_ref="sbs"                          />

	  <field field_ref="empmr"        name="wfo"      />
	  <field field_ref="qsr_oce"      name="qsr_oce"  />
	  <field field_ref="qns_oce"      name="qns_oce"  />
	  <field field_ref="qt_oce"       name="qt_oce"   />
	  <field field_ref="saltflx"      name="sfx"      />
	  <field field_ref="taum"         name="taum"     />
	  <field field_ref="wspd"         name="windsp"   />
	  <field field_ref="precip"       name="precip"   />
	  <field field_ref="snowpre"                      />

          <!-- ice shelf exchange coef  -->
          <field field_ref="isfgammat"    name="sogammat_cav"  />
          <field field_ref="isfgammas"    name="sogammas_cav"  />
          <field field_ref="isfustar"     name="ustar_cav"  />

          <!-- ice shelf tbl properties  -->
          <field field_ref="isfthermald_cav" name="thermald_cav"  />
          <field field_ref="ttbl_cav"      name="ttbl_cav"  />
          <field field_ref="stbl"          name="stbl_cav"  />
          <field field_ref="utbl"          name="utbl_cav"  />
          <field field_ref="vtbl"          name="vtbl_cav"  />

          <!-- ice shelf fluxes  -->
          <field field_ref="fwfisf_cav"      name="sowflisf_cav" />
          <field field_ref="qoceisf_cav"     name="qoceisf_cav"  />
          <field field_ref="qlatisf_cav"     name="qlatisf_cav"  />
          <field field_ref="qhcisf_cav"      name="qhcisf_cav"   />
          <field field_ref="qconisf"         name="qhcond_cav"   />
          <field field_ref="fwfisf3d_cav"    name="sowflisf3d_cav" />
          
          <field field_ref="fwfisf_par"      name="sowflisf_par" />
          <field field_ref="qoceisf_par"     name="qoceisf_par"  />
          <field field_ref="qlatisf_par"     name="qlatisf_par"  />
          <field field_ref="qhcisf_par"      name="qhcisf_par"   />
          <field field_ref="fwfisf3d_par"    name="sowflisf3d_par" />

	</file>

	<file id="file12" name_suffix="_grid_U" description="ocean U grid variables" >
	  <field field_ref="e3u" />
	  <field field_ref="ssu"          name="uos"      />
	  <field field_ref="uoce"         name="uo"       operation="instant" freq_op="5d" > @uoce_e3u / @e3u </field>
	  <field field_ref="utau"         name="tauuo"    />
	</file>
	
	<file id="file13" name_suffix="_grid_V" description="ocean V grid variables" >
	  <field field_ref="e3v" />
	  <field field_ref="ssv"          name="vos"      />
	  <field field_ref="voce"         name="vo"       operation="instant" freq_op="5d" > @voce_e3v / @e3v </field>
	  <field field_ref="vtau"         name="tauvo"    />
	</file>
	
	<file id="file14" name_suffix="_grid_W" description="ocean W grid variables" >
	  <field field_ref="e3w" />
	  <field field_ref="woce"         name="wo"       />
	  <field field_ref="avt"          name="difvho"   />
          <field field_ref="bn2"          name="bn2"        />
	</file>

      </file_group> 

      <file_group id="1ts" output_freq="1ts" output_level="10" enabled=".TRUE."/> <!-- 1 time step files -->
      <file_group id="2h"  output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files -->
      <file_group id="3h"  output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->     
      <file_group id="4h"  output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files -->
      <file_group id="6h"  output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files -->     
      <file_group id="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>
    



