Dataset-DataUnit Joins¶
The join tables in this section relate concrete DataUnit to Datasets. They thus hold the information necessary to relate DatasetRefs to Datasets.
The following direct connections exist:

Note
There is no join table to relate Datasets to ObservedSensors, because the latter is itself a join table.
PhysicalFilterDatasetJoins¶
- Fields:
physical_filter_name varchar NOT NULL camera_name varchar NOT NULL dataset_id int NOT NULL registry_id int NOT NULL - Foreign Keys:
- (physical_filter_name, camera_name) references PhysicalFilter (physical_filter_name, camera_name)
- (dataset_id, registry_id) references Dataset (dataset_id, registry_id)
PhysicalSensorDatasetJoin¶
- Fields:
physical_sensor_number int NOT NULL camera_name varchar NOT NULL dataset_id int NOT NULL registry_id int NOT NULL - Foreign Keys:
- (physical_sensor_number, camera_name) references PhysicalSensor (physical_sensor_number, camera_name)
- (dataset_id, registry_id) references Dataset (dataset_id, registry_id)
VisitDatasetJoin¶
SnapDatasetJoin¶
- Fields:
snap_index int NOT NULL visit_number int NOT NULL camera_name varchar NOT NULL dataset_id int NOT NULL registry_id int NOT NULL - Foreign Keys:
VisitRangeDatasetJoin¶
- Fields:
visit_begin int NOT NULL visit_end int NOT NULL dataset_id int NOT NULL registry_id int NOT NULL - Foreign Keys:
- (visit_begin, visit_end, camera_name) references VisitRange (visit_begin, visit_end, camera_name)
- (dataset_id, registry_id) references Dataset (dataset_id, registry_id)
AbstractFilterDatasetJoin¶
- Fields:
abstract_filter_name varchar NOT NULL dataset_id int NOT NULL registry_id int NOT NULL - Foreign Keys:
- (abstract_filter_name) references AbstractFilter (abstract_filter_name)
- (dataset_id, registry_id) references Dataset (dataset_id, registry_id)
TractDatasetJoin¶
PatchDatasetJoin¶
- Fields:
patch_index int NOT NULL tract_number int NOT NULL skymap_name varchar NOT NULL dataset_id int NOT NULL registry_id int NOT NULL - Foreign Keys: