Creates a list of observation IDs that fulfils certain criteria, e.g. pointing close to specific source.
This script can be used to create lists of observation IDs that share certain properties. For instance, all observations pointing around a specific sky position can be selected. In addition, the script is flexible to use expressions to further constrain criteria to select observations. The user can e.g. select all observations within a certain zenith angle range by specifying the hidden parameter expression. For example
csfindobs expression="ZEN_PNT<50&&ZEN_PNT>40"
is used to select observations with zenith angle range between 40 and 50 degrees.
The parameter datapath is only queried if the environment variable $VHEFITS is not set.
The output of this script is an ASCII file containing observation IDs that fulfil criteria specified by the user. This file can be used as input for csiactobs. The script operates on an observation index file that needs to be provided along with IACT data. See here how IACT data should be structured. To investigate additional parameters which are available for selection, have a look here.
chatter = 0: no information will be logged
chatter = 1: only errors will be logged
chatter = 2: errors and actions will be logged
chatter = 3: report about the task execution
chatter = 4: detailed report about the task execution