LAST CHANGED    : 2025/03/05 00:56:54
CRUISE NAME(S)  : FKt250110
CRUISE DATES    : 2025/01/13  09:18:15 to 2025/02/09  20:52:15
PORTS           : Punta Arenas, Chile to Punta Arenas, Chile
CHIEF SCIENTIST : Patricia Esquete 
DATABASE NAME   : aship
DATA FILES      : ftoo2025_012_33374.raw to ftoo2025_039_72000.raw

STATUS          :  to do                           done
                  ------                       -----------
                  averaged                       [X]
                  loaded                         [X]
                  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
                  2025/02/08 05:18:15   on  120  70   2   7  2  -1.33   0.00 0001

HEADING         : 
     PRIMARY    : heading from gyro1
     CORRECTION : heading correction from seapath

POSITIONS       : gps positions from posmv_gps

CALIBRATION     : (check original processing parameters)
                  (1) transducer alignment
                      original transducer alignment:  -1.33
                      additional rotation 0.05
                      final transducer angle is: -1.33 - (0.05) = -1.38
                  
                  (2) scale factor
                      original scale factor 1
                      additional scale factor (1.005)
                  
                  (3) ADCP (dx=starboard, dy=fwd) meters from GPS
                                     xducer_dx          xducer_dy
                    original:              1                 -14 
                    correction:            0                  0
                    final offset:          1                 -14 

COMMENTS        : - Patch_hcorr was applied to fill gaps in the heading correction.
		  - Extremely bad biases were present in the original data from
  		    the ship, due to poor correlation near the surface.  A new
		    algorithm (shallow low correltaion) was developed and applied
		    on this cruise.  It did help, by removing the data rather than
		    averaging it.
 		  - From Jan 26 (00:00) to Feb 3 (12:00) UTC, there was a large
		    amount of biological activity, creating spurious velocities.
		    The finer details of what remains might be suspect during that time
		    but larger trends are probably trustworthy.	  

                  
PROCESSOR       : James Ash/Jules Hummon

--- original processing parameters from dbinfo.txt ----------

## (determined from "sonar"): model = wh
## (determined from "sonar"): frequency = 300
## (determined from "sonar"): instname = wh300
## (determined from "sonar"): pingtype = bb
             badbeam   None
          beam_order   None
           beamangle   20
          configtype   python
          cruisename   FKt250110
            datatype   uhdas
              dbname   aship
             ens_len   120
             fixfile   aship.gps
          hcorr_inst   seapath
               pgmin   50
            pingpref   None
         proc_engine   python
          ref_method   refsm
     refuv_smoothwin   3
        refuv_source   nav
               sonar   wh300
            txy_file   aship.agt
           xducer_dx   1
           xducer_dy   -14
            yearbase   2025

==================================================
POST PROCESSING STEPS:
==================================================

----------------------------------------------------------------------------
### 1. Check visual oddities
----------------------------------------------------------------------------

### Run this: (to look for gaps in the cruise track)
plot_nav.py nav/a*.gps
figview.py
dataviewer.py

# Patch hcorr is needed as gaps in the heading correction exist.  

### to interpolate for missing heading correction fixes. 
patch_hcorr.py

### Run this: (to check dxdy statistics calibration after patching hcorr)
catwt.py
catbt.py
catxy.py

   **watertrack**  
-----------
Number of edited points: 100 out of 104

            median     mean      std
amplitude   1.0040   1.0043   0.0128
phase       0.0625   0.0414   0.5761
-----------

   **bottomtrack**  
-----------
unedited: 131 points
edited:   53 points, 2.0 min speed, 2.5 max dev
            median     mean      std
amplitude   0.9974   0.9985   0.0079
phase       0.0000   0.0590   0.3991
-----------

**transducer-gps offset**
-----------
guessing ADCP (dx=starboard, dy=fwd) meters from GPS
positions from aship.agt
calculation done at 2025/03/06 22:51:58
xducer_dx = -1.145538
xducer_dy = 0.312976
signal = 900.077579
-----------

# All calibration coefficients are within an acceptable range and do not
# need to be adjusted.  

----------------------------------------------------------------------------
### 2. Editing points
----------------------------------------------------------------------------

### Run this: (to go through the dataset and edit out bad values)
dataviewer.py -e
quick_adcp.py --steps2rerun navsteps:calib --auto

----------------------------------------------------------------------------
### 3. Check edited, calibrated dataset against original dataset
----------------------------------------------------------------------------

### Run this: (Has this corrected the problems in the original?)
dataviewer.py -c . ../wh300_og

### Run this to compare this sonar with another sonar (after both are finished)
dataviewer.py -c ../os38nb  .

# There are differences that are attributed to differences in the resolution
# of the sonars. 


After additional editing, watertrack calibration suggests a final tweak:


   **watertrack**
------------
Number of edited points:  99 out of 105
   amp   = 1.0079  + 0.0001 (t -  25.2)
   phase =   0.06  + -0.0118 (t -  25.2)
            median     mean      std
amplitude   1.0090   1.0079   0.0131
phase       0.0590   0.0634   0.6650
------------

After several iterations, we have
final phase applied .05
final amp applied 1.003



   **watertrack**
------------
Number of edited points: 100 out of 104
   amp   = 1.0010  + 0.0002 (t -  25.2)
   phase =  -0.01  + -0.0096 (t -  25.2)
            median     mean      std
amplitude   1.0005   1.0010   0.0129
phase       0.0200  -0.0094   0.5756

----------------------------------------------------------------------------
### 4. Make plots and files
----------------------------------------------------------------------------

# create the figures. 
quick_web.py --interactive

# Run this to extract a netCDF file
adcp_nc.py adcpdb contour/wh300 FKt250110 wh300 --ship_name "Falkor(too)"

----------------------------------------------------------------------------
### 5. Final dbinfo.  
----------------------------------------------------------------------------
## (determined from "sonar"): model = wh
## (determined from "sonar"): frequency = 300
## (determined from "sonar"): instname = wh300
## (determined from "sonar"): pingtype = bb
             badbeam   None
          beam_order   None
           beamangle   20
          configtype   python
          cruisename   FKt250110
            datatype   uhdas
              dbname   aship
             ens_len   120
             fixfile   aship.gps
          hcorr_inst   seapath
               pgmin   50
            pingpref   None
         proc_engine   python
          ref_method   refsm
     refuv_smoothwin   3
        refuv_source   nav
               sonar   wh300
            txy_file   aship.agt
           xducer_dx   1
           xducer_dy   -14
            yearbase   2025

