earthkit.data.readers.zip

Attributes

Classes

InfoWrapper

A class so that ZipInfo has the same interface as TarInfo.

ZIPReader

Base class for all objects that can be loaded using a loader.

Functions

reader(source, path, *[, magic, deeper_check])

Module Contents

earthkit.data.readers.zip.EXTENSIONS_TO_SKIP = ('.npz',)
class earthkit.data.readers.zip.InfoWrapper(member)

A class so that ZipInfo has the same interface as TarInfo.

file_or_directory = True
isdir()
isfile()
member
property name
earthkit.data.readers.zip.READER
class earthkit.data.readers.zip.ZIPReader(source, path)

Bases: earthkit.data.readers.archive.ArchiveReader

Base class for all objects that can be loaded using a loader.

property appendable
property binary
check(member)
expand(archive, members, **kwargs)
property filter
ignore()

Indicates to ignore this source in concatenation/merging.

Return type:

bool

property merger
mutate()
mutate_source()
property parts
path
property source
source_filename
property stream
to_data_object()
to_target(target, *args, **kwargs)
earthkit.data.readers.zip.reader(source, path, *, magic=None, deeper_check=False, **kwargs)