cf.copy_metadata_from_xarray
cf.copy_metadata_from_xarray(dataset, group_uri, *, config=None, ctx=None, skip_vars=None, copy_group_metadata=True, copy_variable_metadata=True)
Copies metadata from an xarray dataset to a TileDB group.
Parameters
Name | Type | Description | Default |
---|---|---|---|
dataset |
The xarray Dataset to write. | required | |
group_uri |
The URI to the TileDB group to create or append to. | required | |
config |
typing.Optional[tiledb.tiledb.Config] | A TileDB config object to use for TileDB objects. | None |
ctx |
typing.Optional[tiledb.tiledb.Ctx] | A TileDB context object to use for TileDB operations. | None |
skip_vars |
typing.Optional[typing.Set[str]] | A set of names of variables not to copy to the group. | None |
copy_group_metadata |
bool | If true, copy xarray dataset metadata to the TileDB group. | True |
copy_variable_metadata |
bool | If true, copy xarray variable metadata to the TileDB arrays as TileDB attribute metadata. | True |