NASA Logo
Ocean Color Science Software

ocssw V2022
build_manifest_ocssw Namespace Reference

Functions

def doIt (cmd, logFilename)
 
def run ()
 

Variables

list machineInfo
 
string firstRunStr = " && cd \$OCSSWROOT/.. && 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 && if [ ! -d polarimetry ]; then mkdir polarimetry; 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 \$OCSSWROOT/.. && 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 \$OCSSWROOT/.. && 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 \$OCSSWROOT/.. && 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"
 
string getDtdbStr = " && cd \$OCSSWROOT/.. && rm -rf dtdb && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/aerosol/dtdb.git && cd dtdb"
 
string buildDtdbStr = " && mkdir build && cd build && cmake .. && make -j 20 install"
 
string getHarp2Str = " && cd \$OCSSWROOT/../polarimetry && rm -rf harp && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/polarimetry/harp.git && cd harp"
 
string buildHarp2HippStr = " && cd hipp && mkdir build && cd build && cmake .. && make install && cd .."
 
string getL1bcgen_spexoneStr = " && cd \$OCSSWROOT/../polarimetry && rm -rf spex && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/polarimetry/spex.git && cd spex"
 
string buildL1bcgen_spexoneStr = " && mkdir build && cd build && cmake .. -DCMAKE_EXE_LINKER_FLAGS=\\\"-Wl,-rpath,\\\\\$ORIGIN/../opt/lib -L\$LIB3_DIR/lib -lnetcdf_c++4 -lnetcdf -lhdf5 -llapack -lblas\\\" -DCMAKE_PREFIX_PATH=\$LIB3_DIR -DL1BC_ONLY=1 -DCMAKE_BUILD_TYPE=Release && make -j 20 && cp spexone \$OCSSWROOT/bin/l1bcgen_spexone"
 
string getFastmapolStr = " && cd \$OCSSWROOT/../polarimetry && rm -rf fastmapol && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/polarimetry/fastmapol.git && cd fastmapol"
 
string buildFastmapolStr = " && mkdir build && cd build && cmake .. && make install"
 
string getUaaStr = " && cd \$OCSSWROOT/../sat && rm -rf unified_dtdb_aerosol && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/sat/unified_dtdb_aerosol.git && cd unified_dtdb_aerosol"
 
string buildUaaStr = " && mkdir build && cd build && cmake .. && make install"
 

Function Documentation

◆ doIt()

def build_manifest_ocssw.doIt (   cmd,
  logFilename 
)

Definition at line 81 of file build_manifest_ocssw.py.

◆ run()

def build_manifest_ocssw.run ( )

Definition at line 88 of file build_manifest_ocssw.py.

Variable Documentation

◆ buildDtdbStr

string buildDtdbStr = " && mkdir build && cd build && cmake .. && make -j 20 install"

Definition at line 66 of file build_manifest_ocssw.py.

◆ buildFastmapolStr

string buildFastmapolStr = " && mkdir build && cd build && cmake .. && make install"

Definition at line 75 of file build_manifest_ocssw.py.

◆ buildFocsStr

string buildFocsStr = " && mkdir build && cd build && cmake .. && make -j 20 install"

Definition at line 64 of file build_manifest_ocssw.py.

◆ buildHarp2HippStr

string buildHarp2HippStr = " && cd hipp && mkdir build && cd build && cmake .. && make install && cd .."

Definition at line 69 of file build_manifest_ocssw.py.

◆ buildL1bcgen_spexoneStr

string buildL1bcgen_spexoneStr = " && mkdir build && cd build && cmake .. -DCMAKE_EXE_LINKER_FLAGS=\\\"-Wl,-rpath,\\\\\$ORIGIN/../opt/lib -L\$LIB3_DIR/lib -lnetcdf_c++4 -lnetcdf -lhdf5 -llapack -lblas\\\" -DCMAKE_PREFIX_PATH=\$LIB3_DIR -DL1BC_ONLY=1 -DCMAKE_BUILD_TYPE=Release && make -j 20 && cp spexone \$OCSSWROOT/bin/l1bcgen_spexone"

Definition at line 72 of file build_manifest_ocssw.py.

