Skip to content

Commit 63b6298

Browse files
Merge pull request #26 from lsst/tickets/SP-2237a
bump to r29.1.1; includes all updates originally from tickets/SP-2237
2 parents 044219c + a28cce4 commit 63b6298

37 files changed

Lines changed: 161 additions & 172 deletions

DP0.2/01_Introduccion_a_DP02_ES.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\"> \n",
1111
"<br><b>Introducción a Jupyter Notebooks para Data Preview 0.2</b> <br>\n",
1212
"Autoría: Melissa Graham <br>\n",
13-
"Última verificación de ejecución: 2025-04-30 <br>\n",
14-
"Versión de las Pipelines Científicas de LSST: Weekly 2025_17 <br>\n",
13+
"Última verificación de ejecución: 2025-06-20 <br>\n",
14+
"Versión de las Pipelines Científicas de LSST: Release r29.1.1 <br>\n",
1515
"Tamaño del contenedor (Container size): medium <br>\n",
1616
"Nivel de aprendizaje: principiante <br>\n",
1717
"<br>\n",
@@ -65,7 +65,7 @@
6565
"metadata": {},
6666
"source": [
6767
"**Soporte:**\n",
68-
"se pueden encontrar recursos y documentación relacionada a DP0 en <a href=\"https://dp0.lsst.io\">dp0.lsst.io</a>. Las preguntas son bienvenidas como nuevos temas en la categoría <a href=\"https://community.lsst.org/c/support/dp0\">Support - Data Preview 0</a> del foro de la comunidad de Rubin. El equipo de Rubin responderá a todas las preguntas publicadas allí."
68+
"se pueden encontrar recursos y documentación relacionada a DP0 en <a href=\"https://dp0.lsst.io\">dp0.lsst.io</a>. Las preguntas son bienvenidas como nuevos temas en la categoría <a href=\"https://community.lsst.org/c/support/dp0\">Support - Data Preview 0</a> del foro de la comunidad de Rubin. El equipo de Rubin responderá a todas las preguntas publicadas allí. "
6969
]
7070
},
7171
{
@@ -1032,7 +1032,7 @@
10321032
"name": "python",
10331033
"nbconvert_exporter": "python",
10341034
"pygments_lexer": "ipython3",
1035-
"version": "3.12.10"
1035+
"version": "3.12.11"
10361036
},
10371037
"toc-autonumbering": false
10381038
},

DP0.2/01_Introduction_to_DP02.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\"> \n",
1111
"<br><b>Introduction to Jupyter Notebooks for Data Preview 0.2</b> <br>\n",
1212
"Contact author: Melissa Graham <br>\n",
13-
"Last verified to run: 2025-04-30 <br>\n",
14-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
13+
"Last verified to run: 2025-06-20 <br>\n",
14+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1515
"Container size: medium <br>\n",
1616
"Targeted learning level: beginner <br>"
1717
]
@@ -1024,7 +1024,7 @@
10241024
"name": "python",
10251025
"nbconvert_exporter": "python",
10261026
"pygments_lexer": "ipython3",
1027-
"version": "3.12.10"
1027+
"version": "3.12.11"
10281028
},
10291029
"toc-autonumbering": false
10301030
},

DP0.2/02a_Introduction_to_TAP.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\"> \n",
1010
"<br>\n",
1111
"Contact authors: Leanne Guy, Melissa Graham <br>\n",
12-
"Last verified to run: 2025-04-30 <br>\n",
13-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
12+
"Last verified to run: 2025-06-20 <br>\n",
13+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1414
"Container Size: medium <br>\n",
1515
"Targeted learning level: beginner <br>"
1616
]
@@ -1697,7 +1697,7 @@
16971697
"name": "python",
16981698
"nbconvert_exporter": "python",
16991699
"pygments_lexer": "ipython3",
1700-
"version": "3.12.10"
1700+
"version": "3.12.11"
17011701
}
17021702
},
17031703
"nbformat": 4,

DP0.2/02b_Catalog_Queries_with_TAP.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\">\n",
1010
"<br>\n",
1111
"Contact authors: Leanne Guy and Melissa Graham <br>\n",
12-
"Last verified to run: 2025-04-30 <br>\n",
13-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
12+
"Last verified to run: 2025-06-20 <br>\n",
13+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1414
"Container Size: medium <br>\n",
1515
"Targeted learning level: intermediate <br>"
1616
]
@@ -2012,7 +2012,7 @@
20122012
"name": "python",
20132013
"nbconvert_exporter": "python",
20142014
"pygments_lexer": "ipython3",
2015-
"version": "3.12.10"
2015+
"version": "3.12.11"
20162016
}
20172017
},
20182018
"nbformat": 4,

