This page describes the spectral library of GALAH DR4 and how to get it.


Introduction to GALAH DR4 Spectral Library

GALAH DR4 provides reduced one-dimensional spectra for each star in the main catalogue. For each star there are (up to) four files, one for each HERMES camera. The entire GALAH DR4 spectral catalogue consists of over 3.5M FITS files.

For a given star on a given camera, each file contains eight extensions:

  1. Primary: Reduced spectrum, sky subtracted, not normalised
  2. normalized: Normalised spectrum
  3. relative_error: Relative error of spectrum. Multiply by normalised or non-normalised spectrum to get error values.
  4. sky: Sky spectrum used for sky subtraction
  5. teluric: Telluric correction
  6. scattered: Scattered light
  7. cross_talk: Crosstalk
  8. resolution_profile: Resolution profile, given as the FWHM of the LSF

The naming convention of the spectra files is the sobject_id of a star followed by the camera number (i.e., 1=blue, 2=green, 3=red, 4=near-infrared). So, for example, for sobject_id 170418003701205, there are four files: 1704180037012051.fits, 1704180037012052.fits, 1704180037012053.fits, 1704180037012054.fits.

Missing spectral data

A fraction of stars are missing the spectra from one or more cameras. Here are the specific nights and fields affected:

  1. For the nights of 20–26 December 2018 (i.e., all sobject_id starting with 181220, 181221, 181222, 181223, 181224, 181225, 181226) there was a fault with the infrared camera of HERMES, and all stars observed on those nights lack CCD4 data (i.e., a spectral file with a filename ending in 4).
  2. On 8 February 2023, stars in field_id 7471 (sobject_id starting with 2302080028) and field_id 8123 (sobject_id starting with 2302080022) are missing CCD4 data. Stars in field_id 9726 (sobject_id starting with 2302080016) are missing CCD3 and CCD4 data.
  3. On 2, 3, 10 March 2023 (sobject_id starting with 230302, 230303, and 230310) there was a fault with the infrared camera of HERMES and all stars observed on those nights lack CCD4 data.

Acquiring the spectral data

The GALAH DR4 spectral library is served by Data Central. There are four methods for acquiring the spectra depending on your requirements:

  1. Simple Spectral Access Service
  2. A few stars
  3. A larger number of stars
  4. The entire GALAH spectral catalogue.

Simple Spectral Access Service

The Simple Spectral Access (SSA) service provides a Virtual Observatory (VO) compliant standard interface to query and access spectroscopic data hosted at Data Central. Queries may be submitted through an HTTP GET request to the service. Results of the query are returned in VOTABLE format that includes spectra metadata and links to spectra. A default limit of 1000 results is in place to ensure results are returned in a timely manner. Data Central provides an example written in Python of a GALAH DR3 Interactive Spectra Explorer enhanced by the Data Central API.

Effectively, you need to construct a URL of the form:

https://datacentral.org.au/vo/slink/links?ID=sobject_id&DR=galah_dr3&IDX=0&FILT=x&RESPONSEFORMAT=fits

changing the sobject_id to a valid value from the GALAH catalogue, and the x in FILT=x to B, G, R, I (respectively Blue/CCD1, Green/CCD2, Red/CCD3, Infrared/CCD4) for the particular camera of interest.

Viewing the spectra for a small number of stars

Coming soon: access to the spectrum of an individual star via the Data Central Spectrum Viewer. You can choose to look at the normalised or non-normalised spectrum, from individual sobject_ids or combined, and you can overplot the best-fitting model and the locations of the spectral lines used for abundance determination. The current version of the page shows one star, 140116004301057, and Data Central are adding a search box so you can view any star from GALAH DR4.

Downloading the spectra for a larger number of stars

As well as the Simple Spectral Access Service, if you would like the spectra for a large number of stars, this can be achieved using the Data Central Bulk Download. A rule-of-thumb is that the query to create the packaged tar.gz file of spectra will take about 10 minutes per 10000 sobject_id requested.

  1. You will require the list of sobject_id you are interested in formatted as a comma-separated list. Copy the list of sobject_id in to Source List box, and select the following options:
    • GALAH Data Release 3 as the Data Release
    • GALAH DR3 HERMES 1D Spectrum as the Data products: Spectra
  2. Once the query is completed, you will be able to download tar.gz file of your requested spectra.

Downloading the entire GALAH spectral catalogue

It is possible to get the entire spectral catalogue with the bulk download option described above, but the query takes about 20 hours to complete.

On decompression, you will require about 385 GB of free space. The decompressed files are located in a single directory, so please be aware of any file management limitations you might have dealing with millions of files in a single directory.

Please contact us (galahsurvey@gmail.com) about your data needs instead of doing this.