SolarArbiter / solarforecastarbiter-core

Core data gathering, validation, processing, and reporting package for the Solar Forecast Arbiter
https://solarforecastarbiter-core.readthedocs.io
MIT License
33 stars 21 forks source link

Address report serialization errors #772

Open lboeman opened 2 years ago

lboeman commented 2 years ago

https://sentry.io/organizations/solararbiter-rx/issues/2860970752

A raw_report object for one of the TA2 report ends up including some invalid json when posted to the API. In this particular report, the issue seems to be arising from the ascii-85 encoded pdf figures. Oddly, the intermediate representation (pre-serialization for post to api) is loadable via json.loads.