electricitymaps / electricitymaps-contrib

The open source repository for Electricity Maps App and data parsers that enables a real-time visualisation of the CO2 emissions of electricity consumption
https://app.electricitymaps.com
GNU Affero General Public License v3.0
3.6k stars 945 forks source link

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

Open kruschk opened 1 year ago

kruschk commented 1 year 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 1 year ago

@unitrium FYI