tonik 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: tonik
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Store time series data as HDF5 files and access them through an API.
5
5
  Project-URL: Homepage, https://tsc-tools.github.io/tonik
6
6
  Project-URL: Issues, https://github.com/tsc-tools/tonik/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tonik"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  authors = [
9
9
  { name="Yannik Behr", email="y.behr@gns.cri.nz" },
10
10
  { name="Christof Mueller", email="c.mueller@gns.cri.nz" }
@@ -199,7 +199,7 @@ class Path(object):
199
199
  """
200
200
  filename = self.feature_path(feature)
201
201
  with xr.open_dataset(filename, group='original', engine=self.engine) as ds:
202
- return ds.sizes
202
+ return ds[feature].sizes
203
203
 
204
204
 
205
205
  class Storage(Path):
@@ -147,7 +147,6 @@ def test_shape(tmp_path_factory):
147
147
  rsam_shape = g.shape('ssam')
148
148
  assert rsam_shape['datetime'] == 20
149
149
  assert rsam_shape['frequency'] == 10
150
- assert rsam_shape['fbfrequency'] == 10
151
150
 
152
151
  g1 = Storage('volcanoes', rootdir=rootdir, backend='zarr')
153
152
  g1.save(xdf, mode='w')
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes