        CRUISE DATES: 2011/05/08 to 2011/05/12
       DATABASE NAME: 01543
           SHIP NAME: Ka`imikai-O-Kanaloa
      CRUISE NAME(S): kk1107, hot232
               PORTS: Honolulu to Honolulu
     CHIEF SCIENTIST: Susan Curless
          INSTRUMENT: nb150


#== Block Footer ====

 #DATA_DATES: 2011/05/08 18:07:00 --- to --- 2011/05/12 16:58:00
 #LON_RANGE: 158.38 W --- to --- 157.87 W
 #LAT_RANGE:  21.25 N --- to ---  22.77 N
 #DEPTH_RANGE:     20 --- to --- 412 m
 #SAC_CRUISE_ID: 01543 
 #PLATFORM_NAME: R/V Ka`imikai-O-Kanaloa
 #PRINCIPAL_INVESTIGATOR_NAME: E.Firing,J.Hummon,D.Karl,R.Lukas
 #PI_INSTITUTION: University of Hawaii at Manoa
 #PI_COUNTRY: USA
 #PROJECT: Hawaii Ocean Time-series (JGOFS, WOCE (time-series), CLIVAR)
 #CRUISE_NAME: ship_tag=KK1107:nb150 woce_tag=PRS02,HOT232 EXPOCODE=33KI232_1
 #PORTS: Honolulu to Honolulu
 #GEOGRAPHIC_REGION: Hawaiian Islands, North Central Pacific
 #PROCESSED_BY: University of Hawaii at Manoa
 #NAVIGATION: GPS
 #QUALITY_NAV: excellent
 #GENERAL_INFORMATION: 
CRUISE NOTES
  CHIEF SCIENTIST ON SHIP     : Susan Curless
    INSTITUTE                 : University of Hawaii at Manoa
    COUNTRY                   : USA
  SIGNIFICANT DATA GAPS       : 
  SPECIAL SHIP TRACK PATTERNS :
  COMMENTS                    : 

ADCP INSTRUMENTATION
  MANUFACTURER                : RDI
  HARDWARE MODEL              : VM-150 narrowband
  SERIAL NUMBERS              : 
  FIRMWARE VERSION            :  
  COMMENTS                    : 

ADCP INSTALLATION
  METHOD/DESCRIPTION OF THE
    ATTACHMENT TO THE HULL    :
  LOCATION/DEPTH ON HULL      : nominally 4 m
  DATE OF MOST RECENT ATTACH. :
  ACOUSTIC WINDOW             : < NO > < YES - EXPLAIN >
  COMMENTS                    : 

ADCP INSTRUMENT CONFIGURATION
  DEPTH RANGE                 : 20 to 412 m  
  BIN LENGTH                  :  8 m
  NUMBER OF BINS              : 50
  TRANSMIT PULSE LENGTH       :  8 m
  BLANKING INTERVAL           :  8 m
  ENSEMBLE AVERAGING INTERVAL : 300 sec
  SOUND SPEED CALCULATION     : function of transducer temperature
  BOTTOM TRACKING             : 2 sections of bottom tracking 
                                (at start and end)
  COMMENT                     : data loaded with (h_align = 31.9)

ADCP DATA ACQUISITION SYSTEM
  SOFTWARE DEVELOPERS         : E.Firing,J.Hummon
  SOFTWARE VERSIONS           : UHDAS
  DATA LOGGER, MAKE/MODEL     : PC, linux OS
  ADCP/LOGGER COMMUNICATION   : 
  USER BUFFER VERSION         : none
  CLOCK                       : GPS
  COMMENT                     : single-ping data files QC'ed then
                                averaged by UHDAS

SHIP HEADING                      
  INSTRUMENT MAKE/MODEL       : Sperry MK37 Mod E  
  SYNCHRO OR STEPPER          : synchro
  SYNCHRO RATIO               : 1:1
  COMPENSATION APPLIED        :
  GPS ATTITUDE SYSTEM         : YES: (Ashtech 3DF or ADU2)
    LOCATION OF ANTENNAS      :
    RIGID ATTACHMENT          : < NO > < YES >
    LOGGING RATE              : 2 Hz output rate

