Giter VIP home page Giter VIP logo

cre-dev / pub-data-visualization Goto Github PK

View Code? Open in Web Editor NEW
18.0 6.0 2.0 5.13 MB

The objective of this repository is to share with an MIT license the visualization tools used with public data and developed by the Wholesale Markets Surveillance Directorate (DSMG) of the Regulatory Commission of Energy (CRE). It can be used by final users such as developers and energy analysts.

Home Page: https://www.cre.fr/

License: MIT License

Python 100.00%
energy visualization public-data electricity cre open-source

pub-data-visualization's People

Contributors

bcd65 avatar cre-os avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

l-leo amarant

pub-data-visualization's Issues

Rationale for setting date_max in pub_data_visualization/production/load/load.py

Hello,

I saw you are currently imposing hardcoded default bounds date_min and date_max in the aforementioned file. I understand well the reason for putting 2012 in date_min, but is there one for setting 2019 in date_max?

I tried to launch pub_scripts/multiplots/main_transparent_production.py with no defined dates and with data files from 2015 up to 2020 and the production silently failed to be included in the graph, whereas the capacity was plotted.

If there is a reason for setting this upper limit, is it possible to print a warning when posterior data are discarded from dg in the function, and could you document the reason?
Else, could you consider removing this limit?

In any case, thanks for your code which is extremely reliable and helpful.

Best,
Pierre Gruet

Adaptations to new ENTSO-E data format

Some changes in the format of the data provided by ENTSO-E require an update of the code. This concerns for instance the encoding, the name of the columns, the name of the files etc.

Escaping underscores in outages subprog

Hello,

While using your scripts, I met an issue with a latex invocation. Here are the (hopefully) relevant parts:

---------------------------------------->8--------------------------------------
$ PYTHONPATH="$PYTHONPATH:." python pub_scripts/outages/main_expected_program.py

Load df and dikt - Loaded df and dikt
Load df_capacity - fail - has to read raw data
Compute program - 0/ 1 - BELLEVILLE 1
findfont: Font family ['serif'] not found. Falling back to DejaVu Sans.
Traceback (most recent call last):
File "/home/d19776/anaconda3/lib/python3.7/site-packages/matplotlib/texmanager.py", line 277, in _run_checked_subprocess
stderr=subprocess.STDOUT)
File "/home/d19776/anaconda3/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/home/d19776/anaconda3/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['latex', '-interaction=nonstopmode', '--halt-on-error', '/home/d19776/.cache/matplotlib/tex.cache/7ac0434c544f0eb1d004db4eeae9b2e4.tex']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

[...]

RuntimeError: latex was not able to process the following string:
b'expected_program (tolerated_delay = 0 min)'

[...]

! Missing $ inserted.

$
l.24 {\rmfamily expected_
program (tolerated_delay = 0 min)}
No pages of output.

---------------------------------------->8--------------------------------------

My operating system is Debian GNU/Linux. I wrote the attached patch, which solves the issue on my system. Please consider it for inclusion in case you would be able to reproduce the issue.

Best,
Pierre Gruet

escape_underscores.txt

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.