Difference between revisions of "AC-9 processing instructions"

From Pnb
Jump to navigation Jump to search
Line 22: Line 22:
 
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.
 
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.
  
AC9 files are extracted from the DH4, and then run through WETLABS software on a PC (or via Virtual Machine on the Mac).
+
AC9 files are extracted from the DH4, and then run through WETLabs software on a PC (or via Virtual Machine on the Mac).
  
 
'''Processing Steps:'''
 
'''Processing Steps:'''
  
1) Open WETLABS, WETview program
+
1) Open WETLabs, WETview program
  
2) hen tab, open device file and select device file from the oceancolor/calibrations/...Factory_Calibrations directory.  Once appropriate device file is selected, choose to process .RAW files and select appropriate folder and .raw file.  This needs to be done with every station. Output files from Wetlabs will be .dat extension format by you.  Those can reside in the raw folder as well in your working directory.
+
2) Select tab -> open device file and select device file from the /home/oceancolor/calibrations/...Factory_Calibrations directory.
  
move into processing directory in the correct pb# folder and start matlab with graphics.
+
3) Choose to process .RAW files and select the appropriate folder and .raw file.  '''This needs to be done with every station'''. Output files from WETLabs will have .dat extension.  Put these in the raw folder of your working directory.
  
type "process_ac9('pb235')or process_hs6('pb235')
+
4) Move into the "processing" directory and start MATLAB with graphics.
  
You will be instructed to pick the bottoms and tops of the up and down casts.  This is different than that radiometer processing where only
+
5) Type "process_ac9('pb###')or process_hs6('pb###')
downcasts are picked.
 
  
 +
6) You will be instructed to pick the bottoms and tops of the '''up and down''' casts.  '''This is different than that radiometer processing where only downcasts are picked.'''
  
  
 
[[== Check goac9.par and qcal.txt files when processing AC9. ==]]
 
[[== 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.
+
'''NOTES:'''
  
goac9.par is used in a critical ac9 temp correction script:
+
- Assumptions are made when upused.txt is generated.  Make sure the list is accurate to the amount of files.  Edit and rerun if needed.
It contains information on indexes for merged ac9 to ctd files.
 
  
Parameters specified to merge to ctd files are in:
+
- 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
 
=> /home/data65/pb/AC9/LIST/list_ac9merge_ac9

Revision as of 14:11, 15 August 2016

Media:AC9_HS6_proc_instructions.pdf Original processing instructions.

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.

    your_workspace/HYDROSCAT/pb#/
             dat
             final
             from_DH4
    your_workspace/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. Go 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.

AC9 files are extracted from the DH4, and then run through WETLabs software on a PC (or via Virtual Machine on the Mac).

Processing Steps:

1) Open WETLabs, WETview program

2) Select tab -> open device file and select device file from the /home/oceancolor/calibrations/...Factory_Calibrations directory.

3) Choose to process .RAW files and select the appropriate folder and .raw file. This needs to be done with every station. Output files from WETLabs will have .dat extension. Put these in the raw folder of your working directory.

4) Move into the "processing" directory and start MATLAB with graphics.

5) Type "process_ac9('pb###')or process_hs6('pb###')

6) You will be instructed to pick the bottoms and tops of the up and down casts. This is different than that radiometer processing where only downcasts are picked.


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

NOTES:

- 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