Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-150

Updating scheme for AIT sequence/exposure database

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2017-10A

      Description

      We agreed on a updated scheme for the AIT exposure database in order to facilitate the sharing of the data between institutes.

      This consist in 3 tables :

      • a table which list all the exposures (filled by the ccdActor)
        CREATE TABLE exp
        (
          expid bigint NOT NULL,
          exptype text,
          exptime double precision,
          obsdate text,
          quality text,
          CONSTRAINT id PRIMARY KEY (expid)
        
      • a table which link a single exposure to an exposure group
      CREATE TABLE expgroup
      (
        expid bigint NOT NULL,
        groupid bigint,
        CONSTRAINT id PRIMARY KEY (expid)
      
      • a table which list the experiments (per sm):
      CREATE TABLE sm0
      (
        testid bigint NOT NULL,
        groupid bigint,
        testname text,
        experiment text,
        date text,
        arm text,
        drp text,
        operator text,
        cmdstr text,
        status text,
        comments text,
        anomalies text,
        exptime double precision,
        lowbound double precision,
        upbound double precision,
        nbimage bigint,
        CONSTRAINT id PRIMARY KEY (index)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arnaud.lefur arnaud.lefur
                Reporter:
                arnaud.lefur arnaud.lefur
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: