/[lmdze]/trunk/compar_sampl.sh
ViewVC logotype

Contents of /trunk/compar_sampl.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 58 - (show annotations)
Mon Jan 30 13:02:24 2012 UTC (12 years, 3 months ago) by guez
File MIME type: application/x-sh
File size: 674 byte(s)
Move content of directory "Scripts" to directory "LMDZE".
1 # This is a script in Bash.
2
3 # This script produces vertical distributions for all sampling
4 # methods, for a given value of "llm". Run this script from the
5 # directory containing "test_disvert". The Fortran program needs to be
6 # recompiled when "llm" changes.
7
8 trap 'echo -e \\a; exit 1' ERR
9
10 read -p "llm = ? " llm
11 # (only used to name the output files in this script, not used by the
12 # Fortran program)
13
14 set -x
15
16 for s_sampling in param LMD5 strato1 strato2
17 do
18 test_disvert <<EOF
19 &disvert_nml S_SAMPLING="$s_sampling" /
20 EOF
21 mv test_disvert.csv test_disvert_${llm}_$s_sampling.csv
22 ln -sf test_disvert_${llm}_$s_sampling.csv \
23 test_disvert_$s_sampling.csv
24 done

Properties

Name Value
svn:eol-style native
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21