earthkit.data.utils.parts¶
Classes¶
Represent a file part. |
|
Functions¶
|
Check if urls and parts are compatible. |
|
|
|
Module Contents¶
- class earthkit.data.utils.parts.Part(path, offset, length)¶
Represent a file part.
- length¶
- offset¶
- path¶
- classmethod resolve(parts, directory=None)¶
- class earthkit.data.utils.parts.PathAndParts(path, parts)¶
- compress = None¶
- classmethod from_paths(path, parts)¶
- is_empty()¶
- parts¶
- path¶
- sequence = None¶
- sorted()¶
- update(path)¶
- zipped()¶
- earthkit.data.utils.parts.check_urls_and_parts(urls, parts)¶
Check if urls and parts are compatible.
When any of the
urlscontain a partpartsmust be None.
- earthkit.data.utils.parts.compress_parts(parts)¶
- earthkit.data.utils.parts.ensure_urls_and_parts(urls, parts, compress=True)¶