get_urls#

cherab.lhd.tools.fetch.get_urls() dict[str, str]Source#

Get the URLs of the datasets.

Some datasets are available through the specified URLs, which are stored in a JSON file. Datasets with no URL specified are downloaded from the address specified by fetch_file’s host parameter.

Returns:
dict[str, str]

URLs of the datasets, where key is the file name and value is the URL.

Examples

>>> get_urls()
{
    "grid-demo.nc": "doi:10.5281/zenodo.1234567/grid-demo.nc",
    ...
}