pyam
pyam copied to clipboard
function `categorize()` applies `OR` logic when multiple criteria are given
The function categorize() applies an OR logic across items when the argument criteria is a dictionary with more than one item. This should be AND, so that only scenarios satisfying all criteria (rather than any) are assigned to the metadata category.