Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Aug 15, 2023
1 parent 61d256b commit a7760af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthaccess/kerchunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def get_chunk_metadata(
fs: fsspec.AbstractFileSystem | s3fs.S3FileSystem,
) -> list[dict]:
from kerchunk.hdf import SingleHdf5ToZarr

metadata = []
access = "direct" if isinstance(fs, s3fs.S3FileSystem) else "indirect"
for url in granuale.data_links(access=access):
Expand All @@ -42,7 +43,6 @@ def consolidate_metadata(
kerchunk_options: dict | None = None,
access: str = "direct",
) -> str:

try:
from kerchunk.combine import MultiZarrToZarr
except ImportError as e:
Expand Down

0 comments on commit a7760af

Please sign in to comment.