LAST CHANGED : 2012/07/11 00:09:49 CRUISE NAME(S) : A20_2012 (at20_leg2) CRUISE DATES : 2012/04/17 to 2012/05/15 SHIP NAME : Atlantis PORTS : Woods Hole, MA to Woods Hole, MA CHIEF SCIENTIST : Ruth Curry (A22), Mike McCartney (A2) DATABASE NAME : aship DATA FILES : at2012_083_48871.raw to at2012_135_33170.raw ========== notes for processing combined legs ============= LAST CHANGED : 2012/07/10 02:49:28 CRUISE NAME(S) : at20 CRUISE DATES : 2012/03/24 to 2012/05/15 SHIP NAME : Atlantis PORTS : Woods Hole, MA to Woods Hole, MA CHIEF SCIENTIST : Ruth Curry (A22), Mike McCartney (A2) DATABASE NAME : aship DATA FILES : at2012_083_48871.raw to at2012_135_33170.raw STATUS : to do done ------ ----------- averaged [ x ] loaded [ x ] NOTE: time-dependent heading corrections applied IN the ensembles check heading correction [ x ] calibration [ x ] edited [ x ] re-check heading correction [ x ] check editing [ x ] figures [ x ] INSTRUMENT : os75 ACQUISITION : PROGRAM : uhdas PROCESSING: : python LOGGING : PARAMETERS : BT : bottom track mode (on or off) SI : sampling interval or averaging period for ensemble (sec) NB : number of bins BL : bin length (m) TD : transducer depth (m) BK : blanking length (m) HO : heading offset applied by DAS (deg) HB : heading bias (deg) CRPH : compensation for roll-pitch-heading, 1:on, 0:off) yy/mm/dd hh:mm:ss BT SI NB BL TD BK HO HB CRPH 2012/03/24 13:39:32 on 300 80 8 5 8 66.90 0.00 0001 2012/03/25 14:39:34 on 300 80 8 5 8 66.90 0.00 0001 2012/03/26 15:39:31 on 300 80 8 5 8 66.90 0.00 0001 2012/03/27 16:39:35 on 300 80 8 5 8 66.90 0.00 0001 2012/03/28 17:39:35 on 300 80 8 5 8 66.90 0.00 0001 2012/03/29 18:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/03/31 20:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/04/02 22:39:35 on 300 80 8 5 8 66.90 0.00 0001 2012/04/03 23:39:35 on 300 80 8 5 8 66.90 0.00 0001 2012/04/05 00:39:34 on 300 80 8 5 8 66.90 0.00 0001 2012/04/07 02:39:34 on 300 80 8 5 8 66.90 0.00 0001 2012/04/08 03:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/04/12 07:39:38 on 300 80 8 5 8 66.90 0.00 0001 2012/04/13 08:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/04/15 10:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/04/16 11:39:35 on 300 80 8 5 8 66.90 0.00 0001 2012/04/18 13:39:34 on 300 80 8 5 8 66.90 0.00 0001 2012/04/19 14:39:36 on 300 80 8 5 8 66.90 0.00 0001 2012/04/20 15:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/04/26 21:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/04/30 00:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/05/01 01:39:36 on 300 80 8 5 8 66.90 0.00 0001 2012/05/03 03:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/05/04 04:39:34 on 300 80 8 5 8 66.90 0.00 0001 2012/05/05 05:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/05/06 06:39:36 on 300 80 8 5 8 66.90 0.00 0001 2012/05/07 07:39:34 on 300 80 8 5 8 66.90 0.00 0001 2012/05/08 08:39:35 on 300 80 8 5 8 66.90 0.00 0001 2012/05/09 09:39:38 on 300 80 8 5 8 66.90 0.00 0001 2012/05/10 10:39:37 on 300 80 8 5 8 66.90 0.00 0001 2012/05/11 11:39:34 on 300 80 8 5 8 66.90 0.00 0001 2012/05/12 12:39:36 on 300 80 8 5 8 66.90 0.00 0001 2012/05/13 13:39:35 on 300 80 8 5 8 66.90 0.00 0001 2012/05/14 14:39:34 on 300 80 8 5 8 66.90 0.00 0001 HEADING : PRIMARY : gyro CORRECTION : phins POSITIONS : gps (specify more detail if available) CALIBRATION : check parameters for original heading alignment additional rotation -.05 final transducer angle is: (original transducer angle) - (rotate_angle) original scale factor 1 additional scale factor 1.003 COMMENTS : (none) PROCESSOR : J.Hummon --- processing parameters ---------- ## (determined from "sonar"): model = os ## (determined from "sonar"): frequency = 75 ## (determined from "sonar"): pingtype = bb ## (determined from "sonar"): instname = os75 ## ping_headcorr is True ## hcorr_inst is phins beamangle 30 configtype python cruisename at20 datatype uhdas ens_len 300 fixfile None pgmin 50 proc_engine python ref_method uvship sonar os75bb yearbase 2012 ==== UHDAS processing from scratch, using python ============== (1) run adcptree.py os75bb --datatype uhdas --cruisename at20 (2) change directories to ADCP processing directory just created cd os75bb (3) see "setup.txt" -- need to have a directory called "config" with a file called "at20_proc.py", tailored for this cruise. (4) create a quick_adcp.py control file unix: this example is written as a bash "heredoc" for cut-and-past ease, but you can create q_py.cnt with an editor to have the parts between (or including) the comments cat << EOF > q_py.cnt ####----- begin q_py.cnt------------ ## all lines after the first "#" sign are ignored --yearbase 2012 --cruisename at20 # used to identify configuration files # *must* match prefix of files in config dir # --update_gbin ## NOTE: You must remake gbins for python processing if ## - you are not sure ## - if parameters for averaging changed ## - various other reasons. ## ==> just do it, and put them somewhere else ## (see next argument) --configtype python ## python processing can read either type --use_uvship --sonar os75bb --dbname aship --datatype uhdas --ens_len 300 --ping_headcorr ## applies heading correction. ## settings found in config files --proc_engine python ## use python to do calculations --max_search_depth 1500 ## do not look for the bottom in open ocean EOF ============================================================================= ---------- (5) run quick_adcp.py: quick_adcp.py --cntfile q_py.cnt --auto ---------- (6) (a) check calibration:heading correction device: Number of edited points: 308 out of 321 amp = -0.0001 + 1.0034 (t - 109.2) phase = 0.00 + 0.0510 (t - 109.2) median mean std amplitude 1.0030 1.0034 0.0075 phase 0.0610 0.0510 0.4640 figview.py cal/rotate/*png conclude: no action needed (b) check calibration: ------------------- (7) edit "gautoedit" (go to "edit" directory with command line, type "gautoedit.py" # apply editing: cd .. quick_adcp.py --steps2rerun apply_edit:navsteps:calib --auto # check editing -- looks OK dataviewer.py - check calibrations again **watertrack** ------------ Number of edited points: 305 out of 317 amp = -0.0001 + 1.0034 (t - 109.1) phase = 0.00 + 0.0549 (t - 109.1) median mean std amplitude 1.0030 1.0034 0.0075 phase 0.0640 0.0549 0.4607 ================================================================== quick_adcp.py --steps2rerun rotate:apply_edit:navsteps:calib --rotate_amplitude 1.003 --rotate_angle 0.05 --auto **watertrack** ------------ Number of edited points: 305 out of 317 amp = -0.0001 + 1.0004 (t - 109.1) phase = 0.00 + 0.0050 (t - 109.1) median mean std amplitude 1.0000 1.0004 0.0074 phase 0.0120 0.0050 0.4608 ------------ OK, done make plots: mkdir webpy cp ../wh300/webpy/sectinfo.txt webpy quick_web.py --redo --refbins 2:2 - view with a browser, look at webpy/index.html