DP0.2/02c_Image_Queries_with_TAP.ipynb

Lines changed: 30 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\" alt=\"Rubin Observatory logo, a graphical representation of turning stars into data.\">\n",
1111
"<br>\n",
1212
"Contact author: Melissa Graham <br>\n",
13-
"Last verified to run: 2025-04-30 <br>\n",
14-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
13+
"Last verified to run: 2025-06-20 <br>\n",
14+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1515
"Container Size: medium <br>\n",
1616
"Targeted learning level: intermediate <br>"
1717
]
@@ -91,6 +91,9 @@
9191
"[Portal](https://rsp.lsst.io/guides/portal/index.html)\n",
9292
"and [API](https://rsp.lsst.io/guides/api/index.html) Aspects of\n",
9393
"the Rubin Science Platform.\n",
94+
"It is an IVOA-standards-compliant interface that is based on\n",
95+
"the ObsCore and DataLink standards that are used for this purpose\n",
96+
"by many other astronomical archives.\n",
9497
"\n",
9598
"This tutorial demonstrates how to discover the existence of image\n",
9699
"data with the TAP service (Section 2),\n",
@@ -99,7 +102,11 @@
99102
"It also demonstrates how to display the full retrieved images with `matplotlib`,\n",
100103
"`afwDisplay`, and `Firefly`.\n",
101104
"Techniques for image display and manipulation, and the creation of image cutouts,\n",
102-
"are covered in [other DP0.2 tutorials](https://dp0-2.lsst.io/tutorials-examples/index.html)."
105+
"are covered in [other DP0.2 tutorials](https://dp0-2.lsst.io/tutorials-examples/index.html).\n",
106+
"\n",
107+
"**Note:** The TAP service does not support the ADQL `INTERSECTS` operator,\n",
108+
"which means that other means are necessary to query for iamges that overlap \n",
109+
"a stated region."
103110
]
104111
},
105112
{
@@ -354,8 +361,12 @@
354361
"source": [
355362
"The fact that catalogs are available with `schema_name` = `dp02_dc2_catalogs` is pretty clear in the above table.\n",
356363
"\n",
357-
"Although it is not clear, DP0 images are stored in `ObsTAP`, with `schema_name` = `ivoa`.\n",
358-
"This will be clarified for future data releases."
364+
"In general, the IVOA standard for image data access through a TAP service\n",
365+
"puts the image metadata in a table `ivoa.ObsCore`, i.e., in the `ivoa` schema.\n",
366+
"This is called an `ObsTAP` service.\n",
367+
"However, for DP0.2, to distinguish this simulated data from real LSST data,\n",
368+
"we have moved the DP0.2 ObsCore table to be in the same schema with the\n",
369+
"DP0.2 catalogs, i.e., to `dp02_dc2_catalogs.ObsCore`."
359370
]
360371
},
361372
{
@@ -368,58 +379,14 @@
368379
"del query, results"
369380
]
370381
},
371-
{
372-
"cell_type": "markdown",
373-
"id": "8463597f-8c70-479e-8187-9cbd046db21c",
374-
"metadata": {},
375-
"source": [
376-
"### 2.1. The IVOA schema\n",
377-
"\n",
378-
"IVOA stands for [International Virtual Observatory Alliance](https://ivoa.net/), and they work towards defining standards\n",
379-
"for astronomical data storage that enable wide data sharing.\n",
380-
"The LSST Science Pipelines use IVOA standards.\n",
381-
"\n",
382-
"Retrieve all of the tables available in the `ivoa` schema and display them as a pandas table."
383-
]
384-
},
385-
{
386-
"cell_type": "code",
387-
"execution_count": null,
388-
"id": "951f4ae4-c0d4-4064-b10a-e2f1f8add499",
389-
"metadata": {},
390-
"outputs": [],
391-
"source": [
392-
"query = \"SELECT * \" \\\n",
393-
" \"FROM tap_schema.tables \" \\\n",
394-
" \"WHERE tap_schema.tables.schema_name = 'ivoa'\"\n",
395-
"results = service.search(query)\n",
396-
"results.to_table().to_pandas()"
397-
]
398-
},
399-
{
400-
"cell_type": "markdown",
401-
"id": "35361f18-579a-40cc-8caf-af28201869a3",
402-
"metadata": {},
403-
"source": [
404-
"There is only one `ivoa` table available for DP0: `ObsCore`."
405-
]
406-
},
407-
{
408-
"cell_type": "code",
409-
"execution_count": null,
410-
"id": "5738f062-0e63-43a4-a43e-e8032b4e2e59",
411-
"metadata": {},
412-
"outputs": [],
413-
"source": [
414-
"del query, results"
415-
]
416-
},
417382
{
418383
"cell_type": "markdown",
419384
"id": "16d98269-9dba-468f-84dc-8c0548926728",
420385
"metadata": {},
421386
"source": [
422-
"### 2.2. The ObsCore table\n",
387+
"### 2.1. The ObsCore table\n",
388+
"\n",
389+
"The `ObsCore` table schema conforms to the IVOA ([International Virtual Observatory Alliance](https://ivoa.net/)) standards.\n",
423390
"\n",
424391
"The LSST `ObsCore` table is essentially a view into the images\n",
425392
"stored in the LSST's [data butler](https://pipelines.lsst.io/modules/lsst.daf.butler/index.html) registry (e.g., [DMTN-236](https://dmtn-236.lsst.io/)).\n",
@@ -440,7 +407,7 @@
440407
"source": [
441408
"query = \"SELECT column_name, datatype, description, unit \" \\\n",
442409
" \"FROM tap_schema.columns \" \\\n",
443-
" \"WHERE table_name = 'ivoa.ObsCore'\"\n",
410+
" \"WHERE table_name = 'dp02_dc2_catalogs.ObsCore'\"\n",
444411
"results = service.search(query)\n",
445412
"results.to_table().to_pandas()"
446413
]
@@ -483,7 +450,7 @@
483450
"metadata": {},
484451
"outputs": [],
485452
"source": [
486-
"query = \"SELECT * FROM ivoa.ObsCore \"\\\n",
453+
"query = \"SELECT * FROM dp02_dc2_catalogs.ObsCore \"\\\n",
487454
" \"WHERE CONTAINS(POINT('ICRS', \" + target_str_ra + \\\n",
488455
" \", \" + target_str_dec + \"), s_region) = 1\"\n",
489456
"print(query)"
@@ -737,7 +704,12 @@
737704
"\n",
738705
"This becomes evident by printing the unqiue `calib_level` values\n",
739706
"for each of the `dataproduct_subtype` values in turn, as done\n",
740-
"in the following cell."
707+
"in the following cell. \n",
708+
"\n",
709+
"(Note: These values have been set based on the project's application \n",
710+
"of the ObsCore specification for the meaning of this column to \n",
711+
"the actual LSST data model; we acknowledge that the results are \n",
712+
"not all that intuitively useful.)"
741713
]
742714
},
743715
{
@@ -1196,7 +1168,7 @@
11961168
"metadata": {},
11971169
"outputs": [],
11981170
"source": [
1199-
"query = \"SELECT * FROM ivoa.ObsCore \"\\\n",
1171+
"query = \"SELECT * FROM dp02_dc2_catalogs.ObsCore \"\\\n",
12001172
" \"WHERE CONTAINS(POINT('ICRS', \" + \\\n",
12011173
" target_str_ra + \", \" + target_str_dec + \"), s_region) = 1 \"\\\n",
12021174
" \"AND lsst_band = 'i' \"\\\n",
@@ -1901,7 +1873,7 @@
19011873
"metadata": {},
19021874
"outputs": [],
19031875
"source": [
1904-
"query = \"SELECT * FROM ivoa.ObsCore \"\\\n",
1876+
"query = \"SELECT * FROM dp02_dc2_catalogs.ObsCore \"\\\n",
19051877
" \"WHERE CONTAINS(POINT('ICRS', \" + \\\n",
19061878
" target_str_ra + \", \" + target_str_dec + \"), s_region) = 1 \"\\\n",
19071879
" \"AND lsst_band = 'i' \"\\\n",
@@ -2133,7 +2105,7 @@
21332105
"name": "python",
21342106
"nbconvert_exporter": "python",
21352107
"pygments_lexer": "ipython3",
2136-
"version": "3.12.10"
2108+
"version": "3.12.11"
21372109
}
21382110
},
21392111
"nbformat": 4,

DP0.2/03a_Image_Display_and_Manipulation.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\"> \n",
1010
"<br>\n",
1111
"Contact authors: Alex Drlica-Wagner, Jeff Carlin <br>\n",
12-
"Last verified to run: 2025-04-30 <br>\n",
13-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
12+
"Last verified to run: 2025-06-20 <br>\n",
13+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1414
"Container Size: medium <br>\n",
1515
"Targeted learning level: beginner <br>"
1616
]
@@ -1464,7 +1464,7 @@
14641464
"name": "python",
14651465
"nbconvert_exporter": "python",
14661466
"pygments_lexer": "ipython3",
1467-
"version": "3.12.10"
1467+
"version": "3.12.11"
14681468
},
14691469
"livereveal": {
14701470
"scroll": true,

DP0.2/03b_Image_Display_with_Firefly.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\"> \n",
1010
"<br>\n",
1111
"Contact author: Jeff Carlin<br>\n",
12-
"Last verified to run: 2025-04-30 <br>\n",
13-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
12+
"Last verified to run: 2025-06-20 <br>\n",
13+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1414
"Container Size: medium <br>\n",
1515
"Targeted learning level: beginner <br>"
1616
]
@@ -868,7 +868,7 @@
868868
"name": "python",
869869
"nbconvert_exporter": "python",
870870
"pygments_lexer": "ipython3",
871-
"version": "3.12.10"
871+
"version": "3.12.11"
872872
}
873873
},
874874
"nbformat": 4,

