Details
-
Type:
RFC
-
Status: Implemented
-
Resolution: Done
-
Component/s: DM
-
Labels:None
Description
RFC-807 proposed extensive renaming and reformatting of the column names of the major DRP tables. These changes were propagated into DP0.2. Due to the short deadline, comparable changes were not made to the column names in the DIA tables or in the APDB. Even within DP0.2, this has led to inconsistencies (e.g., ForcedSource.psfFlux, DIASource.psFlux, and DIASource.psfFlux_flag).
This RFC is to make the DIA and Solar System column naming scheme consistent with the RFC-807 conventions as well as to make a few other changes that we have identified as necessary for AP.
The sdm_schemas pull request for DM-37196 provides the full list of proposed changes:
https://github.com/lsst/sdm_schemas/pull/107/commits
Outline of the proposed changes:
Consistency with RFC-807 and DP0.2:
- psFlux → psfFlux
- separate band with an underscore (e.g., u_psfFluxMean not uPsfFluxMean)
- filtername → band
Additions and corrections:
- add apdb.yaml to the public-facing schema browser
- correct units to be nJy rather than nanomaggy
- add time_processed and time_withdrawn columns to DIASource and DIAForcedSource in APDB to support catchup processing and withdrawal of bad records (see DM-SST notes, https://confluence.lsstcorp.org/display/DM/2023-01-30+DM-SST+Agenda+and+Meeting+Notes)
- add Visit, CcdVisit, and Instrument tables to APDB. Note that we are retaining the denormalized band column in DIASource and DIAForcedSource for user convenience.
New renaming:
- use ra, dec (not "decl") for coordinates as proposed in RFC-863
- "dip" → "dipole"
- DIAObject.radecTai → DIAObject.radecEpoch
- totFlux → scienceFlux throughout
- DiaSource.diffFlux → DiaSource.snapDiffFlux
- DiaSource.midPointTai → DiaSource.midPointTime
While for simplicity we have used apdb.yaml as the illustration for the proposed changes, when this RFC closes we will propagate these changes to imsim.yaml and (where necessary) hsc.yaml as well.
Attachments
Issue Links
- is triggered by
-
DM-37693 File RFC for updating the APDB schema
- Done
- is triggering
-
DM-37196 Modernize APDB schema to reflect desired usage (decl -> dec)
- Done
- relates to
-
DM-35343 Post DP0.2 June 27th launch clean-up of sdm_schemas
- To Do
-
DM-28503 Update schemas to use "band" when refering to band
- Done
-
DM-40255 APDB schema missing description
- Done
-
RFC-924 Data model and API changes resulting from the APDB schema update
- Adopted
-
RFC-926 Renaming "spuriousness"
- Implemented
-
DM-38831 Felis file for DP0.3 preliminary dataset
- Done
-
DM-39378 Rename "spuriousness" to "reliability" in the DiaSource table
- Done
-
RFC-863 Standardize on "coord_ra/dec" for the names of the "canonical" coordinates in catalog tables
- Flagged
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
A discussion today highlighted a lack of clarity in this RFC: we are proposing to make the column name consistency adjustments in all DIA tables, including those for future DRP runs (as encapsulated in imsim.yaml). Otherwise the column name formats will remain inconsistent between DRP tables in future DRs, as they are in DP0.2.