Skip to content

Commit

Permalink
Add @force_zoneid_calculation variable and use dynamic zone height.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaghiza committed Nov 20, 2023
1 parent 1818aaf commit c3fcab1
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 142 deletions.
202 changes: 101 additions & 101 deletions demo/SQLxMatch_CasJobs_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@
"id": "556ced78-8c2f-4e11-988f-d95c892ca965",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:04.102718Z",
"iopub.status.busy": "2023-11-17T17:36:04.102114Z",
"iopub.status.idle": "2023-11-17T17:36:05.125328Z",
"shell.execute_reply": "2023-11-17T17:36:05.123187Z",
"shell.execute_reply.started": "2023-11-17T17:36:04.102566Z"
"iopub.execute_input": "2023-11-20T16:17:01.887813Z",
"iopub.status.busy": "2023-11-20T16:17:01.887325Z",
"iopub.status.idle": "2023-11-20T16:17:03.172494Z",
"shell.execute_reply": "2023-11-20T16:17:03.170820Z",
"shell.execute_reply.started": "2023-11-20T16:17:01.887686Z"
},
"tags": []
},
Expand Down Expand Up @@ -136,11 +136,11 @@
"id": "ead71a6c-c121-479e-a4d3-6d7b41e9af89",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:05.128806Z",
"iopub.status.busy": "2023-11-17T17:36:05.128289Z",
"iopub.status.idle": "2023-11-17T17:36:06.826945Z",
"shell.execute_reply": "2023-11-17T17:36:06.825162Z",
"shell.execute_reply.started": "2023-11-17T17:36:05.128751Z"
"iopub.execute_input": "2023-11-20T16:17:03.174799Z",
"iopub.status.busy": "2023-11-20T16:17:03.174334Z",
"iopub.status.idle": "2023-11-20T16:17:05.278111Z",
"shell.execute_reply": "2023-11-20T16:17:05.275851Z",
"shell.execute_reply.started": "2023-11-20T16:17:03.174737Z"
},
"tags": []
},
Expand Down Expand Up @@ -325,11 +325,11 @@
"id": "5be240a8-716b-4b38-aefd-45a61ff3d9e0",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:06.832406Z",
"iopub.status.busy": "2023-11-17T17:36:06.832000Z",
"iopub.status.idle": "2023-11-17T17:36:08.599315Z",
"shell.execute_reply": "2023-11-17T17:36:08.597605Z",
"shell.execute_reply.started": "2023-11-17T17:36:06.832336Z"
"iopub.execute_input": "2023-11-20T16:17:05.283404Z",
"iopub.status.busy": "2023-11-20T16:17:05.282964Z",
"iopub.status.idle": "2023-11-20T16:17:07.219971Z",
"shell.execute_reply": "2023-11-20T16:17:07.218179Z",
"shell.execute_reply.started": "2023-11-20T16:17:05.283357Z"
},
"tags": []
},
Expand Down Expand Up @@ -418,11 +418,11 @@
"id": "bd484de1-c066-499e-bdb3-141d8b0b087b",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:08.601840Z",
"iopub.status.busy": "2023-11-17T17:36:08.601390Z",
"iopub.status.idle": "2023-11-17T17:36:10.458256Z",
"shell.execute_reply": "2023-11-17T17:36:10.456486Z",
"shell.execute_reply.started": "2023-11-17T17:36:08.601790Z"
"iopub.execute_input": "2023-11-20T16:17:07.222591Z",
"iopub.status.busy": "2023-11-20T16:17:07.222166Z",
"iopub.status.idle": "2023-11-20T16:17:09.023439Z",
"shell.execute_reply": "2023-11-20T16:17:09.021576Z",
"shell.execute_reply.started": "2023-11-20T16:17:07.222543Z"
},
"tags": []
},
Expand Down Expand Up @@ -726,11 +726,11 @@
"id": "fa28b430-8353-4ddc-99be-07f1f4288a8e",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:10.460832Z",
"iopub.status.busy": "2023-11-17T17:36:10.460374Z",
"iopub.status.idle": "2023-11-17T17:36:10.468721Z",
"shell.execute_reply": "2023-11-17T17:36:10.467134Z",
"shell.execute_reply.started": "2023-11-17T17:36:10.460783Z"
"iopub.execute_input": "2023-11-20T16:17:09.026009Z",
"iopub.status.busy": "2023-11-20T16:17:09.025590Z",
"iopub.status.idle": "2023-11-20T16:17:09.034992Z",
"shell.execute_reply": "2023-11-20T16:17:09.033243Z",
"shell.execute_reply.started": "2023-11-20T16:17:09.025962Z"
},
"tags": []
},
Expand Down Expand Up @@ -763,11 +763,11 @@
"id": "7816e30a-0190-41bd-b38e-cde897a15faa",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:10.470812Z",
"iopub.status.busy": "2023-11-17T17:36:10.470393Z",
"iopub.status.idle": "2023-11-17T17:36:17.020050Z",
"shell.execute_reply": "2023-11-17T17:36:17.018116Z",
"shell.execute_reply.started": "2023-11-17T17:36:10.470766Z"
"iopub.execute_input": "2023-11-20T16:17:09.037525Z",
"iopub.status.busy": "2023-11-20T16:17:09.037103Z",
"iopub.status.idle": "2023-11-20T16:17:23.787872Z",
"shell.execute_reply": "2023-11-20T16:17:23.785807Z",
"shell.execute_reply.started": "2023-11-20T16:17:09.037441Z"
},
"tags": []
},
Expand All @@ -776,9 +776,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"There are 97 matches.\n",
"CPU times: user 29.8 ms, sys: 2.27 ms, total: 32.1 ms\n",
"Wall time: 6.52 s\n"
"There are 322 matches.\n",
"CPU times: user 39.9 ms, sys: 12.8 ms, total: 52.7 ms\n",
"Wall time: 14.7 s\n"
]
},
{
Expand Down Expand Up @@ -810,33 +810,33 @@
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>227306</td>\n",
" <td>3422788</td>\n",
" <td>0.477101</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>125607</td>\n",
" <td>3251473</td>\n",
" <td>0.881630</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <th>2</th>\n",
" <td>217378</td>\n",
" <td>3393112</td>\n",
" <td>0.566069</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>170663</td>\n",
" <td>3122486</td>\n",
" <td>0.681755</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>27009</td>\n",
" <td>3096636</td>\n",
" <td>0.563840</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>135385</td>\n",
" <td>3268209</td>\n",
" <td>0.771273</td>\n",
" <td>47266</td>\n",
" <td>3157878</td>\n",
" <td>0.367530</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
Expand All @@ -845,55 +845,55 @@
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>92</th>\n",
" <td>95744</td>\n",
" <td>3074376</td>\n",
" <td>0.352167</td>\n",
" <th>317</th>\n",
" <td>52332</td>\n",
" <td>3102385</td>\n",
" <td>0.921499</td>\n",
" </tr>\n",
" <tr>\n",
" <th>93</th>\n",
" <td>121214</td>\n",
" <td>3231044</td>\n",
" <td>0.205401</td>\n",
" <th>318</th>\n",
" <td>231267</td>\n",
" <td>3412905</td>\n",
" <td>0.299032</td>\n",
" </tr>\n",
" <tr>\n",
" <th>94</th>\n",
" <td>33112</td>\n",
" <td>3137825</td>\n",
" <td>0.621349</td>\n",
" <th>319</th>\n",
" <td>246626</td>\n",
" <td>3334176</td>\n",
" <td>0.864992</td>\n",
" </tr>\n",
" <tr>\n",
" <th>95</th>\n",
" <td>92458</td>\n",
" <td>3207524</td>\n",
" <td>0.741632</td>\n",
" <th>320</th>\n",
" <td>93038</td>\n",
" <td>3225652</td>\n",
" <td>0.986286</td>\n",
" </tr>\n",
" <tr>\n",
" <th>96</th>\n",
" <td>108160</td>\n",
" <td>3231002</td>\n",
" <td>0.428036</td>\n",
" <th>321</th>\n",
" <td>125092</td>\n",
" <td>3169549</td>\n",
" <td>0.555477</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>97 rows × 3 columns</p>\n",
"<p>322 rows × 3 columns</p>\n",
"</div>"
],
"text/plain": [
" id1 id2 sep\n",
"0 125607 3251473 0.881630\n",
"1 217378 3393112 0.566069\n",
"2 170663 3122486 0.681755\n",
"3 27009 3096636 0.563840\n",
"4 135385 3268209 0.771273\n",
".. ... ... ...\n",
"92 95744 3074376 0.352167\n",
"93 121214 3231044 0.205401\n",
"94 33112 3137825 0.621349\n",
"95 92458 3207524 0.741632\n",
"96 108160 3231002 0.428036\n",
" id1 id2 sep\n",
"0 227306 3422788 0.477101\n",
"1 125607 3251473 0.881630\n",
"2 217378 3393112 0.566069\n",
"3 27009 3096636 0.563840\n",
"4 47266 3157878 0.367530\n",
".. ... ... ...\n",
"317 52332 3102385 0.921499\n",
"318 231267 3412905 0.299032\n",
"319 246626 3334176 0.864992\n",
"320 93038 3225652 0.986286\n",
"321 125092 3169549 0.555477\n",
"\n",
"[97 rows x 3 columns]"
"[322 rows x 3 columns]"
]
},
"execution_count": 6,
Expand Down Expand Up @@ -937,11 +937,11 @@
"id": "6db61e21-b49a-4ea1-83e7-18f372d7acb8",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:17.022509Z",
"iopub.status.busy": "2023-11-17T17:36:17.022058Z",
"iopub.status.idle": "2023-11-17T17:36:25.781444Z",
"shell.execute_reply": "2023-11-17T17:36:25.779510Z",
"shell.execute_reply.started": "2023-11-17T17:36:17.022418Z"
"iopub.execute_input": "2023-11-20T16:17:23.790723Z",
"iopub.status.busy": "2023-11-20T16:17:23.790222Z",
"iopub.status.idle": "2023-11-20T16:17:28.429841Z",
"shell.execute_reply": "2023-11-20T16:17:28.427860Z",
"shell.execute_reply.started": "2023-11-20T16:17:23.790673Z"
},
"tags": []
},
Expand All @@ -951,8 +951,8 @@
"output_type": "stream",
"text": [
"There are 14482 matches.\n",
"CPU times: user 145 ms, sys: 57.4 ms, total: 202 ms\n",
"Wall time: 8.72 s\n"
"CPU times: user 169 ms, sys: 69.1 ms, total: 238 ms\n",
"Wall time: 4.6 s\n"
]
},
{
Expand Down Expand Up @@ -1193,11 +1193,11 @@
"id": "85ee81f3-4a05-4db2-a191-26e3b16bf925",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:25.784040Z",
"iopub.status.busy": "2023-11-17T17:36:25.783641Z",
"iopub.status.idle": "2023-11-17T17:36:27.475685Z",
"shell.execute_reply": "2023-11-17T17:36:27.473606Z",
"shell.execute_reply.started": "2023-11-17T17:36:25.783989Z"
"iopub.execute_input": "2023-11-20T16:17:28.432397Z",
"iopub.status.busy": "2023-11-20T16:17:28.432016Z",
"iopub.status.idle": "2023-11-20T16:17:30.113352Z",
"shell.execute_reply": "2023-11-20T16:17:30.111913Z",
"shell.execute_reply.started": "2023-11-20T16:17:28.432351Z"
},
"tags": []
},
Expand Down Expand Up @@ -1229,11 +1229,11 @@
"id": "7597e6c7-5293-49cd-be7c-1b4875f14ea7",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:27.478255Z",
"iopub.status.busy": "2023-11-17T17:36:27.477869Z",
"iopub.status.idle": "2023-11-17T17:36:44.297308Z",
"shell.execute_reply": "2023-11-17T17:36:44.294953Z",
"shell.execute_reply.started": "2023-11-17T17:36:27.478205Z"
"iopub.execute_input": "2023-11-20T16:17:30.116194Z",
"iopub.status.busy": "2023-11-20T16:17:30.115793Z",
"iopub.status.idle": "2023-11-20T16:17:52.383378Z",
"shell.execute_reply": "2023-11-20T16:17:52.381207Z",
"shell.execute_reply.started": "2023-11-20T16:17:30.116148Z"
},
"tags": []
},
Expand All @@ -1243,8 +1243,8 @@
"output_type": "stream",
"text": [
"Job Message: Query Complete\n",
"CPU times: user 136 ms, sys: 19.8 ms, total: 156 ms\n",
"Wall time: 16.8 s\n"
"CPU times: user 162 ms, sys: 15.2 ms, total: 178 ms\n",
"Wall time: 22.3 s\n"
]
}
],
Expand Down Expand Up @@ -1291,11 +1291,11 @@
"id": "2843127a-f8fd-4596-b514-973a85b43e42",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-17T17:36:44.300412Z",
"iopub.status.busy": "2023-11-17T17:36:44.299961Z",
"iopub.status.idle": "2023-11-17T17:36:46.684560Z",
"shell.execute_reply": "2023-11-17T17:36:46.682578Z",
"shell.execute_reply.started": "2023-11-17T17:36:44.300337Z"
"iopub.execute_input": "2023-11-20T16:17:52.386137Z",
"iopub.status.busy": "2023-11-20T16:17:52.385703Z",
"iopub.status.idle": "2023-11-20T16:17:55.049147Z",
"shell.execute_reply": "2023-11-20T16:17:55.047208Z",
"shell.execute_reply.started": "2023-11-20T16:17:52.386089Z"
},
"tags": []
},
Expand Down
Loading

0 comments on commit c3fcab1

Please sign in to comment.