openclimatefix / PVConsumer

Consumer PV data from various sources
Apache License 2.0
3 stars 1 forks source link

40283 zeros #29

Open peterdudfield opened 2 years ago

peterdudfield commented 2 years ago

Describe the bug gives lots of zeros

but. on https://pvoutput.org/intraday.jsp?id=40283&sid=40283&dt=20220605&gs=0&m=1 the valyes are not zero

Screenshot 2022-06-08 at 19 20 11

peterdudfield commented 2 years ago
from pvoutput import PVOutput
from datetime import datetime

pv =PVOutput()
s =pv.get_system_status(pv_system_ids=[40283],date=datetime(2022,6,8),use_data_service=True,timezone="Europe/London")
peterdudfield commented 2 years ago

It looks like this is a bug in pvoutput.org. Zeros are reported instead of Null values.

As we dont want to get rid of data if it is actually 0, one way to solve this would be to do a special case for this system and remove all zeros.

ref: https://pvoutput.org/intraday.jsp?id=40283&sid=40283&dt=20220522&gs=0&m=1