parcels icon indicating copy to clipboard operation
parcels copied to clipboard

Support for zarr v3

Open VeckoTheGecko opened this issue 1 year ago • 4 comments

Zarr v3 was released yesterday, causing our unit tests to fail.

See migration guide.

VeckoTheGecko avatar Jan 10 '25 09:01 VeckoTheGecko

@erikvansebille In the implementation of this, should we completely drop support for Zarr v2? We could also provide support for both, but I'm not sure how useful that is (xarray supports zarr 2 and 3, and I don't know what other packages we can expect users to have in their environment that need zarr). What do you think? If keeping both is difficult, I think we should opt for dropping v2

VeckoTheGecko avatar Jan 28 '25 09:01 VeckoTheGecko

Hi @VeckoTheGecko, I think we can choose to only support zarr v3. Parcels is research software, we can expect users to use the latest packages in their environment. I propose in general to try reduce maintenance burden as much as possible by dropping support for older package versions

erikvansebille avatar Jan 28 '25 11:01 erikvansebille

I have been trying to migrate v3 of Parcels to use Zarr v3, but have been struggling to do with minimal code changes due to the custom behaviour in ParticleFile.write(). I have put my attempt so far in zarr-v3

I guess it would be good to have a chat sometime @erikvansebille how much we want to support v3 of Parcels once v4 is released? (what that lifecycle would look like)

VeckoTheGecko avatar Jul 09 '25 09:07 VeckoTheGecko

Zarr v2 is currently in "support mode" meaning no new features will be added to it. I don't know whether that means that at some point it will leave support mode though

VeckoTheGecko avatar Jul 09 '25 10:07 VeckoTheGecko