From 85894c91b9dc497b428be6a37751b291c1388e84 Mon Sep 17 00:00:00 2001 From: Michael Aye Date: Tue, 7 May 2024 13:37:15 +0200 Subject: [PATCH] notebook maintenance --- notebooks/api/01_utils.ipynb | 14 +- notebooks/api/02c_pds.apps.ipynb | 539 +++++++++---------------------- notebooks/api/03_ctx.ipynb | 107 +----- planetarypy/pds/apps.py | 2 +- 4 files changed, 152 insertions(+), 510 deletions(-) diff --git a/notebooks/api/01_utils.ipynb b/notebooks/api/01_utils.ipynb index a72f4f9..5152153 100644 --- a/notebooks/api/01_utils.ipynb +++ b/notebooks/api/01_utils.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "modular-showcase", "metadata": {}, "outputs": [], @@ -765,18 +765,6 @@ "display_name": "plpy", "language": "python", "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.11.8" } }, "nbformat": 4, diff --git a/notebooks/api/02c_pds.apps.ipynb b/notebooks/api/02c_pds.apps.ipynb index 522e1e3..99e9c60 100644 --- a/notebooks/api/02c_pds.apps.ipynb +++ b/notebooks/api/02c_pds.apps.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "e8f09d33-e43c-4b9a-8492-da0e6a28ffc6", "metadata": {}, "outputs": [], @@ -21,7 +21,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "80ef24b0", "metadata": {}, "outputs": [], @@ -32,7 +32,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "e3c7fa76-b3f6-4c65-8eae-c1d998cbdd98", "metadata": {}, "outputs": [], @@ -45,7 +45,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "e258379a-5e22-4302-912e-2787e505e815", "metadata": {}, "outputs": [], @@ -60,7 +60,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "229a3501-d975-4f66-9748-ca5b71e00955", "metadata": {}, "outputs": [ @@ -70,7 +70,7 @@ "['index', 'inventory', 'moon_summary', 'ring_summary', 'saturn_summary']" ] }, - "execution_count": null, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -81,7 +81,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "id": "91049e74-af98-4a4f-bd0d-ec5c52c0c69d", "metadata": {}, "outputs": [ @@ -91,7 +91,7 @@ "['edr']" ] }, - "execution_count": null, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -102,7 +102,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "id": "6ee2bc44-c417-4f11-92c1-d6d0511ab843", "metadata": {}, "outputs": [], @@ -135,7 +135,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "id": "366b958c-2666-43fc-ab95-955c9e13d3c4", "metadata": {}, "outputs": [], @@ -146,7 +146,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 9, "id": "154af2be-1a50-49d6-b268-6551a2c526b5", "metadata": {}, "outputs": [], @@ -156,7 +156,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 10, "id": "c9357e72-f026-4e31-955f-735422bdbd8f", "metadata": {}, "outputs": [ @@ -608,7 +608,7 @@ "[385719 rows x 35 columns]" ] }, - "execution_count": null, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -627,7 +627,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 11, "id": "15c32e19-ba41-4050-9e11-7664589b2178", "metadata": {}, "outputs": [ @@ -868,7 +868,7 @@ "[5 rows x 59 columns]" ] }, - "execution_count": null, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -880,260 +880,7 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "85140f92-491c-4201-860c-9305a18d0e76", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
VOLUME_IDFILE_SPECIFICATION_NAMEOPUS_IDMINIMUM_RIGHT_ASCENSIONMAXIMUM_RIGHT_ASCENSIONMINIMUM_DECLINATIONMAXIMUM_DECLINATIONMINIMUM_RING_RADIUSMAXIMUM_RING_RADIUSFINEST_RING_INTERCEPT_RESOLUTION...RING_CENTER_DISTANCESUB_SOLAR_RING_LONGITUDESUB_OBSERVER_RING_LONGITUDERING_CENTER_PHASE_ANGLERING_CENTER_INCIDENCE_ANGLERING_CENTER_NORTH_BASED_INCIDENCE_ANGLERING_CENTER_EMISSION_ANGLERING_CENTER_NORTH_BASED_EMISSION_ANGLESOLAR_RING_OPENING_ANGLEOBSERVER_RING_OPENING_ANGLE
0COISS_2001data/1454725799_1455008789/N1454725799_1.LBLco-iss-n145472579935.52839835.9055559.71963710.091212205899.3351098621.586419.0137...70874998.947284.523215.95164.0764.589115.41173.676106.324-25.411-16.324
1COISS_2001data/1454725799_1455008789/N1454726579_1.LBLco-iss-n145472657936.66289837.0390389.5901149.960833721136.1551745689.307421.97145...70870851.371284.524215.95164.0764.589115.41173.676106.324-25.411-16.324
2COISS_2001data/1454725799_1455008789/N1454727359_1.LBLco-iss-n145472735936.92806637.3043349.87959310.250111042341.4382186830.92414.79041...70866703.094284.524215.95164.07164.589115.41173.676106.324-25.411-16.324
3COISS_2001data/1454725799_1455008789/N1454728139_1.LBLco-iss-n145472813928.1004228.4796186.2247096.601574-999.0-999.0-999.0...70862557.207284.524215.95164.07164.589115.41173.676106.324-25.411-16.324
4COISS_2001data/1454725799_1455008789/N1454728919_1.LBLco-iss-n145472891937.98141838.35779110.61194710.9816973865717.5893905151.343405.91234...70858406.794284.525215.95164.07164.589115.41173.676106.324-25.411-16.324
\n", - "

5 rows × 59 columns

\n", - "
" - ], - "text/plain": [ - " VOLUME_ID FILE_SPECIFICATION_NAME \\\n", - "0 COISS_2001 data/1454725799_1455008789/N1454725799_1.LBL \n", - "1 COISS_2001 data/1454725799_1455008789/N1454726579_1.LBL \n", - "2 COISS_2001 data/1454725799_1455008789/N1454727359_1.LBL \n", - "3 COISS_2001 data/1454725799_1455008789/N1454728139_1.LBL \n", - "4 COISS_2001 data/1454725799_1455008789/N1454728919_1.LBL \n", - "\n", - " OPUS_ID MINIMUM_RIGHT_ASCENSION MAXIMUM_RIGHT_ASCENSION \\\n", - "0 co-iss-n1454725799 35.528398 35.905555 \n", - "1 co-iss-n1454726579 36.662898 37.039038 \n", - "2 co-iss-n1454727359 36.928066 37.304334 \n", - "3 co-iss-n1454728139 28.10042 28.479618 \n", - "4 co-iss-n1454728919 37.981418 38.357791 \n", - "\n", - " MINIMUM_DECLINATION MAXIMUM_DECLINATION MINIMUM_RING_RADIUS \\\n", - "0 9.719637 10.091212 205899.335 \n", - "1 9.590114 9.960833 721136.155 \n", - "2 9.879593 10.25011 1042341.438 \n", - "3 6.224709 6.601574 -999.0 \n", - "4 10.611947 10.981697 3865717.589 \n", - "\n", - " MAXIMUM_RING_RADIUS FINEST_RING_INTERCEPT_RESOLUTION ... \\\n", - "0 1098621.586 419.0137 ... \n", - "1 1745689.307 421.97145 ... \n", - "2 2186830.92 414.79041 ... \n", - "3 -999.0 -999.0 ... \n", - "4 3905151.343 405.91234 ... \n", - "\n", - " RING_CENTER_DISTANCE SUB_SOLAR_RING_LONGITUDE \\\n", - "0 70874998.947 284.523 \n", - "1 70870851.371 284.524 \n", - "2 70866703.094 284.524 \n", - "3 70862557.207 284.524 \n", - "4 70858406.794 284.525 \n", - "\n", - " SUB_OBSERVER_RING_LONGITUDE RING_CENTER_PHASE_ANGLE \\\n", - "0 215.951 64.07 \n", - "1 215.951 64.07 \n", - "2 215.951 64.071 \n", - "3 215.951 64.071 \n", - "4 215.951 64.071 \n", - "\n", - " RING_CENTER_INCIDENCE_ANGLE RING_CENTER_NORTH_BASED_INCIDENCE_ANGLE \\\n", - "0 64.589 115.411 \n", - "1 64.589 115.411 \n", - "2 64.589 115.411 \n", - "3 64.589 115.411 \n", - "4 64.589 115.411 \n", - "\n", - " RING_CENTER_EMISSION_ANGLE RING_CENTER_NORTH_BASED_EMISSION_ANGLE \\\n", - "0 73.676 106.324 \n", - "1 73.676 106.324 \n", - "2 73.676 106.324 \n", - "3 73.676 106.324 \n", - "4 73.676 106.324 \n", - "\n", - " SOLAR_RING_OPENING_ANGLE OBSERVER_RING_OPENING_ANGLE \n", - "0 -25.411 -16.324 \n", - "1 -25.411 -16.324 \n", - "2 -25.411 -16.324 \n", - "3 -25.411 -16.324 \n", - "4 -25.411 -16.324 \n", - "\n", - "[5 rows x 59 columns]" - ] - }, - "execution_count": null, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "index = get_index(\"cassini.iss.ring_summary\", refresh=False)\n", - "index.head()" - ] - }, - { - "cell_type": "code", - "execution_count": null, + "execution_count": 13, "id": "1541044d-25bc-4bae-9172-04116a88b647", "metadata": {}, "outputs": [ @@ -1327,128 +1074,128 @@ " ...\n", " \n", " \n", - " 138410\n", - " MROX_4461\n", - " DATA/U14_076622_1804_XN_00N105W.IMG\n", - " 4A_04_118404B100\n", - " U14_076622_1804_XN_00N105W\n", - " 2022-11-30 17:29:26.742\n", + " 147009\n", + " MROX_4825\n", + " DATA/U23_080140_1972_XN_17N024W.IMG\n", + " 4A_04_119602D100\n", + " U23_080140_1972_XN_17N024W\n", + " 2023-08-31 20:06:02.042\n", " CTX\n", " NIFL\n", " 5056\n", - " 33792\n", + " 14336\n", " 1\n", " ...\n", - " -5.6\n", - " 105.05\n", - " 0.45\n", - " 228081883.9\n", - " 346.9\n", - " 14.39\n", - " 89.7\n", - " Terrain northwest of Noctis Labyrinthus\n", + " 23.42\n", + " 23.86\n", + " 17.32\n", + " 243001452.0\n", + " 112.39\n", + " 15.54\n", + " 90.1\n", + " Ride-along with HiRISE\n", " OK\n", - " 76622\n", + " 80140\n", " \n", " \n", - " 138411\n", - " MROX_4461\n", - " DATA/U14_076622_2009_XI_20N108W.IMG\n", - " 4A_04_118504B200\n", - " U14_076622_2009_XI_20N108W\n", - " 2022-11-30 17:36:13.062\n", + " 147010\n", + " MROX_4825\n", + " DATA/U23_080140_2621_XN_82N047W.IMG\n", + " 4A_04_119602D200\n", + " U23_080140_2621_XN_82N047W\n", + " 2023-08-31 20:26:46.409\n", " CTX\n", - " ITL\n", + " NIFL\n", " 5056\n", " 7168\n", " 1\n", " ...\n", - " -5.6\n", - " 107.61\n", - " 20.98\n", - " 228082990.5\n", - " 346.9\n", - " 14.3\n", - " 90.1\n", - " Candidate impact site formed at most between M...\n", + " 23.42\n", + " 47.11\n", + " 82.15\n", + " 243000119.7\n", + " 112.4\n", + " 14.33\n", + " 89.9\n", + " Ride-along with HiRISE\n", " OK\n", - " 76622\n", + " 80140\n", " \n", " \n", - " 138412\n", - " MROX_4461\n", - " DATA/U14_076623_1977_XN_17N133W.IMG\n", - " 4A_04_118404B300\n", - " U14_076623_1977_XN_17N133W\n", - " 2022-11-30 19:26:53.410\n", + " 147011\n", + " MROX_4825\n", + " DATA/U23_080141_1718_XN_08S046W.IMG\n", + " 4A_04_119602D300\n", + " U23_080141_1718_XN_08S046W\n", + " 2023-08-31 21:50:19.874\n", " CTX\n", " NIFL\n", " 5056\n", - " 35840\n", + " 12288\n", " 1\n", " ...\n", - " -5.59\n", - " 134.45\n", - " 17.69\n", - " 228097986.1\n", - " 346.94\n", - " 14.37\n", - " 90.1\n", + " 23.42\n", + " 48.05\n", + " -8.43\n", + " 242992745.9\n", + " 112.43\n", + " 15.71\n", + " 90.0\n", " Ride-along with HiRISE\n", " OK\n", - " 76623\n", + " 80141\n", " \n", " \n", - " 138413\n", - " MROX_4461\n", - " DATA/U14_076625_1182_XN_61S177W.IMG\n", - " 4A_04_118404B800\n", - " U14_076625_1182_XN_61S177W\n", - " 2022-11-30 22:46:27.741\n", + " 147012\n", + " MROX_4825\n", + " DATA/U23_080141_2543_XN_74N064W.IMG\n", + " 4A_04_119602D400\n", + " U23_080141_2543_XN_74N064W\n", + " 2023-08-31 22:16:22.257\n", " CTX\n", " NIFL\n", - " 5056\n", - " 52224\n", + " 4000\n", + " 11264\n", " 1\n", " ...\n", - " -5.56\n", - " 177.43\n", - " -61.87\n", - " 228126022.3\n", - " 347.01\n", - " 14.71\n", - " 90.4\n", - " Southern highlands\n", + " 23.42\n", + " 64.19\n", + " 74.38\n", + " 242990081.8\n", + " 112.44\n", + " 14.96\n", + " 89.9\n", + " Aspledon Undae\n", " OK\n", - " 76625\n", + " 80141\n", " \n", " \n", - " 138414\n", - " MROX_4461\n", - " DATA/U14_076625_1714_XN_08S185W.IMG\n", - " 4A_04_118404B900\n", - " U14_076625_1714_XN_08S185W\n", - " 2022-11-30 23:02:50.690\n", + " 147013\n", + " MROX_4825\n", + " DATA/U23_080142_1918_XI_11N078W.IMG\n", + " 4A_04_119702D500\n", + " U23_080142_1918_XI_11N078W\n", + " 2023-08-31 23:48:51.253\n", " CTX\n", - " NIFL\n", + " ITL\n", " 5056\n", - " 52224\n", + " 7168\n", " 1\n", " ...\n", - " -5.55\n", - " 185.83\n", - " -8.75\n", - " 228127015.7\n", - " 347.02\n", - " 14.45\n", - " 90.5\n", - " Ride-along with HiRISE\n", + " 23.41\n", + " 77.83\n", + " 11.86\n", + " 242981578.3\n", + " 112.47\n", + " 15.54\n", + " 90.1\n", + " Candidate impact site formed at most between J...\n", " OK\n", - " 76625\n", + " 80142\n", " \n", " \n", "\n", - "

138415 rows × 51 columns

\n", + "

147014 rows × 51 columns

\n", "" ], "text/plain": [ @@ -1459,11 +1206,11 @@ "3 MROX_0001 DATA/CRU_000004_9999_XN_99N999W.IMG 4A_04_0001000700 \n", "4 MROX_0001 DATA/CRU_000005_9999_XN_99N999W.IMG 4A_04_0001000800 \n", "... ... ... ... \n", - "138410 MROX_4461 DATA/U14_076622_1804_XN_00N105W.IMG 4A_04_118404B100 \n", - "138411 MROX_4461 DATA/U14_076622_2009_XI_20N108W.IMG 4A_04_118504B200 \n", - "138412 MROX_4461 DATA/U14_076623_1977_XN_17N133W.IMG 4A_04_118404B300 \n", - "138413 MROX_4461 DATA/U14_076625_1182_XN_61S177W.IMG 4A_04_118404B800 \n", - "138414 MROX_4461 DATA/U14_076625_1714_XN_08S185W.IMG 4A_04_118404B900 \n", + "147009 MROX_4825 DATA/U23_080140_1972_XN_17N024W.IMG 4A_04_119602D100 \n", + "147010 MROX_4825 DATA/U23_080140_2621_XN_82N047W.IMG 4A_04_119602D200 \n", + "147011 MROX_4825 DATA/U23_080141_1718_XN_08S046W.IMG 4A_04_119602D300 \n", + "147012 MROX_4825 DATA/U23_080141_2543_XN_74N064W.IMG 4A_04_119602D400 \n", + "147013 MROX_4825 DATA/U23_080142_1918_XI_11N078W.IMG 4A_04_119702D500 \n", "\n", " PRODUCT_ID IMAGE_TIME INSTRUMENT_ID \\\n", "0 CRU_000001_9999_XN_99N999W 2005-08-30 15:40:21.549 CTX \n", @@ -1472,11 +1219,11 @@ "3 CRU_000004_9999_XN_99N999W 2005-09-08 16:08:23.841 CTX \n", "4 CRU_000005_9999_XN_99N999W 2005-09-08 16:11:18.649 CTX \n", "... ... ... ... \n", - "138410 U14_076622_1804_XN_00N105W 2022-11-30 17:29:26.742 CTX \n", - "138411 U14_076622_2009_XI_20N108W 2022-11-30 17:36:13.062 CTX \n", - "138412 U14_076623_1977_XN_17N133W 2022-11-30 19:26:53.410 CTX \n", - "138413 U14_076625_1182_XN_61S177W 2022-11-30 22:46:27.741 CTX \n", - "138414 U14_076625_1714_XN_08S185W 2022-11-30 23:02:50.690 CTX \n", + "147009 U23_080140_1972_XN_17N024W 2023-08-31 20:06:02.042 CTX \n", + "147010 U23_080140_2621_XN_82N047W 2023-08-31 20:26:46.409 CTX \n", + "147011 U23_080141_1718_XN_08S046W 2023-08-31 21:50:19.874 CTX \n", + "147012 U23_080141_2543_XN_74N064W 2023-08-31 22:16:22.257 CTX \n", + "147013 U23_080142_1918_XI_11N078W 2023-08-31 23:48:51.253 CTX \n", "\n", " INSTRUMENT_MODE_ID LINE_SAMPLES LINES SPATIAL_SUMMING ... \\\n", "0 NIFL 5056 1024 1 ... \n", @@ -1485,11 +1232,11 @@ "3 NIFL 5056 2048 1 ... \n", "4 NIFL 5056 21504 1 ... \n", "... ... ... ... ... ... \n", - "138410 NIFL 5056 33792 1 ... \n", - "138411 ITL 5056 7168 1 ... \n", - "138412 NIFL 5056 35840 1 ... \n", - "138413 NIFL 5056 52224 1 ... \n", - "138414 NIFL 5056 52224 1 ... \n", + "147009 NIFL 5056 14336 1 ... \n", + "147010 NIFL 5056 7168 1 ... \n", + "147011 NIFL 5056 12288 1 ... \n", + "147012 NIFL 4000 11264 1 ... \n", + "147013 ITL 5056 7168 1 ... \n", "\n", " SUB_SOLAR_LATITUDE SUB_SPACECRAFT_LONGITUDE SUB_SPACECRAFT_LATITUDE \\\n", "0 0.0 0.0 0.0 \n", @@ -1498,11 +1245,11 @@ "3 0.0 0.0 0.0 \n", "4 0.0 0.0 0.0 \n", "... ... ... ... \n", - "138410 -5.6 105.05 0.45 \n", - "138411 -5.6 107.61 20.98 \n", - "138412 -5.59 134.45 17.69 \n", - "138413 -5.56 177.43 -61.87 \n", - "138414 -5.55 185.83 -8.75 \n", + "147009 23.42 23.86 17.32 \n", + "147010 23.42 47.11 82.15 \n", + "147011 23.42 48.05 -8.43 \n", + "147012 23.42 64.19 74.38 \n", + "147013 23.41 77.83 11.86 \n", "\n", " SOLAR_DISTANCE SOLAR_LONGITUDE LOCAL_TIME IMAGE_SKEW_ANGLE \\\n", "0 0.0 278.89 10.16 0.0 \n", @@ -1511,11 +1258,11 @@ "3 0.0 284.48 4.74 0.0 \n", "4 0.0 284.48 4.79 0.0 \n", "... ... ... ... ... \n", - "138410 228081883.9 346.9 14.39 89.7 \n", - "138411 228082990.5 346.9 14.3 90.1 \n", - "138412 228097986.1 346.94 14.37 90.1 \n", - "138413 228126022.3 347.01 14.71 90.4 \n", - "138414 228127015.7 347.02 14.45 90.5 \n", + "147009 243001452.0 112.39 15.54 90.1 \n", + "147010 243000119.7 112.4 14.33 89.9 \n", + "147011 242992745.9 112.43 15.71 90.0 \n", + "147012 242990081.8 112.44 14.96 89.9 \n", + "147013 242981578.3 112.47 15.54 90.1 \n", "\n", " RATIONALE_DESC DATA_QUALITY_DESC \\\n", "0 Instrument checkout image of space OK \n", @@ -1524,11 +1271,11 @@ "3 Calibration image of Omega Centauri (globular ... OK \n", "4 Calibration image of the Moon OK \n", "... ... ... \n", - "138410 Terrain northwest of Noctis Labyrinthus OK \n", - "138411 Candidate impact site formed at most between M... OK \n", - "138412 Ride-along with HiRISE OK \n", - "138413 Southern highlands OK \n", - "138414 Ride-along with HiRISE OK \n", + "147009 Ride-along with HiRISE OK \n", + "147010 Ride-along with HiRISE OK \n", + "147011 Ride-along with HiRISE OK \n", + "147012 Aspledon Undae OK \n", + "147013 Candidate impact site formed at most between J... OK \n", "\n", " ORBIT_NUMBER \n", "0 -4242 \n", @@ -1537,16 +1284,16 @@ "3 -4126 \n", "4 -4126 \n", "... ... \n", - "138410 76622 \n", - "138411 76622 \n", - "138412 76623 \n", - "138413 76625 \n", - "138414 76625 \n", + "147009 80140 \n", + "147010 80140 \n", + "147011 80141 \n", + "147012 80141 \n", + "147013 80142 \n", "\n", - "[138415 rows x 51 columns]" + "[147014 rows x 51 columns]" ] }, - "execution_count": null, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -1634,9 +1381,21 @@ ], "metadata": { "kernelspec": { - "display_name": "conda-env-py39-py", + "display_name": "Python 3 (ipykernel)", "language": "python", - "name": "conda-env-py39-py" + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.9" } }, "nbformat": 4, diff --git a/notebooks/api/03_ctx.ipynb b/notebooks/api/03_ctx.ipynb index 25fadf1..49eb48f 100644 --- a/notebooks/api/03_ctx.ipynb +++ b/notebooks/api/03_ctx.ipynb @@ -4900,114 +4900,9 @@ ], "metadata": { "kernelspec": { - "display_name": "python3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "state": { - "27e5505d93414b80bf37f98b028b8906": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "FloatProgressModel", - "state": { - "bar_style": "success", - "layout": "IPY_MODEL_9c5a9ad8c0a54c28bf61f3ff3c50e72d", - "max": 93197248, - "style": "IPY_MODEL_bfe43705ddfa41359e9bd1a71d7b00ff", - "value": 93197248 - } - }, - "2f6f2d7248c844e4af4d43d286717197": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HTMLModel", - "state": { - "layout": "IPY_MODEL_be43b18a17474aef9ef7674317e0c44b", - "style": "IPY_MODEL_d47a6c1e29f547989825a45d302a3aba", - "value": "B01_009958_1524_XI_27S347W.IMG: 100%" - } - }, - "3cbb9cfaf1c54b3f9f478986b1dfeda9": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HTMLStyleModel", - "state": { - "description_width": "", - "font_size": null, - "text_color": null - } - }, - "643245e430614b89938551c65fb9dc75": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HTMLModel", - "state": { - "layout": "IPY_MODEL_bcc3e59f69564c338ec1e926ba70586a", - "style": "IPY_MODEL_3cbb9cfaf1c54b3f9f478986b1dfeda9", - "value": " 88.9M/88.9M [00:12<00:00, 8.45MB/s]" - } - }, - "9c5a9ad8c0a54c28bf61f3ff3c50e72d": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": {} - }, - "ac0f1c6053ef4d4db5fd2ec99fbb043c": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HBoxModel", - "state": { - "children": [ - "IPY_MODEL_2f6f2d7248c844e4af4d43d286717197", - "IPY_MODEL_27e5505d93414b80bf37f98b028b8906", - "IPY_MODEL_643245e430614b89938551c65fb9dc75" - ], - "layout": "IPY_MODEL_c66e095c7ba8468e98c302805bd820ab" - } - }, - "bcc3e59f69564c338ec1e926ba70586a": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": {} - }, - "be43b18a17474aef9ef7674317e0c44b": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": {} - }, - "bfe43705ddfa41359e9bd1a71d7b00ff": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "ProgressStyleModel", - "state": { - "description_width": "" - } - }, - "c66e095c7ba8468e98c302805bd820ab": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": {} - }, - "d47a6c1e29f547989825a45d302a3aba": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "HTMLStyleModel", - "state": { - "description_width": "", - "font_size": null, - "text_color": null - } - } - }, - "version_major": 2, - "version_minor": 0 - } } }, "nbformat": 4, diff --git a/planetarypy/pds/apps.py b/planetarypy/pds/apps.py index 3d8b4f0..7043664 100644 --- a/planetarypy/pds/apps.py +++ b/planetarypy/pds/apps.py @@ -40,7 +40,7 @@ def get_index( index.convert_to_parquet() return index.parquet -# %% ../../notebooks/api/02c_pds.apps.ipynb 15 +# %% ../../notebooks/api/02c_pds.apps.ipynb 14 def find_instruments( mission: str, # Mission string, e.g. "cassini" ) -> list: # List of configured instrument names