l2brsgen

l2brsgen

Creates a Level 2 Browse file.

Location
Details
Command Line Usage

Location

SeaDAS-Toolbox -> SeaDAS Processors -> l2brsgen

Details

l2brsgen takes a product from a L2 file, subsamples the file and writes a browse file.


l2brsgen GUI


Arguments/Keywords
UI Element Name Type Description Required/Optional Default Value
ifile ifile Input L2 file name. Please provide the full path name when manually enter the file name. Required
ofile ofile Output image filename for generated browse file. Please provide the full path name when manually enter the file name. Required
product_table ifile product table Optional $OCDATAROOT/common/l2brsgen_product_table.dat
prod string level 2 product Required chlor_a
quality int highest quality value acceptable Optional 999
rflag string replacement flag Optional ORIGINAL
flaguse string Flags used to mask data Optional
chl_flags string Flags used to mask data for chl product if flaguse not set Optional ATMFAIL,HILT,STRAYLIGHT,CLDICE,LOWLW,CHLWARN,CHLFAIL,NAVWARN,MAXAERITER,NAVFAIL,FILTER,HIGLINT
sst_flags string Flags used to mask data for sst product if flaguse not set Optional SSTFAIL
spixl int start pixel number Optional 1
epixl int end pixel number (-1=the last pixel) Optional -1
dpixl int pixel subsampling interval Optional 1
sline int start line number Optional 1
eline int end line number(-1=the last line) Optional -1
dline int line subsampling interval Optional 1
palfile ifile palette filename. "default" means the palette is chosen using the product table file. The value of this field is used when apply_pal is checked. optional default
palette_dir ifile directory containing the palette files Optional $OCDATAROOT/common/palette
datamin float minimum value for data scaling. Optional 0.0 or derived from the default product_table.dat
datamax float maximum value for data scaling Optional 0.0 or derived from the default product_table.dat
stype int scaling type:
        1: linear
        2: log
    
Optional 0
oformat string defines output format:
        hdf4: HDF browse file
        png:  PNG color or grayscale image file
        ppm:  PPM color or PGM grayscale image file
    
Optional HDF4
apply_pal boolean apply color palette, grayscale is used when apply_pal is left unchecked Optional no


Actions/Buttons
UI Element Name Type Description
Browser Button Button Selects ifile/ofile
Load Parameters ... Button Reads in previously saved parameters and populates the fields in GUI.
Store Parameters ... Button Saves the current arguments in GUI in a file.
Run Button Executes the l2brsgen command with arguments provided in the UI.
Cancel Button Closes current processor GUI.
Apply Button Makes current arguments effective.
Open in SeaDAS Checkbox If selected, the ofile will be added to the open products list right after its generation.
? Button Displays the help content of the current command.

Command Line Usage