Download Tables of All Public Observations

KOA provides ASCII tables, updated weekly on Wednesday, which contain records of all public science and calibration data for each instrument (except GUIDER which does not have public data yet.)

These tables may be useful for researchers who have large lists of search positions, who expect to download large volumes of data, or who prefer to perform filtering/searching using their own tools or scripts.

The tables are made available in two ASCII formats: in Comma Separated Values (CSV) format, which may be imported into Microsoft Excel, and as IPAC table format, which is a column-delimited and self-describing format.

The tables include a subset of the full attributes (keywords) of each instrument.

Column descriptions are unique to each instrument, and summarized in the documentation links included.

Last Updated: May 15 2024
Instrument CSV (size) IPAC ASCII (size) # Observations Column Descriptions
DEIMOS [CSV] 77.5 MB [IPAC] 209.2 MB 197,754 Column Descriptions
ESI [CSV] 30.7 MB [IPAC] 86.5 MB 79,940 Column Descriptions
GUIDER [CSV] 664.1 KB [IPAC] 1.6 MB 1,459 Column Descriptions
HIRES [CSV] 191.6 MB [IPAC] 643.3 MB 472,402 Column Descriptions
KCWI [CSV] 24.9 MB [IPAC] 75.0 MB 58,303 Column Descriptions
KPF [CSV] 57.7 MB [IPAC] 197.4 MB 158,400 Column Descriptions
LRIS [CSV] 271.4 MB [IPAC] 827.1 MB 620,402 Column Descriptions
LWS [CSV] 8.3 MB [IPAC] 24.1 MB 23,737 Column Descriptions
MOSFIRE [CSV] 168.7 MB [IPAC] 428.6 MB 362,984 Column Descriptions
NIRC [CSV] 92.2 MB [IPAC] 264.2 MB 260,117 Column Descriptions
NIRC2 [CSV] 539.8 MB [IPAC] 1.6 GB 1,160,206 Column Descriptions
NIRES [CSV] 34.1 MB [IPAC] 95.1 MB 85,483 Column Descriptions
NIRSPEC [CSV] 638.3 MB [IPAC] 1.8 GB 1,422,999 Column Descriptions
OSIRIS [CSV] 129.2 MB [IPAC] 408.7 MB 310,557 Column Descriptions

There are two methods where the tables can be used for direct download:

  • Use the contents of the fileurl column: Contains the URL for directly downloading individual KOAID files for all instruments.
  • Use the IPAC formatted table to download Level 0 (raw) for all instruments and Level 1 data for: HIRES, LWS, NIRC2, NIRSPEC, and OSIRIS with PyKOA. While the IPAC tables can be used with PyKOA for downloading data, given that the IPAC tables contain all public data, they are not meant to be used as-is given the volume of data.
    Level 0 (raw) data: Edit the IPAC formatted table file to include all the header lines and all the columns and only the rows with data you are interested in. Do not try to download all the rows at once, but create a file for a few nights at a time. Here is a HIRES example where a table has been created called "your_hires_table.tbl' from the downloaded IPAC table to download the level 0 (raw) data:
    from pykoa.koa import Koa
    Koa.download ('./your_hires_table.tbl', 'ipac', 'dnload_dir_hires_lev0')
    Level 1 data: Edit the IPAC formatted table to include all the header lines and the columns and only those rows where koaimtyp = 'object' files for data you are interested in. Do not try to download all the rows at once, but create a file for few nights at a time. Here is a HIRES example where a table has been created called "your_hires_table.tbl' from the downloaded IPAC table to download the level 0 (raw) and level 1 data for the koaimtype = 'object' files:
    from pykoa.koa import Koa
    Koa.download ('./your_hires_table.tbl', 'ipac', 'dnload_dir_hires_lev1', lev1file=1)