ocssw
V2022
|
Functions | |
def | findBundleInfo (bundleName) |
def | getArch () |
def | runCommand (command, pipe=False, shellVal=False) |
def | listTags (options) |
def | checkTag (options) |
def | recordInstalledTag (options) |
def | getInstalledTag (options) |
def | installedTag (options) |
def | installBundle (options, bundleInfo) |
def | updateLuts (options, lut) |
def | getBundleListTag (manifestFilename) |
def | downloadBundleList (options) |
def | downloadFile (options, tag, bundleInfo, fileName, destDir) |
def | bundleStatus (options, bundleInfo, fileLst_chg, fileLst_relPath_chg, fileLst_del) |
def | status (options) |
def | update (options) |
def | run () |
Variables | |
string | MANIFEST_BASENAME = "manifest.json" |
string | BUNDLELIST_BASENAME = "bundleList.json" |
string | INSTALL_OCSSW_BASENAME = "install_ocssw.json" |
string | versionString = "8.0" |
string | baseUrl = "https://oceandata.sci.gsfc.nasa.gov/manifest/tags" |
string | manifestCommand = os.path.dirname(__file__) + "/manifest.py" |
int | currentThing = 1 |
int | totalNumThings = 0 |
list | bundleList = [] |
list | initialBundleList |
list | lutBundles = ["seawifs", "modisa", "modist", "viirsn", "viirsj1"] |
Function Documentation
◆ bundleStatus()
def install_ocssw.bundleStatus | ( | options, | |
bundleInfo, | |||
fileLst_chg, | |||
fileLst_relPath_chg, | |||
fileLst_del | |||
) |
Definition at line 338 of file install_ocssw.py.
◆ checkTag()
def install_ocssw.checkTag | ( | options | ) |
Definition at line 161 of file install_ocssw.py.
◆ downloadBundleList()
def install_ocssw.downloadBundleList | ( | options | ) |
Definition at line 256 of file install_ocssw.py.
◆ downloadFile()
def install_ocssw.downloadFile | ( | options, | |
tag, | |||
bundleInfo, | |||
fileName, | |||
destDir | |||
) |
Definition at line 304 of file install_ocssw.py.
◆ findBundleInfo()
def install_ocssw.findBundleInfo | ( | bundleName | ) |
Definition at line 117 of file install_ocssw.py.
◆ getArch()
def install_ocssw.getArch | ( | ) |
Return the system arch string.
Definition at line 123 of file install_ocssw.py.
◆ getBundleListTag()
def install_ocssw.getBundleListTag | ( | manifestFilename | ) |
Definition at line 239 of file install_ocssw.py.
◆ getInstalledTag()
def install_ocssw.getInstalledTag | ( | options | ) |
Definition at line 183 of file install_ocssw.py.
◆ installBundle()
def install_ocssw.installBundle | ( | options, | |
bundleInfo | |||
) |
Definition at line 204 of file install_ocssw.py.
◆ installedTag()
def install_ocssw.installedTag | ( | options | ) |
Definition at line 201 of file install_ocssw.py.
◆ listTags()
def install_ocssw.listTags | ( | options | ) |
Definition at line 156 of file install_ocssw.py.
◆ recordInstalledTag()
def install_ocssw.recordInstalledTag | ( | options | ) |
Definition at line 169 of file install_ocssw.py.
◆ run()
def install_ocssw.run | ( | ) |
Definition at line 594 of file install_ocssw.py.
◆ runCommand()
Definition at line 145 of file install_ocssw.py.
◆ status()
def install_ocssw.status | ( | options | ) |
Definition at line 446 of file install_ocssw.py.
◆ update()
def install_ocssw.update | ( | options | ) |
Definition at line 575 of file install_ocssw.py.
◆ updateLuts()
def install_ocssw.updateLuts | ( | options, | |
lut | |||
) |
Definition at line 228 of file install_ocssw.py.
Variable Documentation
◆ baseUrl
string baseUrl = "https://oceandata.sci.gsfc.nasa.gov/manifest/tags" |
Definition at line 32 of file install_ocssw.py.
◆ bundleList
list bundleList = [] |
WARNING - The initialBundleList should match the latest bundleList.json.
mapping of bundle names to directories and extra options
Definition at line 41 of file install_ocssw.py.
◆ BUNDLELIST_BASENAME
string BUNDLELIST_BASENAME = "bundleList.json" |
Definition at line 29 of file install_ocssw.py.
◆ currentThing
int currentThing = 1 |
Definition at line 34 of file install_ocssw.py.
◆ initialBundleList
list initialBundleList |
Definition at line 42 of file install_ocssw.py.
◆ INSTALL_OCSSW_BASENAME
string INSTALL_OCSSW_BASENAME = "install_ocssw.json" |
Definition at line 30 of file install_ocssw.py.
◆ lutBundles
list lutBundles = ["seawifs", "modisa", "modist", "viirsn", "viirsj1"] |
Definition at line 114 of file install_ocssw.py.
◆ MANIFEST_BASENAME
string MANIFEST_BASENAME = "manifest.json" |
Definition at line 28 of file install_ocssw.py.
◆ manifestCommand
string manifestCommand = os.path.dirname(__file__) + "/manifest.py" |
Definition at line 33 of file install_ocssw.py.
◆ totalNumThings
int totalNumThings = 0 |
Definition at line 35 of file install_ocssw.py.
◆ versionString
string versionString = "8.0" |
Definition at line 31 of file install_ocssw.py.