yt.sample_data.api module

This is a collection of helper functions to yt.load_sample

yt.sample_data.api.get_data_registry_table()[source]

Load the sample data registry as a pandas.Dataframe instance.

This function is considered experimental and is exposed for exploratory purposed. The output format is subject to change.

The output of this function is cached so it will only generate one request per session.

yt.sample_data.api.lookup_on_disk_data(fn)pathlib.Path[source]

Look for data file/dir on disk.

Returns

Return type

pathlib.Path to a file/dir matching fn if any

Raises

FileNotFoundError