electricitymaps / electricitymaps-contrib

A real-time visualisation of the CO2 emissions of electricity consumption
https://app.electricitymaps.com
GNU Affero General Public License v3.0
3.47k stars 924 forks source link

[Checklist]: Upgrade all parsers with event classes #6011

Open kruschk opened 11 months ago

kruschk commented 11 months ago

I noticed on the Building a new parser wiki page that several classes have been introduced to ensure parsed data is structured correctly; however, only about a third of all the parsers have been updated to use them. As promised in my comment on #5986, I've compiled the following list to keep track of which parsers have been upgraded and which have not:

To determine which parsers have been upgraded, I used the command below to find the modules using any one of the event classes. This assumes that if the module instantiates any one of those objects, then all of the functions in that parser have been upgraded accordingly.

grep -El '(Exchange|Price|ProductionBreakdown|TotalConsumption|TotalProduction)(List)?\(' parsers/*.py

Let me know if I've missed anything!

VIKTORVAV99 commented 10 months ago

@unitrium FYI