tutorial How_to_use_RSP_tools/101_Alert_archive/101_1_Alert_retrieval, missing file /etc/nublado/discovery/v1.json

Hi,

I am trying out the steps in the below tutorial (101.1. Alert retrieval service) on my desktop computer.
(The tutorial works fine in the below Jupyter notebook data.lsst.cloud.)

Below all three links are for the same tutorial.

https://psgupta.nb.data.lsst.cloud/nb/user/psgupta/lab/tree/notebooks/tutorials/Prompt/100_How_to_use_RSP_tools/101_Alert_archive/101_1_Alert_retrieval_service.ipynb

The below line
url = get_service_url(“alerts”, “prompt”)

returns the below error.

lsst.rsp._exceptions.DiscoveryNotAvailableError: Cannot get service discovery information: FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/nublado/discovery/v1.json’

I am wondering what are the steps to run the tutorial on a desktop computer?

Thanks!
Regards,
Pramod Gupta

======= Detailed steps are below. ===================

import fastavro
… import base64
… import matplotlib.pyplot as plt
… import numpy as np
… import pandas as pd
… import io
… from astropy.io import fits
… from astropy.nddata import CCDData
… from astropy.visualization import (MinMaxInterval, LinearStretch,
… ImageNormalize)

… from lsst.rsp import RSPClient, get_service_url
… from lsst.utils.plotting import (get_multiband_plot_colors,
… get_multiband_plot_symbols)

url = get_service_url(“alerts”, “prompt”)


Traceback (most recent call last):
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/site-packages/lsst/rsp/_discovery.py”, line 82, in _get_discovery
return json.loads(_DISCOVERY_PATH.read_text())

                  ~~~~~~~~~~~~~~~~~~~~~~~~~^^

File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/pathlib/_local.py”, line 546, in read_text
return PathBase.read_text(self, encoding, errors, newline)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/pathlib/_abc.py”, line 632, in read_text
with self.open(mode=‘r’, encoding=encoding, errors=errors, newline=newline) as f:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/pathlib/_local.py”, line 537, in open
return io.open(self, mode, buffering, encoding, errors, newline)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/nublado/discovery/v1.json’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “”, line 1, in
url = get_service_url(“alerts”, “prompt”)
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/site-packages/lsst/rsp/_discovery.py”, line 211, in get_service_url
discovery = _get_discovery()
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/site-packages/lsst/rsp/_discovery.py”, line 84, in _get_discovery
raise DiscoveryNotAvailableError(e) from e
lsst.rsp._exceptions.DiscoveryNotAvailableError: Cannot get service discovery information: FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/nublado/discovery/v1.json’

url = get_service_url(“alerts”, “prompt”)
Traceback (most recent call last):
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/site-packages/lsst/rsp/_discovery.py”, line 82, in _get_discovery
return json.loads(_DISCOVERY_PATH.read_text())

                  ~~~~~~~~~~~~~~~~~~~~~~~~~^^

File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/pathlib/_local.py”, line 546, in read_text
return PathBase.read_text(self, encoding, errors, newline)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/pathlib/_abc.py”, line 632, in read_text
with self.open(mode=‘r’, encoding=encoding, errors=errors, newline=newline) as f:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/pathlib/_local.py”, line 537, in open
return io.open(self, mode, buffering, encoding, errors, newline)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/nublado/discovery/v1.json’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “”, line 1, in
url = get_service_url(“alerts”, “prompt”)
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/site-packages/lsst/rsp/_discovery.py”, line 211, in get_service_url
discovery = _get_discovery()
File “/local/tmp/psgupta/python3install/anaconda3/lib/python3.13/site-packages/lsst/rsp/_discovery.py”, line 84, in _get_discovery
raise DiscoveryNotAvailableError(e) from e
lsst.rsp._exceptions.DiscoveryNotAvailableError: Cannot get service discovery information: FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/nublado/discovery/v1.json’

=============================