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

Annotation of /trunk/compar_sampl.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 58 - (hide 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 guez 3 # This is a script in Bash.
2    
3     # This script produces vertical distributions for all sampling
4 guez 15 # methods, for a given value of "llm". Run this script from the
5 guez 17 # directory containing "test_disvert". The Fortran program needs to be
6     # recompiled when "llm" changes.
7 guez 3
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 guez 15 for s_sampling in param LMD5 strato1 strato2
17 guez 3 do
18 guez 15 test_disvert <<EOF
19     &disvert_nml S_SAMPLING="$s_sampling" /
20 guez 3 EOF
21 guez 15 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 guez 3 done

Properties

Name Value
svn:eol-style native
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21