Butler issue in tutorial notebook 01

Hi,

I am trying to work through the tutorial notebooks on the Rubin Science Platform and can’t seem to create an instance of the butler. When I try to execute the cell butler = dafButler.Butler('dp02', collections='2.2i/runs/DP0.2') , I am getting the following error (this is just the first few lines of the error):
--------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) File /opt/lsst/software/stack/conda/envs/lsst-scipipe-9.0.0/share/eups/Linux64/daf_butler/g588e17ab67+fac83bd63d/python/lsst/daf/butler/_butler_config.py:138, in ButlerConfig.__init__(self, other, searchPaths, without_datastore) 137 try: --> 138 butlerConfig = Config(other) 139 except FileNotFoundError as e: 140 # No reason to talk about aliases unless we were given a 141 # string and the alias was not resolved.
Further down the error message says: `391 if not uri.exists():
→ 392 raise FileNotFoundError(f"Config location {uri} does not exist.")
393 raise RuntimeError(f"The Config URI does not have a supported extension: {uri}")

FileNotFoundError: Config location file:///home/l/laliotis/notebooks/tutorial-notebooks/dp02 does not exist.
`
Which I think is the main issue. I was wondering whether my setup is not configured correctly or if someone can help me resolve this issue. Thanks!

From a terminal at the RSP (assuming you are on data.lsst.cloud and not USDF) can you check that $DAF_BUTLER_REPOSITORY_INDEX is set? It should have a value of https://data.lsst.cloud/api/butler/configs/idf-repositories.yaml.

From a notebook you can see what values are known with:

dafButler.Butler.get_known_repos()

which will output {'dp02', 'dp02-direct', 'dp02-remote'}.

Actually I’m on USDF.

get_known_repos returns a long list of things, but dp02 is not in there. $DAF_BUTLER_REPOSITORY_INDEX points to a file data-repos.yaml on sdf .

Hi @kklaliotis, thanks for this question. DP0.2 is not supported at the USDF, but is available via the RSP at data.lsst.cloud. The tutorial notebooks will run just fine there.

For the process to get an account at data.lsst.cloud:

Ah I see. Thanks!