This pull request adds latest=True support for get_load(...) and get_trade(...) methods using NB Power's System Information page.
Furthermore, get_load(...) supports start_at and end_at arguments, though primarily for forecast data. The furthest that start_at can go back in the past is ~5 minutes with the latest data from the System Information page. The end_at argument fares a bit better, allowing forecast bringing back forecast data up to 4 hours in the future using requests of the form:
The EIA client lists NBSO (amalgamated with NB Power) as a balancing authority, but eia_esod.handle_ba_limitations(...) includes the NBSO in its canada_mexico limitation array. It is essentially not supported. This NBPowerClient adds value by providing a basic level of support for New Brunswick, as proposed in #122.
This pull request adds
latest=True
support forget_load(...)
andget_trade(...)
methods using NB Power's System Information page.Furthermore,
get_load(...)
supportsstart_at
andend_at
arguments, though primarily for forecast data. The furthest thatstart_at
can go back in the past is ~5 minutes with the latest data from the System Information page. Theend_at
argument fares a bit better, allowing forecast bringing back forecast data up to 4 hours in the future using requests of the form:http://tso.nbpower.com/reports%20%26%20assessments/load%20forecast/hourly/2017-07-16%2022.csv
The EIA client lists NBSO (amalgamated with NB Power) as a balancing authority, but
eia_esod.handle_ba_limitations(...)
includes the NBSO in itscanada_mexico
limitation array. It is essentially not supported. ThisNBPowerClient
adds value by providing a basic level of support for New Brunswick, as proposed in #122.