#!/bin/bash

# this script should be run from a test case directory PLOTS/testcase/CASE
# and not from the main directory (PLOTS), where it is stored :
#
# cd testcase/CASE
# ../../clean_graphs.sh

module load ncl
ROOT=$(pwd)
cd variant
EXPS=$(ls)

for EXP in $EXPS ; do
    echo $EXP
    cd $ROOT/variant/$EXP
    rm -f *.png *.gif
done
