Ouranosinc / xscen

A climate change scenario-building analysis framework.
https://xscen.readthedocs.io/
Apache License 2.0
17 stars 2 forks source link

Make it possible to search within IPCC_annual_global_tas.csv without data #208

Closed RondeauG closed 1 year ago

RondeauG commented 1 year ago

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