From 84ea529dba01c7ec6a4c136ee1c7d9fdfb09fa6f Mon Sep 17 00:00:00 2001 From: elanaku Date: Wed, 21 Aug 2024 16:28:14 -0400 Subject: [PATCH] Add StarTrackerWide yaml for consDB --- yml/cdb_startrackerwide.yaml | 894 +++++++++++++++++++++++++++++++++++ 1 file changed, 894 insertions(+) create mode 100644 yml/cdb_startrackerwide.yaml diff --git a/yml/cdb_startrackerwide.yaml b/yml/cdb_startrackerwide.yaml new file mode 100644 index 00000000..f0f93a04 --- /dev/null +++ b/yml/cdb_startrackerwide.yaml @@ -0,0 +1,894 @@ +--- +name: cdb_startrackerwide +"@id": "#cdb_startrackerwide" +description: Consolidated Database for StarTrackerWide +version: + current: "1.0.0" +tables: +- name: exposure + "@id": "#exposure" + primaryKey: + - "#exposure.exposure_id" + constraints: + - name: un_day_obs_seq_num + "@id": "#exposure.un_day_obs_seq_num" + "@type": Unique + description: Ensure day_obs plus seq_num is unique. + columns: + - "#exposure.day_obs" + - "#exposure.seq_num" + columns: + - name: exposure_id + "@id": "#exposure.exposure_id" + datatype: long + nullable: false + description: Unique identifier. + - name: exposure_name + "@id": "#exposure.exposure_name" + datatype: string + length: 20 + nullable: false + description: Official name of the exposure. + - name: controller + "@id": "#exposure.controller" + datatype: string + length: 1 + nullable: false + description: The abbreviation of the controller used for the observation (O, C). + - name: day_obs + "@id": "#exposure.day_obs" + datatype: int + nullable: false + description: Day of observation. + - name: seq_num + "@id": "#exposure.seq_num" + datatype: int + nullable: false + description: Sequence number. + - name: s_ra + "@id": "#exposure.s_ra" + datatype: double + description: Central Spatial Position in ICRS; Right ascension of targeted focal plane center. + tap:std: 1 + ivoa:ucd: pos.eq.ra + votable:utype: Char.SpatialAxis.Coverage.Location.Coord.Position2D.Value2.C1 + ivoa:unit: deg + - name: s_dec + "@id": "#exposure.s_dec" + datatype: double + description: Central Spatial Position in ICRS; Declination of targeted focal plane center. + tap:std: 1 + ivoa:ucd: pos.eq.dec + votable:utype: Char.SpatialAxis.Coverage.Location.Coord.Position2D.Value2.C2 + ivoa:unit: deg + - name: sky_rotation + "@id": "#exposure.sky_rotation" + datatype: double + description: Targeted sky rotation angle. + ivoa:ucd: pos.posAng + ivoa:unit: deg + - name: azimuth_start + "@id": "#exposure.azimuth_start" + datatype: float + description: Azimuth of focal plane center at the start of the exposure. + ivoa:ucd: pos.az.azi + ivoa:unit: deg + - name: azimuth_end + "@id": "#exposure.azimuth_end" + datatype: float + description: Azimuth of focal plane center at the end of the exposure. + ivoa:ucd: pos.az.azi + ivoa:unit: deg + - name: azimuth + "@id": "#exposure.azimuth" + datatype: float + description: Azimuth of focal plane center at the middle of the exposure. + ivoa:ucd: pos.az.azi + ivoa:unit: deg + - name: altitude_start + "@id": "#exposure.altitude_start" + datatype: float + description: Altitude of focal plane center at the start of the exposure. + ivoa:ucd: pos.az.alt + ivoa:unit: deg + - name: altitude_end + "@id": "#exposure.altitude_end" + datatype: float + description: Altitude of focal plane center at the end of the exposure. + ivoa:ucd: pos.az.alt + ivoa:unit: deg + - name: altitude + "@id": "#exposure.altitude" + datatype: float + description: Altitude of focal plane center at the middle of the exposure. + ivoa:ucd: pos.az.alt + ivoa:unit: deg + - name: zenith_distance_start + "@id": "#exposure.zenith_distance_start" + datatype: float + description: Zenith distance at the start of the exposure. + ivoa:ucd: pos.az.zd + ivoa:unit: deg + - name: zenith_distance_end + "@id": "#exposure.zenith_distance_end" + datatype: float + description: Zenith distance at the end of the exposure. + ivoa:ucd: pos.az.zd + ivoa:unit: deg + - name: zenith_distance + "@id": "#exposure.zenith_distance" + datatype: float + description: Zenith distance at the middle of the exposure. + ivoa:ucd: pos.az.zd + ivoa:unit: deg + - name: airmass + "@id": "#exposure.airmass" + datatype: float + description: Airmass of the observed line of sight at the middle of the exposure. + ivoa:ucd: obs.airMass + - name: exp_midpt + "@id": "#exposure.exp_midpt" + datatype: timestamp + precision: 6 + description: Midpoint time for exposure at the fiducial center of the focal plane. + array. TAI, accurate to 10ms. + ivoa:ucd: time.epoch + - name: exp_midpt_mjd + "@id": "#exposure.exp_midpt_mjd" + datatype: double + description: Midpoint time for exposure at the fiducial center of the focal plane. + array in MJD. TAI, accurate to 10ms. + ivoa:ucd: time.epoch + ivoa:unit: d + - name: obs_start + "@id": "#exposure.obs_start" + datatype: timestamp + precision: 6 + description: Start time of the exposure at the fiducial center of the focal plane. + array, TAI, accurate to 10ms. + ivoa:ucd: time.start + - name: obs_start_mjd + "@id": "#exposure.obs_start_mjd" + datatype: double + description: Start of the exposure in MJD, TAI, accurate to 10ms. + ivoa:ucd: time.start + ivoa:unit: d + - name: obs_end + "@id": "#exposure.obs_end" + datatype: timestamp + precision: 6 + description: End time of the exposure at the fiducial center of the focal plane. + array, TAI, accurate to 10ms. + ivoa:ucd: time.end + - name: obs_end_mjd + "@id": "#exposure.obs_end_mjd" + datatype: double + description: End of the exposure in MJD, TAI, accurate to 10ms. + ivoa:ucd: time.end + ivoa:unit: d + - name: exp_time + "@id": "#exposure.exp_time" + datatype: float + description: Spatially-averaged duration of exposure, accurate to 10ms. + ivoa:ucd: time.interval + ivoa:unit: s + - name: shut_time + "@id": "#exposure.shut_time" + datatype: float + description: Spatially-averaged shutter-open duration, accurate to 10ms. + ivoa:ucd: time.interval + ivoa:unit: s + - name: dark_time + "@id": "#exposure.dark_time" + datatype: float + description: Duration from last clear to readout, accurate to 10ms. + ivoa:ucd: time.interval + ivoa:unit: s + - name: group_id + "@id": "#exposure.group_id" + datatype: string + length: 64 + description: Identifier for the group that this exposure is part of. + - name: cur_index + "@id": "#exposure.cur_index" + datatype: int + description: Number (1-based) of the observation within its group. + - name: max_index + "@id": "#exposure.max_index" + datatype: int + description: Expected number of observations within the group. + - name: img_type + "@id": "#exposure.img_type" + datatype: string + length: 64 + description: Type of exposure taken. + - name: science_program + "@id": "#exposure.science_program" + datatype: string + length: 64 + description: Science program. + - name: observation_reason + "@id": "#exposure.observation_reason" + datatype: string + length: 68 + description: Reason for the observation. + - name: target_name + "@id": "#exposure.target_name" + datatype: string + length: 64 + description: Target of the observation. + - name: air_temp + "@id": "#exposure.air_temp" + datatype: float + description: Outside air temperature in degC. + ivoa:ucd: phys.temperature + - name: pressure + "@id": "#exposure.pressure" + datatype: float + description: Outside air pressure. + ivoa:unit: Pa + - name: humidity + "@id": "#exposure.humidity" + datatype: float + description: Outside relative humidity. + - name: wind_speed + "@id": "#exposure.wind_speed" + datatype: float + description: Outside wind speed. + ivoa:unit: m/s + - name: wind_dir + "@id": "#exposure.wind_dir" + datatype: float + description: Wind direction. + ivoa:unit: deg + - name: dimm_seeing + "@id": "#exposure.dimm_seeing" + datatype: float + description: Seeing as measured by external DIMM (FWHM). + ivoa:unit: arcsec + - name: shut_lower + "@id": "#exposure.shut_lower" + datatype: float + description: Dome dropout door opening percentage. + - name: shut_upper + "@id": "#exposure.shut_upper" + datatype: float + description: Dome main door opening percentage. + - name: focus_z + "@id": "#exposure.focus_z" + datatype: float + description: Focus Z position. + - name: dome_azimuth + "@id": "#exposure.dome_azimuth" + datatype: float + description: Dome azimuth. + - name: simulated + "@id": "#exposure.simulated" + datatype: boolean + description: Were any control system components simulated? + - name: vignette + "@id": "#exposure.vignette" + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." + - name: vignette_min + "@id": "#exposure.vignette_min" + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the exposure: UNKNOWN, NO, PARTIALLY, FULLY." + - name: s_region + "@id": "#exposure.s_region" + datatype: string + length: 1024 + description: Sky region in STC-S format (https://www.ivoa.net/documents/STC-S/20130917/index.html). + ivoa:ucd: pos.outline;obs.field +- name: exposure_flexdata + "@id": "#exposure_flexdata" + primaryKey: + - "#exposure_flexdata.obs_id" + - "#exposure_flexdata.key" + constraints: + - name: fk_exposure_flexdata_obs_id + "@id": "#exposure_flexdata.fk_obs_id" + "@type": ForeignKey + description: Flex data obs_id must be an Exposure exposure_id. + columns: ["#exposure_flexdata.obs_id"] + referencedColumns: ["#exposure.exposure_id"] + - name: fk_exposure_flexdata_key + "@id": "#exposure_flexdata.fk_key" + "@type": ForeignKey + description: Flex data key must be listed in the schema. + columns: ["#exposure_flexdata.key"] + referencedColumns: ["#exposure_flexdata_schema.key"] + columns: + - name: obs_id + "@id": "#exposure_flexdata.obs_id" + datatype: long + nullable: false + description: Unique identifier. + - name: key + "@id": "#exposure_flexdata.key" + datatype: string + length: 128 + nullable: false + description: Name of key. + - name: value + "@id": "#exposure_flexdata.value" + datatype: text + description: Content of value as a string. +- name: exposure_flexdata_schema + "@id": "#exposure_flexdata_schema" + primaryKey: + - "#exposure_flexdata_schema.key" + columns: + - name: key + "@id": "#exposure_flexdata_schema.key" + datatype: string + length: 128 + nullable: false + description: Name of key. + - name: dtype + "@id": "#exposure_flexdata_schema.dtype" + datatype: string + length: 64 + nullable: false + description: Name of the data type of the value, one of bool, int, float, str. + - name: doc + "@id": "#exposure_flexdata_schema.doc" + datatype: text + nullable: false + description: Documentation string. + - name: unit + "@id": "#exposure_flexdata_schema.unit" + datatype: string + length: 128 + description: Unit for the value. Should be from the IVOA (https://www.ivoa.net/documents/VOUnits/) or astropy. + - name: ucd + "@id": "#exposure_flexdata_schema.ucd" + datatype: string + length: 128 + description: IVOA Unified Content Descriptor (https://www.ivoa.net/documents/UCD1+/). +- name: ccdexposure + "@id": "#ccdexposure" + primaryKey: + - "#ccdexposure.ccdexposure_id" + constraints: + - name: un_exposure_id_detector + "@id": "#ccdexposure.un_exposure_id_detector" + "@type": Unique + description: Ensure exposure_id plus detector is unique. + columns: + - "#ccdexposure.exposure_id" + - "#ccdexposure.detector" + - name: fk_exposure_id + "@id": "#ccdexposure.fk_exposure_id" + "@type": ForeignKey + description: exposure_id must be in the Exposure table. + columns: ["#ccdexposure.exposure_id"] + referencedColumns: ["#exposure.exposure_id"] + columns: + - name: ccdexposure_id + "@id": "#ccdexposure.ccdexposure_id" + datatype: long + nullable: false + description: Unique identifier. + ivoa:ucd: meta.id + - name: exposure_id + "@id": "#ccdexposure.exposure_id" + datatype: long + nullable: false + description: Identifier of the exposure. + ivoa:ucd: meta.id.part + - name: detector + "@id": "#ccdexposure.detector" + datatype: int + nullable: false + description: Number of the detector in the focal plane. + ivoa:ucd: meta.id.part;instr.det + - name: s_region + "@id": "#ccdexposure.s_region" + datatype: string + length: 1024 + description: Sky region in STC-S format (https://www.ivoa.net/documents/STC-S/20130917/index.html). + ivoa:ucd: pos.outline;obs.field +- name: ccdexposure_camera + "@id": "#ccdexposure_camera" + primaryKey: + - "#ccdexposure_camera.ccdexposure_id" + constraints: + - name: fk_ccdexposure_camera_ccdexposure_id + "@id": "#ccdexposure_camera.fk_ccdexposure_id" + "@type": ForeignKey + description: exposure_id must be in the Exposure table. + columns: ["#ccdexposure_camera.ccdexposure_id"] + referencedColumns: ["#ccdexposure.ccdexposure_id"] + columns: + - name: ccdexposure_id + "@id": "#ccdexposure_camera.ccdexposure_id" + datatype: long + nullable: false + description: Unique identifier. + - name: temp_set + "@id": "#ccdexposure_camera.ccd_temp_set" + datatype: float + description: Temperature setpoint of CCD in degC. + - name: ccd_temp + "@id": "#ccdexposure_camera.ccd_temp" + datatype: float + description: Temperature of CCD in degC. + ivoa:ucd: phys.temperature +- name: ccdexposure_flexdata + "@id": "#ccdexposure_flexdata" + primaryKey: + - "#ccdexposure_flexdata.obs_id" + - "#ccdexposure_flexdata.key" + constraints: + - name: fk_ccdexposure_flexdata_obs_id + "@id": "#ccdexposure_flexdata.fk_obs_id" + "@type": ForeignKey + description: Flex data obs_id must be a CcdExposure ccdexposure_id. + columns: ["#ccdexposure_flexdata.obs_id"] + referencedColumns: ["#ccdexposure.ccdexposure_id"] + - name: fk_ccdexposure_flexdata_key + "@id": "#ccdexposure_flexdata.fk_key" + "@type": ForeignKey + description: Flex data key must be listed in the schema. + columns: ["#ccdexposure_flexdata.key"] + referencedColumns: ["#ccdexposure_flexdata_schema.key"] + columns: + - name: obs_id + "@id": "#ccdexposure_flexdata.obs_id" + datatype: long + nullable: false + description: Unique identifier. + - name: key + "@id": "#ccdexposure_flexdata.key" + datatype: string + length: 128 + nullable: false + description: Name of key. + - name: value + "@id": "#ccdexposure_flexdata.value" + datatype: text + description: Content of value as a string. +- name: ccdexposure_flexdata_schema + "@id": "#ccdexposure_flexdata_schema" + primaryKey: + - "#ccdexposure_flexdata_schema.key" + columns: + - name: key + "@id": "#ccdexposure_flexdata_schema.key" + datatype: string + length: 128 + nullable: false + description: Name of key. + - name: dtype + "@id": "#ccdexposure_flexdata_schema.dtype" + datatype: string + length: 64 + nullable: false + description: Name of the data type of the value, one of bool, int, float, str. + - name: doc + "@id": "#ccdexposure_flexdata_schema.doc" + datatype: text + nullable: false + description: Documentation string. + - name: unit + "@id": "#ccdexposure_flexdata_schema.unit" + datatype: string + length: 128 + description: Unit for the value. Should be from the IVOA (https://www.ivoa.net/documents/VOUnits/) or astropy. + - name: ucd + "@id": "#ccdexposure_flexdata_schema.ucd" + datatype: string + length: 128 + description: IVOA Unified Content Descriptor (https://www.ivoa.net/documents/UCD1+/). +- name: visit1 + "@id": "#visit1" + primaryKey: + - "#visit1.visit_id" + columns: + - name: visit_id + "@id": "#visit1.visit_id" + datatype: long + nullable: false + description: Unique identifier. + - name: exposure_name + "@id": "#visit1.exposure_name" + datatype: string + length: 20 + nullable: false + description: Official name of the exposure mapped to this visit by the 1-to-1 visit system. + - name: controller + "@id": "#visit1.controller" + datatype: string + length: 1 + nullable: false + description: The abbreviation of the controller used for the observation (O, C). + - name: day_obs + "@id": "#visit1.day_obs" + datatype: int + nullable: false + description: Day of observation. + - name: seq_num + "@id": "#visit1.seq_num" + datatype: int + nullable: false + description: Sequence number. + - name: physical_filter + "@id": "#visit1.physical_filter" + datatype: string + length: 32 + description: ID of physical filter, the filter associated with a particular instrument. + - name: band + "@id": "#visit1.band" + datatype: string + length: 32 + description: Name of the band used to take the visit. Abstract filter that is not associated with a particular instrument. + - name: s_ra + "@id": "#visit1.s_ra" + datatype: double + description: Central Spatial Position in ICRS; Right ascension of targeted focal plane center. + tap:std: 1 + ivoa:ucd: pos.eq.ra + votable:utype: Char.SpatialAxis.Coverage.Location.Coord.Position2D.Value2.C1 + ivoa:unit: deg + - name: s_dec + "@id": "#visit1.s_dec" + datatype: double + description: Central Spatial Position in ICRS; Declination of targeted focal plane center. + tap:std: 1 + ivoa:ucd: pos.eq.dec + votable:utype: Char.SpatialAxis.Coverage.Location.Coord.Position2D.Value2.C2 + ivoa:unit: deg + - name: sky_rotation + "@id": "#visit1.sky_rotation" + datatype: double + description: Targeted sky rotation angle. + ivoa:ucd: pos.posAng + ivoa:unit: deg + - name: azimuth_start + "@id": "#visit1.azimuth_start" + datatype: float + description: Azimuth of focal plane center at the start of the visit. + ivoa:ucd: pos.az.azi + ivoa:unit: deg + - name: azimuth_end + "@id": "#visit1.azimuth_end" + datatype: float + description: Azimuth of focal plane center at the end of the visit. + ivoa:ucd: pos.az.azi + ivoa:unit: deg + - name: azimuth + "@id": "#visit1.azimuth" + datatype: float + description: Azimuth of focal plane center at the middle of the visit. + ivoa:ucd: pos.az.azi + ivoa:unit: deg + - name: altitude_start + "@id": "#visit1.altitude_start" + datatype: float + description: Altitude of focal plane center at the start of the visit. + ivoa:ucd: pos.az.alt + ivoa:unit: deg + - name: altitude_end + "@id": "#visit1.altitude_end" + datatype: float + description: Altitude of focal plane center at the end of the visit. + ivoa:ucd: pos.az.alt + ivoa:unit: deg + - name: altitude + "@id": "#visit1.altitude" + datatype: float + description: Altitude of focal plane center at the middle of the visit. + ivoa:ucd: pos.az.alt + ivoa:unit: deg + - name: zenith_distance_start + "@id": "#visit1.zenith_distance_start" + datatype: float + description: Zenith distance at the start of the visit. + ivoa:ucd: pos.az.zd + ivoa:unit: deg + - name: zenith_distance_end + "@id": "#visit1.zenith_distance_end" + datatype: float + description: Zenith distance at the end of the visit. + ivoa:ucd: pos.az.zd + ivoa:unit: deg + - name: zenith_distance + "@id": "#visit1.zenith_distance" + datatype: float + description: Zenith distance at the middle of the visit. + ivoa:ucd: pos.az.zd + ivoa:unit: deg + - name: airmass + "@id": "#visit1.airmass" + datatype: float + description: Airmass of the observed line of sight at the middle of the visit. + ivoa:ucd: obs.airMass + - name: exp_midpt + "@id": "#visit1.exp_midpt" + datatype: timestamp + precision: 6 + description: Midpoint time for visit at the fiducial center of the focal plane. + array. TAI, accurate to 10ms. + ivoa:ucd: time.epoch + - name: exp_midpt_mjd + "@id": "#visit1.exp_midpt_mjd" + datatype: double + description: Midpoint time for visit at the fiducial center of the focal plane. + array in MJD. TAI, accurate to 10ms. + ivoa:ucd: time.epoch + ivoa:unit: d + - name: obs_start + "@id": "#visit1.obs_start" + datatype: timestamp + precision: 6 + description: Start time of the visit at the fiducial center of the focal plane. + array, TAI, accurate to 10ms. + ivoa:ucd: time.start + - name: obs_start_mjd + "@id": "#visit1.obs_start_mjd" + datatype: double + description: Start of the visit in MJD, TAI, accurate to 10ms. + ivoa:ucd: time.start + ivoa:unit: d + - name: obs_end + "@id": "#visit1.obs_end" + datatype: timestamp + precision: 6 + description: End time of the visit at the fiducial center of the focal plane. + array, TAI, accurate to 10ms. + ivoa:ucd: time.end + - name: obs_end_mjd + "@id": "#visit1.obs_end_mjd" + datatype: double + description: End of the visit in MJD, TAI, accurate to 10ms. + ivoa:ucd: time.end + ivoa:unit: d + - name: exp_time + "@id": "#visit1.exp_time" + datatype: float + description: Spatially-averaged duration of visit, accurate to 10ms. + ivoa:ucd: time.interval + ivoa:unit: s + - name: shut_time + "@id": "#visit1.shut_time" + datatype: float + description: Spatially-averaged shutter-open duration, accurate to 10ms. + ivoa:ucd: time.interval + ivoa:unit: s + - name: dark_time + "@id": "#visit1.dark_time" + datatype: float + description: Duration from last clear to readout, accurate to 10ms. + ivoa:ucd: time.interval + ivoa:unit: s + - name: group_id + "@id": "#visit1.group_id" + datatype: string + length: 64 + description: Identifier for the group that this visit is part of. + - name: cur_index + "@id": "#visit1.cur_index" + datatype: int + description: Number (1-based) of the observation within its group. + - name: max_index + "@id": "#visit1.max_index" + datatype: int + description: Expected number of observations within the group. + - name: img_type + "@id": "#visit1.img_type" + datatype: string + length: 64 + description: Type of visit taken. + - name: science_program + "@id": "#visit1.science_program" + datatype: string + length: 64 + description: Science program. + - name: observation_reason + "@id": "#visit1.observation_reason" + datatype: string + length: 68 + description: Reason for the observation. + - name: target_name + "@id": "#visit1.target_name" + datatype: string + length: 64 + description: Target of the observation. + - name: air_temp + "@id": "#visit1.air_temp" + datatype: float + description: Outside air temperature in degC. + ivoa:ucd: phys.temperature + - name: pressure + "@id": "#visit1.pressure" + datatype: float + description: Outside air pressure. + ivoa:unit: Pa + - name: humidity + "@id": "#visit1.humidity" + datatype: float + description: Outside relative humidity. + - name: wind_speed + "@id": "#visit1.wind_speed" + datatype: float + description: Outside wind speed. + ivoa:unit: m/s + - name: wind_dir + "@id": "#visit1.wind_dir" + datatype: float + description: Wind direction. + ivoa:unit: deg + - name: dimm_seeing + "@id": "#visit1.dimm_seeing" + datatype: float + description: Seeing as measured by external DIMM (FWHM). + ivoa:unit: arcsec + - name: shut_lower + "@id": "#visit1.shut_lower" + datatype: float + description: Dome dropout door opening percentage. + - name: shut_upper + "@id": "#evisit1.shut_upper" + datatype: float + description: Dome main door opening percentage. + - name: focus_z + "@id": "#visit1.focus_z" + datatype: float + description: Focus Z position. + - name: simulated + "@id": "#visit1.simulated" + datatype: boolean + description: Were any control system components simulated? + - name: vignette + "@id": "#visit1.vignette" + datatype: string + length: 10 + description: "Instrument blocked from the sky: UNKNOWN, NO, PARTIALLY, FULLY." + - name: vignette_min + "@id": "#visit1.vignette_min" + datatype: string + length: 10 + description: "Lowest amount of instrument vignetting detected during the visit: UNKNOWN, NO, PARTIALLY, FULLY." + - name: s_region + "@id": "#visit1.s_region" + datatype: string + length: 1024 + description: Sky region in STC-S format (https://www.ivoa.net/documents/STC-S/20130917/index.html). + ivoa:ucd: pos.outline;obs.field +- name: visit1_quicklook + "@id": "#visit1_quicklook" + primaryKey: + - "#visit1_quicklook.visit_id" + constraints: + - name: fk_visit1_quicklook_obs_id + "@id": "#visit1_quicklook.fk_obs_id" + "@type": ForeignKey + description: Quicklook visit_id must be an Exposure exposure_id. + columns: ["#visit1_quicklook.visit_id"] + referencedColumns: ["#exposure.exposure_id"] + columns: + - name: visit_id + "@id": "#visit1_quicklook.visit_id" + datatype: long + nullable: false + description: Unique identifier. + - name: astrom_offset_mean + "@id": "#visit1_quicklook.astrom_offset_mean" + datatype: float + description: Mean offset of astrometric calibration matches. + ivoa:unit: arcsec + - name: astrom_offset_std + "@id": "#visit1_quicklook.astrom_offset_std" + datatype: float + description: Standard deviation of offsets of astrometric calibration matches. + ivoa:unit: arcsec + - name: eff_time + "@id": "#visit1_quicklook.eff_time" + datatype: float + description: Effective exposure time calculated from PSF sigma, sky background, and zero point. + ivoa:unit: s + - name: eff_time_psf_sigma_scale + "@id": "#visit1_quicklook.eff_time_psf_sigma_scale" + datatype: float + description: Scale factor for effective exposure time based on PSF sigma. + - name: eff_time_sky_bg_scale + "@id": "#visit1_quicklook.eff_time_sky_bg_scale" + datatype: float + description: Scale factor for effective exposure time based on sky background. + - name: eff_time_zero_point_scale + "@id": "#visit1_quicklook.eff_time_zero_point_scale" + datatype: float + description: Scale factor for effective exposure time based on zero point. + - name: max_dist_to_nearest_psf + "@id": "#visit1_quicklook.max_dist_to_nearest_psf" + datatype: float + description: Maximum distance of an unmasked pixel to its nearest model PSF star. + - name: mean_var + "@id": "#visit1_quicklook.mean_var" + datatype: float + description: Mean of the variance plane. + - name: n_psf_star + "@id": "#visit1_quicklook.n_psf_star" + datatype: int + description: Number of stars used for PSF model. + - name: psf_area + "@id": "#visit1_quicklook.psf_area" + datatype: float + description: PSF area. + - name: psf_ixx + "@id": "#visit1_quicklook.psf_ixx" + datatype: float + description: PSF Ixx moment. + - name: psf_ixy + "@id": "#visit1_quicklook.psf_ixy" + datatype: float + description: PSF Ixy moment. + - name: psf_iyy + "@id": "#visit1_quicklook.psf_iyy" + datatype: float + description: PSF Iyy moment + - name: psf_sigma + "@id": "#visit1_quicklook.psf_sigma" + datatype: float + description: PSF sigma. + - name: psf_star_delta_e1_median + "@id": "#visit1_quicklook.psf_star_delta_e1_median" + datatype: float + description: Median E1 residual (starE1 - psfE1) for PSF stars. + - name: psf_star_delta_e1_scatter + "@id": "#visit1_quicklook.psf_star_delta_e1_scatter" + datatype: float + description: Scatter (via MAD) of E1 residual (starE1 - psfE1) for PSF stars. + - name: psf_star_delta_e2_median + "@id": "#visit1_quicklook.psf_star_delta_e2_median" + datatype: float + description: Median E2 residual (starE2 - psfE2) for PSF stars. + - name: psf_star_delta_e2_scatter + "@id": "#visit1_quicklook.psf_star_delta_e2_scatter" + datatype: float + description: Scatter (via MAD) of E2 residual (starE2 - psfE2) for PSF stars. + - name: psf_star_delta_size_median + "@id": "#visit1_quicklook.psf_star_delta_size_median" + datatype: float + description: Median size residual (starSize - psfSize) for PSF stars. + - name: psf_star_delta_size_scatter + "@id": "#visit1_quicklook.psf_star_delta_size_scatter" + datatype: float + description: Scatter (via MAD) of size residual (starSize - psfSize) for stars. + - name: psf_star_scaled_delta_size_scatter + "@id": "#visit1_quicklook.psf_star_scaled_delta_size_scatter" + datatype: float + description: Scatter (via MAD) of size residual scaled by median size squared. + - name: psf_trace_radius_delta + "@id": "#visit1_quicklook.psf_trace_radius_delta" + datatype: float + description: Delta (max - min) of model PSF trace radius values evaluated on a grid of unmasked pixels. + - name: sky_bg + "@id": "#visit1_quicklook.sky_bg" + datatype: float + description: Average sky background. + - name: sky_noise + "@id": "#visit1_quicklook.sky_noise" + datatype: float + description: RMS noise of the sky background. + - name: seeing_zenith_500nm + "@id": "#visit1_quicklook.seeing_zenith_500nm" + datatype: double + description: Measured PSF sigma, corrected to 500nm and an airmass of 1. + - name: zero_point + "@id": "#visit1_quicklook.zero_point" + datatype: float + description: Photometric zero point. + - name: low_snr_source_count + "@id": "#visit1_quicklook.low_snr_source_count" + datatype: int + description: Count of low signal-to-noise-ratio sources. + ivoa:unit: count + - name: high_snr_source_count + "@id": "#visit1_quicklook.high_snr_source_count" + datatype: int + description: Count of high signal-to-noise-ratio sources. + ivoa:unit: count