Ignore:
Timestamp:
05/20/15 17:26:00 (9 years ago)
Author:
labetoulle
Message:

Typo and cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCMIP6/bin/plot_bilan.py

    r2517 r2522  
    119119      ) 
    120120 
    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 
    124123 
    125124  #--------------------------------------- 
     
    164163    self.real_use = real_use 
    165164    self.theo_use = theo_use 
    166     # self.theo_equ = np.nan 
    167165    self.run_mean = run_mean 
    168166    self.pen_mean = pen_mean 
     
    446444  conso_per_day = projet.alloc / projet.days 
    447445 
    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  ) 
    453455  theo_equs = np.array( 
    454456    [100. * bilan.poly_theo(date.timetuple().tm_yday) 
Note: See TracChangeset for help on using the changeset viewer.