Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.eso.org/~qc/dfos/rawdisp2reference.html
Дата изменения: Wed Dec 2 14:02:27 2015 Дата индексирования: Sun Apr 10 01:19:10 2016 Кодировка: Поисковые слова: enceladus |
Common DFOS tools:
|
dfos = Data Flow Operations System, the common tool set for DFO |
make printable | new: | see also: |
- v1.0 first release |
- qc_rawdisp.py | |
|
This tool can be called after moveProducts for selecting RAWDISP plots as reference plots. It works on a specified date: ABs can be selected interactively, the RAWDISP plots from the chosen ABs are then copied to $DFS_PRODUCT/RAWDSIP/REFERENCE/, renamed, and published on the web server at /observing/dfo/quality/<INSTRUMENT>/reports/RAWDISP/REFERENCE. Thereafter, the reference plots are found by getStatusAB when creating the RAWDISP web pages and are linked to the current plots for comparison. For possible usage in overview pages, also the thumbnail images are renamed and saved (but not published).
The tool expects ABs in $DFO_LOG_DIR/<DATE>. Therefore, it can only be called after moveProducts. It only offers certified ABs and ABs from pipeline-unsupported modes for selecting reference plots. The RAWDISP plots are expected to be on the operational machine in $DFS_PRODUCT/RAWDSIP/<DATE>/. If this directory was already removed by finishNight, the user is asked whether the needed plots shall be re-created.
The naming scheme for the reference plots is
<RAWTYPE>_<DO_CLASS>_<SETUP>_<EXT>.gif
<RAWTYPE>, <DO_CLASS>, and <SETUP> are taken from the RAW_TYPE, RAWFILE, and RAW_MATCH_KEY sections of the relevant AB. Header key names in the RAW_MATCH_KEYs are removed, any existing '/' in the set up is replaced by '_'. <EXT> is the fits extension number (0 for the primary header unit) in the raw file. Newly created reference plots replace automatically any existing references with the same name.
Output
The renamed reference plots exist locally at
$DFS_PRODUCT/RAWDISP/REFERENCE/
and on the web server at
/observing/dfo/quality/<INSTRUMENT>/reports/RAWDISP/REFERENCE/ .
Thumbnail images are locally at
$DFS_PRODUCT/RAWDISP/THUMBS/.
A listing with of all reference plots exists as $DFO_MON_DIR/RAWDISP/list_RAWDISP_references. It matches the plots with their original names, raw types, DO classes, instrument set-ups, and DFO dates.
Type rawdisp2reference -h for on-line help, rawdisp2reference -v for the version number.
The standard usage is
rawdisp2reference -d <DATE>
for selecting plots from <DATE> as references. It may eventually be useful to re-create the RAWDISP plots even in the case that the local directory still exists. This can be enforced with the -F option:
rawdisp2reference -F -d <DATE>
The configuration file config.rawdisp (same as for qc_rawdisp.py) must exist in $DFO_CONFIG_DIR. It can contain optionally any number of
NO_REFERENCE <RAW_TYPE>
lines for marking those raw types which RAWDISP plots are never considered as reference plots.
Installation
The tool comes as part of the utilPack.