I don’t know if this is a better long-term solution than pwv_kpno, but there’s a python package on PyPI called skycalc_cli which queries the Cerro Paranal sky model for transmission spectra among other things, and I found the source code for the Python query that it sets up, which I’ve posted here
In principle, Tiffany could pare down this code and design small algorithmic queries for the atmospheric transmission spectrum as a function of airmass (among other things). Perhaps that code might even make up enough substance for an astroquery PR.
I don’t know if this is a better long-term solution than
pwv_kpno
, but there’s a python package on PyPI calledskycalc_cli
which queries the Cerro Paranal sky model for transmission spectra among other things, and I found the source code for the Python query that it sets up, which I’ve posted hereIn principle, Tiffany could pare down this code and design small algorithmic queries for the atmospheric transmission spectrum as a function of airmass (among other things). Perhaps that code might even make up enough substance for an astroquery PR.