Ouranosinc / xscen

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

use xclim's cftime function #195

Closed RondeauG closed 1 year ago

RondeauG commented 1 year ago

Pull Request Checklist:

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

Other information:

cftime.datetime(2000, 1, 1, 0, 0, 0, 0, calendar='noleap', has_year_zero=True) breaks xr.infer_freq. cftime.DatetimeNoLeap(2000, 1, 1, 0, 0, 0, 0, has_year_zero=True) works.