NASA Logo
Ocean Color Science Software

ocssw V2022
l1bextract_oci Namespace Reference

Classes

class  extract
 

Functions

def chk_pixl (args, infile)
 

Variables

string versionStr = "1.1 (2024-03-15)"
 
int status = 0
 
 parser
 
 help
 
 action
 
 nargs
 
 group1 = parser.add_argument_group('geographic limits')
 
 type
 
 float
 
 group2 = parser.add_argument_group('pixel/line ranges (1-based)')
 
 int
 
 default
 
 args = parser.parse_args()
 
 pixel_bounds_specified = not (args.eline == -1 and args.sline == 1 and args.epixl == -1 and args.spixl == 1)
 
 infile = netCDF4.Dataset(args.ifile, 'r')
 
 in_eline
 
 this
 
 goodlatlons = None not in (this.north, this.south, this.west, this.east)
 

Function Documentation

◆ chk_pixl()

def l1bextract_oci.chk_pixl (   args,
  infile 
)

Definition at line 280 of file l1bextract_oci.py.

Variable Documentation

◆ action

action

Definition at line 296 of file l1bextract_oci.py.

◆ args

args = parser.parse_args()

Definition at line 318 of file l1bextract_oci.py.

◆ default

default

Definition at line 309 of file l1bextract_oci.py.

◆ float

float

Definition at line 303 of file l1bextract_oci.py.

◆ goodlatlons

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

Definition at line 341 of file l1bextract_oci.py.

◆ group1

group1 = parser.add_argument_group('geographic limits')

Definition at line 302 of file l1bextract_oci.py.

◆ group2

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

Definition at line 308 of file l1bextract_oci.py.

◆ help

help

Definition at line 295 of file l1bextract_oci.py.

◆ in_eline

in_eline

Definition at line 325 of file l1bextract_oci.py.

◆ infile

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

Definition at line 323 of file l1bextract_oci.py.

◆ int

int

Definition at line 309 of file l1bextract_oci.py.

◆ nargs

nargs

Definition at line 299 of file l1bextract_oci.py.

◆ parser

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

Definition at line 292 of file l1bextract_oci.py.

◆ pixel_bounds_specified

pixel_bounds_specified = not (args.eline == -1 and args.sline == 1 and args.epixl == -1 and args.spixl == 1)

Definition at line 320 of file l1bextract_oci.py.

◆ status

int status = 0

Definition at line 289 of file l1bextract_oci.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 328 of file l1bextract_oci.py.

◆ type

type

Definition at line 303 of file l1bextract_oci.py.

◆ versionStr

string versionStr = "1.1 (2024-03-15)"

Definition at line 20 of file l1bextract_oci.py.