Skip to content

DM-50087: Preload IERS data in Prompt Processing #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 16, 2025
Merged

Conversation

kfindeisen
Copy link
Member

This PR implements a two-part system for caching IERS data at USDF and importing it into Prompt Processing at pod start. This is expected to be faster than a direct download from IERS/ObsPM, and ensures that we do not download in the middle of processing (though by happening at pod start it will still reduce our response time at the start of a sequence).

@kfindeisen kfindeisen force-pushed the tickets/DM-50087 branch 2 times, most recently from c0b3b11 to 1d2477d Compare July 3, 2025 16:57
@kfindeisen kfindeisen requested a review from ktlim July 3, 2025 17:03
@kfindeisen kfindeisen requested a review from ktlim July 15, 2025 23:15
We don't need any special support to handle setting up and tearing down
mock patchers; TestCase.enterContext does exactly what's needed.
This lets Prompt Processing access a cache that's been prepared at
USDF, instead of a potentially slow download from official repos.
The updater can run in either service or initializer pods. It needs an
extra variable (CENTRAL_IERS_CACHE) to know what to download; default
is to skip download.
The function checks if the cache has already been imported and skips
download if that's the case.
@kfindeisen kfindeisen merged commit 73d341d into main Jul 16, 2025
11 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-50087 branch July 16, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants