======================================================================== == Ocean surveyor LTA or STA files ====== (for example, no frills) To process LTA averaged data with 300-second ensembles, (1) run adcptree.py vg0404 --datatype lta (2) change directories to vg0301/ping and link or copy the LTA files here (3) then "cd .." to get back to the cruise directory. (4a) Now: (for example) quick_adcp.py --cntfile q_py.cnt ### q_py.cnt is --yearbase 2004 ## for decimal day conversion --dbname a0404 # database name; in adcpdb # --use_refsm ## this is the default. no need to specify ## (could use "--use_smoothr" to override) --instclass os ## instrument type --datatype lta ## datafile type --datafile_glob *.LTA ## filename extension ### end of q_py.cnt (4b) calibration(watertrack and bottom track) quick_adcp.py --cntfile q_pyrot.cnt ### q_pyrot.cnt is: --yearbase 2004 # for decimal day conversion --rotate_angle 1.2 # phase correction --steps2rerun rotate:navsteps:calib # apply rotation --auto # be speedy (don't ask yes or no) ### end of q_pyrot.cnt quick_adcp.py --cntfile q_pyedit.cnt ## q_pyedit.cnt is: --yearbase 2004 # for decimal day conversion ## matfiles are automatically run the ## first time. must specify: --firstdepth 40 ## - shallowest depth just for starters --instname os38 ## - specifies defaults for matfiles --steps2rerun apply_edit:navsteps:calib:matfiles # do these steps --auto ## be speedy ### end of q_pyedit.cnt NOTE to Windows users: make sure your PATH includes the location of quick_adcp.py make sure your PYTHONPATH is set correctly make sure you associate *.py extensions with the python program ========================================================================