singularity-energy / open-grid-emissions

Tools for producing high-quality hourly generation and emissions data for U.S. electric grids
MIT License
67 stars 4 forks source link

Ensure complete timeseries data #326

Open grgmiller opened 6 months ago

grgmiller commented 6 months ago

We want to ensure that there are always 12 values for all monthly data, and 8760 (or 8784 in leap years) values for all hourly data. Our validation checks are currently identifying instances of less than this number of values, as well as instances where there are more than 8760 hourly values.

Here are some examples of various situations that are being flagged and some ideas on how to fix them:

Timeseries has 8758-8759 out of 8760 values.

Timeseries has much less than 8760 values

Timeseries has more than 8760 values