Skip to content

Add option to filter by measurand#868

Merged
danielhuppmann merged 10 commits into
IAMconsortium:mainfrom
danielhuppmann:filter/measurand
Aug 5, 2024
Merged

Add option to filter by measurand#868
danielhuppmann merged 10 commits into
IAMconsortium:mainfrom
danielhuppmann:filter/measurand

Conversation

@danielhuppmann

@danielhuppmann danielhuppmann commented Jul 26, 2024

Copy link
Copy Markdown
Member

Please confirm that this PR has done the following:

  • Tests Added
  • Documentation Added
  • Name of contributors Added to AUTHORS.rst
  • Description in RELEASE_NOTES.md Added

Description of PR

This PR adds a feature to support filtering by a "measurand", i.e., a tuple (or iterable of tuples) of variable and unit

See the related discussion at IAMconsortium/nomenclature#360

@danielhuppmann danielhuppmann self-assigned this Jul 26, 2024
@codecov

codecov Bot commented Jul 26, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.0%. Comparing base (ddbb88e) to head (fd5338e).
Report is 25 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #868   +/-   ##
=====================================
  Coverage   95.0%   95.0%           
=====================================
  Files         64      64           
  Lines       6134    6191   +57     
=====================================
+ Hits        5828    5884   +56     
- Misses       306     307    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielhuppmann
danielhuppmann marked this pull request as ready for review July 26, 2024 14:53

@phackstock phackstock left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One small comment, after that good to merge.

Comment thread tests/test_core.py Outdated
Comment thread tests/test_core.py Outdated
Comment thread tests/test_core.py Outdated
danielhuppmann and others added 3 commits August 5, 2024 12:49
Co-authored-by: Philip Hackstock <20710924+phackstock@users.noreply.github.com>
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