run_urtip [options] [ts-modelfile]

          OBS!!!   Presently this script runs urtipgt by default.
                   Use  -C urtipg to change to the Bonn-version.
          Compute tide predictions from a table, produce
          a time-series file exactly synchronous with
          the specified ts-model file (t0, dt, epoch, length)
          The table is prepared by urtap (.trs, unit 13),
          default file name t/urtap.trs
          The output is found in t/pt.tsf by default.
          For converting ASCII -> BIN, use
             tslist o/pt.tsf -gi4,5i3,t33,d18.0 -k3 -r#rate
          (the -r#rate option might be needed if the
          auto-detect rate is not precise enough).

          The timing parameters are derived from the model file.
          If no model file is specified, a source-script file
          must be prepared. See the section on FILES below.

 -e          - test run, the instruction input to urtip is shown.
 -C prog     - the program name for predicting                         [urtipgt]
 -E src      - If no ts-file is specified, source src file to
               set the runtime parameters.                         [./urtip.env]
               A drift signal can be produced with prepared code,
               by adding a line
               set addrift=-Erun_urtip,EXP
               set addy=1.0
(if the drift signal is to be added with factor 1.0   [0.0])
 -t table    - the table file                                      [t/urtap.trs]
 -o output   - the output file (ASCII)                                [o/pt.tsf]
                "    "      "  (BIN) accordingly:              
                                     extension .ts                     [o/pt.ts]
 -PM         - add polar motion                                          [don't]
 -LL         - longitude,latitude for PM calculation                 [11.9,57.6]
 -b [output] - produce ASCII and BIN file                           [ASCII only]
 -B          - Retain only BIN file               
 -bm         - like b, produce GRAV|PRED column
               in MC-file, however
 -BM         - like -bm, retain only BIN file, however
 -s scale    - rescale the output                                        [1.0d0]
 -s u        - unscale the output (1/calfactor from the table file)
 -u          - unscale the output (1/calfactor ...))
 -dudt       - compute the time-derivative of the effect

 -prf file,dt[,trg]                                              [no pre-filter]
             - apply a pre-filter (the filtering that was involved in
               the model file, for instance).
               file - produced with a FILTER command and OUTFS in tsfedit
               dt   - the input sampling interval [h]
               trg  - the label of the filter section if the file
                      contains more than one. [' ']

 -besselprf n[,f0]
                                            [no Bessel filter]
             - apply the Bessel-filter that was used on the analogue
               side of the data acquisition, GWR: 8,0.0174
               n    - Filter order
               f0   - Scaling frequency in Hertz.

   RESIDEDIT - an option (or a series of options) for tslist when inspecting
               the model file. Typically:  setenv RESIDEDIT "-Efile.tse,target".
               run_urtip spawns for epoch, time step, and length


  ./urtip.ins - output, a copy of the run-time instructions read by urtipgt. 

  -E option, source file coded in csh, example
set date=2012,10,25  
set hms=0,0,0  
set dt=1.     
set tscale=60.
set nout=1440
   The time step in hours used by urtipg[t] is:  dt/tscale; thus, the example
   generates 1-minute data.

   Here is the list of namelist parameters that can be (must) set with the source file:
 date=$date, hms=$hms
 dt=$dt, tscale=$tscale

 iun_prf=$iunprf, dt_prf=$dtprf, trg_prf='$trgprf'
 n_bessel_prf=$nbessel, f_bessel_prf=$fbessel
  -PM option, Polar Motion:
    This script will run the polar motion program and add the time series

   Producing using nodal tides ("gnt...") for subtracting later from observations  d/g${begd} 
    set begd=100202
    run_urtip -t t/nodal-only.trs -BM d/gnt${begd}-OPNEND-1h.ts d/g${begd}
    setenv FNSUB
    setenv FACSUB 774.47
d/g${begd} -LG+V -I -Esubts.tse,ADD \
           -O:`label GRAV,NTSUB`

  Producing tides at 1-minute rate for a day:
    prtide4day -D 2013,01,02 -rm 1. -n 1440 > file.env
    run_urtip -A PT130102-60s.tsf -E file.env -u