get_dataset_path#

ctapipe.utils.get_dataset_path(filename, url=None)[source]#

Returns the full file path to an auxiliary dataset needed by ctapipe, given the dataset’s full name (filename with no directory).

This will first search for the file in directories listed in the environment variable CTAPIPE_SVC_PATH (if set), and if not found, will check the test data server.

Parameters:
filename: str

name of dataset to fetch

Returns:
string with full path to the given dataset