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 plots #31

Draft
wants to merge 6 commits into
base: sle-features/case-study-1
Choose a base branch
from
Draft

Conversation

SabineHaas
Copy link

@SabineHaas SabineHaas commented Feb 13, 2025

Adds working dispatch plots. Scalar plots are not working, yet.
Not sure, yet, whether this will be merged in the future.

Note: To make the scalar plots work you need to adapt oemoflex in the following lines:

https://github.com/rl-institut/oemoflex/blob/77bfaeb4dd0d6cfab65420a3aba7e5091e4ca14f/oemoflex/tools/plots.py#L150-L151

       if len(mapped) > 1:
           mapped=mapped[-1]
           warnings.warn(f"Multiple labels are matching for {string}: {mapped}. the last one was chosen")

Before merging into dev-branch, please make sure that the following points are checked:

  • All pre-commit tests passed locally with: pre-commit run -a
  • File CHANGELOG.md was updated
  • The docs were updated
    • if dataset.mds were updated, the dataset docs were regenerated using
      python docs/generate_dataset_mds.py

If packages were modified:

  • File poetry.lock was updated with: poetry lock
  • A new env was successfully set up

WARNING: When modifying use snakemake <=7.32.0, cf. #186

If data flow was adjusted:

  • Data pipeline run finished successfully with: snakemake -jX

  • Esys appdata was created successfully with: snakemake -jX make_esys_appdata

    (with X = desired number of cores, e.g. 1)

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.

1 participant