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
rm input_datafileRemove datasets not further needed.
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/
make-wv-grd $from_dateOBS! 'file-expr' in quotes, since the files are not in the cwd.
foreach f ( wvh_$from_d*.grd )
plot-wv $f
end
make-wvh-html -m $from-date 'wvh_$from_d*.png'
Your choices so far: |
Class: | Operational archive |
Stream: | Wave model |
Type: | Analysis |
Parameter: | Significant height of combined wind waves and swell |