Source code for icclim._core.model.global_metadata

"""Global metadata model to be added to the output netCDF file."""

from __future__ import annotations

from typing import TypedDict


[docs] class GlobalMetadata(TypedDict): """Global metadata model. Attributes ---------- history : str or None The CF history attribute. source : str or None The source of the data. time_encoding : dict or None The time encoding information to be read from ds.time.encoding. """
[docs] history: str | None
[docs] source: str | None
[docs] time_encoding: dict | None