Skip to content

Commit 92f04de

Browse files
authored
Revert "Vendor kerchunk netCDF3 reader (#397)" (#408)
1 parent 81a76f0 commit 92f04de

File tree

6 files changed

+2
-414
lines changed

6 files changed

+2
-414
lines changed

docs/releases.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Documentation
6363
Internal Changes
6464
~~~~~~~~~~~~~~~~
6565

66-
- Vendor netCDF3 reader from kerchunk. (:pull:`397`) By `Tom Nicholas <https://github.com/TomNicholas>`_.
66+
- Add netCDF3 test. (:pull:`397`) By `Tom Nicholas <https://github.com/TomNicholas>`_.
6767

6868
.. _v1.2.0:
6969

virtualizarr/readers/netcdf3.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def open_virtual_dataset(
2626
virtual_backend_kwargs: Optional[dict] = None,
2727
reader_options: Optional[dict] = None,
2828
) -> Dataset:
29-
from virtualizarr.vendor.kerchunk.netCDF3 import NetCDF3ToZarr
29+
from kerchunk.netCDF3 import NetCDF3ToZarr
3030

3131
if virtual_backend_kwargs:
3232
raise NotImplementedError(
@@ -38,9 +38,6 @@ def open_virtual_dataset(
3838
loadable_variables,
3939
)
4040

41-
if reader_options is None:
42-
reader_options = {}
43-
4441
refs = NetCDF3ToZarr(filepath, inline_threshold=0, **reader_options).translate()
4542

4643
# both group=None and group='' mean to read root group

virtualizarr/vendor/kerchunk/LICENSE.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

virtualizarr/vendor/kerchunk/__init__.py

Whitespace-only changes.

virtualizarr/vendor/kerchunk/netCDF3.py

Lines changed: 0 additions & 307 deletions
This file was deleted.

0 commit comments

Comments
 (0)