Add spice instructions#299
Merged
laspsandoval merged 8 commits intoIMAP-Science-Operations-Center:mainfrom Mar 26, 2026
Merged
Conversation
added 4 commits
March 23, 2026 14:03
Contributor
Author
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
maxinelasp
approved these changes
Mar 24, 2026
Contributor
maxinelasp
left a comment
There was a problem hiding this comment.
So happy to see this change!! Just a few comments about combining variables
added 2 commits
March 26, 2026 09:51
Contributor
Author
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
387de0c
into
IMAP-Science-Operations-Center:main
16 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SPICE Query Support
This PR adds support for querying and downloading SPICE kernel files from the IMAP data archive.
Changes
New spice_query function (io.py) — Implements a /spice-query API endpoint wrapper supporting filtering by start_date, end_date,
ingestion_start_date/ingestion_end_date, type, and version. Handles the version=latest → latest=true remapping and the ingestion_*_date → start/end_ingest_date key
remapping.
CLI updates (cli.py) — The previously unimplemented --table spice path now routes to spice_query. Adds a --type argument for specifying kernel type (e.g.
ephemeris_predicted). The results table now renders SPICE-specific columns (Kernel Type, Min/Max Date, Ingestion Date, Version, Filename).
README — Adds examples for querying and downloading SPICE kernels via both the CLI and curl.
file_validation.py — Adds xlsx as a valid ancillary file extension.
Version bump — 0.37.2 → 0.37.3.
Tests — New tests for spice_query covering valid params, remapping logic, no-params error, bad-params error, and CLI integration.