Ouranosinc / xscen

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

Support searching for multiple frequencies #168

Closed RondeauG closed 1 year ago

RondeauG commented 1 year ago

Addressing a Problem?

The current implementation of xs.search_data_catalogs only supports a single frequency per variable. It's not possible, for example, to find simulations that have pr: 3H and pr: D.

Potential Solution

variables_and_freqs should support a list of strings for a given variable, for example: xs.search_data_catalogs(variables_and_freqs={"pr": ['3H', 'D']})

Additional context

No response

Contribution