Commit bed3bccb authored by RKGarcia's avatar RKGarcia
Browse files

updated hcast2scmi.sh to use PYTHON optional env and setup.py installed module

parent faaa5d5a
......@@ -16,9 +16,10 @@ SOURCE="${BASH_SOURCE[0]}"
# while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
BASE="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
test -x "$PYTHON" || PYTHON=${BASE}/ShellB3/bin/python
# environment settings
export PYTHONPATH=${BASE}/himawari/py
export PATH=${BASE}/ShellB3/bin:$PATH
# export PYTHONPATH=${BASE}/himawari/py
# export PATH=${BASE}/ShellB3/bin:$PATH
unset LD_LIBRARY_PATH
unset LD_PRELOAD
......@@ -41,7 +42,7 @@ set -x
# execute on multiple scenes in parallel, writing output to CWD
for scene in "$@"; do
${BASE}/ShellB3/bin/python -m scmi -v "$scene" $(additional_args "$scene") &
$PYTHON -m himawari.scmi -v "$scene" $(additional_args "$scene") &
echo ">>> started processing job for $scene"
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment