tsllg man page
USAGE:
tsllg -from
<date> -l{s|m|h|d}
#length -L <label> \
[ -options ]
[ -tslist-opts
] \
+P <psfile>
+M "<title>" { +tslg-opts |
+ } \
{ -psxy-opts | -
}
PURPOSE:
A convenience script, calls tslg for a
stretch of 1-s garb mc files (gravimeter).
Its use is for quick-look, searching for events etc. A little
better in output
compared to tsd when communicating with colleagues.
LP-filtering and decimation dependent on option -l<.>
Case distinction:
1: Upon -ls , retrieves a few
1-s files, without decimation;
2:
else, arbitray length with decimation.
Decimation uses ~/TD/deci.tse,D#deci
In case 2, a series of tslist-app is run first to decimate
the data one day at
a time (with much more than the necessary overlap).
The sections are stored in ~/TD/tmp/tsllg-j-kkk.ts
where j counts the labels and kkk is a
three-digit integer counting the days from
the start. These files can be picked up by tsllg -again
if small changes to the
look of the plot are to be made. The file that is handed
over to tslg is called
~/TD/tmp/tsllg-s.ts
Discomforts: No nice legend entries, since these are copies
of the label codes,
example: G+B (GRAV,BRES). If one -D is given on the call
line, air pressure will
also get its DC-level removed. Additional filtering,
certainly a key point, will
result in inexact time information. Has to be solved when
we have a case in point.
The reading of the last-day file might too often become a
burden if e.g. only a
few hours or less data are requested. That condition could
be detected and eased.
OPTIONS:
-options
-again - case 2 only: use the
last files from decimation:
~/TD/tmp/tsllg-?-???.ts
If this option is not used, the tmp-files are removed for some
minimum house-keeping.
-from yyyy,mm,dd[,hh[,mm[,ss]]]
-ls #n - case 1,
number of seconds, no decimation
-lm #n - case 2, number
of minutes, #deci = 10
-lh #n - case 2, number
of hours, #deci = 60
-ld #n - case 2, number
of days, #deci = 600
-L <label> [-L <label>
...]
- The first label determines the y-axis scaling
-L<xy> - Legend
position, xy = LL LR UL UR
-tslist-opts
These are handed over to tslg
Recommended:
-D -
remove DC-level
-Y<yoff> - add a curve offset
If these options involve e.g.
filtering, cut-off effects
are not taken care of in the time information.
More coding work ahead:
The parameters secd and MOVE must be worked upon.
+tslg-opts
+P <psfile>
- file name for ps, png-file is produced accordingly
+M "<title words>" - plot title
-psxy-options
are GMT psxy-options handed over to tslg
Currently, a few colours are hard-wired.
It is not yest possible to draw symbols or error
bars.
There is not much use for such options here. Code a
lonely `-'
ENVIROMENT:
PNGDIR - destination directory for png-file
EXAMPLE:
tsllg -LUL -from 2015,01,01,00,00,00 -lm 540
-L G+V -L G+B -D +M "A title" +P testd.ps -
Note that the script will autmoatically load G1_garb_141231-1s.mc
first, since the call requests data ahead of the filter
truncation of 150101.
.bye