Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. get the current obsID value from the obsID keyword

  2. create an empty L0 FITS file (with correct filename) to append to

  3. pull telemetry from the desired KTL keywords and append them to the primary header in HDU 1

  4. append the obsID to the primary header in HDU 1

  5. look in the /Green sub-FITS directory for a file named “KPF_Green_obsID.FITS”

    1. if it exists, append it to the L0 FITS file as per diagram above

    2. if it does not exist, append empty GREEN_AMP1, GREEN_AMP2, GREEN_AMP3, GREEN_AMP4 HDUs to the L0 FITS

  6. look in the /Red sub-FITS directory for a file named “KPF_Red_obsID.FITS”

    1. if it exists, append it to the L0 FITS file as per diagram above

    2. if it does not exist, append empty RED_AMP1, RED_AMP2, RED_AMP3, RED_AMP4 HDUs to the L0 FITS

  7. look in the /Ca_HK sub-FITS directory for a file named “KPF_Ca_HK_obsID.FITS”

    1. if it exists, append it to the L0 FITS file as per diagram above

    2. if it does not exist, append empty CA_HK HDU to the L0 FITS

  8. look in the /ExpMeter sub-FITS directory for a file named “KPF_ExpMeter_obsID.FITS”

    1. if it exists, append it to the L0 FITS file as per diagram above

    2. if it does not exist, append empty EXPMETER HDU to the L0 FITS

  9. look in the /GuideCam sub-FITS directory for a file named “KPF_GuideCam_obsID.FITS”

    1. if it exists, append it to the L0 FITS file as per diagram above

    2. if it does not exist, append empty GUIDECAM HDU to the L0 FITS

Notes on file locations of Ca HK and Guide Camera FITS

...

The Ca HK and Guide Camera sub-FITS will be created on the KPF FIU computer (an ASL Lancelot located within the K1 server room). I believe these sub-FITS will need to be transferred from there to kpf-asl-prime in order for the FITS Assembler to access them.

...