-
Notifications
You must be signed in to change notification settings - Fork 2
/
posttroll_adder.yaml
88 lines (80 loc) · 3.23 KB
/
posttroll_adder.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Connection and workspace settings
host: http://<geoserver URL>/geoserver/rest/
# Also possible via GEOSERVER_USER env variable. If neither are given, the default "admin" will be used
user: <geoserver username>
# Also possible via GEOSERVER_PASSWORD env variable. If neither are given, the default "geoserver" will be used
passwd: <geoserver password>
workspace: <name of the workspace>
# Restart the updater if the timeout, in minutes, is reached. Optional.
# restart_timeout: 10
# Select the filesystem type. The options are "filesystem" (default) and "s3"
# filesystem: s3
# Internal path to directory within Geoserver where images are placed
geoserver_target_dir: /opt/geoserver/data_dir
# Write this WKT1 string to "/path/to/{file_basename}.prj". Optional.
# This is needed if there's no projection information (that is
# supported by Geoserver) in the image files.
write_wkt: 'PROJCS["World_Eckert_IV",GEOGCS["WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["degree",0.017453292519943295],AXIS["Longitude",EAST],AXIS["Latitude",NORTH]],PROJECTION["Eckert_IV"],PARAMETER["semi_minor",6378137.0],PARAMETER["central_meridian",0.0],UNIT["m",1.0],AXIS["x",EAST],AXIS["y",NORTH],AUTHORITY["EPSG","54012"]]'
# This will be used, if also the below option is set, to check for
# identity of already existing images on Geoserver
# file_pattern: "{start_time:%Y%m%d_%H%M}_{platform_name}_{areaname}_{productname}.{format}"
# Check for other file name parts for identity if there already is a file
# within the given time distance. Do not add the image if all other parts match
# identity_check_seconds: 300 # 5 minutes
# Configuration for incoming messages
topics:
- /topic/1
- /topic/2
# The Posttroll nameserver to connect to for subscriptions.
# Alternatively set 'services: null' to not use nameserver
nameserver: localhost
# Name of the services to connect to. Default: "" (connect to all services)
# To turn off, set to null
# services: null
# Addresses and ports to connect directly to
# addresses: [192.123.123.123:50000, 192.123.123.123:50001]
# Use address listener that makes it possible to connect to new services available on the nameserver.
# Default: True
# use_address_listener: False
# Mappings from composite names to layer names
layers:
# "productname" in the Posttroll message -> layer name in Geoserver
airmass: airmass_layer
ash: ash_layer
cloud_phase_with_dust: cloud_phase_layer
log_config:
version: 1
formatters:
fmt:
format: '[%(asctime)s %(levelname)-8s %(name)s] %(message)s'
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: fmt
stream: ext://sys.stdout
file:
class: logging.handlers.TimedRotatingFileHandler
level: DEBUG
formatter: fmt
filename: /path/to/log/dir/posttroll_adder.log
when: midnight
interval: 1
backupCount: 10
root:
level: DEBUG
propagate: false
handlers: [console, file]
loggers:
'':
level: DEBUG
handlers: [console, file]
propagate: false
'georest':
level: DEBUG
handlers: [console, file]
propagate: false
'georest.utils':
level: DEBUG
handlers: [console, file]
propagate: false