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

Disaggregation script from MAgPIE outputs to LUH2-ISIMIP3b #388

Merged
merged 5 commits into from
Apr 21, 2022

Conversation

emolinab
Copy link
Contributor

@emolinab emolinab commented Apr 13, 2022

🐦 Purpose of this PR 🐦

  • This pull request seeks to add the output script used to create the disaggregated files requested for LUH harmonization of ISIMIP 3b outputs (an expansion and replacement of disaggregation_LUH2.R).

🔧 Checklist for PR creator 🔧

  • Low risk : Simple bugfixes (missing files, updated documentation, typos) or Start/output scripts
  • Medium risk : New realization / Changes to existing realization / Other changes which don't modify default.cfg
  • High risk : New input files (if cfg$input is changed in default.cfg) / Modification to core model (eg. changes in equations, calculations, introduction of new sets etc.) / Other changes in default.cfg
  • Providing additional information based on PR label
  • Low risk : No new model run needed.
  • Medium risk : Default run based on the current version of the fork from which PR is made
  • High risk
    • Default run from the current develop branch
    • Default run based on the current version of the fork from which PR is made
  • [NA] 📉 Performance loss/gain from current default behavior 📈

    • Current develop branch default : ** mins
    • This PR's default : ** mins
  • Added changes to CHANGELOG.md

  • Compilation check (model starts without compilation errors - use gams main.gms action=c in model folder for testing).

  • No hard coded numbers and cluster/country/region names.

  • The new code doesn't contain declared but unused parameters or variables.

  • Where relevant, In-code comments added including documentation comments.

  • [NA] Made sure that documentation created with goxygen is okay (use goxygen::goxygen() for testing).

  • [NA] Changes to magpie4 R library for post processing of model output (ideally backward compatible).

  • Self-review of my own code.

⚠️ Additional notes or warnings ⚠️

NA

🚨 Checklist for RSE reviewer 🚨

  • PR is labeled correctly.
  • CHANGELOG is updated correctly
  • No hard coded numbers and cluster/country/region names.
  • No unnecessary increase in module interfaces
  • All required updates in interfaces (if any) have been properly adressed in the module contracts
  • In-code comments and documentation comments are satisfactory.
  • model behavior/performance is satisfactory.
  • Requested changes (if any) were applied correctly

🚨 Checklist for MAgPIE reviewer 🚨

  • PR is labeled correctly.
  • CHANGELOG is updated correctly
  • No hard coded numbers and cluster/country/region names.
  • Changes to the model are scientifically sound
  • In-code comments and documentation comments are satisfactory.
  • model behavior/performance is satisfactory.
  • Requested changes (if any) were applied correctly

Copy link
Member

@tscheypidi tscheypidi left a comment

Choose a reason for hiding this comment

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

you forgot to label your PR and I was wondering whether the script might fit better in the "projects" category instead of "extra". Besides that green light from my side (did not check the script in detail)

@emolinab emolinab added Minor Smaller modifications Low risk Low risk labels Apr 20, 2022
@emolinab
Copy link
Contributor Author

you forgot to label your PR and I was wondering whether the script might fit better in the "projects" category instead of "extra". Besides that green light from my side (did not check the script in detail)

After further discussion with Florian, we agreed on replacing the current dissagregation_LUH.R file with the script from the PR. which is currently located in extra. Should I still move it to projects?

@emolinab emolinab changed the title Disaggregation script for MAgPIE outputs to LUH2-ISIMIP3b Disaggregation script from MAgPIE outputs to LUH2-ISIMIP3b Apr 20, 2022
@emolinab emolinab merged commit 9df3467 into magpiemodel:develop Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low risk Low risk Minor Smaller modifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants