meteodatalab.data_cache

Helper class to cache data.

The helper is intended to create a cache of grib files with a layout that is suitable for reading by fieldextra.

Classes

DataCache(cache_dir, fields, list], files, ...)

class meteodatalab.data_cache.DataCache(cache_dir: pathlib.Path, fields: dict[str, list], files: dict[str, str] = <factory>, steps: list[int] = <factory>, numbers: list[int] = <factory>)[source]