SeaBASS Processing

From Pnb
Revision as of 12:56, 20 May 2013 by Eriks (talk | contribs)
Jump to navigation Jump to search

SeaBASS files are submitted to NASA in specific format with .sbin extension. AC9 and HS6 files use ac92sb_E.pl and hs2sb_E.pl files. The AC9 also requires the matlab script ac9tosb_E('pb###'). Syntax for the pl scripts run in the unix prompt are as92sb_E filename pb

ex. perl /home/eriks/Erik_perl_seabass/hs2sb_E.pl pb228

This example is also found under commandline_syntax.txt in the file /home/eriks/Erik_perl_seabass/


From the directory in which you want to do the processing, you'll need to do the following: 1) create a list of calibration files that will be applied to the raw data example: calibration 0 /home/data65/pb/PRR/CAL_INFO/CAL_Files/9628_0_130411.cfl 1 /home/data65/pb/PRR/CAL_INFO/CAL_Files/9628_1_130411.cfl 2 /home/data65/pb/PRR/CAL_INFO/CAL_Files/9629_2_130411.cfl

2) type: /home/oceancolor/Plumes_and_Blooms/processing_scripts/PRR/prr2lcd -ccalfile rawfile note the syntax "-ccalfile" this is not a typo

If you are going to copy the binary to your own workspace and run it from there, you will need to change the permissions and the syntax will be: ./prr2lcd -ccalfile rawfile

All this should be done in your own workspace. You do not want to be doing any processing in the raw data folders

A good method is to link the raw data to your workspace. Example: ln -s /home/oceancolor/Plumes_and_Blooms/cruise_data/pb248/PRR/raw/* .