ANCILLARY MEASUREMENTS            
  SURFACE TEMP AND SALINITY   : yes
  PITCH/ROLL MEASUREMENTS     : from Ashtech 3DF
  HYDRO CAST MEASUREMENTS     : yes
  BIOMASS DETERMINATION       : no
    DATE OF LAST CALIBRATION  :
    CALIBRATION COEFFICIENTS  :
    BEAM-AVERAGED AGC AVAILABLE?: < NO > < YES >
    CALIBRATION NET TOWS?     :   < NO > < YES >
  COMMENTS                    :

ADCP DATA PROCESSING/EDITING
  PERSONNEL IN CHARGE         : J.Hummon, B.Grcic
  DATE OF PROCESSING          :
  ADDED TO NODC DB            : Aug 2011
  NOTABLE SCATTERING LAYERS   :
  COMMENTS                    : 
 
NAVIGATION
    GPS
    MAKE/MODEL                : Magnavox receivers 1105 & 1157 models,
                                Trimble 4000A model, Magnavox MX4200
    SELECTIVE AVAILABILITY    : yes with PY S/A disregarded
    P-CODE                    : YES
    DIFFERENTIAL              :
    SAMPLE INTERVAL           :
    LOCATION OF ANTENNA
      RELATIVE TO TRANSDUCER  :
    TIME OBTAINED RELATIVE TO
      START/END OF ENSEMBLE   : start and end of ensemble
    AVERAGING/EDITING APPLIED : ensemble position is average of end of present
                                ensemble and start of following ensemble
    LOGGED WITH ADCP DATA     : YES  
    LOGGED INDEPENDENTLY      : YES  - GPS attitude
                                system records fixes and raw
                                data from 2 receivers at 1 Hz
    COMMENTS                  :
  OTHER                       : 

CALIBRATION 
    GYROCOMPASS CORRECTION      : mahrs, no gaps in POSMV
    BOTTOM TRACK METHOD         : yes
    WATER  TRACK METHOD         : yes
    FINAL SELECTION             : AMP = 1.003    PHASE = -2.2 
                  original heading alignment: 31.9
                  final transducer angle is:
                       31.9 - (-2.2) = 34.1 deg starboard of fwd

                  (small) additional scale applied: 1.003
                      final scale factor used 1.003
    AGREEMENT WITH PREVIOUS 
      CRUISES                   : good
    SOUND SPEED CORRECTIONS     : 
    COMMENTS                    : The orientation of the transducer relative
to the gyro compass and an amplitude correction factor for the ADCP were
determined by standard calibration procedures (Joyce, 1989; Pollard and Read,
1989).  Explicit calibration runs were not done during the HOT cruises, so
the calibration comes from brief periods with simultaneous GPS coverage and
either bottom tracking or major ship accelerations, such as arrival on station.
Calibration information from adjacent cruises was used along with that
from the HOT cruises.

NAVIGATION CALCULATION
    NAVIGATION USED             : PCODE
    REFERENCE LAYER DEPTH RANGE : pg_min = 30, reference_bins = 2-20
    FILTERING METHOD FOR
      SMOOTHING REFERENCE LAYER
      VELOCITY (FORM/WIDTH)     : Blackman window function of width T ( .5 hr):
         w(t) = 0.42 - 0.5 * cos(2 * pi *t / T) + 0.08 * cos(4 * pi * t / T).
    FINALIZED SHIP VEL/POSITIONS
    STORED IN DATABASE          : YES
    COMMENTS                    :

 GENERAL_ASSESSMENT             : 
    ON-STATION VS. UNDERWAY     :  OK
    VECTOR, CONTOUR, STICK PLOTS:  OK
    COMMENTS                    :  OK

 REFERENCES (DATA REPORTS,ETC.) : 
2007 Fujieki, L.A., F. Santiago-Mandujano, P. Lethaby,
   R.  Lukas, and D. Karl. Hawaii Ocean Time-series Program Data
   Report 19, 2007.  School of Ocean and Earth Science and Technology,
   Univ. of Hawaii, Honolulu, HI, 403 pp.


