source: configs/dcmip2016/PLOTS/make_graphs.sh @ 438

Last change on this file since 438 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
8module load ncl
9
10ROOT=$(pwd)
11CASE=$(basename $ROOT)
12
13cd variant
14EXPS=$(ls)
15
16for 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
26done
Note: See TracBrowser for help on using the repository browser.