find_in_path¶
-
ctapipe.utils.datasets.
find_in_path
(filename, searchpath, url='http://cccta-dataserver.in2p3.fr/data/ctapipe-extra/v0.3.3/')[source]¶ Search in searchpath for filename, returning full path.
- Parameters
- searchpath: str
colon-separated list of directories (like PATH)
- filename:
filename to find
- Returns
- full path to file if found, None otherwise