Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.eso.org/~qc/dfos/dataLoader.html
Дата изменения: Tue Jan 13 13:35:22 2015 Дата индексирования: Sun Apr 10 00:40:09 2016 Кодировка: Поисковые слова: polar ring |
Common DFOS tools:
|
dfos = Data Flow Operations System, the common tool set for DFO |
make printable | new: | see also: | ||||||||
v1.3: - dataclient replaced by HdrDownloader |
HdrDownloader (used for header downloads) ngasClient (used by dataLoader as download engine) dpQuery (used for mcalib downloads) hotfly (used by ngasClient to update the headers) |
|||||||||
v1.3.2:
|
|
This tool is designed to download headers and fits files from the archive (raw and products). It works on the complete set of files for the specified date. It has the following properties:
dataLoader | |
download mechanism | on-line, through HdrDownloader (headers) or ngasClient (fits files) |
headers: source | from SAF_IQ (keyword_repository): fully up-to-date (raw hdrs as well as product hdrs) |
headers: availibility | very close to real-time (DTS transfer, within 5 minutes or less) |
fits files: source | NGAS (through DTS) |
fits files: header updates | fully available (raw and products) |
The typical use cases for dataLoader are:
dataLoader has two main parameters: -t[ype] and -d[ate].
For mode h[eader], the tool downloads the header files into $DFO_HDR_DIR/<date>, by calling HdrDownloader. Headers are fully updated. Last broken template is recognized and shifted to next date, in order to avoid processing failures. Find more here.
In mode r[aw_fits], it checks, file by file, their availability in NGAS. Also, it checks if the file is already in the system. If so, the file is skipped. All available and not yet existing files are then downloaded (again with updated headers) into $DFO_RAW_DIR/<date>.
Product headers and product fits files are always downloaded in two channels: CALIB data first (into $DFO_CAL_DIR/<date>), then SCIENCE data (into $DFO_SCI_DIR/<date>). You cannot download CALIB or SCIENCE products only. You cannot download ANCILLARY files with dataLoader. All product headers or fits files go through hotfly and have updated headers. The tool calls productExplorer to get the list of all files to be downloaded.
Type dataLoader -h for on-line help.
The typical call for headers is:
dataLoader -t h -d 2025-07-30 (raw headers, updated, broken-template enabled)
dataLoader -t P -d 2025-07-30 (product CALIB and SCI headers, updated)
Fits files are downloaded by:
dataLoader -t r -d 2025-07-30 (raw fits files, headers updated)
dataLoader -t c -d 2025-07-30 (product CALIB and SCI fits files, headers updated)
config.dataLoader contains:
INS_TABLE | giraffe | name of IST |
Use dfosExplorer, or type dfosInstall -t dataLoader .
dataLoader in mode 'header' writes the status flag 'hdr_Exist' (or 'hdr_Notexist') into $DFO_MON_DIR/DFO_STATUS. In the other modes no status flags are written.
There is no need to use dataLoader -t r routinely within the daily workflow. All files are auto-delivered by processAB and ngasClient.