Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

IRSA Notebooks

Euclid DR1 HATS Catalogs: Introduction

This tutorial is an introduction to the content and format of the Euclid DR1 HATS Catalogs, a set of catalogs that IRSA created from the Euclid Data Release 1 (DR1) catalogs and spectra.

Learning Goals

In this tutorial, we will:

1. Introduction

Euclid DR1 contains data from the first year of survey operations, covering approximately 1,900 square degrees of the Euclid Wide Survey, as well as observations of the Euclid Deep Fields, calibration fields, and Performance Verification data. The DR1 catalogs were derived from Euclid photometry and spectroscopy, taken by the Visible Camera (VIS) and the Near-Infrared Spectrometer and Photometer (NISP), and from photometry taken by other ground-based instruments. For descriptions of the releases, surveys, data products, and access methods, see the Euclid Archive User Guide. The release is described in Euclid Collaboration: Aussel et al. (2026) and the surveys it covers in Euclid Collaboration: Tereno et al. (2026); see the References section below.

Euclid DR1 catalog data are separated into about 25 merged-mosaic, photo-z, and spectroscopy catalogs, which are further split by survey or processing mode (e.g., deep survey), for a total of 93 individual catalogs. IRSA is creating various HATS (Hierarchical Adaptive Tiling Scheme) products and releasing them as they become available.

Currently, IRSA provides 56 HATS catalogs corresponding to individual Euclid DR1 catalogs, plus 1 HATS catalog with DR1 spectra. For the Q1 release, IRSA joined most of the individual catalogs together into a single Merged Objects HATS product (see Euclid Q1 Merged Objects HATS Catalog: Introduction). We intend to provide similar products for Euclid DR1 in the near future.

The catalogs are served from an AWS S3 cloud storage bucket. Access is free and no credentials are required.

1.1 Duplicate object IDs

Most DR1 catalogs have more than one row with the same object_id, meaning object_id alone usually does not identify a unique row. There are a few reasons for this, including:

  1. Euclid object IDs are constructed from RA and dec coordinates that are truncated such that objects that are very close together on the sky ended up with the same object ID.

  2. Most spectroscopy catalogs have, for example, several redshift solutions or several spectral lines per object, each stored in its own row.

  3. Euclid DR1 provides red and blue grism spectra, with each spectrum in its own row, and many objects have both.

Things to expect when working with these catalogs:

2. Imports

/home/runner/work/irsa-tutorials/irsa-tutorials/.tox/py312-buildhtml/lib/python3.12/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
  from .autonotebook import tqdm as notebook_tqdm

3. Available Catalogs

The HATS catalogs currently available are from the Deep Survey, Deep, Wide Survey, and Wide tables, plus the 1D combined spectra. The original data products were produced by four Euclid processing functions: MER (multi-wavelength mosaics on common spatial and pixel scales), PHZ (photometric redshifts), SPE (spectroscopy), and SIR (NISP spectra). For details, see Data Products in the Euclid Archive User Guide.

The suffix in each catalog name is the suffix of the original Euclid table, and the suffixes differ between processing functions:

For what each survey and suffix means, see the Euclid Archive User Guide.

The tables below list each catalog and its number of rows. “Not yet” means the table is in Euclid DR1 but IRSA has not yet released a HATS catalog for it. “Not in DR1” means Euclid DR1 does not contain that table.

3.1 SIR combined 1D spectra

<!-- comment these lines out for all schemas if they block deployment on nov 12 -->

Original schema: SIR combined spectra data product

TableRows
sir_combined_spectra309,078,775

sir_combined_spectra contains the combined 1D spectra, with one row per spectrum. An object can have more than one spectrum, so it can appear in more than one row. For example, an object can have both a red grism spectrum and a blue grism spectrum, which are identified by the column lrange (values RGS and BGS). An object can also have more than one spectrum with the same lrange, so object_id and lrange together do not uniquely identify a row. The spectrum itself is stored in a single nested column, spectrum.

3.2 MER catalogs

Original schemas: MER final catalog data product

Table_deep_survey_wide_survey
mer_catalogue51,820,952888,152,165
mer_morphology51,820,952888,152,165
mer_cutouts51,820,952888,152,165

