We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would be great to be able to slice a ComponentSet using a label along a dimension:
>>> runs.sel(rcp='rcp85') [{'rcp': 'rcp85', 'model': 'ACCESS1-0', 'year': 2006, 'func': <function __main__.<lambda>(x, thresh)>, 'thresholds': 32}, {'rcp': 'rcp85', 'model': 'ACCESS1-0', 'year': 2006, 'func': <function __main__.<lambda>(x, thresh)>, 'thresholds': 90}, {'rcp': 'rcp85', 'model': 'ACCESS1-0', 'year': 2006, 'func': <function __main__.<lambda>(x, thresh)>, 'thresholds': 95}, ...
This one really could return a new MultiComponentSet or ComponentSet with the relevant Component domain limited to the provided label:
>>> runs.sel(rcp='rcp85') <MultiComponentSet [{rcp: 1, model: 33, year: 96, func: 1, thresholds: 1}, {rcp: 1, model: 33, year: 96, func: 1, thresholds: 2}]>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would be great to be able to slice a ComponentSet using a label along a dimension:
This one really could return a new MultiComponentSet or ComponentSet
with the relevant Component domain limited to the provided label:
The text was updated successfully, but these errors were encountered: