Currently, subset_warming_level expects a dataset, because the function searches through IPCC_annual_global_tas.csv using the dataset's metadata, then subsets it for the requested warming level. If I just want to know when the CMIP6 models reach +1°C, I can't.
Potential Solution
The search function is very useful by itself and does not require data anyway. It should be its own function.
Additional context
@sa
Contribution
[X] I would be willing/able to open a Pull Request to contribute this feature.
Addressing a Problem?
Currently,
subset_warming_level
expects a dataset, because the function searches through IPCC_annual_global_tas.csv using the dataset's metadata, then subsets it for the requested warming level. If I just want to know when the CMIP6 models reach +1°C, I can't.Potential Solution
The search function is very useful by itself and does not require data anyway. It should be its own function.
Additional context
@sa
Contribution