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

Add JRC-IDEES data processing pipeline #133

Merged

Conversation

brynpickering
Copy link
Member

First step to fixing #17 & #102 and blocking #119.

Now that the JRC IDEES database is available via FTP, we can roll the processing of the data into Euro-Calliope. This allows the transport, industry, and tertiary (commercial) sector data to be processed for the components that we need down the line. The processing takes the largely machine-unreadable data from JRC-IDEES and turns into tidy dataframes for use elsewhere.

Checklist

Any checks which are not relevant to the PR can be pre-checked by the PR creator. All others should be checked by the reviewer. You can add extra checklist items here if required by the PR.

  • CHANGELOG updated
  • Minimal workflow tests pass
  • Tests added to cover contribution
  • Documentation updated
  • Configuration schema updated

Copy link
Member

@timtroendle timtroendle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only very few comments about functionality, but a lot about structuring the code and readability.

I still think readability is important here. These kinds of data processing scripts are in most cases super difficult to read but structure and descriptions can ease the pain to some degree. You may not agree with all my comments and that's fine of course.

CHANGELOG.md Outdated Show resolved Hide resolved
environment.yaml Outdated Show resolved Hide resolved
lib/eurocalliopelib/utils.py Show resolved Hide resolved
rules/data-processing.smk Outdated Show resolved Hide resolved
rules/data-processing.smk Outdated Show resolved Hide resolved
scripts/jrc-idees/tertiary.py Outdated Show resolved Hide resolved
scripts/jrc-idees/tertiary.py Outdated Show resolved Hide resolved
scripts/jrc-idees/tertiary.py Outdated Show resolved Hide resolved
scripts/jrc-idees/transport.py Show resolved Hide resolved
scripts/jrc-idees/transport.py Show resolved Hide resolved
Copy link
Member

@timtroendle timtroendle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few more minor changes.

CHANGELOG.md Outdated Show resolved Hide resolved
lib/tests/test_utils.py Outdated Show resolved Hide resolved
scripts/jrc-idees/industry.py Show resolved Hide resolved
scripts/jrc-idees/transport.py Show resolved Hide resolved
scripts/jrc-idees/transport.py Show resolved Hide resolved
@brynpickering
Copy link
Member Author

Need to fix some bugs found on running the script before it's ready.

@brynpickering brynpickering merged commit 029656f into feature-sector-coupling Jul 22, 2021
@brynpickering brynpickering deleted the add-jrc-data-processing-pipeline branch July 22, 2021 12:12
@jnnr jnnr mentioned this pull request May 5, 2023
5 tasks
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

Successfully merging this pull request may close these issues.

2 participants