Improved as-run db management#113
Merged
MJWeberg merged 1 commit intoUSNavalResearchLaboratory:mainfrom Feb 13, 2025
Merged
Conversation
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.
Improved tools for locating, downloading, and searching the EIS as-run catalog
Summary of changes
dbsubmoduleeispac.db.find_eis_cat()function for automatically locating the user's local copy of the as-run catalogeispac.db.get_remote_db_modtime()function for checking the modification date of the catalog on a remote servereispac.db.EISAsRun()class. Updated version of theeispac.download.EIS_DB()class with cleaner search results (now returns an Astropy Table!) and methods for locating and updating the catalog itself.eispac.downloadmodule.This is phase 1 of a larger project to refactor the search and download functions in EISPAC. Future changes include:
eispac.downloadto thedbandnetsubmodules and adding depreciation warnings and passthrough functions for anyone using the olddownloadsubmodule (these functions are mostly used internally by theeis_catalogGUI, but it is possible some users have been calling them directly).EIS_DBwithEISAsRunin theeis_catalogGUI