Ouranosinc / xscen

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

fix regrid for snakemake #414

Closed juliettelavoie closed 2 weeks ago

juliettelavoie commented 2 weeks ago

Pull Request Checklist:

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

no

Other information:

Previously, we would only do one regrid at the time. With snakemake, they can be done synchronously. This means we need the name of the domain in the name of the file, or different task try to write on the same file.

PVI: @oumoukal @aulemahal

RondeauG commented 2 weeks ago

Could you also include the fix to #411? The fix was given here: https://github.com/Ouranosinc/xscen/commit/f12895a084d8d3521e8c721c7c2a37955fa59c07

RondeauG commented 2 weeks ago

Could you also add a <0.51 to xclim, to help with #399 and future breaking changes?

juliettelavoie commented 2 weeks ago

I pinned xarray <2024.06.0. I think the failing tests in adjust were related to https://github.com/pydata/xarray/issues/9138.

juliettelavoie commented 2 weeks ago

@Zeitsperre do you have an idea what is the issue for py310-covervalls ?

juliettelavoie commented 2 weeks ago

@Zeitsperre We managed to fix the issue in the coveralls tests by pinning h5py and netcdf4. Would still love your input if you know the cause of the problem!