DP02_13a_Image_Cutout_SciDemo.ipynb fails to return results for cutout query

When running DP02_13a_Image_Cutout_SciDemo.ipynb on the LSST cloud, no results are returned in cell 12 and an error is produced in cell 14 due to this:

IndexError                                Traceback (most recent call last)
Cell In[14], line 1
----> 1 tract = results['lsst_tract'][0]
      2 patch = results['lsst_patch'][0]
      4 dataId = {'band': 'i', 'tract': tract,
      5           'patch': patch}

File /opt/lsst/software/stack/conda/envs/lsst-scipipe-10.0.0/lib/python3.12/site-packages/numpy/ma/core.py:3304, in MaskedArray.__getitem__(self, indx)
   3294 """
   3295 x.__getitem__(y) <==> x[y]
   3296 
   3297 Return the item described by i, as a masked array.
   3298 
   3299 """
   3300 # We could directly use ndarray.__getitem__ on self.
   3301 # But then we would have to modify __array_finalize__ to prevent the
   3302 # mask of being reshaped if it hasn't been set up properly yet
   3303 # So it's easier to stick to the current version
-> 3304 dout = self.data[indx]
   3305 _mask = self._mask
   3307 def _is_scalar(m):

IndexError: index 0 is out of bounds for axis 0 with size 0```

It was initially thought this was caused by DP0.2 image services being offline, but now the banner at https://data.lsst.cloud/ has gone and the issue persists.

Hi @charlotteaward ! Thanks for your message, can I confirm which ra/dec you are using for the query (is it the default, or have you changed them for a search of a different region?)

I’m using
ra = 55.7467
dec = -32.2862

I think this is the default but perhaps I’ve messed it up!

Ok thanks. I’m unable to reproduce your error, except when I alter the query so that it searches for images outside of the imaging area of DP0.2. I also noticed that the cell numbers you refer to are not the same as the cell numbers in the published version of the notebook, so I think I need a little more information. Is it possible to link me to the version you’re using so I can better understand the source of your error? Thanks!

Ah interesting! For some reason the notebooks saved on the cloud by default at tutorial-notebooks/DP02_13a_Image_Cutout_SciDemo.ipynb are not updated from 5 months ago. I uploaded a more recent version from tutorial-notebooks/DP0.2/13a_Image_Cutout_SciDemo.ipynb at main · lsst/tutorial-notebooks · GitHub and it works. Sorry for the trouble!