Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-33232

Add corrections files for Auxtel One Degree Survey images

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_lsst
    • Labels:
      None
    • Team:
      DM Science
    • Urgent?:
      No

      Description

      Add correction files to obs_lsst/corrections to populate PROGRAM and REASON header keywords for Auxtel Survey imaging data taken on 2021-10-06 and 2021-11-02 to facilitate easier user queries. 

        Attachments

          Issue Links

            Activity

            Hide
            edennihy Erik Dennihy added a comment -

            Branch created, corrections files added for data taken on 2021-10-06 (https://confluence.lsstcorp.org/display/LSSTCOM/2021-10-06+Aux-Tel+Night+Log) and 2021-11-02 (https://confluence.lsstcorp.org/display/LSSTCOM/2021-11-02+Aux-Tel+Night+Log) using attached script below. Added following keywords:

            PROGRAM: AUXTEL-IMAGING-1
            REASON: Pan-STARRS MD02
             
            correctionsfiles.py

            Show
            edennihy Erik Dennihy added a comment - Branch created, corrections files added for data taken on 2021-10-06 ( https://confluence.lsstcorp.org/display/LSSTCOM/2021-10-06+Aux-Tel+Night+Log)  and 2021-11-02 ( https://confluence.lsstcorp.org/display/LSSTCOM/2021-11-02+Aux-Tel+Night+Log)  using attached script below. Added following keywords: PROGRAM: AUXTEL-IMAGING-1 REASON: Pan-STARRS MD02   correctionsfiles.py
            Hide
            tjenness Tim Jenness added a comment -

            These changes look okay to me if you are happy with the values. Remember to be consistent in the future when you take more data.

            Show
            tjenness Tim Jenness added a comment - These changes look okay to me if you are happy with the values. Remember to be consistent in the future when you take more data.
            Hide
            edennihy Erik Dennihy added a comment - - edited

            After merging this branch, Mikolaj re-ingested the files on 2021-01-19 and I confirmed that the keywords are available in the metadata with both a command-line db query and via a butler queryDimensionRecords using the latest weekly build on the rubin science platform. I added notes on how to perform the query on the rubin-sitcom-surveys slack channel. Example butler query included below. 

             

            exposureList = []
            dates = []
            program = "'AUXTEL-IMAGING-1'" #double-quotes are necessary here to format the where statement correctly
            for record in butler.registry.queryDimensionRecords("exposure", where="exposure.science_program={}".format(program),instrument='LATISS'):
                exposureList.append([record.id, record])
                dates.append(record.day_obs)
            exposureList.sort(key=lambda x: x[0])
            values, counts = np.unique(dates, return_counts=True)
            print('%i total exposures found'%len(exposureList))
            for i in range(len(values)):
                print('%i exposures taken on %s'%(counts[i],values[i]))
            

            Show
            edennihy Erik Dennihy added a comment - - edited After merging this branch, Mikolaj re-ingested the files on 2021-01-19 and I confirmed that the keywords are available in the metadata with both a command-line db query and via a butler queryDimensionRecords using the latest weekly build on the rubin science platform. I added notes on how to perform the query on the rubin-sitcom-surveys slack channel. Example butler query included below.    exposureList = [] dates = [] program = "'AUXTEL-IMAGING-1'" #double-quotes are necessary here to format the where statement correctly for record in butler.registry.queryDimensionRecords( "exposure" , where = "exposure.science_program={}" . format (program),instrument = 'LATISS' ): exposureList.append([record. id , record]) dates.append(record.day_obs) exposureList.sort(key = lambda x: x[ 0 ]) values, counts = np.unique(dates, return_counts = True ) print ( '%i total exposures found' % len (exposureList)) for i in range ( len (values)): print ( '%i exposures taken on %s' % (counts[i],values[i]))

              People

              Assignee:
              edennihy Erik Dennihy
              Reporter:
              edennihy Erik Dennihy
              Reviewers:
              Tim Jenness
              Watchers:
              Erik Dennihy, Merlin Fisher-Levine, Robert Lupton, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins Builds

                  No builds found.