From 4d1ed8698f84aaba7e8d9e0fcedbe2dd0b8ebc20 Mon Sep 17 00:00:00 2001 From: ppinchuk Date: Wed, 14 Aug 2024 15:58:03 -0600 Subject: [PATCH] Undo group attr change for now --- rex/rechunk_h5/rechunk_h5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rex/rechunk_h5/rechunk_h5.py b/rex/rechunk_h5/rechunk_h5.py index 9cc5edda..61758a2e 100644 --- a/rex/rechunk_h5/rechunk_h5.py +++ b/rex/rechunk_h5/rechunk_h5.py @@ -44,7 +44,7 @@ def get_dataset_attributes(h5_file, out_json=None, chunk_size=2, with h5py.File(h5_file, 'r') as f: global_attrs = dict(f.attrs) - for ds_name in BaseResource._get_datasets(f): + for ds_name in f: ds = f[ds_name] try: arr_size = ds_name in ['meta', 'coordinates', 'time_index']