Skip to content

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.

How to plot:

snakemake -j1 store/appdata/esys/2045_scenario/plotted/dispatch/
snakemake -j1 store/appdata/esys/2045_scenario/plotted/scalars/

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)

@SabineHaas SabineHaas added the wontfix 🚫 This will not be worked on label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wontfix 🚫 This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants