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
db
submoduleeispac.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.download
module.This is phase 1 of a larger project to refactor the search and download functions in EISPAC. Future changes include:
eispac.download
to thedb
andnet
submodules and adding depreciation warnings and passthrough functions for anyone using the olddownload
submodule (these functions are mostly used internally by theeis_catalog
GUI, but it is possible some users have been calling them directly).EIS_DB
withEISAsRun
in theeis_catalog
GUI