makeDimensionElementTableSpec¶
-
lsst.daf.butler.makeDimensionElementTableSpec(element: DimensionElement) → ddl.TableSpec¶ Create a complete table specification for a
DimensionElement.This combines the foreign key fields from dependencies, unique keys for true
Dimensioninstances, metadata fields, and region/timestamp fields for spatial/temporal elements.Most callers should use
DimensionElement.makeTableSpecorDimensionUniverse.makeSchemaSpecinstead, which account for elements that have no table or reference another table.Parameters: - element :
DimensionElement Element for which to make a table specification.
Returns: - spec :
ddl.TableSpec Database-agnostic specification for a table.
- element :