Skip to content

climateAssessmentInterimRun.R dumps variables using quitte::write.gdx#2334

Merged
tonnrueter merged 5 commits intoremindmodel:developfrom
tonnrueter:dev/sealvl
Apr 29, 2026
Merged

climateAssessmentInterimRun.R dumps variables using quitte::write.gdx#2334
tonnrueter merged 5 commits intoremindmodel:developfrom
tonnrueter:dev/sealvl

Conversation

@tonnrueter
Copy link
Copy Markdown
Contributor

@tonnrueter tonnrueter commented Apr 28, 2026

Purpose of this PR

  • Replaces variable selection and renaming of climate assessment variables after ca-run inbetween REMIND iterations (interim run) by leveraging novel quitte::write.gdx function
  • Writes single gdx containing all variables specified in varmap instead of multiple, individual files for each variable
  • Deprecates postprocessing timestamp in run time report

Type of change

Indicate the items relevant for your PR by replacing ◻️ with ☑️.
Do not delete any lines. This makes it easier to understand which areas are affected by your changes and which are not.

Parts concerned

  • ◻️ GAMS Code
  • ☑️ R-scripts
  • ◻️ Documentation (GAMS incode documentation, comments, tutorials)
  • ◻️ Input data / CES parameters
  • ◻️ Tests, CI/CD (continuous integration/deployment)
  • ◻️ Configuration (switches in main.gms, default.cfg, and scenario_config*.csv files)
  • ◻️ Other (please give a description)

Impact

  • ◻️ Bug fix
  • ☑️ Refactoring
  • ◻️ New feature
  • ◻️ Change of parameter values or input data (including CES parameters)
  • ◻️ Minor change (default scenarios show only small differences)
  • ◻️ Fundamental change of results of default scenarios

Checklist

Do not delete any line. Leave unfinished elements unchecked so others know how far along you are.
In the end all checkboxes must be ticked before you can merge
.

  • I executed the automated model tests (make test) after my final commit and all tests pass (FAIL 0)
  • I adjusted the reporting in remind2 if and where it was needed
  • I adjusted the madrat packages (mrremind and other packages involved) for input data generation if and where it was needed
  • My code follows the coding etiquette
  • I explained my changes within the PR, particularly in hard-to-understand areas
  • I checked that the in-code documentation is up-to-date
  • I adjusted forbiddenColumnNames in readCheckScenarioConfig.R in case the PR leads to deprecated switches
  • I updated the CHANGELOG.md correctly (added, changed, fixed, removed, input data/calibration)

Further information (optional)

  • Runs with these changes are here:
  • Comparison of results (what changes by this PR?):

Tonn Rüter added 5 commits April 28, 2026 13:59
- Replace variable selection and renaming of climate assessment variables by leveraging novel `write_gdx` function in `quitte` library
- Writes single gdx containing all variables specified in `varmap` instead of multiple, individual files for each variable
- Deprecates `postprocessing` timestamp in run time report
@tonnrueter tonnrueter changed the title Dev/sealvl Climate assessment interim run dumps variables using quitte::write.gdx Apr 28, 2026
@tonnrueter tonnrueter changed the title Climate assessment interim run dumps variables using quitte::write.gdx climateAssessmentInterimRun.R dumps variables using quitte::write.gdx Apr 28, 2026
@tonnrueter tonnrueter marked this pull request as ready for review April 28, 2026 12:32
@tonnrueter tonnrueter requested a review from fpiontek April 28, 2026 12:32
@tonnrueter tonnrueter merged commit 35de53d into remindmodel:develop Apr 29, 2026
7 of 11 checks passed
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