◆ buildOcsswStr

string buildOcsswStr = " && mkdir build && cd build && cmake .. -DBUILD_ALL=1 && make -j 20 install"

Definition at line 60 of file build_manifest_ocssw.py.

◆ buildOptStr

string buildOptStr = " && ./get_lib3_src.sh && cd opt/src && ./BuildIt.py && cd ../.."

Definition at line 59 of file build_manifest_ocssw.py.

◆ buildUaaStr

string buildUaaStr = " && mkdir build && cd build && cmake .. && make install"

Definition at line 78 of file build_manifest_ocssw.py.

◆ buildViirsStr

string buildViirsStr = " && mkdir build && cd build && cmake .. && make -j 20 install"

Definition at line 62 of file build_manifest_ocssw.py.

◆ firstRunStr

string firstRunStr = " && cd \$OCSSWROOT/.. && 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 && if [ ! -d polarimetry ]; then mkdir polarimetry; fi"

Definition at line 52 of file build_manifest_ocssw.py.

◆ getDtdbStr

string getDtdbStr = " && cd \$OCSSWROOT/.. && rm -rf dtdb && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/aerosol/dtdb.git && cd dtdb"

Definition at line 65 of file build_manifest_ocssw.py.

◆ getFastmapolStr

string getFastmapolStr = " && cd \$OCSSWROOT/../polarimetry && rm -rf fastmapol && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/polarimetry/fastmapol.git && cd fastmapol"

Definition at line 74 of file build_manifest_ocssw.py.

◆ getFocsStr

string getFocsStr = " && cd \$OCSSWROOT/.. && rm -rf focs && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/obpg/focs.git && cd focs"

Definition at line 63 of file build_manifest_ocssw.py.

◆ getHarp2Str

string getHarp2Str = " && cd \$OCSSWROOT/../polarimetry && rm -rf harp && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/polarimetry/harp.git && cd harp"

Definition at line 68 of file build_manifest_ocssw.py.

◆ getL1bcgen_spexoneStr

string getL1bcgen_spexoneStr = " && cd \$OCSSWROOT/../polarimetry && rm -rf spex && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/polarimetry/spex.git && cd spex"

Definition at line 71 of file build_manifest_ocssw.py.

◆ getOcsswStr

string getOcsswStr = " && cd \$OCSSWROOT/.. && rm -rf ocssw && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/obpg/ocssw.git && cd ocssw && source OCSSW_bash.env"

Definition at line 57 of file build_manifest_ocssw.py.

◆ getSubmodulesStr

string getSubmodulesStr = " && git submodule init && git submodule update"

Definition at line 58 of file build_manifest_ocssw.py.

◆ getUaaStr

string getUaaStr = " && cd \$OCSSWROOT/../sat && rm -rf unified_dtdb_aerosol && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/sat/unified_dtdb_aerosol.git && cd unified_dtdb_aerosol"

Definition at line 77 of file build_manifest_ocssw.py.

◆ getViirsStr

string getViirsStr = " && cd \$OCSSWROOT/.. && rm -rf viirs_l1 && git clone https://oceandata.sci.gsfc.nasa.gov/rcs/viirs/viirs_l1.git && cd viirs_l1"

Definition at line 61 of file build_manifest_ocssw.py.

◆ machineInfo

list machineInfo

Definition at line 14 of file build_manifest_ocssw.py.

◆ restoreOcsswStr

string restoreOcsswStr = " && rm -rf share/modis && mv ../saveOcssw/share ../saveOcssw/testdata ../saveOcssw/var ."

Definition at line 54 of file build_manifest_ocssw.py.

◆ restoreOptStr

string restoreOptStr = " && mv ../saveOcssw/opt ."

Definition at line 56 of file build_manifest_ocssw.py.

◆ saveOcsswStr

string saveOcsswStr = " && rm -rf saveOcssw && mkdir saveOcssw && cd ocssw && mv share testdata var ../saveOcssw"

Definition at line 53 of file build_manifest_ocssw.py.

◆ saveOptStr

string saveOptStr = " && mv opt ../saveOcssw"

Definition at line 55 of file build_manifest_ocssw.py.