iiasa / message-ix-models

Tools for the MESSAGEix-GLOBIOM family of models
https://docs.messageix.org/models
Apache License 2.0
17 stars 33 forks source link

Add scripts, docs for migrating `message_data` code #89

Closed khaeru closed 1 year ago

khaeru commented 1 year ago

These describe/implement the process used for #88.

This PR can be updated as #88 (or #86, or another PR) is completed and merged.

How to review

Read the updated documentation.

PR checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #89 (e42fa68) into main (ecb3bb2) will decrease coverage by 0.1%. The diff coverage is 100.0%.

@@           Coverage Diff           @@
##            main     #89     +/-   ##
=======================================
- Coverage   68.4%   68.4%   -0.1%     
=======================================
  Files         63      63             
  Lines       4177    4176      -1     
=======================================
- Hits        2858    2857      -1     
  Misses      1319    1319             
Files Changed Coverage Δ
message_ix_models/util/sdmx.py 100.0% <100.0%> (ø)
khaeru commented 1 year ago

For reference, here are the duplicates.txt and (manually edited) rebase-todo.txt produced by 2-migrate.sh while applying this process for #88:

For example:

khaeru commented 1 year ago

@glatterf42 I've now completed the text and TODO list above, so this is ready to be reviewed and, if approved, merged.