source: trunk/INPUT/ANT-LBq-15km/combin_beta.sh @ 278

Last change on this file since 278 was 4, checked in by dumas, 10 years ago

initial import GRISLI trunk

File size: 2.7 KB
Line 
1# Fait une combinaison de coefficients multiplicateurs de beta
2
3# nom du fichier beta sur lequel on travaille
4file='beta_mixed_first_optim_Gael_14.grd'
5
6
7# premiere version
8filout='beta_combin_lin.grd'
9coef1=10
10coef2=1.8
11coef3=8
12coef4=3.
13coef5=2
14coef6=3.5
15coef7=1.8
16coef8=20
17coef9=15
18coef10=4.5
19coef11=9
20coef12=3.5
21coef13=3
22coef14=0.1
23
24# deuxieme version
25file='beta_mixed_first_optim_Gael_14.grd'
26filout='beta_combin_lin-V2.grd'
27coef1=12
28coef2=1.8
29coef3=25
30coef4=3.3
31coef5=2
32coef6=3.5
33coef7=1.8
34coef8=60
35coef9=60
36coef10=4.5
37coef11=18
38coef12=3.2
39coef13=3
40coef14=0.05
41
42
43# Version pour le beta de Gael
44file='beta_Gael_mean_15km.grd'
45filout='beta_combin_Gael.grd'
46coef1=0.3
47coef2=0.82
48coef3=10
49coef4=0.35
50coef5=0.15
51coef6=0.21
52coef7=0.7
53coef8=10
54coef9=4
55coef10=0.15
56coef11=0.6
57coef12=0.2
58coef13=0.18
59coef14=0.1
60
61
62# troisieme version Cat
63file='beta_mixed_first_optim_Gael_14.grd'
64filout='beta_combin_lin-V3.grd'
65coef1=12
66coef2=1.8
67coef3=25
68coef4=3.3
69coef5=2
70coef6=3.5
71coef7=1.8
72coef8=60
73coef9=80
74coef10=4.5
75coef11=18
76coef12=4.5
77coef13=3
78coef14=0.1
79
80
81
82grdmath $file 0 MUL = $filout
83grdmath mask_regions_15km-0.grd 1 EQ $file MUL $coef1 MUL = beta_region.grd
84grdmath beta_region.grd $filout ADD = $filout
85
86grdmath mask_regions_15km-0.grd 2 EQ $file MUL $coef2 MUL = beta_region.grd
87grdmath beta_region.grd $filout ADD = $filout
88
89grdmath mask_regions_15km-0.grd 3 EQ $file MUL $coef3 MUL = beta_region.grd
90grdmath beta_region.grd $filout ADD = $filout
91
92grdmath mask_regions_15km-0.grd 4 EQ $file MUL $coef4 MUL = beta_region.grd
93grdmath beta_region.grd $filout ADD = $filout
94
95grdmath mask_regions_15km-0.grd 5 EQ $file MUL $coef5 MUL = beta_region.grd
96grdmath beta_region.grd $filout ADD = $filout
97
98grdmath mask_regions_15km-0.grd 6 EQ $file MUL $coef6 MUL = beta_region.grd
99grdmath beta_region.grd $filout ADD = $filout
100
101grdmath mask_regions_15km-0.grd 7 EQ $file MUL $coef7 MUL = beta_region.grd
102grdmath beta_region.grd $filout ADD = $filout
103
104grdmath mask_regions_15km-0.grd 8 EQ $file MUL $coef8 MUL = beta_region.grd
105grdmath beta_region.grd $filout ADD = $filout
106
107grdmath mask_regions_15km-0.grd 9 EQ $file MUL $coef9 MUL = beta_region.grd
108grdmath beta_region.grd $filout ADD = $filout
109
110grdmath mask_regions_15km-0.grd 10 EQ $file MUL $coef10 MUL = beta_region.grd
111grdmath beta_region.grd $filout ADD = $filout
112
113grdmath mask_regions_15km-0.grd 11 EQ $file MUL $coef11 MUL = beta_region.grd
114grdmath beta_region.grd $filout ADD = $filout
115
116grdmath mask_regions_15km-0.grd 12 EQ $file MUL $coef12 MUL = beta_region.grd
117grdmath beta_region.grd $filout ADD = $filout
118
119grdmath mask_regions_15km-0.grd 13 EQ $file MUL $coef13 MUL = beta_region.grd
120grdmath beta_region.grd $filout ADD = $filout
121
122grdmath mask_regions_15km-0.grd 14 EQ $file MUL $coef14 MUL = beta_region.grd
123grdmath beta_region.grd $filout ADD = $filout
Note: See TracBrowser for help on using the repository browser.