<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MSMalhadas</id>
		<title>MohidWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MSMalhadas"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Special:Contributions/MSMalhadas"/>
		<updated>2026-04-04T17:36:49Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6719</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6719"/>
				<updated>2013-05-28T17:33:17Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* External fields assimilation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  !OBC are from Submodel &lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  !Allows to initializate the fields from submodel    &lt;br /&gt;
  !Change to SUBMODEL_INI : 0 to continued the calculus from the spin-up run or remove it&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External fields assimilation==&lt;br /&gt;
&lt;br /&gt;
Assimilation of a 3D external solution salinity and temperature are imposed in [[Module Assimilation|Assimilation]] module of MOHID. These differs from Level 1 to Level n of nested aplications. In level that external 3D fields are assimilated must be activated the cold relax period for assimilating the 3D salinity, temperature, velocity U and V.&lt;br /&gt;
&lt;br /&gt;
===Level 1===&lt;br /&gt;
&lt;br /&gt;
Sample of Assimilation file:&lt;br /&gt;
&lt;br /&gt;
   OUTPUT_TIME             : 0 864000.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : water level&lt;br /&gt;
   UNITS                   : m&lt;br /&gt;
   DIMENSION               : 2D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity U&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : u&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity V&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : v&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : temperature&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 18&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : salinity&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 36&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of Assimilation file:&lt;br /&gt;
&lt;br /&gt;
   OUTPUT_TIME             : 0 864000.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : water level&lt;br /&gt;
   UNITS                   : m&lt;br /&gt;
   DIMENSION               : 2D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity U&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : u&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity V&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : v&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : temperature&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : salinity&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6718</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6718"/>
				<updated>2013-05-28T17:29:42Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Assimilation 3D external Fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  !OBC are from Submodel &lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  !Allows to initializate the fields from submodel    &lt;br /&gt;
  !Change to SUBMODEL_INI : 0 to continued the calculus from the spin-up run or remove it&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External fields assimilation==&lt;br /&gt;
&lt;br /&gt;
To perform assimilation of a 3D external solution for salinity, temperature, velocity U and velocity V and 2D external solution of water level the variables must be prescribed in assimila &lt;br /&gt;
&lt;br /&gt;
===Level 1===&lt;br /&gt;
&lt;br /&gt;
Sample of Assimilation file:&lt;br /&gt;
&lt;br /&gt;
   OUTPUT_TIME             : 0 864000.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : water level&lt;br /&gt;
   UNITS                   : m&lt;br /&gt;
   DIMENSION               : 2D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity U&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : u&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity V&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : v&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : temperature&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 18&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : salinity&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 36&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of Assimilation file:&lt;br /&gt;
&lt;br /&gt;
   OUTPUT_TIME             : 0 864000.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : water level&lt;br /&gt;
   UNITS                   : m&lt;br /&gt;
   DIMENSION               : 2D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity U&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : u&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity V&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : v&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : temperature&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : salinity&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6717</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6717"/>
				<updated>2013-05-28T17:19:23Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Assimilation 3D external Fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  !OBC are from Submodel &lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  !Allows to initializate the fields from submodel    &lt;br /&gt;
  !Change to SUBMODEL_INI : 0 to continued the calculus from the spin-up run or remove it&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Assimilation 3D external Fields==&lt;br /&gt;
&lt;br /&gt;
   OUTPUT_TIME             : 0 864000.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : water level&lt;br /&gt;
   UNITS                   : m&lt;br /&gt;
   DIMENSION               : 2D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity U&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : u&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity V&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : v&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : temperature&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 18&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : salinity&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
   COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 36&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6716</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6716"/>
				<updated>2013-05-28T17:17:23Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  !OBC are from Submodel &lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  !Allows to initializate the fields from submodel    &lt;br /&gt;
  !Change to SUBMODEL_INI : 0 to continued the calculus from the spin-up run or remove it&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Assimilation 3D external Fields==&lt;br /&gt;
