
shipname = "Knorr"

# 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',]

# 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

# Temporary working directory for updates, staging area for figures, and
# stdout for python processing scripts

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 = None

# 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 = 'posmv'  ## 'gyro', 'seapath', 'ashtech', 'posmv', ''

## daily.py will get statistics on these (assumes correct messages are logged)
#attitude_devices = ['posmv', 'ashtech']
attitude_devices = ['posmv']

## for quick_adcp.py: # initialize; # fill
firstdepth = {}
firstdepth['nb150'] = 21
firstdepth['os75bb'] = 35
firstdepth['os75nb'] = 40

# averaging interval (seconds)
enslength = {}
enslength['nb150'] = 300
enslength['os75bb'] = 300
enslength['os75nb'] = 300

## which instrument and pingtype to be used for kts+dir 5-minute vector?
kt_vec = {}
kt_vec['instname'] = 'os75'
kt_vec['depthrange'] = [0, 75];

#####################################

# 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"]
local_status_mailto   = ["sssg@mike.knorr.whoi.edu"]
shore_status_mailto   = ["uhdas@soest.hawaii.edu","hummon@hawaii.edu"]

##################

SMTP_server         = "mike.knorr.whoi.edu"
mail_from           = "adcp@knorr.whoi.edu"

#####################################


