Giter VIP home page Giter VIP logo

Comments (4)

JrtPec avatar JrtPec commented on August 16, 2024

DE-LU bidding zone was added in b8ccfca, included in 0.2.4

from entsoe-py.

Tinkaa avatar Tinkaa commented on August 16, 2024

Hi,
Related to this, I was wondering: is there a reason that in the mapping BIDDING_ZONES, the country code of Germany (DE) is mapped to the bidding zone DE-AT-LU?
And that in several functions (e.g. query_load) the bidding zone mapping is used instead of the domain mapping?
I am asking this, because I would like to get all the data of Germany starting in 2017, but now this is throwing the NoMatchingDataError due to DE-AT-LU not containing any data anymore after the change of bidding zones in 2018 (DE-AT-LU --> DE-LU).

from entsoe-py.

JrtPec avatar JrtPec commented on August 16, 2024

To give a specific answer:
If you want German data before October 2018, use DE. (which is mapped to DE-AT-LU behind the scenes.
If you want German data after October 2018, explicitly type DE-LU.

Some general comments on how it got to this point:
These mappings were added once, some time ago, when the only user of the code was me, and I only needed data from Belgium which has only one bidding zone. So it made sense to me to map the parameter BE, so I wouldn't have to type this complex domain code every time.

Since then I've learned that these mappings change, bidding zones merge or split, some API-calls take domains, others take bidding zones... frankly it's a mess.

So, feel free to update the code to something more useful and I will be happy to approve the update.

from entsoe-py.

Tinkaa avatar Tinkaa commented on August 16, 2024

Great, thank you for the explanation. It seems indeed like a mess and I am surprised it is working most of the time. I tried to come up with an easy solution, but so far didn't succeed and for my purposes it is good enough to just make two different calls for Germany.
I will update the code if I come up with a smart way to order it :)

from entsoe-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.