xarray data creation by data classes
copied from cf-post-staging / xarray-dataclassarray-dataclass is a Python package that makes it easy to create xarray's DataArray and Dataset objects that are "typed" (i.e. fixed dimensions, data type, coordinates, attributes, and name) using the Python's dataclass.