Skip to content

Commit 723b708

Browse files
authored
Merge pull request spacetelescope#456 from Stargrazer82301/main
Small tweak to avoid deprecation issue for Space-Track API
2 parents ab459a8 + 42eb366 commit 723b708

1 file changed

Lines changed: 27 additions & 17 deletions

File tree

notebooks/ACS/hst_orbits_ephem/hst_orbits_ephem.ipynb

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
"cell_type": "code",
67-
"execution_count": 41,
67+
"execution_count": 1,
6868
"id": "855bf1fb-9d02-42db-89aa-8c273c66d2bc",
6969
"metadata": {
7070
"execution": {
@@ -121,7 +121,7 @@
121121
},
122122
{
123123
"cell_type": "code",
124-
"execution_count": 42,
124+
"execution_count": 2,
125125
"id": "d46241b1-3ea3-4647-a0a5-6f20d8815d1b",
126126
"metadata": {
127127
"execution": {
@@ -177,7 +177,7 @@
177177
},
178178
{
179179
"cell_type": "code",
180-
"execution_count": 43,
180+
"execution_count": 3,
181181
"id": "100b0adc-80e9-4a1b-a66f-fe25e5640d45",
182182
"metadata": {
183183
"execution": {
@@ -229,7 +229,7 @@
229229
},
230230
{
231231
"cell_type": "code",
232-
"execution_count": 44,
232+
"execution_count": 4,
233233
"id": "7fc80bac-3a22-4063-8826-c57386eaf5b1",
234234
"metadata": {
235235
"execution": {
@@ -282,7 +282,7 @@
282282
},
283283
{
284284
"cell_type": "code",
285-
"execution_count": 45,
285+
"execution_count": 5,
286286
"id": "d79a13e7-c604-480c-8ffa-c7b8c7df95d9",
287287
"metadata": {
288288
"execution": {
@@ -314,7 +314,7 @@
314314
},
315315
{
316316
"cell_type": "code",
317-
"execution_count": 46,
317+
"execution_count": 6,
318318
"id": "dc542c7e-16b1-4516-8c16-188f7a007c31",
319319
"metadata": {
320320
"execution": {
@@ -360,14 +360,14 @@
360360
"source": [
361361
"With all this date & time info ready, we can now use the USSPACECOM data to work out exactly where HST was during this exposure.\n",
362362
"\n",
363-
"The data provided by USSPACECOM comes in the form of 'Two Line Elements', or TLEs. A table of TLEs for HST complete up until early November 2025 is provided with this notebook, called `HST_TLEs.dat`. If you need data that extend to later dates, the official USSPACECOM TLE tables can be retrieved from `https://www.space-track.org/basicspacedata/query/class/tle_publish/NORAD_CAT_ID/20580/format/tle`.\n",
363+
"The data provided by USSPACECOM comes in the form of 'Two Line Elements', or TLEs. A table of TLEs for HST complete up until early November 2025 is provided with this notebook, called `HST_TLEs.dat`. If you need data that extend to later dates, the official USSPACECOM TLE tables can be retrieved from `https://www.space-track.org/basicspacedata/query/class/gp_history/NORAD_CAT_ID/20580/format/tle`.\n",
364364
"\n",
365365
"With that data in-hand, we can now use the skyfield package to read in the TLE table."
366366
]
367367
},
368368
{
369369
"cell_type": "code",
370-
"execution_count": 47,
370+
"execution_count": 7,
371371
"id": "9d5fb64e-38c4-4d57-96e4-0f30feaf57ff",
372372
"metadata": {
373373
"execution": {
@@ -406,7 +406,7 @@
406406
},
407407
{
408408
"cell_type": "code",
409-
"execution_count": 48,
409+
"execution_count": 8,
410410
"id": "abd604af-246a-44e2-a26c-dd6d352ef4b4",
411411
"metadata": {
412412
"execution": {
@@ -460,7 +460,7 @@
460460
},
461461
{
462462
"cell_type": "code",
463-
"execution_count": 49,
463+
"execution_count": 9,
464464
"id": "d49ba667-a982-4c6b-9cf4-5fed98eb4445",
465465
"metadata": {
466466
"execution": {
@@ -501,7 +501,7 @@
501501
},
502502
{
503503
"cell_type": "code",
504-
"execution_count": 50,
504+
"execution_count": 10,
505505
"id": "e01d1f66",
506506
"metadata": {},
507507
"outputs": [
@@ -543,7 +543,7 @@
543543
},
544544
{
545545
"cell_type": "code",
546-
"execution_count": 51,
546+
"execution_count": 11,
547547
"id": "80ae58b5-04e3-40d2-94c5-ec20189a809c",
548548
"metadata": {
549549
"execution": {
@@ -590,7 +590,7 @@
590590
},
591591
{
592592
"cell_type": "code",
593-
"execution_count": 52,
593+
"execution_count": 12,
594594
"id": "298dac87-62e2-45b2-ab63-b4611198a526",
595595
"metadata": {
596596
"execution": {
@@ -630,7 +630,7 @@
630630
},
631631
{
632632
"cell_type": "code",
633-
"execution_count": null,
633+
"execution_count": 13,
634634
"id": "58c44fba-4203-4fe7-98b9-aadd733c8d29",
635635
"metadata": {
636636
"execution": {
@@ -678,7 +678,7 @@
678678
},
679679
{
680680
"cell_type": "code",
681-
"execution_count": 54,
681+
"execution_count": 14,
682682
"id": "85263709-f9c6-4712-93ec-79887f61a5c8",
683683
"metadata": {
684684
"execution": {
@@ -716,7 +716,7 @@
716716
"<a id=\"about\"></a>\n",
717717
"## About this Notebook\n",
718718
"**Author:** Chris Clark (ESA/AURA, Space Telescope Science Institute; `cclark@stsci.edu`) <br>\n",
719-
"**Updated On:** 03/28/2025"
719+
"**Updated On:** 12/17/2025"
720720
]
721721
},
722722
{
@@ -744,7 +744,17 @@
744744
"<hr>\n",
745745
"\n",
746746
"[Top of Page](#titleEphemeris)\n",
747-
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/hst_notebooks/main/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\"/> \n"
747+
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/notebooks/master/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\"/> \n",
748+
"<br></br>\n",
749+
"<br></br>"
750+
]
751+
},
752+
{
753+
"cell_type": "markdown",
754+
"id": "837e0c8d",
755+
"metadata": {},
756+
"source": [
757+
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/notebooks/master/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\"/>"
748758
]
749759
}
750760
],

0 commit comments

Comments
 (0)