DOHRSC(1)



NAME

     dohrsc - do high rate science Goddard telemetry tape


SYNOPSIS

     dohrsc [-xIMECP1G] [-m] [-c] [-l] [-z] [-L]  [-s#]  [-pname]
     [-Oname] [-hname] msn_day dir_name


DESCRIPTION

     dohrsc is run after you have copied a Goddard 160K high rate
     science tape into a disk staging directory.

     dohrsc needs the name of the staging directory and the  mis-
     sion day that it represents. See time_index(1) for calculat-
     ing the mission day.

     If dir_name is given as the string "db"  then  the  data  is
     taken  from  the  location  as given in the database and any
     retrieve from Ampex will be done if necessary.

     dohrsc is a stand alone program that builds  map  files  and
     executes  pe  in order to ingest, merge and extract the data
     product codes from the data  in  order  to  create  level  0
     datasets. Each step is performed based on the results of the
     preceeding step. The series number index for the  ingest  is
     the mission day; for the merge and extract it is the hour of
     the mission.

     dohrsc only works on Lockheed data or the Goddard  formatted
     data,  i.e.  with  SFDU's  and a Data Set File Header at the
     start of a station file.

     dohrsc uses the DS_SqlDo() routine to query the database.



OPTIONS

     -xIMECP1G
          execute options. do each one given.  default is all.
              I = ingest the science data
              M = merge the data for each hour
              E = extract_dp_sci160k for each DPC for each hour
              C = cpinfo & add2obslog after extract (must have E)
              P = atlas_page_ps after extract (must have E)
              1 = level 1 (mdical & cpinfo) for each DPC for each
          hour
              G = gather_info of make_struct_prod lev0 output of
                  42x26007_01h into _01d and run mdical on it
                  (keeps dohrsc compatible w/vwfd_V_make_1.0)

     -m   Produce map file only, don't run pe

     -c   Continue instead of abort if can't find  an  hrs  merge
          data

     -l   Lockheed format data (4 extra bytes of time)

     -z   Don't compress the cpinfo output files

     -L   run  local  dsds_svc.  don't  use  pe_rpc.This  is  for
          development use only and requires a password.

     -s#  # of megabytes of storage to allocate (default 500 Mb)

     -pname
          prog: dataset name (default is "mdi_sim" if [-l],  else
          "mdi")

     -Oname
          Oracle database name (default is mdi_2X)

     -hname
          Host name (e.g. fault.Stanford.EDU) (default local)


EXAMPLES

     >dohrsc     -xIMEC     -s1500     -pmdi     -Omdi_2     1236
     /surge/mdi_goddard_tape/1236/


FILES

     Builds map files and any pvm hostfile in /tmp


RESTRICTIONS

     Only works on Lockheed data or the Goddard  formatted  data,
     i.e.  with SFDU's and a Data Set File Header at the start of
     a station file.


AUTHOR

     Jim Aloise


HISTORY

     1998-09-29     SOI Version 4.0.0 1996-06-12     SOI  Version
     1.3.0  1995-04-12     SOI  Version  1.0.0 1994-10-20     SOI
     Version 0.9.0


SEE ALSO

     time_index(1)