1 | #hist tb moyenne |
---|
2 | |
---|
3 | tbp_t=np.reshape(tbpgrid_t,-1) |
---|
4 | |
---|
5 | bins=arange(100,300,2) |
---|
6 | h=plt.hist(tbp_t, bins=bins,histtype='bar',rwidth=0.2, |
---|
7 | label='hist',normed='True',color='blue') |
---|
8 | plt.title('histogramme tb moyenne amsua ch2') |
---|
9 | #plt.show() |
---|
10 | plt.savefig('hist_tb_moyenne_amsua_ch2_new.png') |
---|
11 | close() |
---|
12 | |
---|
13 | ########################## |
---|
14 | #mer |
---|
15 | mmp_t=np.reshape(mzzpgrid_t,-1) |
---|
16 | imer = (mmp_t < 0.5) |
---|
17 | tbp_tmer=tbp_t[imer] |
---|
18 | |
---|
19 | bins=arange(100,300,2) |
---|
20 | h=plt.hist(tbp_tmer, bins=bins,histtype='bar',rwidth=0.2, |
---|
21 | label='hist',normed='True',color='blue') |
---|
22 | plt.title('histogramme tb moyenne mer amsua ch2 new') |
---|
23 | #plt.show() |
---|
24 | plt.savefig('hist_tb_moyenne_mer_amsua_ch2_new.png') |
---|
25 | close() |
---|
26 | ################################################# |
---|
27 | #contienente pas moyenne |
---|
28 | iant60 = (mm_t60 >= 0.5) |
---|
29 | tb_tant=tb_t60[iant60] |
---|
30 | |
---|
31 | bins=arange(100,300,2) |
---|
32 | h=plt.hist(tb_tant, bins=bins,histtype='bar',rwidth=0.2, |
---|
33 | label='hist',normed='True',color='blue') |
---|
34 | plt.title('histogramme tb cont amsua ch2 new') |
---|
35 | plt.show() |
---|
36 | plt.savefig('hist_tb_cont_amsua_ch2_new.png') |
---|
37 | close() |
---|
38 | |
---|
39 | #solo alt> |
---|
40 | |
---|
41 | alt_tant=alt_t60[iant60] |
---|
42 | ialt1= (alt_tant>=2000) |
---|
43 | tb_talt1=tb_tant[ialt1] |
---|
44 | |
---|
45 | ialt2= (alt_tant<2000) |
---|
46 | tb_talt2=tb_tant[ialt2] |
---|
47 | |
---|
48 | |
---|
49 | fig=figure(1) |
---|
50 | bins=arange(100,300,2) |
---|
51 | h1=plt.hist(tb_talt1, bins=bins,histtype='bar',rwidth=0.4, |
---|
52 | label='>2000m',normed='True',color='red') |
---|
53 | h2=plt.hist(tb_talt2, bins=bins,histtype='bar',rwidth=0.1, |
---|
54 | label='<2000m',normed='True',color='blue') |
---|
55 | plt.legend() |
---|
56 | fig.suptitle('Histogrammes tb alt 2000m AMSUA CH2', fontsize=14) |
---|
57 | plt.savefig('hist_tb_alt2000m_amsua_ch2.png') |
---|
58 | close() |
---|
59 | |
---|
60 | |
---|
61 | alt_tant=alt_t60[iant60] |
---|
62 | ialt11= (alt_tant>=4000) |
---|
63 | tb_talt11=tb_tant[ialt11] |
---|
64 | |
---|
65 | ialt22= (alt_tant>=3000) & (alt_tant<4000) |
---|
66 | tb_talt22=tb_tant[ialt22] |
---|
67 | |
---|
68 | ialt33= (alt_tant>=2000) & (alt_tant<3000) |
---|
69 | tb_talt33=tb_tant[ialt33] |
---|
70 | |
---|
71 | ialt44= (alt_tant>=1000) & (alt_tant<2000) |
---|
72 | tb_talt44=tb_tant[ialt44] |
---|
73 | |
---|
74 | ialt55= (alt_tant<1000) |
---|
75 | tb_talt55=tb_tant[ialt55] |
---|
76 | |
---|
77 | |
---|
78 | fig=figure(1) |
---|
79 | bins=arange(100,300,2) |
---|
80 | h1=plt.hist(tb_talt11, bins=bins,histtype='step',rwidth=0.4, |
---|
81 | label='>400m',normed='True',color='red') |
---|
82 | h2=plt.hist(tb_talt22, bins=bins,histtype='step',rwidth=0.1, |
---|
83 | label='400m - 3000m',normed='True',color='blue') |
---|
84 | h3=plt.hist(tb_talt33, bins=bins,histtype='step',rwidth=0.1, |
---|
85 | label='3000m - 2000m',normed='True',color='green') |
---|
86 | h4=plt.hist(tb_talt44, bins=bins,histtype='step',rwidth=0.1, |
---|
87 | label='2000m - 1000m',normed='True',color='orange') |
---|
88 | h5=plt.hist(tb_talt55, bins=bins,histtype='step',rwidth=0.1, |
---|
89 | label='>1000m',normed='True',color='black') |
---|
90 | fig.suptitle('Histogrammes tb AMSUA CH2', fontsize=14) |
---|
91 | plt.legend() |
---|
92 | #plt.show() |
---|
93 | plt.savefig('hist_tb_dif_alt_amsua_ch2.png') |
---|
94 | close() |
---|
95 | |
---|
96 | |
---|
97 | ############## |
---|
98 | |
---|
99 | #hist tb continent |
---|
100 | tbp_tc=np.reshape(tbpgrid_tc,-1) |
---|
101 | |
---|
102 | bins=arange(100,300,2) |
---|
103 | h=plt.hist(tbp_tc, bins=bins,histtype='bar',rwidth=0.2, |
---|
104 | label='hist',normed='True',color='green') |
---|
105 | plt.title('histogramme tb moyenne cont') |
---|
106 | plt.show() |
---|
107 | plt.savefig('hist_tb_moyenne_cont_amsua_ch2.png') |
---|
108 | close() |
---|
109 | |
---|
110 | #hist tb galce mer |
---|
111 | |
---|
112 | tbp_mer=np.reshape(mertb,-1) |
---|
113 | bins=arange(100,300,2) |
---|
114 | h=plt.hist(tbp_mer, bins=bins,histtype='bar',rwidth=0.2, |
---|
115 | label='hist',normed='True',color='green') |
---|
116 | plt.title('histogramme tb moyenne mer galce de mer') |
---|
117 | #plt.show() |
---|
118 | plt.savefig('hist_tb_moyenne_mer_glace_de_mer_amsua_ch2.png') |
---|
119 | close() |
---|
120 | |
---|
121 | #ឧist tb cont pos1 |
---|
122 | |
---|
123 | tbp_1nc=np.reshape(tbpgrid_1nc,-1) |
---|
124 | bins=arange(100,300,2) |
---|
125 | h=plt.hist(tbp_1nc, bins=bins,histtype='bar',rwidth=0.2, |
---|
126 | label='hist',normed='True',color='green') |
---|
127 | plt.title('histogramme tb moyenne cont pos1') |
---|
128 | #plt.show() |
---|
129 | plt.savefig('hist_tb_moyenne_cont_pos1_amsua_ch2.png') |
---|
130 | close() |
---|
131 | |
---|
132 | #ឧist tb cont pos2 |
---|
133 | |
---|
134 | tbp_2nc=np.reshape(tbpgrid_2nc,-1) |
---|
135 | bins=arange(100,300,2) |
---|
136 | h=plt.hist(tbp_2nc, bins=bins,histtype='bar',rwidth=0.2, |
---|
137 | label='hist',normed='True',color='green') |
---|
138 | plt.title('histogramme tb moyenne cont pos2') |
---|
139 | #plt.show() |
---|
140 | plt.savefig('hist_tb_moyenne_cont_pos2_amsua_ch2.png') |
---|
141 | close() |
---|
142 | |
---|
143 | #ឧist tb cont pos3 |
---|
144 | |
---|
145 | tbp_3nc=np.reshape(tbpgrid_3nc,-1) |
---|
146 | bins=arange(100,300,2) |
---|
147 | h=plt.hist(tbp_3nc, bins=bins,histtype='bar',rwidth=0.2, |
---|
148 | label='hist',normed='True',color='green') |
---|
149 | plt.title('histogramme tb moyenne cont pos3') |
---|
150 | #plt.show() |
---|
151 | plt.savefig('hist_tb_moyenne_cont_pos3_amsua_ch2.png') |
---|
152 | close() |
---|
153 | |
---|
154 | |
---|
155 | ################################################################ |
---|
156 | |
---|
157 | mertb_1n |
---|
158 | |
---|
159 | #ឧist tb mer pos1 |
---|
160 | |
---|
161 | tbmer_1n=np.reshape(mertb_1n,-1) |
---|
162 | bins=arange(100,300,2) |
---|
163 | h=plt.hist(tbmer_1n, bins=bins,histtype='bar',rwidth=0.2, |
---|
164 | label='hist',normed='True',color='green') |
---|
165 | plt.title('histogramme tb moyenne mer pos1') |
---|
166 | #plt.show() |
---|
167 | plt.savefig('hist_tb_moyenne_mer_pos1_amsua_ch2.png') |
---|
168 | close() |
---|
169 | |
---|
170 | #ឧist tb mer pos2 |
---|
171 | |
---|
172 | tbmer_2n=np.reshape(mertb_2n,-1) |
---|
173 | bins=arange(100,300,2) |
---|
174 | h=plt.hist(tbmer_2n, bins=bins,histtype='bar',rwidth=0.2, |
---|
175 | label='hist',normed='True',color='green') |
---|
176 | plt.title('histogramme tb moyenne mer pos2') |
---|
177 | #plt.show() |
---|
178 | plt.savefig('hist_tb_moyenne_mer_pos2_amsua_ch2.png') |
---|
179 | close() |
---|
180 | |
---|
181 | #ឧist tb mer pos3 |
---|
182 | |
---|
183 | tbmer_3n=np.reshape(mertb_3n,-1) |
---|
184 | bins=arange(100,300,2) |
---|
185 | h=plt.hist(tbmer_3n, bins=bins,histtype='bar',rwidth=0.2, |
---|
186 | label='hist',normed='True',color='green') |
---|
187 | plt.title('histogramme tb moyenne mer pos3') |
---|
188 | #plt.show() |
---|
189 | plt.savefig('hist_tb_moyenne_mer_pos3_amsua_ch2.png') |
---|
190 | close() |
---|
191 | |
---|
192 | #######################################################"" |
---|
193 | #hist tb pas moyenné cont |
---|
194 | |
---|
195 | iterre = (mm_t >= 0.5) |
---|
196 | tb_tcnm=tb_t[iterre] |
---|
197 | |
---|
198 | |
---|
199 | |
---|
200 | bins=arange(100,300,2) |
---|
201 | h=plt.hist(tb_tcnm, bins=bins,histtype='bar',rwidth=0.2, |
---|
202 | label='hist',normed='True',color='green') |
---|
203 | plt.title('histogramme tb ant') |
---|
204 | #plt.show() |
---|
205 | plt.savefig('hist_tb_ant_amsua_ch2.png') |
---|
206 | close() |
---|
207 | |
---|
208 | |
---|
209 | |
---|
210 | #hist tb mer pas moyenné |
---|
211 | imer = (mm_t50 < 0.5) |
---|
212 | tb_tmer=tb_t50[imer] |
---|
213 | |
---|
214 | bins=arange(100,300,2) |
---|
215 | h=plt.hist(tb_tmer, bins=bins,histtype='bar',rwidth=0.2, |
---|
216 | label='hist',normed='True',color='green') |
---|
217 | plt.title('histogramme tb mer') |
---|
218 | plt.show() |
---|
219 | plt.savefig('hist_tb_mer_amsua_ch2.png') |
---|
220 | close() |
---|
221 | |
---|
222 | |
---|
223 | |
---|
224 | #glace de mer et plataformes |
---|
225 | iglace = tb_tmer>=190 |
---|
226 | tb_tglace= tb_tmer[iglace] |
---|
227 | |
---|
228 | bins=arange(100,300,2) |
---|
229 | h=plt.hist(tb_tglace, bins=bins,histtype='bar',rwidth=0.2, |
---|
230 | label='hist',normed='True',color='green') |
---|
231 | plt.title('histogramme tb glace de mer (tb>190)') |
---|
232 | #plt.show() |
---|
233 | plt.savefig('hist_tb_glace_de_mer190_amsua_ch2.png') |
---|
234 | close() |
---|
235 | |
---|
236 | |
---|
237 | |
---|
238 | |
---|
239 | #hist tb ant pas moyenné pos1 |
---|
240 | it_1n = (mm_tl1n >= 0.5) |
---|
241 | tb_1naa=tb_1na[it_1n] |
---|
242 | |
---|
243 | bins=arange(100,300,2) |
---|
244 | h=plt.hist(tb_1naa, bins=bins,histtype='bar',rwidth=0.2, |
---|
245 | label='hist',normed='True',color='green') |
---|
246 | plt.title('histogramme tb ant pos1') |
---|
247 | #plt.show() |
---|
248 | plt.savefig('hist_tb_ant_pos1_amsua_ch2.png') |
---|
249 | close() |
---|
250 | |
---|
251 | #hist tb ant pas moyenné pos2 |
---|
252 | it_2n = (mm_tl2n >= 0.5) |
---|
253 | tb_2naa=tb_2na[it_2n] |
---|
254 | |
---|
255 | bins=arange(100,300,2) |
---|
256 | h=plt.hist(tb_2naa, bins=bins,histtype='bar',rwidth=0.2, |
---|
257 | label='hist',normed='True',color='green') |
---|
258 | plt.title('histogramme tb ant pos2') |
---|
259 | #plt.show() |
---|
260 | plt.savefig('hist_tb_ant_pos2_amsua_ch2.png') |
---|
261 | close() |
---|
262 | |
---|
263 | #hist tb ant pas moyenné pos3 |
---|
264 | it_3n = (mm_tl3n >= 0.5) |
---|
265 | tb_3naa=tb_3na[it_3n] |
---|
266 | |
---|
267 | bins=arange(100,300,2) |
---|
268 | h=plt.hist(tb_3naa, bins=bins,histtype='bar',rwidth=0.2, |
---|
269 | label='hist',normed='True',color='green') |
---|
270 | plt.title('histogramme tb ant pos3') |
---|
271 | #plt.show() |
---|
272 | plt.savefig('hist_tb_ant_pos3_amsua_ch2.png') |
---|
273 | close() |
---|