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

Unquoted NaN values in raw reports cause invalid JSON #782

Open lboeman opened 2 years ago

lboeman commented 2 years ago

Unquoted NaN values make it into a report via metrics computed for invalid pairs. For instance, a report containing CRPSS will contain NaN values for the reference forecast as there is no reference CRPS to compute against. This results in values like {"category":"total","index":"0","metric":"crpss","value":NaN}