Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ray Garcia
himawari
Commits
bed3bccb
Commit
bed3bccb
authored
Jul 19, 2017
by
RKGarcia
Browse files
updated hcast2scmi.sh to use PYTHON optional env and setup.py installed module
parent
faaa5d5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
himawari/hcast2scmi.sh
View file @
bed3bccb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment