Skip to content

Commit

Permalink
Add existing file
Browse files Browse the repository at this point in the history
  • Loading branch information
abudlong committed Sep 20, 2024
1 parent e966ba0 commit 2b89f2c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions notebooks/DM-45218-Refactoring-diaPipe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,29 @@
"Notebook comparing original diaPipe to refactored diaPipe which includes five new methods and timings. <br> <br>\n",
"\n",
"Contact author: Audrey Budlong <br>\n",
"Last verified to run: 19 September 2024 <br>\n",
"Last verified to run: 20 September 2024 <br>\n",
"LSST Science Pipelines version: <code>d_2024_09_11</code> <br>\n",
"Additional notes: run with a local ap_verfify run of <code>ap_verify_ci_hits2015</code> <br>"
]
},
{
"cell_type": "markdown",
"id": "8cec7742-1684-4163-9d9c-30db3617d1fd",
"id": "c790ad25-2455-46d5-8cdf-a5261e187bd0",
"metadata": {},
"source": [
"## Run details\n",
"\n",
"Baseline run used <code>d_2024_09_11</code>."
"Baseline run using <code>d_2024_09_11</code>. \n",
"\n",
"This notebook is used to confim that the object association was unaffected during the diaPipe refactor. There is a problem when using the automated version of <code>ap_verify</code>, so a manual check of running `loadDiaCatalogs` through `diaPipe` was required. Sample code to conduct the manual check in the terminal is as follows:\n",
"\n",
"1. Within the desired run directory, create an empty database for association<br>\n",
"`apdb-cli create-sql sqlite:////Users/audrey/Documents/LSST/code/ap_verify-runs/DECam/d_2024_09_11/apdb_manual.sqlite3 apdb_manual_config.py`\n",
"\n",
"2. Create an `association.yaml` file that includes the path to the `ApVerify.yaml` file for the desired dataset as well as `getRegionTimeFromVisit`, `loadDiaCatalogs`, and `diaPipe` for `pipetask run` commands <br>\n",
"\n",
"3. Manually run `loadDiaCatalogs` through `diaPipe` to check association for each visit and detector (in increasing numerical order) <br>\n",
"`pipetask run -p /Users/audrey/Documents/LSST/code/ap_verify-runs/DECam/association.yaml --data-query \"visit IN (411371) AND detector IN (56)\" -b repo/butler.yaml -i ap_verify-output -o manual -c parameters:apdb_config=/Users/audrey/Documents/LSST/code/ap_verify-runs/DECam/d_2024_09_11/apdb_manual_config.py`\n"
]
},
{
Expand Down

0 comments on commit 2b89f2c

Please sign in to comment.