How to prepare an OPE file for Hyper Suprime-Cam

Last update: April 8, 2023

Index




1. What is an OPE file?

Observations of Subaru Telescope are conducted by executing script files called 'OPE file (Observation Procedure Execute file; but often called OPEration file)'. Observers are requested to prepare the OPE file describing the sequence of your observing tasks prior to your run. An OPE file consists of information on your targets and individual operating commands such as target acquisition, exposing, focusing, filter change, etc. Please prepare for your OPE files and send them to the Support Astronomer (SA) by e-mail. On the observing night, SA and telescope operator will load your OPE file onto the observation control system and perform the observation by following your requests.

Each individual command will be executed by SA and telescope operator on a line-by-line basis. Since operators can choose any command line to execute in your OPE file and you may also edit and modify the OPE file at the summit, command lines do not have to be sorted exactly in the order of your observation plan. However, if you write down command lines in a sorted order with reasonable comment, it would be helpful for SA to understand your intent correctly and to prevent misoperation.

You may include all the targets in one OPE file. However, it would be a good idea to separate your OPE file into reasonably small files especially by each night in the case you awarded two or more nights and have a lot of targets with multiple filters/modes to observe.

Template OPE file

The template OPE file can be downloaded from here. Please follow this template file and the description below to prepare your OPE file.

2. Structure of an OPE file

An OPE file is composed of three parts. All parts should be included in the OPE file.

  1. HEADER
    • Described between <HEADER> and </HEADER>
    • Information on the file name and observing date and time
    • The information listed here does not have to be the exact amount.
  2. PARAMETER_LIST
    • Described between <PARAMETER_LIST> and </PARAMETER_LIST>
    • Several preset parameters (e.g., $DEF_TOOLS) are defined here. Please do not modify or remove them.
    • Your target list and parameters which can be referred to in the COMMAND part (see below) are defined here.
    • You can also define object names (written into fits header), coordinates, position angle of your target fields.
  3. COMMAND
    • Described between <COMMAND> and </COMMAND>
    • Commands for operating the instrument and the telescope are listed here.
    • One line contains one command.


3. Detailed description of PARAMETER_LIST section

3.1. Object list

Example NGC77145=OBJECT="NGC7714/7715" RA=233618.320 DEC=+020921.28 EQUINOX=2000.0
L1551=OBJECT="L1551" RA=043130.000 DEC=+181000.00 EQUINOX=2000.0
NGC6822=OBJECT="NGC6822" RA=+194456.000 DEC=-144806.00 EQUINOX=2000.0
NGC4038_39=OBJECT="NGC4038_39" RA=120201.250 DEC=-184554.00 EQUINOX=2000.0
NGC4826=OBJECT="NGC4826" RA=125644.100 DEC=+214634.94 EQUINOX=2000.0
M20=OBJECT="M20" RA=180222.100 DEC=-225548.00 EQUINOX=2000.0
M51=OBJECT="M51" RA=132955.000 DEC=+471855.00 EQUINOX=2000.0
SA107=OBJECT="SA107" RA=153904.500 DEC=-001400.00 EQUINOX=2000.0



3.2. Non-sidereal tracking

Example NEO1=OBJECT="NEO 1" FILE="08 20001231neo1.eph"



4. Detailed description of COMMAND section

4.1. Calibration frames

4.1.1. Bias, Dark — GetBias, GetDark —

Example GetBias $DEF_IMAGE NUMBER=10
GetDark $DEF_IMAGE EXPTIME=300 NUMBER=5



4.1.2. Dome flat

4.1.2.1. On-axis dome flat — SetupOnAxisDomeflat / GetDomeFlat — [updated on Mar 23, 2023]

Example SetupOnAxisDomeFlat $DEF_TOOLS Z=3.75 INSROT_POS=90

GetDomeFlat $DEF_IMAGE EXPTIME=8 Filter="HSC-r2"
GetDomeFlat $DEF_IMAGE EXPTIME=8 Filter="HSC-r2" NUMBER=9



© Subaru Telescope, National Astronomical Observatory of Japan.