Skip to content

Commit

Permalink
plumbing
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Sep 3, 2024
1 parent 753ad16 commit 3d84877
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/source/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ File format backends
kerchunk.fits.process_file
kerchunk.tiff.tiff_to_zarr
kerchunk.netCDF3.NetCDF3ToZarr
kerchunk.hdf4.HDF4ToZarr

.. autoclass:: kerchunk.hdf.SingleHdf5ToZarr
:members:
Expand All @@ -24,6 +25,9 @@ File format backends
.. autoclass:: kerchunk.netCDF3.NetCDF3ToZarr
:members: __init__, translate

.. autoclass:: kerchunk.hdf4.HDF4ToZarr
:members: __init__, translate

Codecs
------

Expand All @@ -50,6 +54,9 @@ Codecs
.. autoclass:: kerchunk.codecs.RecordArrayMember
:members: __init__

.. autoclass:: kerchunk.codecs.ZlibCodec
:members: __init__

Combining
---------

Expand Down
2 changes: 1 addition & 1 deletion kerchunk/codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def encode(self, buf):
raise NotImplementedError


class ZlibCodec(numcodecs.abc.Codec):
class ZlibCodec(Codec):
codec_id = "zlib"

def __init__(self):
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ fill_hdf_strings = "kerchunk.codecs:FillStringsCodec"
FITSAscii = "kerchunk.codecs:AsciiTableCodec"
FITSVarBintable = "kerchunk.codecs:VarArrCodec"
record_member = "kerchunk.codecs:RecordArrayMember"
zlib = "kerchunk.codecs:ZlibCodec"

[project.entry-points."xarray.backends"]
kerchunk = "kerchunk.xarray_backend:KerchunkBackend"
Expand Down

0 comments on commit 3d84877

Please sign in to comment.