Operating Manual CHM 15k
R13 / 07-2019
Communication via RS485 & Ethernet
54
Configuration file “afdsettings.txt”
[directory]
/tmp/afd/netcdf/afd-src
[dir options]
delete unknown files 0
delete queued files 6
[files]
*
[destination]
[recipient]
ftp://user:password@host_ip/path/%h/%tY/%tm
[options]
priority 9
create target dir
time */15 * * * *
lock DOT
age-limit 3600
# exec -d bzip2 %s
When editing the configuration file:
The full format (blank lines and indentation depth) of the afdsettings file is
important. If the sample file is downloaded from the ceilometer, carefully replace
each item step by step. "#" is used to leave a comment instead of a statement.
Example for a “afdsetting.txt” file:
Ftp server 192.168.1.51
Subdirectory from root on server: /home/chm_data
user name: afd
password: eXample
[recipient]
ftp://afd:[email protected]//home/chm_data/%h/%tY/%tm
[options]
priority 9
create target dir
time */15 * * * *
lock DOT
age-limit 3600
exec -d bzip2 %s
Every 15 minutes, bzip-compressed files are transferred to the ftp server in a directory specified by
/home/chm_data/hostname/year/month. Hostname
“%h” is the device name, e.g. CHM060001, year “%tY”
and
month “%tm” are the time settings specified by the device.
A double-slash // after the IP address indicates that the path starts in the source directory; a single slash /
indicates that the path starts from the ftp-home directory.
An ftp path in the Windows directory may look like this:
ftp://afd:[email protected]/%h/%tY/%tm.
The file is stored in the subdirectory /%h/%tY/%tm of the main directory on the ftp server.
The command
“time * * * * *” sends a 5-minute NetCDF file immediately after it is created.
Содержание CHM 15k
Страница 1: ...General Information 1 Titelseite...
Страница 73: ...Index of Tables 73...