subscriptions in the MAST API#159
Conversation
|
@snbianco the rest of the notebook is not ready for review, but I wanted to ask about the MissionsMast class defaulting to HST. in this case, when I forgot to set the mission, it tried to download the files and ended up with a lot of nonsense, because the JWST URIs don't work for HST. what do you think about throwing an error when users don't initialize the mission, instead of defaulting to HST? |
|
I may be able to do one better. I notice in the subscription JSON that mission is included. I could make it so that AQ uses that value and defaults to the mission attribute if it's not present (and fails gracefully if that doesn't work either). There's a few things I want to finish first, but I should be able to make a PR sometime this sprint. |
|
calling @snbianco for review! |
Co-authored-by: Sam Bianco <70121323+snbianco@users.noreply.github.com>
No description provided.