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.46k stars 923 forks source link

CA-PE production parser down #4620

Open tmrow-bot opened 1 year ago

tmrow-bot commented 1 year ago

Description

This is an automatic error report generated for Canada Prince Edward Island (CA-PE).

Issues:

Suggestions

You can see an overview of all parser issues here.

jarek commented 1 year ago

PEI grid is currently having a really rough time after a hurricane went through, so that's probably why. Data will hopefully come back once they get the physical grid back up :crossed_fingers:

VIKTORVAV99 commented 1 year ago

PEI grid is currently having a really rough time after a hurricane went through, so that's probably why. Data will hopefully come back once they get the physical grid back up :crossed_fingers:

Would be interesting to see if Electricity Maps could track grid outages in some way. But I suppose that when the grid is down so is all data reporting...

tmrow-bot commented 1 year ago

Closing this as the electricity data is flowing again.

electricitymapsbot commented 5 months ago

Reopening this as the electricity data is no longer flowing.

electricitymapsbot commented 4 months ago

Closing this as the electricity data is flowing again.

electricitymapsbot commented 4 months ago

Reopening this as the electricity data is no longer flowing.

electricitymapsbot commented 3 months ago

Closing this as the electricity data is flowing again.

electricitymapsbot commented 1 month ago

Reopening this as the electricity data is no longer flowing.

jarek commented 3 weeks ago

The webpage at https://www.princeedwardisland.ca/en/feature/pei-wind-energy as well as Peter Rukavina's https://pei.consuming.ca/ (previous documenter -- I'm not pinging to not disturb them unnecessarily) seem to load data, so I think the data is still available but maybe the API has changed a bit? Current wind production is low (<1 MW) but data is changing over time, so we should have at least something.

Quickly going by the network console when loading the PEI page, I got the following command to return data: curl --header "Content-Type: application/json" -X POST --data '{"featureName": "WindEnergy", "queryName":"WindEnergy"}' https://wdf.princeedwardisland.ca/api/workflow

I haven't yet dug into how to test the parsers correctly (I last ran them probably 2 years ago?), but at first glance the code we have in PrinceEdwardIsland.py doesn't seem wrong :thinking:

https://storage.googleapis.com/electricitymap-parser-logs/CA-PE.html shows no errors?

VIKTORVAV99 commented 3 weeks ago

I can try and take a look at it but as for the parser logs if the parser don't actually error and return empty data then the logs won't show anything as for code ran just fine.

(this is one of the reasons we have migrated to the new parser classes in most parsers as they handle this).

As for running the parsers the easiest would be to install poetry (and all dependencies) and then run poetry run test_parsers CA-PE