kammerje / spaceKLIP

Pipeline for reducing JWST high-contrast imaging data. Published in Kammerer et al. 2022 and Carter et al. 2022.
https://ui.adsabs.harvard.edu/abs/2022SPIE12180E..3NK/abstract
MIT License
16 stars 9 forks source link

alternative to download filter #192

Closed jpdeleon closed 2 weeks ago

jpdeleon commented 2 weeks ago

The pipeline is working incredibly well. I just had trouble proceeding to the Level 3: PSF subtraction part because SVO database is currently down (which happens not infrequently). Does it make sense to have the JWST coronagraphy filter profiles included in the package to avoid this bottleneck?

JarronL commented 2 weeks ago

Hmm... there should already be a workaround implemented if SVO is not responding. Perhaps it only works on initialization and if SVO stops responding afterward, then it won't fall back to the webbpsf profiles. Can you show the error traceback?

kammerje commented 2 weeks ago

@JarronL There was another place in spaceKLIP where data was downloaded from SVO. This patch will fix the issue. It is currently only in the dev/jk branch but will be merged into develop soon.

I also fixed the SVO dependency in pyKLIP's JWST class, see here.