Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NutzbareSpeicherkapazitaet is emplty in storage_extended #560

Closed
1 task
tuxiano opened this issue Sep 10, 2024 · 4 comments
Closed
1 task

NutzbareSpeicherkapazitaet is emplty in storage_extended #560

tuxiano opened this issue Sep 10, 2024 · 4 comments

Comments

@tuxiano
Copy link

tuxiano commented Sep 10, 2024

Description of the issue

The column NutzbareSpeicherkapazitaet is empty in storage_extended table. Both in sqlite table csv export

Steps to Reproduce

I ran the bulk download the 6th of September 2024

Ideas of solution

I manually joint the the tables storage_extended and storage_units on the column EinheitMastrNummer and VerknuepfteEinheit

Context and Environment

  • Version used: 0.14.4
  • Operating system: Windows Server 2019
  • Environment setup and (python) version: python 3.10, dependencies as defined in project.toml

Workflow checklist

@nesnoj
Copy link
Collaborator

nesnoj commented Sep 10, 2024

Hey @tuxiano!

Yes, this column is empty in the original data, cf. #416. But you can find the data in storage_units so just join both tables.

@tuxiano
Copy link
Author

tuxiano commented Sep 11, 2024

Hi @nesnoj, thank you for the quick response. I can do this manual step, but I would expect that the bnetza_mastr_storage_raw.csv file includes a joint table of storage_extended and storage_units, because they are not exported separately.

@nesnoj
Copy link
Collaborator

nesnoj commented Sep 12, 2024

While we explicitly do not alter (e.g. joining) data beyond the core functionality, I see the problem of not offering an export of this table. I'll create a separate issue.

Meanwhile, you can use this for manual export:
sqlite3 -header -csv -separator "," open-mastr.db "select * from storage_units;" > bnetza_mastr_storage_units_raw.csv

@nesnoj
Copy link
Collaborator

nesnoj commented Sep 12, 2024

As there is a dedicated issue #562 now, I'll close this one. Please reopen if needed.

@nesnoj nesnoj closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants