xarray_dataclasses.dataoptions module
Submodule for customization of DataArray or Dataset creation.
-
class DataOptions(factory: Callable[[...], TAnyXarray])[source]
Bases: Generic
[TAnyXarray
]
Options for DataArray or Dataset creation.
- Parameters:
factory (Callable[[...], TAnyXarray]) –
-
factory: Callable[[...], TAnyXarray]
Factory function for DataArray or Dataset.