The Deep Survey also has a MER photometry catalog, mer_catalogue_deep_survey_photometry (26,008,743 rows), described in the same data product.

3.3 PHZ catalogs

Original schemas: PHZ output catalog data product (phz_photo_z, phz_galaxy_sed, phz_star_sed) and PHZ output for L3 data product (the other PHZ catalogs)

Table_deep_survey_wide
phz_photo_z51,550,740Not yet
phz_classification51,550,740847,313,811
phz_physical_parameters51,550,740847,313,811
phz_nir_physical_parameters6,415,078187,662,926
phz_qso_physical_parameters6,154,637116,564,738
phz_star_template7,275,888189,466,498
phz_galaxy_sedNot in DR1846,826,349
phz_star_sedNot in DR112,275,216

3.4 SPE catalogs

Original schemas: SPE output catalog data product

Table_deep_wide_survey_wide
spectro_z_spe_quality51,930,919875,837,267933,172,778
spectro_z_spe_classification7,456,278161,471,115171,046,741
spectro_z_spe_galaxy_candidates36,910,593800,614,053848,016,459
spectro_z_spe_star_candidates13,622,726277,528,395293,737,969
spectro_z_spe_qso_candidates36,063,712735,013,630778,703,735
spectro_line_features_spe_line_features943,908,9429,524,030,38110,275,874,115
spectro_line_features_spe_atomic_indices402,756,4803,033,760,4283,329,048,376
spectro_line_features_spe_molecular_indices67,126,080505,626,738554,841,396
spectro_line_features_spe_continuum_features22,375,360168,542,246184,947,132
spectro_model_spe_galaxy_models36,936,097800,701,396848,103,802
spectro_model_spe_star_models13,629,798277,559,167293,768,741
spectro_model_spe_qso_models36,082,862735,094,834778,784,939

Unlike the MER and PHZ catalogs, most SPE catalogs contain multiple rows per object (identified by column object_id). For example, the galaxy redshift candidate tables contain several redshift estimates per object, ranked by the column spe_rank (0 = best candidate).

3.5 Catalog paths

Each catalog is stored in its own HATS collection. A collection contains the catalog itself, plus ancillary data that some libraries (such as LSDB) use to make queries faster: a margin cache and an index table on object_id. The collection for a catalog is at hats/reformatted_catalogs/<catalog>/ and the catalog inside it is named euclid_dr1_reformatted_catalogs_<catalog>-hats.

The collections can be browsed here.

In the rest of this tutorial we use the MER catalog for the Deep Survey, mer_catalogue_deep_survey.

4. Column Names and Added Columns

First we’ll load the Parquet schema (column information) of the catalog. The Parquet schema is accessible from a few locations, all of which include the column names and types. Here, we load it from the _common_metadata file because it also includes the column units and descriptions.

483 columns in the euclid_dr1_reformatted_catalogs_mer_catalogue_deep_survey-hats catalog

The original tables’ column names are mostly in all caps. In the HATS catalogs and the catalogs available through IRSA’s TAP service, all column names have been lower-cased. In addition, the characters -, ., (, and ) have been replaced with an underscore. An example that includes both transformations is: E(B-V) -> e_b_v_. Unlike the Q1 Merged Objects catalog, the table name is not prepended to the column names.

In the MER catalogs, three columns were renamed to match other IRSA services:

Two columns were added to every catalog. They contain the object’s coordinates, calculated from its object_id following the MER catalog description. They were used to partition the catalogs spatially, including the PHZ and SPE catalogs that don’t have RA and Dec columns of their own.

HEALPix columns:

These HEALPix indexes correspond to the ra_from_object_id and dec_from_object_id coordinates. They are useful for spatial queries.

The HEALPix columns and the added coordinate columns appear first:

['_healpix_29', '_healpix_19', '_healpix_9', 'ra_from_object_id', 'dec_from_object_id']

HATS columns:

These are the HATS partitioning columns. They appear in the Parquet file names but are not included inside the files. However, PyArrow automatically makes them available as regular columns when the dataset is loaded as demonstrated in this tutorial.

The HATS columns appear at the end:

['Norder', 'Dir', 'Npix']

4.1 Find columns of interest

