Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 62b2084

Browse files
committed
update to w_2021_40 and warnings filter
1 parent 5ed65dd commit 62b2084

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

04_Intro_to_Butler.ipynb

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\"> \n",
88
"<b>Introduction to the LSST data Butler</b> <br>\n",
9-
"Last verified to run on 2021-08-16 with LSST Science Pipelines release w_2021_33 <br>\n",
9+
"Last verified to run on 2021-10-12 with LSST Science Pipelines release w_2021_40 <br>\n",
1010
"Contact authors: Alex Drlica-Wagner, Melissa Graham <br>\n",
1111
"Target audience: All DP0 delegates. <br>\n",
1212
"Container Size: medium <br>\n",
@@ -59,6 +59,7 @@
5959
"outputs": [],
6060
"source": [
6161
"# Generic python packages\n",
62+
"import warnings\n",
6263
"import numpy as np\n",
6364
"import pylab as plt\n",
6465
"\n",
@@ -73,13 +74,25 @@
7374
"afwDisplay.setDefaultBackend('matplotlib')"
7475
]
7576
},
77+
{
78+
"cell_type": "code",
79+
"execution_count": null,
80+
"metadata": {},
81+
"outputs": [],
82+
"source": [
83+
"# prevent some helpful but ancillary warning messages from printing\n",
84+
"# during some LSST DM Release calls\n",
85+
"warnings.simplefilter(\"ignore\", category=UserWarning)"
86+
]
87+
},
7688
{
7789
"cell_type": "code",
7890
"execution_count": null,
7991
"metadata": {},
8092
"outputs": [],
8193
"source": [
8294
"# This should match the verified version listed at the start of the notebook\n",
95+
"! echo $IMAGE_DESCRIPTION\n",
8396
"! eups list -s lsst_distrib"
8497
]
8598
},

0 commit comments

Comments
 (0)