Navigation

Previous topic

States

Next topic

Appendix

This Page

Important files

Configuration files

  • sensor_cfg.py:

    • serial logging: (baud rates, ports, messages to be logged)

      • lists all ADCP instruments as a group
      • lists all serial inputs (with ADCPs as a subset)
  • procsetup_onship.py

    • contains info for email, post-processing heading correction, and configuring the 5-minute-vector-plot
  • CRUISEID_cfg.m, CRUISEID_proc.m

    • contain data and web path information, instrument configs
    • created by DAS.py (calling adcptree.py), using info from procsetup_onship.py
    • copied to each processing directory: eg. /home/data/CRUISEID/proc/os75nb/config
    • used for single-ping processing (not postprocessing)
    • To reprocess the data (eg. change input serial streams) change these files to change paths, heading device, etc.

programs run by DAS.py

(in /home/currents/programs/uhdas/scripts)
  • DAS_while_cruise.py

    • run by DAS.py after ‘start cruise‘, after cruise link is set up

    • starts processes (on timers) that run if a cruise is active:

      • rsync to external USB disk
      • rsync to second internal disk
    • coincident with flags/DAS_while_cruise.running

  • DAS_while_logging.py

    • run by DAS.py after “start_logging”, after communication is established with instruments

    • starts processes (on timers) that run during logging:

      • gbin and 5-minute average plots
      • heading correction statistics and plots
      • averaging and codas processing (quick_adcp.py)
      • making 3-day plots from codas database
    • coincident with flags/DAS_while_logging.running

    • touch DAS_while_logging.stop to stop it (stops

      processes run by DAS_while_logging.py, (i.e. processing), not the logging itself

  • cron runs daily.py (usually 20:40 UTC)