Difference between revisions of "Fes2012"
From MohidWiki
(→Quick start) |
|||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
− | |||
− | FES2012 is the | + | FES2012 is the version of the FES (Finite Element Solution) tide model developed in 2012 for the last version go to [http://wiki.mohid.com/index.php?title=FES2014 FES2014]. 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: [http://www.aviso.altimetry.fr/en/data/products/auxiliary-products/global-tide-fes/description-fes2012.html]. |
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. | 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 == | == Quick start == | ||
− | Get the input file with tidal components here: [http:// | + | 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://www.mohid.com/PublicData/Products/Software/TidalComponents.zip]. (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: | ||
Line 40: | Line 38: | ||
<<beginharmonics>> | <<beginharmonics>> | ||
− | |||
2N2 | 2N2 | ||
+ | E2 | ||
J1 | J1 | ||
K1 | K1 | ||
K2 | K2 | ||
L2 | L2 | ||
+ | LDA2 | ||
M2 | M2 | ||
M3 | M3 | ||
Line 56: | Line 55: | ||
MN4 | MN4 | ||
MS4 | MS4 | ||
+ | MSF | ||
+ | MU2 | ||
N2 | N2 | ||
+ | NU2 | ||
O1 | O1 | ||
P1 | P1 | ||
Line 64: | Line 66: | ||
S2 | S2 | ||
S4 | S4 | ||
+ | SSA | ||
T2 | T2 | ||
<<endharmonics>> | <<endharmonics>> | ||
Line 69: | Line 72: | ||
− | the keyword FILE_TIDAL_COMPONENTS defines the HDF file that you downloaded at [http://wiki.mohid.com/wiki/index.php?title=Fes2012#Quick_start] | + | the keyword FILE_TIDAL_COMPONENTS defines the HDF file that you downloaded at the Quick start section [http://wiki.mohid.com/wiki/index.php?title=Fes2012#Quick_start] |
MOHID assumes that must generate levels from harmonic component in all points of the open boundary. | MOHID assumes that must generate levels from harmonic component in all points of the open boundary. | ||
Line 78: | Line 81: | ||
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: [http://wiki.mohid.com/wiki/index.php?title=How_to_generate_tide_for_Mohid%3F] (Step 1 only). | 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: [http://wiki.mohid.com/wiki/index.php?title=How_to_generate_tide_for_Mohid%3F] (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. | 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. | ||
+ | |||
+ | == Compilation options == | ||
+ | |||
+ | If you get an error saying "Forrtl: severe (170): Program exception - stack overflow", | ||
+ | This means that before to compile the MOHID code you should increase the stack size in the MOHID water properties pages under the Visual Studio MohidNumerics Project. | ||
== References == | == References == | ||
+ | |||
+ | Carrère L, Lyard F, Cancet M, Guillot A, Roblou L. FES2012: A new global tidal model taking taking advantage of nearly 20 years of altimetry. Proceedings of meeting "20 Years of Altimetry", Venice 2012. | ||
Aviso Website : [http://www.aviso.altimetry.fr/en/data/products/auxiliary-products/global-tide-fes/description-fes2012.html] | Aviso Website : [http://www.aviso.altimetry.fr/en/data/products/auxiliary-products/global-tide-fes/description-fes2012.html] |
Latest revision as of 23:07, 16 May 2023
Introduction
FES2012 is the version of the FES (Finite Element Solution) tide model developed in 2012 for the last version go to FES2014. 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 E2 J1 K1 K2 L2 LDA2 M2 M3 M4 M6 M8 MF MKS2 MM MN4 MS4 MSF MU2 N2 NU2 O1 P1 Q1 R2 S1 S2 S4 SSA 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.
Compilation options
If you get an error saying "Forrtl: severe (170): Program exception - stack overflow", This means that before to compile the MOHID code you should increase the stack size in the MOHID water properties pages under the Visual Studio MohidNumerics Project.
References
Carrère L, Lyard F, Cancet M, Guillot A, Roblou L. FES2012: A new global tidal model taking taking advantage of nearly 20 years of altimetry. Proceedings of meeting "20 Years of Altimetry", Venice 2012.
Aviso Website : [6]