MAST: Read product function for MastMissions#3593
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3593 +/- ##
==========================================
+ Coverage 73.21% 73.23% +0.02%
==========================================
Files 226 226
Lines 21053 21093 +40
==========================================
+ Hits 15414 15448 +34
- Misses 5639 5645 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Until we have a more mature version ready, can we please ensure documentation / tutorials call out that for FITS files I presume this can be avoided once there's a "get_s3_uris()" endpoint in MissionMAST for all the supported missions beyond Roman? |
617201a to
cdda4a2
Compare
A function in the
MastMissionsclass that can read products into memory.For FITS files, we use
astropy.io.fits.open. The product files are downloaded and cached by Astropy, and then read into aHDUListobject.For ASDF files, we use
fsspecandasdf. Our downloads for Roman data are redirected to S3, so these files are not downloaded and are streamed directly intoasdf.AsdfFileobjects.