l1bgen

l1bgen

Creates a Level 1B file from an input Level 1A file.

Location
Details
Command Line Usage

Location

OCSSW -> l1bgen

Details

l1bgen reads in a SeaWiFS Level-1A file (HRPT, LAC, or GAC) and generates a L1B file by applying the sensor calibration at the same resolution and location as the Level-1A data.


l1bgen GUI


Arguments/Keywords
UI Element Name Type Description Required/Optional Default Value
ifile ifile Input Level-1A data product. Required
ofile ofile Output filename for generated Level-1B data product. Required
calfile ifile system calibration file Optional
xcalfile ifile cross-calibration file Optional
spixl int Starting pixel number to be processed. Optional 1
epixl int Ending pixel number to be processed. (-1=the last pixel). Optional -1
sline int start line number Optional 1
eline int end line number (-1=the last line) Optional -1
gain float calibration gain multiplier Optional
offset float calibration offset adjustment Optional
sl_pixl int SeaWiFS only, number of LAC pixels for straylight flagging. Conditional -1
sl_frac float SeaWiFS only, straylight fractional threshold on Ltypical. Conditional 0.25
pversion string Processing version string Optional Unspecified
suite string product suite string for loading suite-specific defaults Optional OC


Actions/Buttons
UI Element Name Type Description
Browser Button Button Selects infile/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 l1bgen 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

l1bgen_generic 9.3.0-seadas-v7.5.2.1 (Dec  3 2018 15:37:24)
Usage: l1bgen_generic argument-list

      The argument-list is a set of keyword=value pairs. The arguments can
      be specified on the commandline, or put into a parameter file, or the
      two methods can be used together, with commandline over-riding.

  return value: 0=OK, 1=error, 110=north,south,east,west does not intersect
  file data.
    The list of valid keywords follows:

   help (boolean) (alias=h) (default=false) = print usage information
   version (boolean) (default=false) = print the version
            information
   dump_options (boolean) (default=false) = print
            information about each option
   dump_options_paramfile (ofile) = print
            information about each option to paramfile
   dump_options_xmlfile (ofile) = print
            information about each option to XML file
       par (ifile) = input parameter file
       pversion (string) (default=Unspecified) = processing version string
       suite (string) (default=OC) = product suite string for loading
            suite-specific defaults
       ifile (ifile) (alias=ifile1) = input L1 file name
   ofile (ofile) (alias=ofile1) (default=output) = output file name
   oformat (string) (default=netCDF4) = output file format
        netcdf4: output a netCDF version 4 file
        hdf4:    output a HDF version 4 file
   fqfile (ifile) (default=$OCDATAROOT/common/morel_fq.nc) = f/Q correction file
   parfile (ifile) = par climatology file for NPP calculation
       spixl (int) (default=1) = start pixel number
       epixl (int) (default=-1) = end pixel number (-1=the last pixel)
       sline (int) (default=1) = start line number
       eline (int) (default=-1) = end line number (-1=the last line)
       calfile (ifile) = system calibration file
       xcalfile (ifile) = cross-calibration file
       gain (float) = calibration gain multiplier
       offset (float) = calibration offset adjustment
       sl_pixl (int) (default=-1) = SeaWiFS only, number of LAC pixels for
            straylight flagging
       sl_frac (float) (default=0.25) = SeaWiFS only, straylight fractional
            threshold on Ltypical