The following are notes from the post-cruise processing by the 
"Currents" group at University of Hawaii, SOEST, Department of Oceanography,
http://currents.soest.hawaii.edu/


LAST CHANGED    : 2011/05/12 17:02:33
CRUISE NAME(S)  : kok1107, hot232
CRUISE DATES    : 2011/05/08 to 2011/05/12
SHIP NAME       : Ka'Imikai-O-Kanaloa
PORTS           : Honolulu to Honolulu
CHIEF SCIENTIST : Curless
DATABASE NAME   : a_kk
DATA FILES      : kk2011_127_64937.raw to kk2011_131_57600.raw

STATUS          :  to do                           done
                  ------                       -----------
                  averaged                       [  X  ]
                  loaded                         [  X  ]

                        NOTE: time-dependent heading corrections staged
                        (cal/rotate/ens_hcorr.ang)
                        --> check if applied using "rotate"

                  check heading correction       [  X  ]
                  calibration                    [  X  ]
                  edited                         [  X  ]
                  re-check heading correction    [  X  ]
                  check editing                  [  X  ]
                  figures                        [  X  ]

INSTRUMENT      : nb150

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
                  2011/05/08 18:07:17   on  300  50   8   4  8  31.90   0.00 0001

HEADING         :
     PRIMARY    : gyro
     CORRECTION : mahrs

POSITIONS       : gps (specify more detail if available)

CALIBRATION     : original heading alignment: 31.9
                  final transducer angle is:
                       31.9 - (-2.2) = 34.1 deg starboard of fwd

                  (small) additional scale applied: 1.003
	              final scale factor used 1.003

COMMENTS        : no gaps in POSMV

PROCESSOR       : J.Hummon, B.Grcic


--- processing parameters ----------


## (determined from "sonar"): model = nb
## (determined from "sonar"): frequency = 150
## (determined from "sonar"): pingtype = nb
## (determined from "sonar"): instname = nb150
## ping_headcorr is False
## hcorr_inst is mahrs
           beamangle   30
          cruisename   kok1107
           frequency   150
            instname   nb150
               model   nb
            pingtype   nb
         proc_engine   python
               sonar   nb150
            yearbase   2011

=========================

(1) look at heading correction: are there gaps?

figview.py cal/rotate/*png

No gaps; it says everything is fine.

=========================

(2) check calibration -- what remains to be done?

	** watertrack **   (tail -20 cal/watertrk/adcpcal.out)

	Number of edited points:  19 out of  19
        amp   = 0.0018  + 1.0019 (t - 129.7)
        phase =   0.02  + -2.1762 (t - 129.7)
                    median     mean      std
        amplitude   1.0040   1.0019   0.0108
        phase      -2.3350  -2.1762   0.5390

     (a) amplitude is within 0.5%  (.995 - 1.005) so "good enough" for the next step
     (b) phase (angle) is between (-2.3, -2.2)  !!!!

=========================

(3) edit: gautoedit.py ..

    from gautoedit, for every screen do
      - show now
	  - additional manual editing if necessary
	  - list to disk (creates/appends new a*.asc files with new flags)

=========================


(4) apply editing:

from dir nb150:

quick_adcp.py --steps2rerun apply_edit:navsteps:calib --proc_engine python --auto


=========================

(5) phase and amplitude calibration:

from dir nb150:

quick_adcp.py --steps2rerun rotate:navsteps:calib:matfiles --rotate_amplitude 1.003
              --rotate_angle -2.2 --auto

** applied corrections: **

           amp= 1.003
           phase=-2.2

** watertrack **   (tail -20 cal/watertrk/adcpcal.out)


    Number of edited points:  19 out of  19
        amp   = 0.0018  + 0.9991 (t - 129.7)
        phase =   0.02  + 0.0251 (t - 129.7)
                    median     mean      std
        amplitude   1.0010   0.9991   0.0109
        phase      -0.1290   0.0251   0.5406


=========================

(6) web plots:

mkdir webpy

quick_web.py --cruiseid hot232_kok1107 --sonar nb150 --interactive

=========================

