# This readme is a more highly-documented version of the actual # procsetup_onship.py located in /home/adcp/config. The program # 'procsetup_onship.py' is run at all stages of UHDAS acquisition # and processing. If you change it, you should 'stop recording', # 'end cruise', and kill the gui window. When you start up again # everything should be implimented. If nothing was wrong with # the processing up to that point, you may connect to the cruise name # you were just using (i.e. stopping all the processes and restarting # does not require a new cruise name) ## This name is used in titles and in the Subject for emails. ## Use characters suitable for unix directory names shipname = "Melville" # for DAS_while_cruise.py #------------------------- # List of paths to backup "data" subdirectories. Within each such # subdirectory, the cruise data directory (e.g., km0507) will # be found. If the active cruise is "km0507", then rsync will # be called periodically to copy the contents of /home/data/km0507 # to data/km0507 in each path in the list. #backup_paths = ['/disk2/home', '/mnt/UHDAS'] backup_paths = ['/disk2/home'] # Interval in seconds between backups rsync_t = 3600 # for DAS_while_logging.py #-------------------------- # Interval in seconds between ensemble updates: short_t = 300 # Interval in seconds between database updates: long_t = 3600 # Working directory for calculations and intermediate products: # DO NOT change workdir = '/home/adcp/tmp' # Command string to start up the speedlog; empty string or # None to disable the speedlog. If there is a speedlog command, # the string must end with '&' so that it will be executed in # the background. #speedlog_cmd = '/home/adcp/scripts/DAS_KMspeedlog.py &' # backgrounded speedlog_cmd = None # No speedlog at present. # for processing #---------------- ### choose the instrument to use for heading correction. options: # 'gyro', 'ashtech', 'posmv', or 'seapath' ## This will be substituted into cruise_cfg.m, where matlab looks for it hcorr_inst = 'ashtech' ## 'gyro', 'seapath', 'ashtech', '' ## daily.py will get statistics on these (assumes correct messages are logged) #attitude_devices = ['posmv', 'ashtech'] attitude_devices = ['ashtech'] ## for quick_adcp.py: initialize and fill. Where specified, MUST have an ## entry for each data type (instrument+ping) type or it will fail quietly # adcpsect extraction starts at this depth -- one entry per data type!!! firstdepth = {} firstdepth['nb150'] = 25 firstdepth['os75bb'] = 25 firstdepth['os75nb'] = 40 # averaging interval (seconds) -- one entry per data type!! enslength = {} enslength['nb150'] = 300 enslength['os75bb'] = 300 enslength['os75nb'] = 300 ## which instrument and pingtype to be used for kts+dir 5-minute vector? ## choose one data type that will probably always be available kt_vec = {} kt_vec['instname'] = 'nb150' kt_vec['depthrange'] = [0, 50]; ##################################### # for daily.py: #-------------- # Each email "mailto" must be a list of email addresses: # ["et@this_ship.podunk.edu", "guru@podunk.edu"] # An empty list (no addresses) is : [] tarball_mailto = ["uhdas@soest.hawaii.edu"] ## to avoid mailing tarball, do it this way: # tarball_mailto = [] # includes web links on currents: local_status_mailto = ["scg@melville.sio.ucsd.edu", "hummon@hawaii.edu"] shore_status_mailto = ["hummon@hawaii.edu", "efiring@hawaii.edu"] SMTP_server = "137.110.150.13" mail_from = "adcp@rv-melville.ucsd.edu" #####################################