Changeset 2522
- Timestamp:
- 05/20/15 17:26:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/bin/plot_bilan.py
r2517 r2522 119 119 ) 120 120 121 for date in dates: 122 self.poly_theo = poly_theo 123 self.poly_delay = poly_delay 121 self.poly_theo = poly_theo 122 self.poly_delay = poly_delay 124 123 125 124 #--------------------------------------- … … 164 163 self.real_use = real_use 165 164 self.theo_use = theo_use 166 # self.theo_equ = np.nan167 165 self.run_mean = run_mean 168 166 self.pen_mean = pen_mean … … 446 444 conso_per_day = projet.alloc / projet.days 447 445 448 theo_uses = np.array([100.*item.theo_use for item in selected_items], 449 dtype=float) 450 451 real_uses = np.array([100.*item.real_use for item in selected_items], 452 dtype=float) 446 theo_uses = np.array( 447 [100.*item.theo_use for item in selected_items], 448 dtype=float 449 ) 450 451 real_uses = np.array( 452 [100.*item.real_use for item in selected_items], 453 dtype=float 454 ) 453 455 theo_equs = np.array( 454 456 [100. * bilan.poly_theo(date.timetuple().tm_yday)
Note: See TracChangeset
for help on using the changeset viewer.