Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new subtopic pattern for datamart directory structure change #305

Merged
merged 4 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/supervisord.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ autorestart = true

[program:sr_subscribe-hrdps-continental]
# Use `sr_subscribe foreground` instead of `start` to enable supervisor to manage the process
command = %(ENV_SARRACENIA_ENV)s/bin/sr_subscribe foreground %(ENV_SARRACENIA_CONFIG)s/hrdps-continental-dd-weather.conf
command = %(ENV_SARRACENIA_ENV)s/bin/sr_subscribe foreground %(ENV_SARRACENIA_CONFIG)s/hrdps-continental-hpfx.conf
# sr_subscribe logs to stderr; redirect that to stdout so that we can
# view the sr_subscribe log with `supervisorctl tail sr_subscribe-hrdps-continental`
redirect_stderr = true
Expand All @@ -53,7 +53,7 @@ autorestart = true

[program:sr_subscribe-hydrometric]
# Use `sr_subscribe foreground` instead of `start` to enable supervisor to manage the process
command = %(ENV_SARRACENIA_ENV)s/bin/sr_subscribe foreground %(ENV_SARRACENIA_CONFIG)s/hydrometric-dd-weather.conf
command = %(ENV_SARRACENIA_ENV)s/bin/sr_subscribe foreground %(ENV_SARRACENIA_CONFIG)s/hydrometric-hpfx.conf
# sr_subscribe logs to stderr; redirect that to stdout so that we can
# view the sr_subscribe log with `supervisorctl tail sr_subscribe-hydrometric`
redirect_stderr = true
Expand Down
2 changes: 1 addition & 1 deletion sarracenia/hrdps-continental-dd-weather.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ queue_name q_anonymous.sr_subscribe.hrdps-continental-dd-weather.UBC.SalishSeaCa
instances 1
expire 6h

subtopic model_hrdps.continental.2.5km.#
subtopic *.WXO-DD.model_hrdps.continental.2.5km.#
directory /SalishSeaCast/datamart/hrdps-continental/
# mirror the datamart directory structure but drop the 1st 4 path elements
# so that our mirror starts with forecast number (00/, 06/, 12/, or 18/)
Expand Down
2 changes: 1 addition & 1 deletion sarracenia/hydrometric-dd-weather.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ queue_name q_anonymous.sr_subscribe.hydrometric-dd-weather.UBC.SalishSeaCast
instances 1
expire 1h

subtopic hydrometric.csv.BC.hourly
subtopic *.WXO-DD.hydrometric.csv.BC.hourly
directory /SalishSeaCast/datamart/hydrometric
overwrite true
# Capilano River above dam intake
Expand Down
Loading