LAST CHANGED : Wed May 12 18:09:13 HST 2010 CRUISE NAME(S) : at15_62 CRUISE DATES : 2010/03/07 to 2010/03/13 PORTS : Arica, Chile to Galapagos, Ecuador SHIP NAME : Atlantis CHIEF SCIENTIST : (none) DB_NAME : a_at DATA FILES : at2010_065_64800 - at2010_071_72000 STATUS : averaged, loaded, edited, heading corrected POSITIONS : gps 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 ] ready for JASADCP 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 2010/03/07 17:38:49 off 300 60 16 5 8 66.90 0.00 0001 HEADING : PRIMARY : phins CALIBRATION : original heading alignment: 66.9 : need it to be 67.30 , so -0.4 calibration : (consistent with watertrack) : : tweak by -0.5 : amplitude: 1.00 amplitude, tweaked by 1.006 COMMENTS : ho heading correction: phins was coming in the gyro port. PROCESSOR : J.Hummon ready for release (1) mkdir config cd config uhdas_proc_gen.py -s at mv at_proc.py at15_62_proc.py # edit # add these yearbase = 2010 # usually year of first data logged uhdas_dir = '/home/data/at15_62' # path to uhdas data directory shipname = 'Atlantis' # for documentation cruiseid = 'at15_62' # for titles ## change this hdg_inst = 'phins' # same as gyro, as it turns out... # disable this hcorr_inst = '' # disable with '' (not None) hcorr_msg = '' # disable with '' (not None) ## cd .. (2) adcptree.py os75nb --datatype uhdas --cruisename at15_62 (3) change directories to ADCP processing directory just created cd os75nb (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 2010 --cruisename at15_62 # 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) --py_gbindirbase gbin # (will put them locally) --configtype matlab ## python processing can read either type --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 --configtype python --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: figview.py cal/rotate/*png conclude: no action needed (b) check calibration: **watertrack** ------------ Number of edited points: 5 out of 7 amp = 0.0132 + 1.0040 (t - 69.8) phase = 0.51 + -0.4402 (t - 69.8) median mean std amplitude 1.0000 1.0040 0.0095 phase -0.6250 -0.4402 0.5728 ------------ **watertrack** (cal/watertrk/adcpcal.out) ------------------- (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 EG. still need scale factor: quick_adcp.py --steps2rerun rotate:apply_edit:navsteps:calib --rotate_amplitude 1.006 --rotate_angle -0.5 --auto **watertrack** ------------ Number of edited points: 5 out of 7 amp = 0.0128 + 0.9978 (t - 69.8) phase = 0.52 + 0.0564 (t - 69.8) median mean std amplitude 0.9940 0.9978 0.0094 phase -0.1230 0.0564 0.5754 #transducer - gps offset signal = 216.955615 guessing ADCP (dx=startboard, dy=fwd) meters from GPS fixfile is aship.gps calculation done at 2012/07/12 04:19:35 xducer_dx = -9.655102 xducer_dy = 11.274979 quick_adcp.py --steps2rerun navsteps:calib --xducer_dx -9 --xducer_dy 11 --auto make plots: quick_web.py --interactive - view with a browser, look at webpy/index.html