Difference between revisions of "AC-9 processing instructions"

From Pnb
Jump to navigation Jump to search
Line 3: Line 3:
  
 
NOTE: There are unix commands in these scripts.
 
NOTE: There are unix commands in these scripts.
NOTE: Processing is geared for unit 0184. Accommodations were made for unit 0159.  Changes will need to be made for other instruments to ac9cal, device and par files, and merge files.  
+
 
 +
'''NOTE: Processing is geared for unit 0184. Accommodations were made for unit 0159.  Changes will need to be made for other instruments to ac9cal, device and par files, and merge files.'''
  
 
New processing protocol:
 
New processing protocol:

Revision as of 12:58, 24 February 2016

Media:AC9_HS6_proc_instructions.pdf Original processing instructions.

NOTE: There are unix commands in these scripts.

NOTE: Processing is geared for unit 0184. Accommodations were made for unit 0159. Changes will need to be made for other instruments to ac9cal, device and par files, and merge files.

New processing protocol: Files to be processed from the AC9 and HS6 must be placed in their appropriate respective processing folders in UNIX.

    HYDROSCAT/pb#/
                  dat
                  final
                  from_DH4
    AC-9/pb#/
             final
             processing
             raw
             SEABASS

With these directory structures, matlab processing will take place in the HYDROSCAT/pb# and AC-9/pb#/processing directories. CD to these directories in UNIX, making sure you have X window forwarding or VNC viewer for matlab graphical piping. Once in the directory, type "matlab" to start the program.

Processing files end to end requires corresponding CTD files to be present in your home processing directory structure. AC9 and HS6 SeaBASS files cannot be generated until CTD SeaBASS files are created.

type "process_ac9('pb235')or process_hs6('pb235')



== Check goac9.par and qcal.txt files when processing AC9. ==

NOTE: Assumptions are made when upused.txt is generated. Make sure the list is accurate to the amount of files. Edit and rerun if needed.

goac9.par is used in a critical ac9 temp correction script: It contains information on indexes for merged ac9 to ctd files.

Parameters specified to merge to ctd files are in:

=> /home/data65/pb/AC9/LIST/list_ac9merge_ac9

=> upused.txt which is put in your local processing directory

=> ctd2strip_v2 strips headers from CTD.HDR files. Headers to be taken are specified inside ctd2strip_v2

=> reviewing AC9 files there are several "a" correction methods applied in goac9_tiho to look at in "plot_ac9_final.m" correction 1, 2, 3.

Method 1 subtracting a715 baseline

Method 2 .16 * c - a channels

Method 3 a - (a/c -a)*(c-a)


example

pb231

offset.iop [25 34 43 51] look in merged file for this info

25 m-d-d-a412(the start of AC data) 34 m-d-d-c412 43 a412ref 51 c412ref


pnb.offset.itemp[60] temp


pnb.offset.rac9depth[61] 1depth


offset.phys [2 8 7 13 20 23] 2 timeJ 8 wetstarflour 7 wetBtrans 13 t068 19 sigmat-00 23 sal00