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