Difference between revisions of "Fes2012"
From MohidWiki
Paulochambel (talk | contribs) (→Input File) |
(→Quick start) |
||
Line 6: | Line 6: | ||
== Quick start == | == Quick start == | ||
− | Get the input file with tidal components here: [http://maretec.mohid.com/PublicData/products/Software/TidalComponents.hdf5]. (Warning: the filesize is about 3GB and the download can take some time) | + | You need to have two input files: a HDF5 file with the Fes2012 tidal components database, and a input text file for tides. |
− | + | *Get the HDF5 input file with tidal components here: [http://maretec.mohid.com/PublicData/products/Software/TidalComponents.hdf5]. (Warning: the filesize is about 3GB and the download can take some time) | |
− | + | * prepare the input file for tides: | |
− | *If you use MOHID GUI, you have to prepare a text file which content is described in the section below. The path of the file has to be defined in the interface as explained here: [http://content.screencast.com/users/GRiflet/folders/Jing/media/47049e30-ae0d-4bc1-8d46-e4dd6ca01010/2008-10-03_1258.png]. | + | **If you use MOHID GUI, you have to prepare a text file which content is described in the section below. The path of the file has to be defined in the interface as explained here: [http://content.screencast.com/users/GRiflet/folders/Jing/media/47049e30-ae0d-4bc1-8d46-e4dd6ca01010/2008-10-03_1258.png]. |
− | *If you use MOHID Studio, you have to prepare a file Tide_*.dat (where * is the simulation number), | + | **If you use MOHID Studio, you have to prepare a file Tide_*.dat (where * is the simulation number), which content is described in the section below. |
− | *Finally, in the | + | *Finally, in the Hydrodynamic_*.dat input file, you should set TIDE : 1; You should do this either if you use MOHID Studio or MOHID GUI. |
=== Input File === | === Input File === | ||
− | Here's what the input file should look like : | + | Here's what the input text file should look like : |
*Sample input: | *Sample input: |
Revision as of 11:14, 26 June 2014
Introduction
Warning: This page is under construction.
FES2012 is the last version of the FES (Finite Element Solution) tide model developed in 2012. A new database was developed based on this model containing 32 tidal constituents distributed on 1/16° grids (amplitude and phase). More information can be found at: [1]. This database was rearranged in a HDF5 file ready to use in MOHID. Fes2012 tidal components can be used in MOHID by using a method described in the next sub sections.
Quick start
You need to have two input files: a HDF5 file with the Fes2012 tidal components database, and a input text file for tides.
- Get the HDF5 input file with tidal components here: [2]. (Warning: the filesize is about 3GB and the download can take some time)
- prepare the input file for tides:
- If you use MOHID GUI, you have to prepare a text file which content is described in the section below. The path of the file has to be defined in the interface as explained here: [3].
- If you use MOHID Studio, you have to prepare a file Tide_*.dat (where * is the simulation number), which content is described in the section below.
- Finally, in the Hydrodynamic_*.dat input file, you should set TIDE : 1; You should do this either if you use MOHID Studio or MOHID GUI.
Input File
Here's what the input text file should look like :
- Sample input:
TRIANGULATION : 0 FILE_TIDAL_COMPONENTS : ..\General data\Boundary Conditions\TidalComponents.hdf5 <beginHDFgauges> EXTRAPOLATE : 1 HARMONICS : 1 EXTRACT_HARMONICS : 1 SPATIAL_INTERPOL : 1 HARMONICS_FIELD_DIM : M2/amplitude NAME : water level UNITS : m LONGITUDE : -10.000 24.0000 12.0000 LATITUDE : 38.0000 4.00000 43.000 METRIC_X : -10.4036 METRIC_Y : 38.0788 REF_LEVEL : 2.08 TIME_REF : 0.000000 <<beginharmonics>> 2N2 J1 K1 K2 L2 M2 M3 M4 M6 M8 MF MKS2 MM MN4 MS4 N2 O1 P1 Q1 R2 S1 S2 S4 T2 <<endharmonics>> <endHDFgauges>
the keyword FILE_TIDAL_COMPONENTS defines the HDF file that you downloaded at the Quick start section [4]
MOHID assumes that must generate levels from harmonic component in all points of the open boundary. However, the user can define in the input file the following keyword:
FILE_GAUGES_LOCATION : TidalGaugeLocation.xyz
The file defined by the keyword FILE_GAUGES_LOCATION contains tidal gauge locations in a xyz file format. The steps to generate the tidal gauge location file are here: [5] (Step 1 only). If the tidal gauge location file is given, the water level is generated from the harmonic components at the points defined in the tidal gauge location file. Then levels at the point of open border are imposed by interpolation.
References
Aviso Website : [6]