OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
getanc_aquarius Namespace Reference

Classes

class  GetAncAquarius
 

Variables

string version = "1.1"
 
string usage
 
 parser = argparse.ArgumentParser(prog="getanc_aquarius",usage=usage)
 
 action
 
 nargs
 
 help
 
 metavar
 
string ancdb_help_text = "Use a custom filename for ancillary database. If " \
 
 default
 
 False
 
 dest
 
 type
 
 float
 
 args = parser.parse_args()
 
 g
 
 stop
 
 sensor
 
 getanc = os.path.join(g.dirs['bin'], 'getanc')
 
list getanc_cmd = [getanc, '--mission=aquarius --noprint', args.filename]
 
 status = subprocess.call(getanc_cmd, shell=False)
 
string anc_filelist = args.start + ".anc"
 
 anclist = list(g.ancfiles.keys())
 
 atm3 = g.ancfiles.get('atm3', None)
 
 gran = os.path.basename(args.filename).split('.')[0]
 
string scatfile = '.'.join([gran, 'L2_SCAT_V5.0.tar'])
 
string scatpath = '/'.join(['/cgi/getfile', scatfile])
 
 tar = tarfile.open(scatfile)
 

Variable Documentation

◆ action

action

Definition at line 135 of file getanc_aquarius.py.

◆ anc_filelist

string anc_filelist = args.start + ".anc"

Definition at line 214 of file getanc_aquarius.py.

◆ ancdb_help_text

ancdb_help_text = "Use a custom filename for ancillary database. If " \

Definition at line 144 of file getanc_aquarius.py.

◆ anclist

anclist = list(g.ancfiles.keys())

Definition at line 219 of file getanc_aquarius.py.

◆ args

args = parser.parse_args()

Definition at line 169 of file getanc_aquarius.py.

◆ atm3

atm3 = g.ancfiles.get('atm3', None)

Definition at line 229 of file getanc_aquarius.py.

◆ default

default

Definition at line 151 of file getanc_aquarius.py.

◆ dest

dest

Definition at line 158 of file getanc_aquarius.py.

◆ False

False

Definition at line 155 of file getanc_aquarius.py.

◆ float

float

Definition at line 160 of file getanc_aquarius.py.

◆ g

g
Initial value:
1 = GetAncAquarius(filename=args.filename,
2  start=argssstart,
3  stop=args.stop,
4  curdir=args.curdir,
5  ancdir=args.ancdir,
6  ancdb=args.ancdb,
7  verbose=args.verbose,
8  printlist=args.noprint,
9  download=args.download,
10  refreshDB=args.refreshDB)

Definition at line 175 of file getanc_aquarius.py.

◆ getanc

getanc = os.path.join(g.dirs['bin'], 'getanc')

Definition at line 191 of file getanc_aquarius.py.

◆ getanc_cmd

list getanc_cmd = [getanc, '--mission=aquarius --noprint', args.filename]

Definition at line 193 of file getanc_aquarius.py.

◆ gran

gran = os.path.basename(args.filename).split('.')[0]

Definition at line 234 of file getanc_aquarius.py.

◆ help

help

Definition at line 137 of file getanc_aquarius.py.

◆ metavar

metavar

Definition at line 137 of file getanc_aquarius.py.

◆ nargs

nargs

Definition at line 136 of file getanc_aquarius.py.

◆ parser

parser = argparse.ArgumentParser(prog="getanc_aquarius",usage=usage)

Definition at line 134 of file getanc_aquarius.py.

◆ scatfile

string scatfile = '.'.join([gran, 'L2_SCAT_V5.0.tar'])

Definition at line 235 of file getanc_aquarius.py.

◆ scatpath

string scatpath = '/'.join(['/cgi/getfile', scatfile])

Definition at line 236 of file getanc_aquarius.py.

◆ sensor

sensor

Definition at line 188 of file getanc_aquarius.py.

◆ status

Definition at line 207 of file getanc_aquarius.py.

◆ stop

stop

Definition at line 188 of file getanc_aquarius.py.

◆ tar

tar = tarfile.open(scatfile)

Definition at line 244 of file getanc_aquarius.py.

◆ type

type

Definition at line 160 of file getanc_aquarius.py.

◆ usage

string usage
Initial value:
1 = '''
2  %(prog)s [OPTIONS] FILE
3 
4  This program does the following:
5 
6  1) executes getanc for Aquarius L1 files. If an input file is
7  specified the start and end times are determined automatically,
8  otherwise a start time must be provided by the user.
9 
10  2) runs the mk_aquarius_ancillary_data program to create the "y-files"
11  required as input to l2gen_aquarius.
12 
13  3) retrieves and un-tars the scatterometer files
14  '''

Definition at line 119 of file getanc_aquarius.py.

◆ version

version = "1.1"

Definition at line 116 of file getanc_aquarius.py.