energyPATHWAYS / EnergyPATHWAYS

EnergyPATHWAYS model is a professional, open-source energy and carbon planning tool for use in evaluating long-term, economy-wide greenhouse gas mitigation scenarios.
MIT License
45 stars 15 forks source link

Handling np.inf values in clean timeseries #56

Closed ryandrewjones closed 8 years ago

ryandrewjones commented 8 years ago

[bug, no user story]

While cleaning timeseries, we are checking for np.nan values, but not for np.inf values. The behavior we would like is to clean all values that are not finite.

To do this we need to change the functions in time_series.py to make them us np.isfinite instead of np.isnan.