pychunked_data_view.chunked_data_view#
Classes#
Defines how a axis will be chunked |
|
Defines which axis from a MARS Request form an axis in the Zarr array. |
|
Suported data extractors. |
|
Module Contents#
- class Chunking(*args, **kwds)#
Bases:
enum.EnumDefines how a axis will be chunked
- NONE#
Axis will not be chunked, accessing any value from this axis will load all values.
- SINGLE_VALUE#
Axis will be chunked. One chunk per value.
- NONE#
- SINGLE_VALUE#
- class AxisDefinition(keys: list[str], chunking: Chunking)#
Defines which axis from a MARS Request form an axis in the Zarr array.
Also defines if the data is to be chunked.
- Parameters:
keys (list of str) – mars keys that for this axis.
chunking (Chunking) – Define how this axis shall be chunked
- static _translate_chunking(chunking: Chunking) chunked_data_view_bindings.chunked_data_view_bindings.AxisDefinition.NoChunking | chunked_data_view_bindings.chunked_data_view_bindings.AxisDefinition.IndividualChunking#
- _obj#
- property keys: list[str]#
- class ChunkedDataView(obj: chunked_data_view_bindings.chunked_data_view_bindings.ChunkedDataView)#
- _obj#
- at(index: list[int] | tuple[int, Ellipsis])#
- chunkShape()#
- chunks()#
- shape()#
- class ExtractorType(*args, **kwds)#
Bases:
enum.EnumSuported data extractors.
Defines what storage format the caller expects to be stored in FDB.
- GRIB#
Extract data from GRIB
- class ChunkedDataViewBuilder(fdb_config_file: pathlib.Path | None)#
- _obj#
- add_part(mars_request_key_values: str, axes: list[AxisDefinition], extractor_type: ExtractorType)#
- extend_on_axis(axis: int)#
- build()#