DRS4TimeLapseFile#

pydantic model lstcam_calib.io.database.DRS4TimeLapseFile#

Pydantic model for a drs4 time lapse file in the calibration db.

Show JSON schema
{
   "title": "DRS4TimeLapseFile",
   "description": "Pydantic model for a drs4 time lapse file in the calibration db.",
   "type": "object",
   "properties": {
      "product_id": {
         "title": "Product Id",
         "type": "string"
      },
      "status": {
         "title": "Status",
         "type": "string"
      },
      "usage_start": {
         "anyOf": [
            {
               "format": "date-time",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Usage Start"
      },
      "usage_stop": {
         "anyOf": [
            {
               "format": "date-time",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Usage Stop"
      },
      "processing_time": {
         "format": "date-time",
         "title": "Processing Time",
         "type": "string"
      },
      "path": {
         "format": "path",
         "title": "Path",
         "type": "string"
      },
      "provenance_path": {
         "format": "path",
         "title": "Provenance Path",
         "type": "string"
      },
      "lstcam_calib_version": {
         "title": "Lstcam Calib Version",
         "type": "string"
      },
      "last_modified": {
         "format": "date-time",
         "title": "Last Modified",
         "type": "string"
      },
      "obs_id": {
         "title": "Obs Id",
         "type": "integer"
      },
      "local_run_id": {
         "title": "Local Run Id",
         "type": "integer"
      }
   },
   "required": [
      "product_id",
      "status",
      "processing_time",
      "path",
      "provenance_path",
      "lstcam_calib_version",
      "last_modified",
      "obs_id",
      "local_run_id"
   ]
}

Fields:
field local_run_id: int [Required]#

Local run index of R0/R1 data used for the calibration

field obs_id: int [Required]#

CTAO observation index of the R0/R1 data used for the calibration