• Antelope Release 5.5 Linux 2.6.32-220.el6.x86_64 2015-04-21

 

NAME

baler_active_to_dmc - sends Baler 14 and Baler 44 miniseed dbs to DMC

SYNOPSIS

baler_active_to_dmc   [-v] [-V] [-n] [-p pf] [-m mail_to] [-c orbclient] [-s sta_regex] db orb

SUPPORT


Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.

FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.

DESCRIPTION

This is the fifth in a series of 5 programs for processing baler 44 miniseed data. The programs are rt_sta_wfdisc, rsync_baler, baler_msd_proc, baler_wf_proc, and baler_active_to_dmc. baler_active_to_dmc is designed to send unsent data to the DMC from balers with any possible gaps filled from the rt waveforms. obsip2orb is used to send all data in the baler_active/sta/sta.wfdisc using orb. miniseed2orb is used to send data to orb for the non_wf_chan channels. These channels reside in the same directories as the non_wf_chan_proxy channel. Channels described by wfclean are not sent and are not expected to have metadata. Once a station is sent to the orb, and the DMC has drained that orb, then a sync file is created and sent to the orb to signify the end of data transmission for that station. Then the next station is processed. Sync files are stored in the sync_dir and are listed in the db.dmcfiles table. Once a station is closed and all data sent to the DMC, then the directory baler_active/sta is moved to baler_final/sta

OPTIONS

ENVIRONMENT

Needs to have sourced $ANTELOPE/setup.csh.

PARAMETER FILE

  • baler_active
    Absolute path name for station baler archive directory base name
  • baler_final
    Absolute path name for station baler final archive base name
  • wfclean
    Regex defining which channels to remove from transmission
  • net
    Net code to process
  • non_wf_chan_proxy
    channel code of waveform file which is in the same directory as non-waveform miniseed files.
  • non_wf_chan
    list of non-waveform miniseed channel codes to be processed.
  • day_of_week
    Array of sta regex expressions for stations to be processed on a given day. In general this program should be run the day after baler_active_to_dmc. The -s option overrides this station subsetting function.
  • dbidserver
    Name of idserver to be written into descriptor file for output database to use.
  • dbpath
    dbpath to be written into descriptor file for output database to use.
  • dblocks
    dblocking type for database
  • deploy_mail
    Email addresses to send notification of possible deployment table problems. Multiple email addresses should be comma delimited without white space.
  • success_mail
    Email addresses to send notification of station success. Multiple email addresses should be comma delimited without white space.
  • prob_mail
    Email addresses to send notification of problems. Multiple email addresses should be comma delimited without white space.

EXAMPLE PARAMETER FILE


baler_active        /anf/TA/dbs/wfs/station_active      # absolute path name for active station baler directory base name
baler_final         /anf/TA/dbs/wfs/station_final_44    # absolute path name for archive station baler directory base name

net                  TA

non_wf_chan_proxy    LCQ                                # channel code of waveform file which is in the
                                                        # same directory as non-waveform miniseed files.

non_wf_chan          &Tbl{
                         ACE
                         LOG
                         OCF
                     }                                  # list of non-waveform miniseed channel codes to be
                                                        # processed.

day_of_week    &Arr{
                    Wednesday   ^[A-E].*
                    Thursday    ^[F-J].*
                    Friday      ^[K-O].*
                    Saturday    ^[P-T].*
                    Sunday      ^[U-Y].*
                    Monday      ^[Z0-3].*
                    Tuesday     ^[4-9].*
               }                                        # day of week station regex for routine processing

wfclean              LTW|VCE|VCQ|VFP|VQR|VTW            # remove these channels from transmission

sync_dir             /anf/TA/products/sync/sta_active   # Absolute path name for directory to store sync files

deploy_mail          your@email.edu                     # email addresses to send notification of
                                                        # deployment table checks

success_mail         your@email.edu                     # email addresses to send notification of station success
prob_mail            your@email.edu                     # email addresses to send notification of problems

RETURN VALUES

0 if successful, 1 if not.

SEE ALSO

rt_sta_wfdisc(1)
rsync_baler(1)
baler_msd_proc(1)
baler_wf_proc(1)
trsignal(1)
fix_miniseed(1)
pfcp(1)
miniseed2orb(1)
obsip2orb(1)
db2sync(1)
orbxfer2(1)
rtmail(1)

BUGS AND CAVEATS

AUTHOR

Frank Vernon

Antelope User Group Contributed Software
Printer icon