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

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
9module load ncl
10
11ROOT=$(pwd)
12CASE=$(basename $ROOT)
13
14cd data
15EXPS=$(ls)
16
17cd $ROOT
18for 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
28done
Note: See TracBrowser for help on using the repository browser.