Skip to content

Commit 4bcd93d

Browse files
committed
Expose use_cftime option in open_zarr pydata#2886
1 parent d578bfe commit 4bcd93d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xarray/backends/zarr.py

+2
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ def open_zarr(
479479
drop_variables=None,
480480
consolidated=False,
481481
overwrite_encoded_chunks=False,
482+
use_cftime=True,
482483
**kwargs
483484
):
484485
"""Load and decode a dataset from a Zarr store.
@@ -591,6 +592,7 @@ def maybe_decode_store(store, lock=False):
591592
concat_characters=concat_characters,
592593
decode_coords=decode_coords,
593594
drop_variables=drop_variables,
595+
use_cftime=use_cftime,
594596
)
595597

596598
# TODO: this is where we would apply caching

0 commit comments

Comments
 (0)