l2extract

l2extract

Creates an extracted Level 2 file.

Location
Details
Command Line Usage

Location

SeaDAS-Toolobox -> SeaDAS Processors -> extractor

Details

l2extract is used to create subscene files by extracting from SeaDAS created L2 files (SeaWiFS, MODIS, CZCS, OCTS). The output files are HDF files and have the same format as the original L2 files.


l2extract GUI


Arguments/Keywords
UI Element Name Type Description Required/Optional Default Value
infile Text Field Input MODIS Aqua or Terra L1A file to be extracted, or an L1A filelist for multiple file extraction. (Required) Required
ofile Text Field Output filename for the L1A extracted subscene. A default ofile name is generated by the program. Required
swlon Text Field Longitude of southwest corner of the box to be extracted. Conditional
swlat Text Field Latitude of southwest corner of the box to be extracted. Conditional
nelon Text Field Longitude of northeast corner of the box to be extracted. Conditional
nelat Text Field Latitude of northeast corner of the box to be extracted. Conditional
spix Text Field Starting pixel in infile for extracting. Conditional
epix Text Field Ending pixel in infile for extracting. Conditional
sscan Text Field Starting line in infile for extracting. Conditional
escan Text Field Ending line in infile for extracting. Conditional
pix_sub Text Field Pixel sub-sampling rate. Optional
sc_sub Text Field Scan line sub-sampling rate. Optional
prodlist Text Field Comma separated product list. Optional


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 l2extract 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

This is version 2.0.2 of l2extract (compiled on Apr  4 2023 11:27:50)
l2extract 2.0.2 (Apr  4 2023 11:27:05)
Usage: l2extract argument-list
   or: l2extract ifile spix epix sline eline pix_sub sc_sub ofile <prodlist>

  This program takes a product (or products if netCDF output) from an L2 file
  and does the extraction

  The argument list is a set of keyword=value pairs.  Arguments can
  be specified on the command line, or put into a parameter file, or the
  two methods can be used together, with command line overriding.

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
   ifile (ifile) = input L2 filename
   ofile (ofile) (default=output) = output filename
   product (string) = comma separated list of products, empty string outputs
        all products
   spix (int) (default=1) = start pixel number (1-based).
   epix (int) (default=-1) = end pixel number. -1 = last pixel (1-based).
   sline (int) (default=1) = start line (1-based).
   eline (int) (default=-1) = end line.  -1 = last line (1-based).
   suite (string) = suite for default parameters
   verbose (boolean) (default=false) = more information reporting