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.45k stars 922 forks source link

Armenia parser format changed #2611

Closed FelixDQ closed 3 years ago

FelixDQ commented 4 years ago

It was recently fixed in https://github.com/tmrowco/electricitymap-contrib/pull/2571, but it went down again.

From kibana:

Traceback (most recent call last):
  File "/home/src/electricitymap/feeder/lib/fetch_data.py", line 175, in launch_parsers
    objs = res.get(timeout)
  File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
  File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/home/src/electricitymap/feeder/lib/fetch_data.py", line 173, in <lambda>
    **parser_kwargs))
  File "/home/src/electricitymap/contrib/parsers/AM.py", line 72, in fetch_production
    gas_total = float(gas_tes[0])
IndexError: list index out of range
willbeaufoy commented 3 years ago

I'm looking for a parser to fix/add, is there any other info I should be aware of other than what's in this bug? From looking at the parser itself it looks like the data URL (http://epso.am/poweren.htm) returns a blank page currently. Another URL mentioned in the parser (http://epso.am/scada.htm) requires a password to view.

Is there a contact available at the Armenian data source to query about why the page is broken?

FelixDQ commented 3 years ago

Awesome! Unfortunately, I don't think that we have had any previous contact with the data provider. I found an email on their website if you want to reach out: office@energyoperator.am

Let me know if you need help with something or if I should reach out to them (though data providers often react positively when people from the community reach out)

willbeaufoy commented 3 years ago

Awesome! Unfortunately, I don't think that we have had any previous contact with the data provider. I found an email on their website if you want to reach out: office@energyoperator.am

Let me know if you need help with something or if I should reach out to them (though data providers often react positively when people from the community reach out)

Ok thanks, I've emailed them. Will update here with any reply.

willbeaufoy commented 3 years ago

Awesome! Unfortunately, I don't think that we have had any previous contact with the data provider. I found an email on their website if you want to reach out: office@energyoperator.am Let me know if you need help with something or if I should reach out to them (though data providers often react positively when people from the community reach out)

Ok thanks, I've emailed them. Will update here with any reply.

I've emailed twice now but no reply.

q-- commented 3 years ago

I've looked into the AM parser a week or so ago and the entire website http://epso.am is gone.

I've looked at a few other related Armenian websites like Armenian Energy Agency, Electric Networks of Armenia, HIGH VOLTAGE ELECTRIC NETWORKS and http://www.minenergy.am/en/page/539 but none of them have real-time data.

So the AM parser is unlikely to start working again.

FelixDQ commented 3 years ago

Thanks for the investigation work! I'm going to close this issue for now. Feel free to reopen if there's any updates