Skip to content

ObservationTask

ObservationTask Schema (Abstract Base)

Properties

Name Type Description
id Integer No description
uid UUID No description
task_type Enum(optical_imaging, optical_imaging_bias_calibration, optical_imaging_dark_calibration, optical_imaging_flat_calibration, radio_tracking, radio_mapping) Type of the observation task.
observation_id Integer No description
request_id Integer No description
result_id Integer No description
observing_grant_id Integer (Optional) Unique identifier of the observing grant associated with the observation task.
queue_access_grant_id Integer (Optional) Queue access grant used to schedule this task.
instrument_id Integer No description
instrument_configuration_version Integer (Optional) Instrument configuration version used when this task was scheduled.
scheduler_run_id Integer (Optional) No description
earliest_start_time DateTime (Optional) No description
planned_start_time DateTime (Optional) No description
planned_duration DATETIME (Optional) No description
total_planned_duration DATETIME (Optional) No description
expiration_time DateTime (Optional) No description
actual_start_time DateTime (Optional) No description
actual_end_time DateTime (Optional) No description
status Enum(dispatched, pending, active, completed, interrupted) No description
completed_on DateTime (Optional) No description
status_reason_code String(64) (Optional) Machine reason code for the latest node-reported status.
status_message String(Unbounded) (Optional) Human-readable detail accompanying status_reason_code.
window_infeasibility_action Enum(hold, defer) What the node does when the task can't run for the rest of its window.
modified_on DateTime Timestamp of the most recent task mutation.
progress_fraction Float Progress of the task execution (0.0 - 1.0).
assets_revision Integer Revision counter incremented whenever task assets change in a way that affects data products.

Relationships

Relationship Name Type
observation Observation
request ObservationRequest
instrument Instrument
observing_grant ObservingGrant
queue_access_grant ObservingQueueAccessGrant
scheduler_run SchedulerRun
task_asset_infos ObservationAssetTaskInfo
result ObservationResult

Subclasses

Name task_type
OpticalImagingBiasCalibrationTask optical_imaging_bias_calibration
OpticalImagingDarkCalibrationTask optical_imaging_dark_calibration
OpticalImagingFlatCalibrationTask optical_imaging_flat_calibration
OpticalImagingTask optical_imaging
RadioObservationTask ``