Skip to content

Commit bb3cced

Browse files
author
Louis-Philippe Rousseau Lambert
committed
update sr3 config for alerts from dms
update plugin path for local
1 parent 408e00b commit bb3cced

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

deploy/default/sarracenia/dms-alerts.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ subtopic data.geomet.feeds.dms-geomet.alerts.#
88
download False
99
report False
1010

11+
# Must be there to ensure proper path is passed to callback
12+
mirror True
13+
directory /
14+
accept .*
15+
1116
callback ${MSC_PYGEOAPI_METPX_EVENT_FILE_PY}

msc_pygeoapi/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
'handler': 'msc_pygeoapi.loader.cap_alerts_realtime.CapAlertsRealtimeLoader' # noqa
6969
},
7070
'alerts_realtime': {
71-
'filename_pattern': 'MSC-DMS-OP/GEOMET/ALERT',
71+
'filename_pattern': 'dms-geomet/alerts',
7272
'handler': 'msc_pygeoapi.loader.alerts_realtime.AlertsRealtimeLoader' # noqa
7373
},
7474
'swob_realtime': {

0 commit comments

Comments
 (0)