tiled.client.xarray.DaskDatasetClient

class tiled.client.xarray.DaskDatasetClient(context, *, item, structure_clients, queries=None, sorting=None, structure=None, include_data_sources=False)[source]
__init__(context, *, item, structure_clients, queries=None, sorting=None, structure=None, include_data_sources=False)

This is not user-facing. Use Node.from_uri.

Methods

__init__(context, *, item, structure_clients)

This is not user-facing.

asset_manifest(data_sources)

Return a manifest of the relative paths of the contents in each asset.

create_container([key, metadata, dims, specs])

EXPERIMENTAL: Create a new, empty container.

data_sources()

delete(key)

delete_tree()

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])

include_data_sources()

Ensure that data source and asset information is fetched.

items()

keys()

login([username, provider])

Depending on the server's authentication method, this will prompt for username/password:

logout()

Log out.

new(structure_family, data_sources, *[, ...])

Create a new item within this Node.

new_variation(*[, structure_clients, ...])

Create a copy of this Node, optionally varying some parameters.

raw_export([destination_directory, max_workers])

Download the raw assets backing this node.

read([variables, optimize_wide_table])

refresh()

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

URL_CHARACTER_LIMIT

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.

structure_family

Quick access to this entry

uri

Direct link to this entry

values_indexer