&lt;br /&gt;
   OUTPUT_TIME             : 0 864000.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : water level&lt;br /&gt;
   UNITS                   : m&lt;br /&gt;
   DIMENSION               : 2D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity U&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : u&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : velocity V&lt;br /&gt;
   UNITS                   : m/s&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 0&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : v&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : temperature&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 18&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
   NAME                    : salinity&lt;br /&gt;
   UNITS                   : ºC&lt;br /&gt;
   DIMENSION               : 3D&lt;br /&gt;
   OUTPUT_HDF              : 1&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 36&lt;br /&gt;
   INITIALIZATION_METHOD   : HDF&lt;br /&gt;
   FILE_IN_TIME            : HDF&lt;br /&gt;
   FILENAME                : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
   DEFAULTVALUE            : 1e9&lt;br /&gt;
   TYPE_ZUV                : z&lt;br /&gt;
   FILE_IN_TIME            : NONE&lt;br /&gt;
   REMAIN_CONSTANT         : 1&lt;br /&gt;
   INITIALIZATION_METHOD   : Sponge&lt;br /&gt;
   SPONGE_OUT              : 1e5&lt;br /&gt;
  &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6715</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6715"/>
				<updated>2013-05-28T16:48:43Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  !OBC are from Submodel &lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  !Allows to initializate the fields from submodel    &lt;br /&gt;
  !Change to SUBMODEL_INI : 0 to continued the calculus from the spin-up run or remove it&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6714</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6714"/>
				<updated>2013-05-28T16:47:32Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Initial conditions and Spin up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  !OBC are from Submodel &lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  !Allows to initializate the fields from submodel    &lt;br /&gt;
  !Change to SUBMODEL_INI : 0 to continued the calculus from the spin-up run or remove it&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 &lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6713</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6713"/>
				<updated>2013-05-28T16:41:28Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6712</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6712"/>
				<updated>2013-05-28T16:40:51Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6711</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6711"/>
				<updated>2013-05-28T16:39:36Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
 &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6710</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6710"/>
				<updated>2013-05-28T16:38:30Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
 &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6709</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6709"/>
				<updated>2013-05-28T16:36:57Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF &lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to OLD: 1 to continued the calculus from the spin-up run&lt;br /&gt;
 &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  !Read the 3D salinity fields interpolated to MOHID grid from HDF5 file&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Assumes null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6708</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6708"/>
				<updated>2013-05-28T16:29:51Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Change it to OLD: 1 in the continuous run &lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Change it to OLD: 1 in the continuous run&lt;br /&gt;
 &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6707</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6707"/>
				<updated>2013-05-28T16:29:14Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Change it to OLD: 1 in the continuous run &lt;br /&gt;
&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
&lt;br /&gt;
  OLD                      : 0   &lt;br /&gt;
  !Change it to OLD: 1 in the continuous run&lt;br /&gt;
 &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   &lt;br /&gt;
  !Null gradient at the open boundary&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6706</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6706"/>
				<updated>2013-05-28T16:27:28Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 3 to Level n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6705</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6705"/>
				<updated>2013-05-28T16:26:27Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 3 to Level n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel (in this case Level 2)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6704</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6704"/>
				<updated>2013-05-28T16:25:43Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 3 to Level n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel (in this case Level 2)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6703</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6703"/>
				<updated>2013-05-28T16:24:39Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 3 to Level n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       &lt;br /&gt;
 !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
 !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      &lt;br /&gt;
  !OBC from submodel (in this case Level 2)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6702</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6702"/>
				<updated>2013-05-28T16:23:19Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6701</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6701"/>
				<updated>2013-05-28T16:22:53Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6700</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6700"/>
				<updated>2013-05-28T16:21:54Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
 &lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6699</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6699"/>
				<updated>2013-05-28T16:21:18Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued the calculus from the spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9&lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6698</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6698"/>
				<updated>2013-05-28T16:19:27Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued calculus from spin-up run &lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords is only used in spin-up run, remove it to continued calculus from spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      &lt;br /&gt;
  !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7&lt;br /&gt;
  !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1 &lt;br /&gt;
  !Allows to start from water level of submodel (should be 1 in spin-up run)    &lt;br /&gt;
  !Change it to SUBMODEL_FATHER_HOT_START : 0 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
  !Allows to calculate barotropic velocities from velocity U and V of the 3D external solution&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      &lt;br /&gt;
  RAMP_PERIOD               : 259200 &lt;br /&gt;
  !Start with baroclinic force null and only after a specific period specified (seconds) the total force is compute&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued calculus from spin-up run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200&lt;br /&gt;
  !Start wind with a ramp period for wind forcing in order to allow a slowly adjustement &lt;br /&gt;
  !Both keywords are used only in the spin-up run&lt;br /&gt;
  !Remove both keywords and include WIND: 1 to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      &lt;br /&gt;
  ATM_PERIOD                : 259200 &lt;br /&gt;
  !Connect pressure forcing slowly for the prescribe period of time&lt;br /&gt;
  !ATM_PERIOD keyword is used only in te spin-up run, remove it to continued the calculus from the spin-up run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 &lt;br /&gt;
  !Allows the relaxation of water level solution for a period of time&lt;br /&gt;
  !This keyword is only used in spin-up run, remove it to continued calculus from spin-up run &lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6697</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6697"/>
				<updated>2013-05-28T15:59:08Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !This keyword is only used in spin-up run. To make continued calculus remove it&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to make a continued calculations from spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords should be only enabled in the spin-up run. To make continued calculations remove it   &lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !The coefficient is calculated by BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6696</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6696"/>
				<updated>2013-05-28T15:56:00Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !Connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !For calculating the calculus if in the previous run this keyword is activated then remove it (should only be in spin-up run)&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0 &lt;br /&gt;
  !Allows to pursue calculus from a previous run (should be 0 in spin-up run)     &lt;br /&gt;
  !Change to CONTINUOUS: 1 to make a continued calculations from spin-up run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        &lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8 &lt;br /&gt;
  !Impose an initial elevation value of 1.8 m(must be in accordance with mean water leve value of the area)&lt;br /&gt;
  !These keywords should be only enabled in the spin-up run. To make continued calculations remove it   &lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     &lt;br /&gt;
  !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6695</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6695"/>
				<updated>2013-05-28T15:43:55Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !This keyword connect the tide slowly during the time period (seconds) considered above&lt;br /&gt;
  !For calculating the calculus if in the previous run this keyword is activated then remove it&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6694</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6694"/>
				<updated>2013-05-28T15:43:29Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Level 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400 &lt;br /&gt;
  !This keyword connect the tide slowly during the time period (seconds) considered above. For calculating the calculus if in the previous run this keyword is activated then remove it&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6693</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6693"/>
				<updated>2013-05-28T15:32:47Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* GFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6692</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6692"/>
				<updated>2013-05-28T15:32:28Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* RTOFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6691</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6691"/>
				<updated>2013-05-28T15:31:51Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* MyOcean to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !1-bilinear and 3-triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !Interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !2D horizontal interpolation 1-bilinear and 3-Triangulation&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !3D vertical interpolation&lt;br /&gt;
