-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprecip_analyses.py
46 lines (36 loc) · 1.24 KB
/
precip_analyses.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# fig,ax=plt.subplots(2,1,figsize=(6, 8))
# plot_compare_accum(ax=ax, period=False)
# plt.show(block=False)
# fig,ax=plt.subplots(2,1,figsize=(7,9))
import Precip as precip
import matplotlib.pyplot as plt
# plot_compare_sum(ax=ax[0],minutes=30, period=None)
# plot_regression(ax=ax[1],minutes=30, period=None)
# plt.show(block=False)
# fig,ax=plt.subplots(2,1,figsize=(7,9))
# plot_compare_sum(ax=ax[0],minutes=30, period='significant')
# plot_regression(ax=ax[1],minutes=30, period='significant')
# plt.show(block=False)
# ppsurf=PdfPages('surf_precip_ground_cases_60min.pdf')
# ncases=range(8,15)
# # ncases=[1,2,3]
# for c in ncases:
# fig,ax=plt.subplots()
# plot_compare_sum(ax=ax,usr_case=str(c), ylim=[0,22], minutes=60, period='significant')
# ppsurf.savefig()
# plt.close('all')
# ppsurf.close()
# ppsurf=PdfPages('surf_precipreg_multipage.pdf')
# ncases=range(1,15)
# # ncases=[1,2,3]
# for c in ncases:
# fig,ax=plt.subplots()
# plot_regression(ax=ax,usr_case=str(c), minutes=30, period=True)
# ppsurf.savefig()
# plt.close('all')
# ppsurf.close()
# ncases=range(8,15)
# for c in ncases:
# fig,ax=plt.subplots()
# precip.plot_compare_sum(ax=ax,usr_case=str(c), ylim=[0,22], minutes=60, period='significant')
# plt.show(block=False)