RuntimeError in DP2 103_9 Custom Color Images Tutorial

I am using RSP to run the 103.9 custom color images tutorial Notebook tutorial for DP2. I’m running the Notebook as-is (making no edits of my own), and most of it works seemingly as intended, until I get around to Cell 37 (see attached). I’m getting the following RuntimeError:

RuntimeError: Could not determine the plate scale of the images the template coadds were made from, so the template variance cannot be corrected for the change in pixel area.

notebooks_tutorials_DP2_100_How_to_use_RSP_tools_103_Image_access_and_display_103_9_Custom_color_images.pdf (210.0 KB)

I can’t make it to the next cells that run the task and then display the image.

I’ve tried running this Notebook using the Recommended Image (Release r30.0.11, RSP Build 3040) as well the one from this week (Weekly 2026_44). Am I missing something?

Hi Melanie – thanks for your message. I just tested this notebook as-is on RSP with pipelines version r30.0.11 and it ran successfully from start to finish, so I wasn’t immediately able to reproduce the RuntimeError you’ve posted. I’ve inquired with the Rubin team member who led the creation of this notebook and will report back with any further insights. Thanks again.

When using Weekly 2026_44, we were able to reproduce your RuntimeError. This DP2 tutorial notebook in its present form is intended to be run with pipelines version r30.0.11 as listed in its header. The error you’ve identified when running this notebook as-is with Weekly 2026_44 is interesting, and we’ll work internally to ensure that this notebook executes successfully when, in the future, the recommended pipelines version gets ‘bumped’. But for now, the recommended pipelines version that should be used to run this DP2 tutorial notebook successfully without modification is r30.0.11. Could you please try re-running with r30.0.11 in such a way as to ensure that the notebook runs “fresh” without any potential remnants of runs with a newer pipelines version like Weekly 2026_44? For this purpose, I’d suggest selecting (from the upper menu within RSP) “Kernel” → “Restart Kernel and Clear Outputs of All Cells…” prior to re-testing. Thanks again…

Hi Aaron, thanks for the suggestions. I was previously resetting the kernel from within the Notebook’s menu (see below) which seemingly didn’t help.

I tried running the Notebook using r30.0.11 and restarting the kernel in the way you suggested (the uppe5r menu within RSP), and it seems to work fine now. I appreciate your help!