Source code for openghg.dataobjects._flux_data

from dataclasses import dataclass

from ._basedata import _BaseData

__all__ = ["FluxData"]


[docs]@dataclass(frozen=True) class FluxData(_BaseData): """This class is used to return flux/emissions data from the get_flux function Args: data: xarray Dataframe metadata: Dictionary of metadata including model run parameters """
[docs] def __str__(self) -> str: return f"Data: {self.data}\nMetadata : {self.metadata}"