DP0.2/03c_Big_deepCoadd_Cutout.ipynb

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\" alt=\"Rubin Observatory logo, a graphical representation of turning stars into data.\">\n",
1111
"<br>\n",
1212
"Contact authors: Christina Williams, Melissa Graham <br>\n",
13-
"Last verified to run: 2025-04-30 <br>\n",
14-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
13+
"Last verified to run: 2025-06-20 <br>\n",
14+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1515
"Container Size: Large <br>\n",
1616
"Targeted learning level: Intermediate <br>"
1717
]
@@ -911,7 +911,7 @@
911911
"metadata": {},
912912
"outputs": [],
913913
"source": [
914-
"newimage = getTemplateTask.run(coaddExposureHandles=results.coaddExposures, \n",
914+
"newimage = getTemplateTask.run(coaddExposures=results.coaddExposures, \n",
915915
" bbox=newimage_bbox,\n",
916916
" wcs=newWCS, dataIds=results.dataIds,\n",
917917
" physical_filter='r_sim_1.4')"
@@ -1339,6 +1339,14 @@
13391339
"source": [
13401340
"> Figure 6: A heatmap showing the difference in PSF size between the anchor image and the new image, only for the area of the new image to which the anchor image contributed. The colorbar ranges from 0.12% (purple) to 0.26% (red). The difference in PSF size varies smoothly in the left half, where the new image is composed just from the anchor image. However, the difference in PSF size varies randomly in the right half, where the new image is composed of pixel data from both the anchor image and an adjacent image."
13411341
]
1342+
},
1343+
{
1344+
"cell_type": "code",
1345+
"execution_count": null,
1346+
"id": "89503db6-ecaa-4819-bf94-9e4019535350",
1347+
"metadata": {},
1348+
"outputs": [],
1349+
"source": []
13421350
}
13431351
],
13441352
"metadata": {
@@ -1357,7 +1365,7 @@
13571365
"name": "python",
13581366
"nbconvert_exporter": "python",
13591367
"pygments_lexer": "ipython3",
1360-
"version": "3.12.10"
1368+
"version": "3.12.11"
13611369
}
13621370
},
13631371
"nbformat": 4,

