Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
himawari
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ray Garcia
himawari
Commits
bed3bccb
Commit
bed3bccb
authored
7 years ago
by
Ray Garcia
Browse files
Options
Downloads
Patches
Plain Diff
updated hcast2scmi.sh to use PYTHON optional env and setup.py installed module
parent
faaa5d5a
No related branches found
Branches containing commit
Tags
r20201203_2126
r20201208_2001
test-r20201203_2126
test-r20201208_1956
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
himawari/hcast2scmi.sh
+4
-3
4 additions, 3 deletions
himawari/hcast2scmi.sh
with
4 additions
and
3 deletions
himawari/hcast2scmi.sh
+
4
−
3
View file @
bed3bccb
...
@@ -16,9 +16,10 @@ SOURCE="${BASH_SOURCE[0]}"
...
@@ -16,9 +16,10 @@ SOURCE="${BASH_SOURCE[0]}"
# while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
# while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
BASE
=
"
$(
cd
-P
"
$(
dirname
"
$SOURCE
"
)
"
&&
pwd
)
"
BASE
=
"
$(
cd
-P
"
$(
dirname
"
$SOURCE
"
)
"
&&
pwd
)
"
test
-x
"
$PYTHON
"
||
PYTHON
=
${
BASE
}
/ShellB3/bin/python
# environment settings
# environment settings
export
PYTHONPATH
=
${
BASE
}
/himawari/py
#
export PYTHONPATH=${BASE}/himawari/py
export
PATH
=
${
BASE
}
/ShellB3/bin:
$PATH
#
export PATH=${BASE}/ShellB3/bin:$PATH
unset
LD_LIBRARY_PATH
unset
LD_LIBRARY_PATH
unset
LD_PRELOAD
unset
LD_PRELOAD
...
@@ -41,7 +42,7 @@ set -x
...
@@ -41,7 +42,7 @@ set -x
# execute on multiple scenes in parallel, writing output to CWD
# execute on multiple scenes in parallel, writing output to CWD
for
scene
in
"
$@
"
;
do
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
"
echo
">>> started processing job for
$scene
"
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment