generated from nasa-pds-engineering-node/pds-template-repo-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Labels
Description
Checked for duplicates
Yes - I've already checked
π Describe the bug
Simple Peppi query that runs for a very long time or doesn't finish after several minutes.
π΅οΈ Expected behavior
I expected the query to finish in a reasonable amount of time.
π To Reproduce
Run this:
import pds.peppi as pep
from datetime import datetime
# Create a client connection to the PDS Registry
client = pep.PDSRegistryClient()
# Define context identifiers
pluto_target_id = "urn:nasa:pds:context:target:dwarf_planet.134340_pluto"
new_horizons_mission_id = "urn:nasa:pds:context:investigation:mission.new_horizons"
# Query for Pluto data from New Horizons
pluto_products = pep.Products(client).has_investigation(new_horizons_mission_id) \
.has_target(pluto_target_id) \
.observationals()
# Display products
for i, p in enumerate(pluto_products):
if i >= 1: break # Just show first 5
print(f"{p.id}: {p.properties.get('ops:Label.ops:title', 'No title')}")π₯ Environment Info
- on macbook sequoia 15
- ran inside jupyter notebook
π Version of Software Used
- pds.peppi==0.7.0
- python version: 3.11.4
π©Ί Test Data / Additional context
No response
π¦ Related requirements
π¦ #xyz
βοΈ Engineering Details
No response
π Integration & Test
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
π Done