&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6690</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6690"/>
				<updated>2013-05-28T15:29:41Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* RTOFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
   !1-bilinear and 3-triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   !Interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6689</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6689"/>
				<updated>2013-05-28T15:28:40Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* GFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
   !No interpolation 3D in vertical&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6688</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6688"/>
				<updated>2013-05-28T15:27:47Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* RTOFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt; &lt;br /&gt;
                         &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6687</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6687"/>
				<updated>2013-05-28T15:27:19Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* GFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6686</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6686"/>
				<updated>2013-05-28T15:27:01Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* MyOcean and RTOFS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6685</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6685"/>
				<updated>2013-05-28T15:26:42Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* NOAA/GFS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6684</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6684"/>
				<updated>2013-05-28T15:26:17Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Bathymetry transition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6683</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6683"/>
				<updated>2013-05-28T15:25:55Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Bathymetry transition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6682</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6682"/>
				<updated>2013-05-28T15:25:04Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* MyOcean to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat&lt;br /&gt;
   !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              &lt;br /&gt;
   !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6681</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6681"/>
				<updated>2013-05-28T15:23:19Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* MyOcean to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6680</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6680"/>
				<updated>2013-05-28T15:23:03Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* MyOcean to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6679</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6679"/>
				<updated>2013-05-28T15:22:31Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* MyOcean to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
   &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
    &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6678</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6678"/>
				<updated>2013-05-28T15:20:48Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* MyOcean and RTOFS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6677</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6677"/>
				<updated>2013-05-28T15:19:52Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Bathymetry transition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD       : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6676</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6676"/>
				<updated>2013-05-28T15:19:27Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* Bathymetry transition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD        : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6675</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6675"/>
				<updated>2013-05-28T15:18:39Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* RTOFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD        : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6674</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6674"/>
				<updated>2013-05-28T15:18:17Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* RTOFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD        : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6673</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6673"/>
				<updated>2013-05-28T15:17:26Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* GFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD        : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat&lt;br /&gt;
   &lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6672</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6672"/>
				<updated>2013-05-28T15:17:08Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* GFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD        : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat&lt;br /&gt;
   &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat&lt;br /&gt;
   &lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6671</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6671"/>
				<updated>2013-05-28T15:16:52Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* GFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD        : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat&lt;br /&gt;
   &lt;br /&gt;
   &lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat&lt;br /&gt;
   &lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6670</id>
		<title>Mohid Ocean Downscalling</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Ocean_Downscalling&amp;diff=6670"/>
				<updated>2013-05-28T15:16:34Z</updated>
		
		<summary type="html">&lt;p&gt;MSMalhadas: /* GFS to MOHID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download ==&lt;br /&gt;
&lt;br /&gt;
The area extracted from NOAA/GFS and MyOcean/RTOFS must be bigger than that the area of MOHID level domain choosen to impose the surface and ocean boundary conditions.&lt;br /&gt;
&lt;br /&gt;
===NOOA/GFS===&lt;br /&gt;
&lt;br /&gt;
To download GFS model solution go to http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=gfs4&amp;amp;model_name=gfs&amp;amp;grid_name=4. Then select date range(Ex.: 2013 April 15 To 2013 April 20), select cycles (Ex.: 0000), select forecast hours (Ex.: 003 006 009 012 015 018 021 024). Press Submit Data request button and Press Selected Files for FTP. On the Filename Filter Type “*.grb2” and press Select files button. Then select the levels desired and at FTP Information, type your email and press the start FTP button. This will place the files in the ftp for download.&lt;br /&gt;
&lt;br /&gt;
NOTES : This is a 24 hour period with all the necessary properties for Mohid, the best forecast for each day in the range. The 000 output is neglected because some properties are 3 hour average, for instance “downward solar radiation” isn’t present. For this 000 is subtracted and the 024 added.&lt;br /&gt;
&lt;br /&gt;
===MyOcean===&lt;br /&gt;
&lt;br /&gt;
To download my ocean solution go to http://www.myocean.eu/. and click in ACCES THE CATALOGUE. In block 1 choose &amp;quot;Global Ocean&amp;quot;, in 2 the parameters and in 3 choose forecast products. After fill all the blocks click search and in the next web page choose DATA ACCES and then GO. Prescribe the user name and password and then choose the dates and area of interest.&lt;br /&gt;
&lt;br /&gt;
===RTOFS===&lt;br /&gt;
&lt;br /&gt;
To download te RTOFS global model solution go to http://polar.ncep.noaa.gov/global/data_access.shtml or http://nomads.ncep.noaa.gov:9090/dods/rtofs. The download in the second one is made via opendap. select the product and thenclick in download data.&lt;br /&gt;
&lt;br /&gt;
== Conversion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bathymetry transition ===&lt;br /&gt;
&lt;br /&gt;
Running tool SmoothBathymNesting.exe&lt;br /&gt;
&lt;br /&gt;
Example of the input file SmoothBathymNesting.dat&lt;br /&gt;
 &lt;br /&gt;
 !File [[Bathymetry| bathymetry]] of the external 3D solution&lt;br /&gt;
  FATHER_BATIM                : Father.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !Bathymetry File of MOHID solution&lt;br /&gt;
  SON_BATIM                   : Son.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 !New Bathymetry File &lt;br /&gt;
  NEW_SON_BATIM               : NewSon.dat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_coef&amp;gt;&lt;br /&gt;
  !Name of generic property&lt;br /&gt;
  NAME                        : generic property  &lt;br /&gt;
&lt;br /&gt;
  !Type of initialization used &lt;br /&gt;
  INITIALIZATION_METHOD        : sponge  &lt;br /&gt;
          &lt;br /&gt;
  !0-external 3D solution, 1-MOHID solution&lt;br /&gt;
  DEFAULTVALUE                : 1                &lt;br /&gt;
  &lt;br /&gt;
  !sponge output&lt;br /&gt;
  SPONGE_OUT                  : 0&lt;br /&gt;
&lt;br /&gt;
  !sponge cells number&lt;br /&gt;
  SPONGE_CELLS                : 10   &lt;br /&gt;
        &lt;br /&gt;
   !1-exponential, 2-linear&lt;br /&gt;
  SPONGE_EVOLUTION            : 2                &lt;br /&gt;
 &amp;lt;end_coef&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Grib-Netcdf-Hdf5 ===&lt;br /&gt;
&lt;br /&gt;
==== NOAA/GFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
To convert grib files to NetCDF files create a batch file and write the follow comand line &amp;quot;java -Xmx1024m -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in gfs_4_20130415_0000_003.grb2 -out gfs_4_20130415_0000_003.nc &amp;gt; NCDumpLog.txt&amp;quot;. The input file must be in the same folder of batch file.&lt;br /&gt;
 &lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
    ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
    HDF5_OUT            : 1&lt;br /&gt;
    OUTPUTFILENAME      : outfile.hdf5&lt;br /&gt;
    NETCDF_OUT          : 1&lt;br /&gt;
    OUTPUT_NETCDF_FILE  : outfile.nc&lt;br /&gt;
&lt;br /&gt;
    WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : time&lt;br /&gt;
  &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME_LAT     : lat&lt;br /&gt;
    NETCDF_NAME_LONG    : lon&lt;br /&gt;
    NETCDF_NAME_MAPPING : Temperature_height_above_ground&lt;br /&gt;
    MAPPING_LIMIT       : -10000&lt;br /&gt;
  &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    PROPERTIES_NUMBER   : 8&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : u-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity X&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : v-component_of_wind_height_above_ground&lt;br /&gt;
    NAME                : wind velocity Y&lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : wind_modulus&lt;br /&gt;
    NAME                : wind modulus &lt;br /&gt;
    UNITS               : m/s&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    VECTOR_INTENSITY    : 1&lt;br /&gt;
    VECTOR_X            : wind velocity X&lt;br /&gt;
    VECTOR_Y            : wind velocity Y&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Temperature_height_above_ground&lt;br /&gt;
    NAME                : air temperature&lt;br /&gt;
    UNITS               : oC&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    ADD_FACTOR          : -273&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Total_precipitation_surface_3_Hour_Accumulation&lt;br /&gt;
    NAME                : precipitation&lt;br /&gt;
    UNITS               : mm/h&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Relative_humidity_height_above_ground&lt;br /&gt;
    NAME                : relative humidity&lt;br /&gt;
    UNITS               : -&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
    MULTIPLY_FACTOR     : 0.01&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Downward_Short-Wave_Radiation_Flux_surface_3_Hour_Average&lt;br /&gt;
    NAME                : solar radiation&lt;br /&gt;
    UNITS               : W/m^2&lt;br /&gt;
    DESCRIPTION         : MOHID&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
    NETCDF_NAME         : Pressure_reduced_to_MSL_msl&lt;br /&gt;
    NAME                : atmospheric pressure&lt;br /&gt;
    UNITS               : pa&lt;br /&gt;
    DESCRIPTION         : Malaca&lt;br /&gt;
    DIM                 : 2&lt;br /&gt;
  &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
    !path to the input files&lt;br /&gt;
  &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== MyOcean and RTOFS ====&lt;br /&gt;
&lt;br /&gt;
STEP 1: Grib to NetCDF&lt;br /&gt;
&lt;br /&gt;
In case of download grib data use the same sample than that the one prescribed in GFS. If the data downloaded is already in NETCDF than go to Step 2. &lt;br /&gt;
&lt;br /&gt;
STEP 2: NetCDF to HDF5&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
     ACTION              : CONVERT NETCDF CF TO HDF5 MOHID&lt;br /&gt;
     HDF5_OUT            : 1&lt;br /&gt;
     OUTPUTFILENAME      : 20130416_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
     NETCDF_OUT          : 1&lt;br /&gt;
     OUTPUT_NETCDF_FILE  : rtofs_glo_3dz_nowcast_daily.nc&lt;br /&gt;
&lt;br /&gt;
     WINDOW_OUT : 1173 1323 1428 1643 &lt;br /&gt;
    !is optional but usefull to generate smaller area for interpolation. In case of already extracted a small area durin the download data then change to WINDOW_OUT : 0.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_time&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : time&lt;br /&gt;
   &amp;lt;&amp;lt;end_time&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_grid&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME_LAT     : lat&lt;br /&gt;
     NETCDF_NAME_LONG    : lon&lt;br /&gt;
     STARTS_180W         : 0&lt;br /&gt;
     NETCDF_NAME_MAPPING : temperature&lt;br /&gt;
     MAPPING_LIMIT       : 1.2676506E29&lt;br /&gt;
     MAPPING_INSTANT     : 2&lt;br /&gt;
     NETCDF_NAME_DEPTH   : lev&lt;br /&gt;
     INVERT_LAYER_ORDER  : 1&lt;br /&gt;
     BATHYM_FROM_MAP     : 1&lt;br /&gt;
     BATHYM_FILENAME     : Batim_rtofs_glo_3dz_nowcast_daily.dat&lt;br /&gt;
   &amp;lt;&amp;lt;end_grid&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     PROPERTIES_NUMBER   : 5&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : temperature&lt;br /&gt;
     NAME                : temperature&lt;br /&gt;
     UNITS               : ºC&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : salinity&lt;br /&gt;
     NAME                : salinity&lt;br /&gt;
     UNITS               : psu&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : u&lt;br /&gt;
     NAME                : velocity U&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME         : v&lt;br /&gt;
     NAME                : velocity V&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
     NETCDF_NAME : velocity_modulus&lt;br /&gt;
     NAME                : velocity modulus&lt;br /&gt;
     UNITS               : m/s&lt;br /&gt;
     DESCRIPTION         : MOHID&lt;br /&gt;
     DIM                 : 3&lt;br /&gt;
     VECTOR_INTENSITY    : 1&lt;br /&gt;
     VECTOR_X            : velocity U&lt;br /&gt;
     VECTOR_Y            : velocity V&lt;br /&gt;
   &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
     !path to the input files&lt;br /&gt;
   &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interpolation ==&lt;br /&gt;
&lt;br /&gt;
Vertical discretization of RTOFS and MyOcean model solutions correspond to the depth of the center of the cell. Since MOHID [[Module Geometry | geometry]] must be provided in thickness the depths must be convertes to top of the faces cell and then to thickness layers. In order to avoid this the new method of interpolating grids allow to provide the depth of the center of the cells in ConvertToHDF5.dat instead to use a thickness calculated baing on the centers depth. Th both samples are provided bellow.&lt;br /&gt;
&lt;br /&gt;
=== GFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform linear  horizontally interpolation (e.g., 2D) between GFS grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Sample of the file ConvertToHDF5.dat &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1 &lt;br /&gt;
   !Option 1 is bilinear and 3 triangulation&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\outdata\GFS_2011010100_2011011621.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : batim\GFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\outdata\Batim_Caribe_Colombia_5km.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : batim\Batim_Caribe_Colombia_5km_GFS.dat&lt;br /&gt;
   &lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTOFS to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between RTOFS grid data and MOHID. In this sample is provided the depth of the centers cells in the file.dat. &lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 1&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
&lt;br /&gt;
   START                     : 2013 04 13 0 0 0&lt;br /&gt;
   END                       : 2013 04 18 0 0 0&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           : ..\work\20130410_rtofs_glo_3dz_nowcast_daily.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      : ..\work\batim\Batim_RTOFS.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            : ..\work\Level2_RTOFS_13_18_04_2013.hdf5&lt;br /&gt;
   NEW_GRID_FILENAME         : ..\work\batim\Level2_.new&lt;br /&gt;
&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
   EXTRAPOLATE_LIMIT         : -10000&lt;br /&gt;
&lt;br /&gt;
   FATHER_GEOMETRY           : ..\work\Geometry_RTOFS.dat &lt;br /&gt;
   !A &amp;quot;false&amp;quot; geometry must be provide, but in reality uses the depths in the file.dat&lt;br /&gt;
   &lt;br /&gt;
   NEW_GEOMETRY              : ..\work\Geometry_1.dat&lt;br /&gt;
   !MOHID geometry with thicknes layers&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;&amp;lt;BeginDepths&amp;gt;&amp;gt;&lt;br /&gt;
   0.0&lt;br /&gt;
   10.0&lt;br /&gt;
   20.0&lt;br /&gt;
   30.0&lt;br /&gt;
   50.0&lt;br /&gt;
   75.0&lt;br /&gt;
   100.0&lt;br /&gt;
   125.0&lt;br /&gt;
   150.0&lt;br /&gt;
   200.0&lt;br /&gt;
   250.0&lt;br /&gt;
   300.0&lt;br /&gt;
   400.0&lt;br /&gt;
   500.0&lt;br /&gt;
   600.0&lt;br /&gt;
   700.0&lt;br /&gt;
   800.0&lt;br /&gt;
   900.0&lt;br /&gt;
  1000.0&lt;br /&gt;
  1100.0&lt;br /&gt;
  1200.0&lt;br /&gt;
  1300.0&lt;br /&gt;
  1400.0&lt;br /&gt;
  1500.0&lt;br /&gt;
  1750.0&lt;br /&gt;
  2000.0&lt;br /&gt;
  2500.0&lt;br /&gt;
  3000.0&lt;br /&gt;
  3500.0&lt;br /&gt;
  4000.0&lt;br /&gt;
  4500.0&lt;br /&gt;
  5000.0&lt;br /&gt;
  5500.0&lt;br /&gt;
  &amp;lt;&amp;lt;EndDepths&amp;gt;&amp;gt;                          &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MyOcean to MOHID ===&lt;br /&gt;
&lt;br /&gt;
This example perform 2D horizontal and 3D vertical interpolation between MyOcean grid data and MOHID.&lt;br /&gt;
&lt;br /&gt;
Running tool [[ConvertToHDF5|ConversionHDF5.exe]]&lt;br /&gt;
&lt;br /&gt;
Example of the file ConvertToHDF5.dat&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
&lt;br /&gt;
   TYPE_OF_INTERPOLATION     : 1&lt;br /&gt;
&lt;br /&gt;
   FATHER_FILENAME           :  ..\conv\MyOcean3D.hdf5&lt;br /&gt;
   FATHER_GRID_FILENAME      :  ..\conv\MyOceanMaxDepth.dat&lt;br /&gt;
&lt;br /&gt;
   OUTPUTFILENAME            :  Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
 &lt;br /&gt;
   START                     : 2013 04 12 12 0 0&lt;br /&gt;
   END                       : 2013 04 27 12 0 0 &lt;br /&gt;
&lt;br /&gt;
   NEW_GRID_FILENAME         : Level2_.new&lt;br /&gt;
 &lt;br /&gt;
   FATHER_GEOMETRY           : ..\conv\MyOceanGeometry.dat !The geometry corresponds to thickness layers calculated basing on depth centers cells&lt;br /&gt;
&lt;br /&gt;
   NEW_GEOMETRY              : geometry_1.dat              !The geometry corresponds to thickness layers converting the depth centers cells in faces top and then in thickness&lt;br /&gt;
&lt;br /&gt;
   INTERPOLATION3D           : 1&lt;br /&gt;
   POLI_DEGREE               : 1&lt;br /&gt;
   DO_NOT_BELIEVE_MAP        : 0&lt;br /&gt;
   EXTRAPOLATE_2D            : 4&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Boundary Conditions==&lt;br /&gt;
&lt;br /&gt;
===Open boundary ===&lt;br /&gt;
&lt;br /&gt;
Open boundary conditions are imposed in [[Module Hydrodynamic|hydrodynamic]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model usualy forced only with tide (no wind in atmosphere and InterfaceWaterAir module) with a slow connection. From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the OBC are resolved by imposing a Flow Relaxation Scheme (FRS) similar to the one presented by Marchesiello et al. (2001). The FRS is applied to temperature (T), salinity (S) and velocities (U, V) (Martinsen and Engedahl, 1987) being combined with a radiation scheme from Flather (1976) for the barotropic mode. The barotropic forces are turned on and the wind stress and atmospheric pressure terms imposed and connected slowly. &lt;br /&gt;
&lt;br /&gt;
====Level 1====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 0&lt;br /&gt;
&lt;br /&gt;
  SLOWSTART                 : 86400    !Connection of the tide slowly. Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0        !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  INITIAL_ELEVATION         : 1        !Remove it in the continuous run&lt;br /&gt;
  INITIAL_ELEVATION_VALUE   : 1.8      !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 1&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  &lt;br /&gt;
  DATA_ASSIMILATION         : 0&lt;br /&gt;
  BRFORCE                   : 0&lt;br /&gt;
  SUBMODEL                  : 0&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 0&lt;br /&gt;
  ATM_PRESSURE              : 0&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9     !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
&lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 21600&lt;br /&gt;
&lt;br /&gt;
====Level 2====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC                : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE     : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H              : 4&lt;br /&gt;
  ADV_METHOD_V              : 4&lt;br /&gt;
  TVD_LIMIT_H               : 4&lt;br /&gt;
  TVD_LIMIT_V               : 4&lt;br /&gt;
  VOLUME_RELATION_MAX       : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0      !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1      !Activate the [[InvertedBarometer|Inverted Barometer]] method&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 7      !OBC from submodel (Level 1) + field (MyOcean or RTOFS) + gauges (pressure effect from inverted barometer effect)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
  SUBMODEL_FATHER_HOT_START : 1      !Change it to SUBMODEL_FATHER_HOT_START : 0 in the continuous runs &lt;br /&gt;
&lt;br /&gt;
  EXTERNAL_BAROTROPIC_2D    : 0&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous runs &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  FLATHER_COLD_PERIOD       : 432000 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e9    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
====Level 3 to Level n====&lt;br /&gt;
&lt;br /&gt;
Sample of the hydrodynamic file:&lt;br /&gt;
&lt;br /&gt;
  BAROCLINIC              : 1&lt;br /&gt;
  BAROCLINIC_POLIDEGREE   : 1&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
  CONTINUOUS                : 0       !Change to CONTINUOUS: 1 in the continuous run&lt;br /&gt;
&lt;br /&gt;
  TIDE                      : 0&lt;br /&gt;
  TIDEPOTENTIAL             : 1&lt;br /&gt;
  DATA_ASSIMILATION         : 1&lt;br /&gt;
  BRFORCE                   : 1&lt;br /&gt;
  ATM_PRESSURE              : 1&lt;br /&gt;
&lt;br /&gt;
  IMPOSE_INVERTED_BAROMETER : 1&lt;br /&gt;
&lt;br /&gt;
  RADIATION                 : 2&lt;br /&gt;
  LOCAL_SOLUTION            : 2      !OBC from submodel (Level 2)&lt;br /&gt;
  SUBMODEL                  : 1&lt;br /&gt;
  MISSING_NULL              : 1&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE      : 1&lt;br /&gt;
&lt;br /&gt;
  RAMP                      : 1      !Start with baroclinic force null and only after a specific period the total force is compute. Remove it in the continuous run  &lt;br /&gt;
  RAMP_PERIOD               : 259200 !Remove it in the continuous run&lt;br /&gt;
  &lt;br /&gt;
  WIND                      : 2      !Using a ramp period for wind forcing. Change it to WIND: 1 in the continuous run &lt;br /&gt;
  WIND_SMOOTH_PERIOD        : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  ATM_PRESSURE              : 1      !Connect pressure forcing slowly for a period of time. &lt;br /&gt;
  ATM_PERIOD                : 259200 !Remove it in the continuous run&lt;br /&gt;
&lt;br /&gt;
  BIHARMONIC                : 1&lt;br /&gt;
  BIHARMONIC_COEF           : 2e7    !BIHARMONIC_COEF = Dx^3/100&lt;br /&gt;
 &lt;br /&gt;
  RESIDUAL                  : 1&lt;br /&gt;
  ENERGY                    : 1&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME               : 0   10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME       : 0   900&lt;br /&gt;
&lt;br /&gt;
===Surface===&lt;br /&gt;
&lt;br /&gt;
To impose surface boundary conditions (e.g., wind stress, solar radiation, temperature, pressure etc.) in [[Module Atmosphere|atmosphere module]] an example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the atmosphere file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity X&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity X interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind velocity Y&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : wind velocity Y interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : air temperature&lt;br /&gt;
  UNITS                   : ºC&lt;br /&gt;
  DESCRIPTION             : Temperature interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 15.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : solar radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Solar radiation interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.0&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : atmospheric pressure&lt;br /&gt;
  UNITS                   : Pa&lt;br /&gt;
  DESCRIPTION             : Atmospheric pressure interpolated from GFS model field&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  FILE_IN_TIME            : HDF&lt;br /&gt;
  FILENAME                : ..\..\..\GeneralData\GFS\Abril2013\Level2_10-04-2013_25-04-2013.hdf5&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : relative humidity&lt;br /&gt;
  UNITS                   : fraction&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 0.55&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : cloud cover&lt;br /&gt;
  UNITS                   : %&lt;br /&gt;
  DESCRIPTION             : Constant value&lt;br /&gt;
  DEFAULTVALUE            : 50.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Ocean-Atmosphere Heat Fluxes==&lt;br /&gt;
&lt;br /&gt;
Sensible/latent heat is computed in [[Module InterfaceWaterAir|Module InterfaceWaterAir]] based in the atmospheric parameters (e.g.,wind stress, solar radiation, temperature, pressure etc.) prescribed in the atmosphere module. An example of the file is provided below.&lt;br /&gt;
&lt;br /&gt;
Sample of the InterfaceWaterAir file.&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME             : 0. 3600.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;begin_rugosity&amp;gt;&lt;br /&gt;
  INITIALIZATION_METHOD   : CONSTANT&lt;br /&gt;
  DEFAULTVALUE            : 0.0025&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
 &amp;lt;end_rugosity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind shear velocity&lt;br /&gt;
  UNITS                   : m/s&lt;br /&gt;
  DESCRIPTION             : Computed wind shear velocity&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress X&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress X&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : wind stress Y&lt;br /&gt;
  UNITS                   : N/m2&lt;br /&gt;
  DESCRIPTION             : Computed wind stress Y&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  DEFINE_CDWIND           : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : latent heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed latent heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : sensible heat&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed sensible heat&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : surface radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  ALBEDO                  : 0.05 &lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : net long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed net long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : downward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed downward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : upward long wave radiation&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed upward long wave radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                    : non solar flux&lt;br /&gt;
  UNITS                   : W/m^2&lt;br /&gt;
  DESCRIPTION             : Computed infrared radiation&lt;br /&gt;
  FILE_IN_TIME            : NONE&lt;br /&gt;
  REMAIN_CONSTANT         : 0&lt;br /&gt;
  DEFAULTVALUE            : 0.&lt;br /&gt;
  TIME_SERIE              : 0&lt;br /&gt;
  OUTPUT_HDF              : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Initial conditions and Spin up ==&lt;br /&gt;
&lt;br /&gt;
For the spin-up procedure, a methodology based on a slow connection of the forcing terms (baroclinic force, winds tress, atmospheric pressure) is used. This methodology consists of defining an initial condition where the initial fields of salinity and temperature are interpolated from the external 3D solution (MyOcean or RTOFS), a null velocity field is assumed, and a SSH field with null gradient is also considered. A coefficient that varies linearly between 0 and 1 along the “connection” period of 5 days is multiplied by the baroclinic force and wind stress. Because the forces are slowly connected, the velocity reference solution of the OBC also needs to be slowly connected. The nudging term in the momentum equation is multiplied by a coefficient C given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=(Elapsed Time/Connection Period)^4;     Elapsed Time&amp;lt;Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;C=1                                 ;     Elapsed Time&amp;gt;=Connection Period&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this way, the velocity field near the boundary also converges slowly to the reference solution. To minimize the perturbations suffered by the initial condition of salinity and temperature along the spin-up period, a relaxation period variable in time was also assumed for these properties. The idea is to assume a relaxation period that increases with time; this way, in the beginning of the run the temperature and salinity fields have a stronger nudging when the external and internal activity is more intense due to the spin-up process. In the end of the spin-up period, the nudging in the model interior (out of the FRS area) is null. For the forces, a connection coefficient was assumed with a linear evolution over 5 days. For the reference solution a quadratic evolution was imposed. For the slow connection of the forcing mechanisms, the methodology followed by Mellor (2004) for the baroclinic force was assumed. This evolution allows, in the first instants, a strong nudging across the entire domain. With time, the model tends to be free except in the flow relaxation scheme area.&lt;br /&gt;
&lt;br /&gt;
Initial conditions of salinity and temperature are imposed in [[Module WaterProperties|WaterProperties]] module of MOHID. These differs from Level 1 to Level n of nested aplications. Level 1 is a 2D barotropic model and does not use the calculus of density fields (no keywords in WaterProperties file). From Level 2 to Level n of nested domains the models are 3D baroclinic (e.g., include th density gradientes efects) and the initial cnditons are prescribed by imposing a densitiy 3D field.&lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0   !Change it to OLD: 1 in the continuous run &lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  INITIALIZATION_METHOD    : HDF !3D salinity field interoplated to MOHID grid domain&lt;br /&gt;
  FILENAME                 : ..\..\..\GeneralData\MyOcean\Level2_MyOcean_13-04_27-04_2013.hdf5&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 4   !Null gradient at the open boundary&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Level 3 to Level n===&lt;br /&gt;
&lt;br /&gt;
Sample of the WaterProperties file:&lt;br /&gt;
&lt;br /&gt;
  OUTPUT_TIME              : 0 10800&lt;br /&gt;
  SURFACE_OUTPUT_TIME      : 0 900&lt;br /&gt;
&lt;br /&gt;
  ADV_METHOD_H             : 4&lt;br /&gt;
  ADV_METHOD_V             : 4&lt;br /&gt;
  TVD_LIMIT_H              : 4&lt;br /&gt;
  TVD_LIMIT_V              : 4&lt;br /&gt;
  VOLUME_RELATION_MAX      : 1.3&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : salinity&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 34.895&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous run&lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
  NAME                     : temperature&lt;br /&gt;
  UNITS                    : ºC&lt;br /&gt;
  DESCRIPTION              : MyOcean Interpolated results&lt;br /&gt;
  DEFAULTVALUE             : 16.&lt;br /&gt;
  OLD                      : 0 !Change it to OLD: 1 in the continuous run&lt;br /&gt;
  TYPE_ZUV                 : z&lt;br /&gt;
  ADVECTION_DIFFUSION      : 1&lt;br /&gt;
  SURFACE_FLUXES           : 1&lt;br /&gt;
  DATA_ASSIMILATION        : 1&lt;br /&gt;
  BOUNDARY_CONDITION       : 5 !Submodel (Level 2)&lt;br /&gt;
  SUBMODEL                 : 1&lt;br /&gt;
  SUBMODEL_INI             : 1 !Change it to SUBMODEL_INI: 0 in the continuous runs &lt;br /&gt;
  SUBMODEL_EXTRAPOLATE     : 1&lt;br /&gt;
  OUTPUT_HDF               : 1&lt;br /&gt;
  OUTPUT_SURFACE_HDF       : 1&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usual mistakes and known limitations ==&lt;br /&gt;
&lt;br /&gt;
If errors occurs after MOHID project implementation with the procedements provided above then check the following:&lt;br /&gt;
&lt;br /&gt;
1. The ratio between grids can not be higher than 1/5;&lt;br /&gt;
&lt;br /&gt;
2. In the open boundaries cannot exist intertidal areas;&lt;br /&gt;
&lt;br /&gt;
3. To choose the open boundaries delimitation avoid areas with big diferences in topography;&lt;br /&gt;
&lt;br /&gt;
4. Deviate the open boundaries far away from areas with big velocities jets;&lt;br /&gt;
&lt;br /&gt;
5. If noisy is created in the open boundary of large model domain (the ones that simulate the tide only) close some cells in the boundary with land;&lt;br /&gt;
&lt;br /&gt;
6. Check if the interpolations of 3D fields were performed with double precision;&lt;/div&gt;</summary>
		<author><name>MSMalhadas</name></author>	</entry>

	</feed>