OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
obdaac_download Namespace Reference

Functions

def retrieveURL (request, localpath='.', uncompress=False, verbose=0, force_download=False, appkey=False, checksum=False)
 

Variables

 parser
 
 help
 
 action
 
 default
 
 nargs
 
 args = parser.parse_args()
 
list filelist = []
 
def status = retrieveURL(args.http_manifest,verbose=args.verbose,force_download=True,appkey=args.appkey)
 
 outpath = Path.resolve(Path.expanduser(Path(os.path.expandvars(args.odir))))
 
 failed = None
 

Function Documentation

◆ retrieveURL()

def obdaac_download.retrieveURL (   request,
  localpath = '.',
  uncompress = False,
  verbose = 0,
  force_download = False,
  appkey = False,
  checksum = False 
)

Definition at line 13 of file obdaac_download.py.

Variable Documentation

◆ action

action

Definition at line 65 of file obdaac_download.py.

◆ args

args = parser.parse_args()

Definition at line 85 of file obdaac_download.py.

◆ default

default

Definition at line 65 of file obdaac_download.py.

◆ failed

failed = None

Definition at line 118 of file obdaac_download.py.

◆ filelist

list filelist = []

Definition at line 87 of file obdaac_download.py.

◆ help

help

Definition at line 64 of file obdaac_download.py.

◆ nargs

nargs

Definition at line 66 of file obdaac_download.py.

◆ outpath

outpath = Path.resolve(Path.expanduser(Path(os.path.expandvars(args.odir))))

Definition at line 113 of file obdaac_download.py.

◆ parser

Initial value:
1 = argparse.ArgumentParser(
2  formatter_class=argparse.RawTextHelpFormatter,
3  description='Download files archived at the OB.DAAC',
4  epilog=textwrap.dedent(
5  ))

Definition at line 49 of file obdaac_download.py.

◆ status

def status = retrieveURL(args.http_manifest,verbose=args.verbose,force_download=True,appkey=args.appkey)

Definition at line 90 of file obdaac_download.py.