lksearch
should return either a file in the cache or an HDUList in memory
#25
Labels
enhancement
New feature or request
At the moment we have
lksearch
only returning files stored to disk, which was our first milestone. We now need a way to havelksearch
return either a path to a file, or anastropy.fits.HDUlist
in memory. Here are some scenarios;astropy.fits.HDUList
object in memory.astropy.fits.HDUList
object in memory.astropy.fits.HDUList
object in memory.We need the following
lksearch
should have an option in the configuration on whether to cache files on disk. If no,lksearch
would download data everytime. (This option needs )download
functions inlksearch
should have an option for what to return, either paths as apd.DataFrame
or anastropy.fits.HDUList
.download
failed and the file is corrupted,download
should raise an exception.lksearch
should be able to configure whether the default output of search is paths as apd.DataFrame
or anastropy.fits.HDUList
. Sane default is probablyastropy.fits.HDUList
.lksearch
should be able to configure whether the default option is to cache files or not.@tylerapritchard @Nschanche what's your take on this? Some of this might already exist inside
lksearch
.The text was updated successfully, but these errors were encountered: