Personal tools

Fes2004

From MohidWiki

Revision as of 09:11, 27 August 2008 by 192.168.20.177 (talk) (Building fes2004 from scratch under windows)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Fes2004 is the tide level and harmonic predictor for tide of POC-LEGOS. Development credits go to Thierry Letellier and Florent Lyard.

An open discussion started around this presentation.

TODOs

  1. Include in Mohid the new tide components missing in fes95.
  2. Make simple tests close to the coast and far away from the coast. Compare them with fes95.
  3. Update this wiki.

Quick start

Get the package. Unpack it and read the readme-1st file for instructions. If you're working within MARETEC or HIDROMOD then map a network drive (say, X:) to \\kepler\DataCenter1\DataCenter\Modelos_2(2)\FES\fes2004data. If not, get the datasets fes2004 here and install them somewhere in your network with read permissions.

Mohid-tide

Here's what the input file should look like (CAUTION: it's longitude latitude null!): CAUTION: The file MUST END with <end_xyz>! Otherwise results will be erroneous. NO BLANK LINES ARE ALLOWED!

longitude latitude null
  • Sample input:
<begin_xyz>
-61.410     -38.995   0.
-61.41      -39.00    0. 
-61.41001   -38.99    0.
-61.41001   -38.7     0.
-61.41      -39.38    0.
-70.2       -56.2     0.
<end_xyz>
  • The command line is :
mohid-tide X:\tide.nc input_mohid-tide.dat output.dat   0 2.08

In this example, the input file is called input_mohid-tide.dat. The output file is called output.dat. The data file is called tide.nc and it's path is X:\. The 0 and the 2.08 are respectively the time reference and the water level reference. Change all these parameters accordingly to your situation.

  • Sample output
<begingauge>
NAME        : nth test
LONGITUDE   : -7.00000 49.0000 51.0000
LATITUDE    : 33.0000 35.0000 26.0000
METRIC_X    : -7.83090
METRIC_Y    : 33.5906
REF_LEVEL   :         2.08000
TIME_REF    :        0.000000
M2          :         0.996598        52.7018
S2          :         0.350935        77.8265
K1          :        0.0661576        49.9613
K2          :        0.0950913        71.3380
N2          :         0.214260        36.6291
2N2         :        0.0317467        16.2234
O1          :        0.0591364       -50.3478
Q1          :        0.0218185        49.4025
P1          :        0.0182365       -99.5383
M4          :         0.000000       0.000000
Mf          :       0.00237638       -7.58905
Mm          :      0.000951622       -38.4179
Mtm         :      0.000819045        24.8848
MSqm        :      0.000119478        33.8243
<endgauge>

Building fes2004 from scratch under windows

Prerequisites

  1. Get the WinGSL distribution. Unpack at least the dll.
  2. Get the netcdf distribution. Unpack at least the dll.
  3. Get the fes2004 distribution.
  4. Get the data file(~600MB) and rename it to tide.nc (or get it at \\kepler\DataCenter1\DataCenter\Modelos_2(2)\FES\fes2004data).

fes2004 vs fes95

Essentially fes2004 contains 4 new relevant tidal components. And it supports higher resolution, allowing extraction of tidal gauges closer to the coast. These two reasons alone make it a very interesting asset to include in Mohid.

Documents

  1. Kick start powerpoint.
  2. Reference paper for the Fes2004 solution.
  3. Beta-version package.
  4. Guillaume's project at \\guillaume\projectos\fes2004
  5. The data file (~600MB) or you can get at \\kepler\DataCenter1\DataCenter\Modelos_2(2)\FES\fes2004data.

Related links