Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Change default write mode of to_zarr() to 'w-' #275

Merged
merged 3 commits into from
Nov 10, 2023

Conversation

slevang
Copy link
Contributor

@slevang slevang commented Nov 8, 2023

@jhamman
Copy link

jhamman commented Nov 9, 2023

This looks good! Can we add a regression test for this? The Datatree's Zarr backend is in need of a refresh and it would be a shame to reintroduce this issue when that happens.

@TomNicholas TomNicholas added the IO Representation of particular file formats as trees label Nov 10, 2023
@TomNicholas TomNicholas merged commit 433f78d into xarray-contrib:main Nov 10, 2023
14 checks passed
@TomNicholas
Copy link
Member

Thank you for the fix @slevang !

flamingbear pushed a commit to flamingbear/rewritten-datatree that referenced this pull request Jan 19, 2024
…atree#275

* change default to_zarr mode to w-

* regression test

* add whats new entry
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
IO Representation of particular file formats as trees
Projects
None yet
Development

Successfully merging this pull request may close these issues.

to_zarr() overwrites by default
3 participants