l2extract

l2extract

Creates an extracted Level 2 file.

Location
Details
Command Line Usage

Location

SeaDAS-OCSSW -> 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

 Usage: l2extract infile spix epix sscan escan pix_sub sc_sub outfile [prodlist]
   where:
	infile   - input l2 data HDF file
	spix     - start pixel number (1-based)
	epix     - end pixel number (1-based)
	sscan    - start line (1-based)
	escan    - end line (1-based)
	pix_sub  - pixel subsampling rate
	sc_sub   - scan line subsampling rate
	outfile  - output file name
	prodlist  - product list (optional)

Note: Enter line number NOT scan number!