SolarArbiter / solarforecastarbiter-api

HTTP API and database schema for the Solar Forecast Arbiter
https://api.solarforecastarbiter.org
MIT License
10 stars 6 forks source link

Index Error when observation deleted and in aggregate #255

Closed alorenzo175 closed 3 years ago

alorenzo175 commented 4 years ago

at least in the case when the aggregate has only a single observation. Comes from core.compute_aggregate checking if the observation is valid. Reproduce by running dev api, creating aggregate with a single observation. Then delete the observation and try and access the aggregate