NASA Logo
Ocean Color Science Software

ocssw V2022
l1cextract Namespace Reference

Classes

class  extract
 

Functions

def chk_pixl (args, infile)
 
def chk_spex_width (args, infile)
 

Variables

string versionStr = "1.3 (2024-09-23)"
 
 parser
 
 help
 
 action
 
 group1 = parser.add_argument_group('geographic limits')
 
 type
 
 float
 
 group2 = parser.add_argument_group('pixel/line ranges (1-based)')
 
 int
 
 default
 
 group3 = parser.add_argument_group('spex width (overwrites any pixel ranges or geographic limits)')
 
 args = parser.parse_args()
 
 infile = netCDF4.Dataset(args.ifile, 'r')
 
int token = 0
 
 eline
 
 in_eline
 
 this
 
 goodlatlons = None not in (this.north, this.south, this.west, this.east)
 
 goodindices = None not in (this.spixl, this.epixl, this.sline, this.eline)
 
 status = this.getpixlin()
 

Function Documentation

◆ chk_pixl()

def l1cextract.chk_pixl (   args,
  infile 
)

Definition at line 333 of file l1cextract.py.

◆ chk_spex_width()

def l1cextract.chk_spex_width (   args,
  infile 
)

Definition at line 340 of file l1cextract.py.

Variable Documentation

◆ action

action

Definition at line 355 of file l1cextract.py.

◆ args

args = parser.parse_args()

Definition at line 380 of file l1cextract.py.

◆ default

default

Definition at line 368 of file l1cextract.py.

◆ eline

eline

Definition at line 392 of file l1cextract.py.

◆ float

float

Definition at line 362 of file l1cextract.py.

◆ goodindices

goodindices = None not in (this.spixl, this.epixl, this.sline, this.eline)

Definition at line 411 of file l1cextract.py.

◆ goodlatlons

goodlatlons = None not in (this.north, this.south, this.west, this.east)

Definition at line 410 of file l1cextract.py.

◆ group1

group1 = parser.add_argument_group('geographic limits')

Definition at line 361 of file l1cextract.py.

◆ group2

group2 = parser.add_argument_group('pixel/line ranges (1-based)')

Definition at line 367 of file l1cextract.py.

◆ group3

group3 = parser.add_argument_group('spex width (overwrites any pixel ranges or geographic limits)')

Definition at line 374 of file l1cextract.py.

◆ help

help

Definition at line 354 of file l1cextract.py.

◆ in_eline

in_eline

Definition at line 394 of file l1cextract.py.

◆ infile

infile = netCDF4.Dataset(args.ifile, 'r')

Definition at line 383 of file l1cextract.py.

◆ int

int

Definition at line 368 of file l1cextract.py.

◆ parser

Initial value:
1 = argparse.ArgumentParser(
2  description='Extract specified area from OLCI Level 1C files.',
3  epilog='Specify either geographic limits or pixel/line ranges, not both.')

Definition at line 351 of file l1cextract.py.

◆ status

status = this.getpixlin()

Definition at line 416 of file l1cextract.py.

◆ this

this
Initial value:
1 = extract(ifile=args.ifile,
2  ofile=args.ofile,
3  north=args.north,
4  south=args.south,
5  west=args.west,
6  east=args.east,
7  spixl=args.spixl,
8  epixl=args.epixl,
9  sline=args.sline,
10  eline=args.eline,
11  verbose=args.verbose)

Definition at line 397 of file l1cextract.py.

◆ token

int token = 0

Definition at line 386 of file l1cextract.py.

◆ type

type

Definition at line 362 of file l1cextract.py.

◆ versionStr

string versionStr = "1.3 (2024-09-23)"

Definition at line 24 of file l1cextract.py.