Electricitymap-contrib: FR real-time production data not fetching

Created on 4 Feb 2019  ·  8Comments  ·  Source: tmrowco/electricitymap-contrib

Kibana error
KeyError: "['nucleaire' 'charbon' 'gaz' 'fioul' 'eolien' 'solaire' 'bioenergies'\n 'hydraulique_fil_eau_eclusee' 'hydraulique_lacs'\n 'hydraulique_step_turbinage' 'pompage'] not in index"

bug 🐞 parser

All 8 comments

those keys are the expected keys for mapping generation, defined in https://github.com/tmrowco/electricitymap-contrib/blob/a1014c242caacac9f59f6175261ec04bea52170f/parsers/FR.py#L17-L25 and used in https://github.com/tmrowco/electricitymap-contrib/blob/a1014c242caacac9f59f6175261ec04bea52170f/parsers/FR.py#L71-L74

looks like server response has changed or possibly is empty

@lorrieq would you have an idea about this? relates to your PR #1560

Hey, I just took a look.
The API is expected to return something like the below but it is returning the data in the same format (a record for each datetime) but without any fuel keys present. Hopefully this is just a temporary issue on their end, otherwise we will need a new source. I have contacted them in English, if somebody wants to send a follow up message in French please do.

image

Thank you!
Would it makes sense to alter the error message of the parser so it's
easier to understand?

Olivier

On Tue, Feb 5, 2019 at 10:42 AM Laurence Quinn notifications@github.com
wrote:

Hey, I just took a look.
The API is expected to return something like the below but it is returning
the data in the same format (a record for each datetime) but without any
fuel keys present. Hopefully this is just a temporary issue on their end,
otherwise we will need a new source. I have contacted
https://opendata.reseaux-energies.fr/pages/contact/ them in English, if
somebody wants to send a follow up message in French please do.

[image: image]
https://user-images.githubusercontent.com/6525086/52264428-80094580-2929-11e9-93cd-6fd636f8d1c9.png


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tmrowco/electricitymap-contrib/issues/1761#issuecomment-460572784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABlEKMM1oCv_13hEqHalDUIgZe46NADwks5vKVHugaJpZM4ahlXv
.

--

www.tmrow.com
+45 53 70 44 03

[image: Image result for linkedin] http://linkedin.com/in/oliviercorradi
linkedin.com/in/oliviercorradi https://www.linkedin.com/in/oliviercorradi
[image: Image result for twitter] @corradio https://twitter.com/corradio

I contacted them too

@corradio, good idea. I can implement that if this is confirmed to be a temporary issue at the source!

I've seen it happen before so I think that would be great indeed!

On Tue, Feb 5, 2019 at 11:44 AM Laurence Quinn notifications@github.com
wrote:

@corradio https://github.com/corradio, good idea. I can implement that
if this is confirmed to be a temporary issue at the source!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tmrowco/electricitymap-contrib/issues/1761#issuecomment-460591608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABlEKPOvlJpNwqkv9GuILzCtto8OhtL5ks5vKWCcgaJpZM4ahlXv
.

--

www.tmrow.com
+45 53 70 44 03

[image: Image result for linkedin] http://linkedin.com/in/oliviercorradi
linkedin.com/in/oliviercorradi https://www.linkedin.com/in/oliviercorradi
[image: Image result for twitter] @corradio https://twitter.com/corradio

Received an email saying they fixed the issue thanks to our feedback.
Emailing them works very well
Good to know!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunolajoie picture brunolajoie  ·  3Comments

ghost picture ghost  ·  5Comments

consideRatio picture consideRatio  ·  4Comments

corradio picture corradio  ·  4Comments

systemcatch picture systemcatch  ·  3Comments