Get Significant wave height charts from ECMWF

Getting plots interactively

Getting numeric grids using MARS over ssh login

Edit a mars jobfile, e.g. ~/p/m-wv-rq
or issue from ~/.
wv-rq $from_date [$to_date]

A typical MARS job (adjust target file name to one that designates the date of the first partial grid)
RETRIEVE,
DATE=20121201/to/20121203/by/1,
TIME=0/6/12/18,
TARGET="HS_data",
PARAM=229,
DOMAIN=G,
REPRES=LL,
STREAM=WV,
CLASS=OD,
EXPVER=0001,
TYPE=AN,
GRID=0.125/0.125,
LEVTYPE=SFC,
LEVELIST=OFF


Note the file that will be produced:  TARGET=
rm input_datafile
ln -s /scratch/ms/se/sub/target_file input_datafile
cd /scratch/ms/se/sub/target_file
mars < ~/p/m-wv-rq
cd ~
grib2asc
cd /scratch/ms/se/sub/target_file
rename output_datafile wvh_${from_date}_part '*.dat'
bzip2 wvh_${from_date}_part*.dat
scp2h wvh_${from_date}_part*.dat.bz2 WAVEH/
Remove datasets not further needed.

On holt:
make-wv-grd $from_date
foreach f ( wvh_$from_d*.grd )
     plot-wv $f
end

make-wvh-html -m $from-date 'wvh_$from_d*.png'
OBS! 'file-expr' in quotes, since the files are not in the cwd.
#



Interactively, plots using the Internet browser

Plots created from Operational archive, Multianalysis wave data, forecast:
2009-11-08  01:21            98 078 mawv_229_140_20091106_1200_0_0001_od_fc_egrr_sfc_ll_g.ps
2009-11-08  01:23            96 055 mawv_229_140_20091106_1200_12_0001_od_fc_egrr_sfc_ll_g.ps
2009-11-08  01:24            95 825 mawv_229_140_20091106_1200_24_0001_od_fc_egrr_sfc_ll_g.ps
2009-11-08  01:20           100 411 mawv_229_140_20091106_1200_240_0001_od_fc_egrr_sfc_ll_g.ps
= from 0 hours ahead of 2009 11 06 12:00 to 12, 24, an 240 h.
(now in ore  file:///c:/hgs/grav/SCG/StormyWeather/ )

Recipe

Goto https://www.ecmwf.int/login?mode=advanced

Use ActiveIdentity keypad to login with Token

Select MARS, (http://www.ecmwf.int/services/archive/)
=> "Data finder"
=> klick "Select one or more meteorological parameters"
=> check "Significant wave height"
=> "Select a period"
The kalender should be from 0001-08-04 to date monthly.
Choose the month
=> "Select source"
probably the Operational archive, Multianalysis wave data, Forecast
=> "View in catalogue"
Choose the date
Look at the forms table:

1 time | maybe 5 Origins | maybe 53 Steps | 1 Domain | S.w.H. (others hidden)

Highlight one origin and one step (it's in hours ahead from shown date)

=> "Plot the selection"
=> (Plot) "Now"
=> "Plots"

Graph should appear.
Postscript can now be downloaded


Selection:

...
Your choices so far:

Class: Operational archive
Stream: Wave model
Type: Analysis
Parameter: Significant height of combined wind waves and swell

Click forward.
Screen shot shows what fields can be highlighted for selection so that the maximum number of fields does not exceed 100.
(We could have included Nov. 07 as well). The selectors for frequency and direction did not appear to matter here, but they add to the calculated number of fileds, which easily would go into the thousands.)