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 21:09:27 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 60 16 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 0.06 final transducer angle is: (original transducer angle) - (rotate_angle) original scale factor 1 additional scale factor 1.002 COMMENTS : (none) PROCESSOR : J.Hummon --- processing parameters ---------- ## (determined from "sonar"): model = os ## (determined from "sonar"): frequency = 75 ## (determined from "sonar"): pingtype = nb ## (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 os75nb yearbase 2012 ==== UHDAS processing from scratch, using python ============== (1) run adcptree.py os75nb --datatype uhdas --cruisename at20 (2) change directories to ADCP processing directory just created cd os75nb (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 os75nb --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: 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 ================================================================== quick_adcp.py --steps2rerun rotate:apply_edit:navsteps:calib --rotate_amplitude 1.002 --rotate_angle 0.06 --auto **watertrack** ------------ Number of edited points: 306 out of 312 amp = -0.0000 + 1.0003 (t - 109.2) phase = 0.00 + 0.0135 (t - 109.2) median mean std amplitude 1.0000 1.0003 0.0066 phase 0.0290 0.0135 0.4311 ------------ 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