tiled.client.xarray.DaskDatasetClient¶
- class tiled.client.xarray.DaskDatasetClient(context, *, item, structure_clients, queries=None, sorting=None, structure=None)[source]¶
- __init__(context, *, item, structure_clients, queries=None, sorting=None, structure=None)¶
This is not user-facing. Use Node.from_uri.
Methods
__init__
(context, *, item, structure_clients)This is not user-facing.
create_container
([key, metadata, dims, specs])EXPERIMENTAL: Create a new, empty container.
delete
(key)discover_clients_from_entrypoints
()Search the software environment for libraries that register structure clients.
distinct
(*metadata_keys[, ...])Get the unique values and optionally counts of metadata_keys, structure_families, and specs in this Node's entries
export
(filepath[, fields, format])Download metadata and data below this node in some format and write to a file.
get
(k[,d])items
()keys
()login
([username, provider])Depending on the server's authentication method, this will prompt for username/password:
logout
()Log out.
new
(structure_family, structure, *[, key, ...])Create a new item within this Node.
new_variation
(*[, structure_clients, ...])Create a copy of this Node, optionally varying some parameters.
read
([variables, optimize_wide_table])search
(query)Make a Node with a subset of this Node's entries, filtered by query.
sort
(*sorting)Make a Node with the same entries but sorted according to sorting.
structure
()Return a dataclass describing the structure of the data.
update_metadata
([metadata, specs])EXPERIMENTAL: Update metadata.
values
()write_array
(array, *[, key, metadata, dims, ...])EXPERIMENTAL: Write an array.
write_awkward
(array, *[, key, metadata, ...])Write an AwkwardArray.
write_dataframe
(dataframe, *[, key, ...])EXPERIMENTAL: Write a DataFrame.
write_sparse
(coords, data, shape, *[, key, ...])EXPERIMENTAL: Write a sparse array.
Attributes
STRUCTURE_CLIENTS_FROM_ENTRYPOINTS
context
formats
List formats that the server can export this data as.
item
JSON payload describing this item.
items_indexer
keys_indexer
metadata
Metadata about this data source.
metadata_revisions
sorting
The current sorting of this Node
specs
List of specifications describing the structure of the metadata and/or data.
uri
Direct link to this entry
values_indexer