USAGE:
prl2blq
[options] {rad.prl|-} {east.prl|-}
{north.prl|-} [out.blq]
PURPOSE:
Converts the
output protocol sheet (.prl) from urtapt into blq-form,
provided
the wavegroup setup in urtapt corresponds to the 11 files in
blq.
Darwin's
tide symbols must match exactly.
If one to two
input prl-file namea are not given but placeholders `-ยด,
the blq-files will contain
corresponding rows with zero amplitudes.
OPTIONS:
+s name - site name, default
from prl-file SITE/FILE record
NB: Letters _V will be added for Value and
letters _U will be added for
Uncertainty.
+s+ name - site long name = <n> +
"Observed"
else taken from prl-file name.
+sl name - to assign
a different long name for the site
"Observed" will be added.
+fn - to read the
newer 8-column prl format (Obs! not by default)
+fl - ... an
older format.
+o - to
overwrite output instead of append.
+Sval - multiply
amplitudes with val.
+dtval - compensate
for a delay of val hours.
+pha[angle] or -pha[angle]
- +pha to
switch to positive phase = lag
and to cut the circle at the specified angle.
Default is positive phase = lead, cut at 180 degrees
-lpph - Due to urtapt's use of the
negative of the Geodetic coefficient at
n=2 m=0, i.e. it uses the Legendre P2 as in
math.physics, the phase for
these tides (in the long-period band) is corrected by adding 180
degrees.
The option prevents this
correction.
EXAMPLES:
prl2blq +s HLFX +fn +o HLFX-nograd-2h.R.prl
HLFX-nograd-2h.E.prl HLFX-nograd-2h.N.prl HLFX-obsrv.blq
recommended if result variants are saved in separate files.
prl2blq +s HLFX +fn
HLFX-nograd-2h.R.prl HLFX-nograd-2h.E.prl HLFX-nograd-2h.N.prl
allsites.blq
for collecting many results in the same file.
prl2blq +s HLFX -pha180.
+dt-1. +o +fn HLFX-nograd-2h.R.prl
HLFX-nograd-2h.E.prl HLFX-nograd-2h.N.prl HLFX-dt1h.blq
converts to oceanographer's phase (the prl-file was issued in a
run without Q_ocean=.true. in urtapt namelist)
and the input file to urtapt had a one-hour lead in the time
stamps.
OBS! the long command line and the order R E N of
prl-files.