Last change
on this file since 448 was
438,
checked in by dubos, 8 years ago
|
Updated DCMIP2016 NCL scripts
|
-
Property svn:executable set to
*
|
File size:
465 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | # this script should be run from a test case directory PLOTS/testcase/CASE |
---|
4 | # and not from the main directory (PLOTS), where it is stored |
---|
5 | |
---|
6 | # execute "bash -l" before running this script |
---|
7 | |
---|
8 | module load ncl |
---|
9 | |
---|
10 | ROOT=$(pwd) |
---|
11 | CASE=$(basename $ROOT) |
---|
12 | |
---|
13 | cd variant |
---|
14 | EXPS=$(ls) |
---|
15 | |
---|
16 | for EXP in $EXPS ; do |
---|
17 | echo $EXP |
---|
18 | cd $ROOT/variant/$EXP |
---|
19 | rm -f *.png *.gif |
---|
20 | ln -s ../../include/* . |
---|
21 | for NCL in ../../*.ncl ; do |
---|
22 | echo $NCL |
---|
23 | ncl $NCL & |
---|
24 | done |
---|
25 | wait |
---|
26 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.