Keck Observatory Archive (KOA) Python Client - Tutorial: Access to LWS Raw and Reduced Data and NIRC Raw Data

July 2022 - PyKOA 1.7

PyKOA offers access to public data acquired at the W. M. Keck Observatory Archive, and for Keck Observatory PIs, secure access to their protected data with the KOA credentials assigned to them.

Queries can be launched through several dedicated methods, or through the IVOA Astronomical Data Query Langage (ADQL); ADQL queries are underpinned by nexsciTAP, a NExScI Python-based server that implements the IVOA Table Access Protocol (TAP). PyKOA enables a rich variety of searches, including cone, box, polygon, or all-sky spatial searches; temporal searches; searches on program infotmation; and complex searches on multiple attributes.

This Jupyter Notebook provides examples of how to discover and access raw science and calibration data and quick-look reduced data acquired with the Long Wavelength Spectrometer (LWS) or raw science and calibration data acquired with the Near Infrared Camera (NIRC). The quick-look reduced LWS data are intended for visualization and not for scientific analysis. See for details of the reduction


PyKOA can be installed from PyPI:

$ pip install --upgrade pykoa


Requires Python 3.6 (or above), plus table read and write functions from Astropy. We have tested with Astropy 4.0.1. We recommend using the Anaconda Python distribution.