OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
build_manifest_ocssw.py File Reference

Go to the source code of this file.

Namespaces

 build_manifest_ocssw
 

Functions

def doIt (cmd, logFilename, out)
 
def run ()
 

Variables

list machineInfo
 
string firstRunStr = " && if [ ! -d ocssw ]; then mkdir ocssw; fi && if [ ! -d ocssw/share ]; then mkdir ocssw/share; fi && if [ ! -d ocssw/testdata ]; then mkdir ocssw/testdata; fi && if [ ! -d ocssw/var ]; then mkdir ocssw/var; fi && if [ ! -d ocssw/opt ]; then mkdir ocssw/opt; fi"
 
string saveOcsswStr = " && rm -rf saveOcssw && mkdir saveOcssw && cd ocssw && mv share testdata var ../saveOcssw"
 
string restoreOcsswStr = " && rm -rf share/modis && mv ../saveOcssw/share ../saveOcssw/testdata ../saveOcssw/var ."
 
string saveOptStr = " && mv opt ../saveOcssw"
 
string restoreOptStr = " && mv ../saveOcssw/opt ."
 
string getOcsswStr = " && cd && rm -rf ocssw && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/obpg/ocssw.git && cd ocssw && source OCSSW_bash.env"
 
string getSubmodulesStr = " && git submodule init && git submodule update"
 
string buildOptStr = " && ./get_lib3_src.sh && cd opt/src && ./BuildIt.py && cd ../.."
 
string buildOcsswStr = " && mkdir build && cd build && cmake .. -DBUILD_ALL=1 && make -j 20 install"
 
string getViirsStr = " && cd && rm -rf viirs_l1 && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/viirs/viirs_l1.git && cd viirs_l1"
 
string buildViirsStr = " && mkdir build && cd build && cmake .. && make -j 20 install"
 
string getFocsStr = " && cd && rm -rf focs && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/obpg/focs.git && cd focs"
 
string buildFocsStr = " && mkdir build && cd build && cmake .. && make -j 20 install"