LAST CHANGED : 2012/07/11 00:09:49 CRUISE NAME(S) : A22_2012 (at20_leg1) CRUISE DATES : 2012/03/24 to 2012/04/17 SHIP NAME : Atlantis PORTS : Woods Hole, MA to Bridgetown, Barbados CHIEF SCIENTIST : Ruth Curry DATABASE NAME : aship DATA FILES : at2012_083_48871.raw to at2012_135_33170.raw # ============ notes for procesing two legs combined =============== LAST CHANGED : 2012/07/11 00:09:49 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 : wh300 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:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/25 09:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/25 19:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/26 05:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/26 15:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/27 01:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/27 21:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/28 07:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/29 03:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/29 13:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/30 09:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/30 19:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/03/31 05:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/03 03:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/03 13:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/05 05:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/06 11:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/08 23:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/09 09:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/09 19:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/13 13:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/13 23:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/14 09:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/14 19:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/04/26 11:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/01 01:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/01 11:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/01 21:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/03 03:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/03 13:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/03 23:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/05 05:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/06 21:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/08 03:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/08 13:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/09 09:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/09 19:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/10 05:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/11 11:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/11 21:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/12 07:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/13 03:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/13 13:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/13 23:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/14 19:36:32 on 120 35 4 5 2 28.15 0.00 0001 2012/05/15 05:36:32 on 120 35 4 5 2 28.15 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.004 COMMENTS : - on-station grunge at the surface - underway bias in measured velocities in deep bins PROCESSOR : J.Hummon --- processing parameters ---------- ## (determined from "sonar"): model = wh ## (determined from "sonar"): frequency = 300 ## (determined from "sonar"): pingtype = bb ## (determined from "sonar"): instname = wh300 ## ping_headcorr is True ## hcorr_inst is phins beamangle 20 configtype python cruisename at20 datatype uhdas ens_len 120 fixfile None pgmin 50 proc_engine python ref_method uvship sonar wh300 yearbase 2012 comment: bias towards zero in lower bins; deleted. ==== UHDAS processing from scratch, using python ============== (1) run adcptree.py wh300 --datatype uhdas --cruisename at20 (2) change directories to ADCP processing directory just created cd wh300 (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 wh300 --dbname aship --datatype uhdas --ens_len 120 --ping_headcorr ## applies heading correction. ## settings found in config files --proc_engine python ## use python to do calculations --max_search_depth 500 ## 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: **watertrack** ------------ Number of edited points: 306 out of 318 amp = -0.0001 + 1.0039 (t - 109.4) phase = 0.00 + -0.1325 (t - 109.4) median mean std amplitude 1.0040 1.0039 0.0084 phase -0.1280 -0.1325 0.4726 ------------ quick_adcp.py --steps2rerun rotate:navsteps:calib --rotate_amplitude 1.004 --rotate_angle -0.05 --auto figview.py cal/rotate/*png **watertrack** ------------ Number of edited points: 306 out of 318 amp = -0.0001 + 0.9999 (t - 109.4) phase = 0.00 + -0.0839 (t - 109.4) median mean std amplitude 1.0000 0.9999 0.0084 phase -0.0810 -0.0839 0.4733 ------------ quick_adcp.py --steps2rerun rotate:navsteps:calib --rotate_angle -0.08 --auto **watertrack** ------------ Number of edited points: 306 out of 318 amp = -0.0001 + 0.9999 (t - 109.4) phase = 0.00 + -0.0034 (t - 109.4) median mean std amplitude 1.0000 0.9999 0.0084 phase 0.0005 -0.0034 0.4734 ------------ ------------------- (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 OK, done make plots: mkdir webpy cp ../nb150/webpy/sectinfo.txt webpy quick_web.py --redo --refbins 3:4 - view with a browser, look at webpy/index.html