ocssw
V2022
|
Functions | |
def | getSession (verbose=0, ntries=5) |
def | isRequestAuthFailure (req) |
def | httpdl (server, request, localpath='.', outputfilename=None, ntries=5, uncompress=False, timeout=30., verbose=0, force_download=False, chunk_size=DEFAULT_CHUNK_SIZE) |
def | uncompressFile (compressed_file) |
def | get_file_time (localFile) |
def | run () |
def | create_default_options () |
def | run_command (command) |
def | reprint (options, args) |
def | update_file (options, args) |
def | add_tag (options, args) |
def | get_value (options, args) |
def | get_first_tag (options, args) |
def | getFileList (excludeList=None, includeList=None) |
def | clean (options, args) |
def | list (options, args) |
def | generate (options, args) |
def | download (options, args) |
def | get_tags (options, args) |
def | list_tags (options, args) |
def | check_tag (options, args) |
Variables | |
string | DEFAULT_BASE_URL = "https://oceandata.sci.gsfc.nasa.gov/manifest/tags" |
string | MANIFEST_BASENAME = "manifest.json" |
int | DEFAULT_CHUNK_SIZE = 131072 |
obpgSession = None | |
Function Documentation
◆ add_tag()
def manifest.add_tag | ( | options, | |
args | |||
) |
Definition at line 340 of file manifest.py.
◆ check_tag()
def manifest.check_tag | ( | options, | |
args | |||
) |
Definition at line 593 of file manifest.py.
◆ clean()
def manifest.clean | ( | options, | |
args | |||
) |
Definition at line 395 of file manifest.py.
◆ create_default_options()
def manifest.create_default_options | ( | ) |
Definition at line 292 of file manifest.py.
◆ download()
def manifest.download | ( | options, | |
args | |||
) |
Definition at line 495 of file manifest.py.
◆ generate()
def manifest.generate | ( | options, | |
args | |||
) |
Definition at line 440 of file manifest.py.
◆ get_file_time()
def manifest.get_file_time | ( | localFile | ) |
Definition at line 171 of file manifest.py.
◆ get_first_tag()
def manifest.get_first_tag | ( | options, | |
args | |||
) |
Definition at line 361 of file manifest.py.
◆ get_tags()
def manifest.get_tags | ( | options, | |
args | |||
) |
Definition at line 553 of file manifest.py.
◆ get_value()
def manifest.get_value | ( | options, | |
args | |||
) |
Definition at line 350 of file manifest.py.
◆ getFileList()
def manifest.getFileList | ( | excludeList = None , |
|
includeList = None |
|||
) |
Definition at line 366 of file manifest.py.
◆ getSession()
def manifest.getSession | ( | verbose = 0 , |
|
ntries = 5 |
|||
) |
Definition at line 45 of file manifest.py.
◆ httpdl()
def manifest.httpdl | ( | server, | |
request, | |||
localpath = '.' , |
|||
outputfilename = None , |
|||
ntries = 5 , |
|||
uncompress = False , |
|||
timeout = 30. , |
|||
verbose = 0 , |
|||
force_download = False , |
|||
chunk_size = DEFAULT_CHUNK_SIZE |
|||
) |
Definition at line 75 of file manifest.py.
◆ isRequestAuthFailure()
def manifest.isRequestAuthFailure | ( | req | ) |
Definition at line 66 of file manifest.py.
◆ list()
def manifest.list | ( | options, | |
args | |||
) |
Definition at line 420 of file manifest.py.
◆ list_tags()
def manifest.list_tags | ( | options, | |
args | |||
) |
Definition at line 589 of file manifest.py.
◆ reprint()
def manifest.reprint | ( | options, | |
args | |||
) |
Definition at line 313 of file manifest.py.
◆ run()
def manifest.run | ( | ) |
Definition at line 181 of file manifest.py.
◆ run_command()
def manifest.run_command | ( | command | ) |
Definition at line 307 of file manifest.py.
◆ uncompressFile()
def manifest.uncompressFile | ( | compressed_file | ) |
uncompress file compression methods: bzip2 gzip UNIX compress
Definition at line 149 of file manifest.py.
◆ update_file()
def manifest.update_file | ( | options, | |
args | |||
) |
Definition at line 318 of file manifest.py.
Variable Documentation
◆ DEFAULT_BASE_URL
string DEFAULT_BASE_URL = "https://oceandata.sci.gsfc.nasa.gov/manifest/tags" |
Definition at line 20 of file manifest.py.
◆ DEFAULT_CHUNK_SIZE
int DEFAULT_CHUNK_SIZE = 131072 |
Definition at line 40 of file manifest.py.
◆ MANIFEST_BASENAME
string MANIFEST_BASENAME = "manifest.json" |
Definition at line 21 of file manifest.py.
◆ obpgSession
obpgSession = None |
Definition at line 43 of file manifest.py.