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

obs_cfht needs to be updated in order to be compatible with latest CFHT data

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_cfht
    • Labels:
      None
    • Team:
      External

      Description

      obs_cfht is failing on recent CFHT data for 2 independent reasons :

      1. On old data the keyword "EXTNAME" appears 2 times in the fits header, the first one with the value "COMPRESSED_IMAGE" and the second one with the actual name of the extensions. While on some more recent data (not all !), there is only 1 occurrence of the "EXTNAME" keyword which contains the extension name. Notice that even if COMPRESSED_IMAGE is missing, the image is actually compressed.
      2. Recent images need new bad pixels mask files. These masks correspond to the addition of 4 more CCD in the focal plane (36-->40).

      The first fix is trivial and requires to override the getExtensionName method in ingest.py in order to check whether md.get("EXTNAME") is returning a tuple or a single value.

      The second issue requires to get the missing files from CFHT/Megacam (I got them from Jean-Charles Cuillandre) and to convert them in the format expected by obs_cfht. I already did that a few years ago and need to retrieve the method...

      New filters have also been installed since period 2015A and should be defined in ingest.py

        Attachments

          Activity

          boutigny Dominique Boutigny created issue -
          tjenness Tim Jenness made changes -
          Field Original Value New Value
          Team External [ 12117 ]
          boutigny Dominique Boutigny made changes -
          Description obs_cfht is failing on recent CFHT data for 2 independent reasons :
          # On old data the keyword "EXTNAME" appears 2 times in the fits header, the first one with the value "COMPRESSED_IMAGE" and the second one with the actual name of the extensions. While on some more recent data (not all !), there is only 1 occurrence of the "EXTNAME" keyword which contains the extension name. Notice that even if COMPRESSED_IMAGE is missing, the image is actually compressed.
          # Recent images need new bad pixels mask files. These masks correspond to the addition of 4 more CCD in the focal plane (36-->40).

          The first fix is trivial and requires to override the getExtensionName method in ingest.py in order to check whether md.get("EXTNAME") is returning a tuple or a single value.

          The second issue requires to get the missing files from CFHT/Megacam (I got them from Jean-Charles Cuillandre) and to convert them in the format expected by obs_cfht. I already did that a few years ago and need to retrieve the method...
          obs_cfht is failing on recent CFHT data for 2 independent reasons :
          # On old data the keyword "EXTNAME" appears 2 times in the fits header, the first one with the value "COMPRESSED_IMAGE" and the second one with the actual name of the extensions. While on some more recent data (not all !), there is only 1 occurrence of the "EXTNAME" keyword which contains the extension name. Notice that even if COMPRESSED_IMAGE is missing, the image is actually compressed.
          # Recent images need new bad pixels mask files. These masks correspond to the addition of 4 more CCD in the focal plane (36-->40).

          The first fix is trivial and requires to override the getExtensionName method in ingest.py in order to check whether md.get("EXTNAME") is returning a tuple or a single value.

          The second issue requires to get the missing files from CFHT/Megacam (I got them from Jean-Charles Cuillandre) and to convert them in the format expected by obs_cfht. I already did that a few years ago and need to retrieve the method...

          New filters have also been installed since period 2015A and should be defined in ingest.py
          boutigny Dominique Boutigny made changes -
          Reviewers Simon Krughoff [ krughoff ]
          Status To Do [ 10001 ] In Review [ 10004 ]
          krughoff Simon Krughoff made changes -
          Status In Review [ 10004 ] Reviewed [ 10101 ]
          boutigny Dominique Boutigny made changes -
          Resolution Done [ 10000 ]
          Status Reviewed [ 10101 ] Done [ 10002 ]

            People

            Assignee:
            boutigny Dominique Boutigny
            Reporter:
            boutigny Dominique Boutigny
            Reviewers:
            Simon Krughoff
            Watchers:
            Dominique Boutigny, John Swinbank, Simon Krughoff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.