HATS properties#
The HATS format allows for many additional key-values in the high-level hats.properties
file. Many of these values are automatically set by the import process itself, but
catalog providers may want to set additional fields for data provenance.
Properties from Arguments#
In some cases, the argument name was created before the HATS properties were settled, so we have different names for arguments/properties. Below is a list of properties that we will set automatically in the import process, based on the arguments provided.
HATS Keyword |
Argument |
Format |
Notes |
|---|---|---|---|
|
|
one word (e.g. |
Short name of original data set |
|
|
one word (object, nested, margin, association, index, …) [1] |
Variety of HATS catalog generated. |
|
|
one word [1] |
Column name of the ra coordinate. Used for partitioning and default cross-matching. |
|
|
one word [1] |
Column name of the dec coordinate. Used for partitioning and default cross-matching. |
|
|
one or more words [2] |
At catalog creation time, the columns used to sort the data, in addition to healpix_29 column. |
|
|
positive integer |
At catalog creation time, the maximum number of rows per file before breaking into 4 new files at higher order. |
Constructed Properties#
Below is a list of properties that we will set automatically in the import process, based on the execution environment and output of the import pipeline.
HATS Keyword |
Format |
Notes |
|---|---|---|
|
positive integer |
Number of rows of the HATS catalog |
|
positive integer |
Deepest HATS order of catalog |
|
real between 0 and 1 |
Fraction of the sky covered by the MOC associated with the catalog |
|
positive integer, with unit |
HATS on-disk size estimation |
|
free text (e.g. |
Name and version of the tool used for building the HATS catalog |
|
ISO 8601 |
HATS first creation date |
|
ISO 8601 |
Last update to the HATS format |
|
semantic version (e.g. |
Number of HATS specification document version |
User-provided Properties#
In addition, catalog providers can set provenance-related fields in the
hats.properties file by setting the addl_hats_properties argument on import.
This will carry key-value pairs into the final hats.properties file.
All of these fields are optional.
args = ImportArguments(
...
addl_hats_properties={"hats_cols_default": "id, mjd", "obs_regime": "Optical"},
...
)
HATS Keyword |
Format |
Notes |
|---|---|---|
|
one or more words [2] |
Which columns should be read from parquet files, when user doesn’t otherwise specify. Useful for wide tables. |
|
one or more words [2] |
The primary key used in the original survey data. May be multiple columns if
the survey uses a composite key (e.g. |
|
one word [1] |
For the default ra and dec (hats_col_ra, hats_col_dec), the measurement epoch |
|
one word (“equatorial” (ICRS), “galactic”, or “ecliptic”) [1] |
Coordinate frame reference |
|
IVOID (e.g. |
Unique ID of the HATS |
|
IVOID |
If content has been added after initial catalog creation, |
|
free text |
Bibliographic reference |
|
URL |
URL to bibliographic reference |
|
IVOA UCD |
UCD describing data contents |
|
free text |
Copyright mention associated to the HATS |
|
free text |
Institute or person who built the HATS |
|
URL |
URL to an associated progenitor HATS |
|
URL |
HATS access url |
|
one or more words ((“private” or “public”), (“main”, “mirror”, or “partial”), (“clonable”, “unclonable” or “clonableOnce”)) [2] |
HATS catalog status |
|
free text |
Acknowledgment mention. |
|
free text |
Copyright mention associated to the original data |
|
URL |
URL to a copyright mention |
|
free text, longer free text description of the dataset |
Data set description |
|
one word (“Radio”, “Millimeter”, “Infrared”, “Optical”, “UV”, “EUV”, “X-ray”, “Gamma-ray”) [1] |
General wavelength |
|
free text, one line. (e.g. “HST F110W observations”) |
Data set title |
|
free text |
Provenance of the original data |
|
IVOID (e.g. “ivo://CDS”) |
Unique ID of the HATS publisher |
|
real, MJD |
Start time of the observations |
|
real, MJD |
Stop time of the observations |
Notes on “Words”