NASA Logo
Ocean Color Science Software

ocssw V2022
install_ocssw Namespace Reference

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", "viirsj2", "oci"]
 

Function Documentation

◆ bundleStatus()

def install_ocssw.bundleStatus (   options,
  bundleInfo,
  fileLst_chg,
  fileLst_relPath_chg,
  fileLst_del 
)

Definition at line 346 of file install_ocssw.py.

◆ checkTag()

def install_ocssw.checkTag (   options)

Definition at line 169 of file install_ocssw.py.

◆ downloadBundleList()

def install_ocssw.downloadBundleList (   options)

Definition at line 264 of file install_ocssw.py.

◆ downloadFile()

def install_ocssw.downloadFile (   options,
  tag,
  bundleInfo,
  fileName,
  destDir 
)

Definition at line 312 of file install_ocssw.py.

◆ findBundleInfo()

def install_ocssw.findBundleInfo (   bundleName)

Definition at line 123 of file install_ocssw.py.

◆ getArch()

def install_ocssw.getArch ( )
Return the system arch string.

Definition at line 129 of file install_ocssw.py.

◆ getBundleListTag()

def install_ocssw.getBundleListTag (   manifestFilename)

Definition at line 247 of file install_ocssw.py.

◆ getInstalledTag()

def install_ocssw.getInstalledTag (   options)

Definition at line 191 of file install_ocssw.py.

◆ installBundle()

def install_ocssw.installBundle (   options,
  bundleInfo 
)

Definition at line 212 of file install_ocssw.py.

◆ installedTag()

def install_ocssw.installedTag (   options)

Definition at line 209 of file install_ocssw.py.

◆ listTags()

def install_ocssw.listTags (   options)

Definition at line 164 of file install_ocssw.py.

◆ recordInstalledTag()

def install_ocssw.recordInstalledTag (   options)

Definition at line 177 of file install_ocssw.py.

◆ run()

def install_ocssw.run ( )

Definition at line 650 of file install_ocssw.py.

◆ runCommand()

def install_ocssw.runCommand (   command,
  pipe = False,
  shellVal = False 
)

Definition at line 153 of file install_ocssw.py.

◆ status()

def install_ocssw.status (   options)

Definition at line 502 of file install_ocssw.py.

◆ update()

def install_ocssw.update (   options)

Definition at line 631 of file install_ocssw.py.

◆ updateLuts()

def install_ocssw.updateLuts (   options,
  lut 
)

Definition at line 236 of file install_ocssw.py.

Variable Documentation

◆ baseUrl

string baseUrl = "https://oceandata.sci.gsfc.nasa.gov/manifest/tags"

Definition at line 33 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 42 of file install_ocssw.py.

◆ BUNDLELIST_BASENAME

string BUNDLELIST_BASENAME = "bundleList.json"

Definition at line 30 of file install_ocssw.py.

◆ currentThing

int currentThing = 1

Definition at line 35 of file install_ocssw.py.

◆ initialBundleList

list initialBundleList

Definition at line 43 of file install_ocssw.py.

◆ INSTALL_OCSSW_BASENAME

string INSTALL_OCSSW_BASENAME = "install_ocssw.json"

Definition at line 31 of file install_ocssw.py.

◆ lutBundles

list lutBundles = ["seawifs", "modisa", "modist", "viirsn", "viirsj1", "viirsj2", "oci"]

Definition at line 120 of file install_ocssw.py.

◆ MANIFEST_BASENAME

string MANIFEST_BASENAME = "manifest.json"

Definition at line 29 of file install_ocssw.py.

◆ manifestCommand

string manifestCommand = os.path.dirname(__file__) + "/manifest.py"

Definition at line 34 of file install_ocssw.py.

◆ totalNumThings

int totalNumThings = 0

Definition at line 36 of file install_ocssw.py.

◆ versionString

string versionString = "8.0"

Definition at line 32 of file install_ocssw.py.