DP0.2/04a_Introduction_to_the_Butler.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\" alt=\"Rubin Observatory logo, a graphical representation of turning stars into data.\">\n",
1010
"<br>\n",
1111
"Contact author(s): Alex Drlica-Wagner <br>\n",
12-
"Last verified to run: 2025-04-30 <br>\n",
13-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
12+
"Last verified to run: 2025-06-20 <br>\n",
13+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1414
"Container Size: large <br>\n",
1515
"Targeted learning level: beginner <br>"
1616
]
@@ -809,7 +809,7 @@
809809
"name": "python",
810810
"nbconvert_exporter": "python",
811811
"pygments_lexer": "ipython3",
812-
"version": "3.12.10"
812+
"version": "3.12.11"
813813
}
814814
},
815815
"nbformat": 4,

DP0.2/04b_Intermediate_Butler_Queries.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\" alt=\"Rubin Observatory logo, a graphical representation of turning stars into data.\">\n",
1010
"<br>\n",
1111
"Contact author(s): Alex Drlica-Wagner, Melissa Graham <br>\n",
12-
"Last verified to run: 2025-04-30 <br>\n",
13-
"LSST Science Pipelines version: Weekly 2025_17 <br>\n",
12+
"Last verified to run: 2025-06-20 <br>\n",
13+
"LSST Science Pipelines version: Release r29.1.0 <br>\n",
1414
"Container Size: medium <br>\n",
1515
"Targeted learning level: intermediate <br>"
1616
]
@@ -1540,7 +1540,7 @@
15401540
"name": "python",
15411541
"nbconvert_exporter": "python",
15421542
"pygments_lexer": "ipython3",
1543-
"version": "3.12.10"
1543+
"version": "3.12.11"
15441544
}
15451545
},
15461546
"nbformat": 4,

0 commit comments

Comments
 (0)