pyarrow.Field<flux_y_2fwhm_aper: float>
{b'unit': b'uJy', b'description': b'NIR Y band source aperture photometry flux (2 FWHM diameter) on PSF-matched images', b'ucd': b'phot.flux;em.IR.NIR'}

Euclid DR1 offers many flux measurements, both from Euclid detections and from external ground-based surveys (Euclid Collaboration: Corcho-Caballero et al. 2026). Flux column names start with “flux_”, and columns associated with external surveys include “ext” in the name.

173 flux columns. First four are:
['flux_vis_1fwhm_aper', 'flux_vis_2fwhm_aper', 'flux_vis_3fwhm_aper', 'flux_vis_4fwhm_aper']
136 flux columns from external surveys. First four are:
['flux_u_ext_decam_1fwhm_aper', 'flux_u_ext_decam_2fwhm_aper', 'flux_u_ext_decam_3fwhm_aper', 'flux_u_ext_decam_4fwhm_aper']

5. Basic Query with PyArrow

To demonstrate a basic query, we’ll search for bright, point-like objects detected in the VIS mosaic. The columns used in this query are described in more detail in Euclid Q1 Merged Objects HATS Catalog: Magnitudes. PyArrow dataset filters are described at Filtering by Expressions, and the list of available functions is at Compute Functions.

Loading...

6. Cone Search with LSDB

LSDB is a Python library built for HATS catalogs. It is especially good for spatial searches and cross matches. We can pass it the collection path and it will find the catalog inside it and use the ancillary data (such as the margin cache) when needed. We prefix the path with s3:// to indicate that it is an S3 path.

LSDB loads data lazily. Here we open the catalog with only the columns we need and set up a cone search with a 2 arcminute radius around the planetary nebula NGC 6543, which is in the Euclid Deep Field North.

Loading...

The cone search is not run until we call compute(), which loads the result into a NestedFrame (a pandas DataFrame with support for nested columns). LSDB always loads the columns that the catalog was partitioned on, so ra_from_object_id and dec_from_object_id are included even though we didn’t ask for them. The cone search uses these columns.

Building task graph...
Computing Catalog:   0%|          | 0/2 [00:00<?, ?it/s]
Computing Catalog:  50%|█████     | 1/2 [00:04<00:04,  4.89s/it]
Computing Catalog: 100%|██████████| 2/2 [00:05<00:00,  2.11s/it]
Computing Catalog: 100%|██████████| 2/2 [00:05<00:00,  2.53s/it]

Loading...

7. Load and Plot a Spectrum

sir_combined_spectra contains the combined 1D NISP spectra (Section 3.1). Here we find the spectra of EX Dra, an eclipsing cataclysmic variable in the Euclid Deep Field North, with a cone search of 1 arcsecond around its position.

Building task graph...
Computing Catalog:   0%|          | 0/2 [00:00<?, ?it/s]
Computing Catalog:  50%|█████     | 1/2 [00:05<00:05,  5.51s/it]
Computing Catalog: 100%|██████████| 2/2 [00:05<00:00,  2.78s/it]

Loading...

Each row is one spectrum, so the same object_id can appear more than once (see Section 1.1), for example once for the red grism (RGS) and once for the blue grism (BGS). The cone search also returns several object_ids within a fraction of an arcsecond of each other, from two Euclid tiles. The column n_dith is the number of exposures (dithers) combined into each spectrum, so we keep the spectra of the object observed with the most dithers, choosing the one nearest EX Dra’s position if more than one has the same number.

Loading...

LSDB returns query results as a nested-pandas NestedFrame, and spectrum is a nested column. Nested-pandas provides methods for querying and operating on nested columns without unpacking them; see its documentation for details. In each row, spectrum holds a small table with one row per wavelength bin and these columns:

Loading...

Following the Euclid Q1 1D spectra tutorial, we don’t use wavelength bins with an odd mask value or a mask value of 64 or more. Those bins are left as gaps in the plot.

The signal values are stored scaled, as in the original FITS files, where the scale factor is the FSCALE header keyword (10-16 for every spectrum). The unit recorded in this catalog’s metadata (erg/s/cm2/Angstrom) is missing that factor, so we multiply by it before plotting.

<Figure size 1000x400 with 1 Axes>

References

About this notebook

Updated: 2026-11-11

Contact: IRSA Helpdesk