124 lines
2.7 KiB
YAML
124 lines
2.7 KiB
YAML
weather_api:
|
|
base_url: https://weather.api.example.com/
|
|
timeout: 15s
|
|
precision: 0
|
|
units: us
|
|
timezone: "America/Chicago"
|
|
format: json
|
|
|
|
location:
|
|
id: home
|
|
name: Brentwood
|
|
region: St. Louis Metro
|
|
|
|
secrets:
|
|
directory: ""
|
|
|
|
output:
|
|
directory: /var/lib/weatherreporter/reports
|
|
|
|
notify:
|
|
distributor:
|
|
enabled: false
|
|
endpoint: https://distributor.example.com
|
|
token_env: DISTRIBUTOR_UPLOAD_TOKEN
|
|
timeout: 30s
|
|
failure_policy: error
|
|
pipeline_id_template: "weatherreporter.{report_id}"
|
|
bundle_id_template: "weatherreporter.{location_id}.{report_id}"
|
|
idempotency_key_template: "{bundle_id}.{run_id}"
|
|
batch:
|
|
enabled: true
|
|
pipeline_id_template: "weatherreporter"
|
|
bundle_id_template: "weatherreporter.{location_id}.{batch}"
|
|
idempotency_key_template: "{bundle_id}.{batch_run_id}"
|
|
|
|
missing_source:
|
|
default: warn
|
|
sources:
|
|
alerts: none
|
|
|
|
promptkit:
|
|
timeout: 2m
|
|
local:
|
|
concurrency_limit: 1
|
|
|
|
dayparts:
|
|
- name: overnight
|
|
start: "00:00"
|
|
end: "06:00"
|
|
- name: morning
|
|
start: "06:00"
|
|
end: "10:00"
|
|
- name: midday
|
|
start: "10:00"
|
|
end: "15:00"
|
|
- name: afternoon
|
|
start: "15:00"
|
|
end: "17:00"
|
|
- name: evening
|
|
start: "17:00"
|
|
end: "24:00"
|
|
|
|
reports:
|
|
daily:
|
|
distributor:
|
|
path_templates:
|
|
- "daily/{valid_start_date}/{run_id}.md"
|
|
- "daily/{valid_start_date}/index.md"
|
|
deterministic_modules:
|
|
- metadata
|
|
- current_conditions
|
|
- narrative_forecast
|
|
- derived_daily_summary
|
|
- derived_daypart_summaries
|
|
- precip_timing
|
|
- alert_digest
|
|
- spc_convective_outlooks
|
|
- id: area_forecast_discussion
|
|
options:
|
|
sections:
|
|
- long_term
|
|
- spc_convective_discussion
|
|
- weather_story
|
|
- outdoor_windows
|
|
- daily_planning
|
|
- hourly_forecast
|
|
today:
|
|
deterministic_modules:
|
|
- metadata
|
|
- current_conditions
|
|
- narrative_forecast
|
|
- derived_daily_summary
|
|
- derived_daypart_summaries
|
|
- precip_timing
|
|
- alert_digest
|
|
- spc_convective_outlooks
|
|
- id: area_forecast_discussion
|
|
options:
|
|
sections:
|
|
- product
|
|
- key_messages
|
|
- short_term
|
|
- long_term
|
|
- spc_convective_discussion
|
|
- weather_story
|
|
- outdoor_windows
|
|
- hourly_forecast
|
|
- today_planning
|
|
hourly:
|
|
deterministic_modules:
|
|
- metadata
|
|
- current_conditions
|
|
- hourly_forecast
|
|
- precip_timing
|
|
- alert_digest
|
|
- spc_convective_outlooks
|
|
- id: area_forecast_discussion
|
|
options:
|
|
sections:
|
|
- key_messages
|
|
- short_term
|
|
- spc_convective_discussion
|
|
- weather_story
|