Weather forecasts, observations and warnings
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- json
- Ambito
- backend-api-design
Direzione di ricerca
Start by reviewing the existing Signal K model and the prior discussion in issue #215, then compare the plugin paths and example structures cited here. Done means reaching agreement on a minimum viable schema for forecasts, observations, and warnings, including how warnings and location or timestamp identifiers fit.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Ref: Previous issue #215 (2016) started to address this topic but with no outcome.
Proposal:
Establish path(s) to contain the data for weather forecasts, observations and warnings/alerts.
Example:
environment.weather.forecasts
environment.weather.observations
environment.weather.warnings
The intent of this issue is to revive the conversation around weather information and it's place within the Signal K model now there are a number of plugins looking to fill this gap.
Rationale:
There are a at least two plugins (possibly more) that provide weather information sources from different services and placing the resultant information in various paths under environment eg: environment.forecast, environment.outside, environment.observations.
The data structure under those paths are varied most likely based on the format of data returned from the weather service source (e.g. OpenWeather, NOAA, etc).
Additionally the use of the path environment.outside (description = "Environmental conditions outside of the vessel's hull","Environmental conditions outside of the vessel's hull") is often used for data coming from sensors on the vessel, and therefore it can be confusing to interchange this with observation data from a weather station at another location.
For a Signal K application to reliably dispay weather information it should not have to know the paths and format of data used by a particular plugin, so the goal here is to define a MVP (minimum viable product) schema for these plugin to align to.
@inspired-technologies and @sbender9 your input will be highly valued.
environment.weather.forecasts
Path containing a series of point forecasts taken at a specific location (e.g. weather station). These could be identifed by their location_id or a timestamp in ISO string format.
Using timestamp as a key will accommodate for multiple point forecasts at varying tie intervals intervals (minutes, hours, etc).
Example with timestamp as key/identifier:
environment: {
forecasts: {
<ISOTimeStamp>: {
outlook: string, // "sunny", "mostly fine", etc.
sunrise: timestamp,
sunset: timestamp,
temperature: {
value: number,
minimum: number,
maximum: number,
feelsLike: number,
dewPoint: number,
},
humidity: {
value: number
},
pressure: {
value: number
},
rain: {
value: number
},
wind: {
speed: number,
direction: number
},
cloudCover: {
value: number
},
visibility: {
value: number
},
position: { latitude: number, longitude: number},
description: string // location description
},
<ISOTimeStamp>: { ... },
<ISOTimeStamp>: { ... },
...
}
environment.weather.observations
Path containing a series of obersvations at various locations (e.g. weather station). These could be identifed by their location_id or a timestamp in ISO string format.
Using timestamp as a key will accommodate for multiple point forecasts at varying tie intervals intervals (minutes, hours, etc).
Possible structure:
environment: {
observations: {
<location_id>: {
<ISOTimeStamp>: {
description: string,
position: { latitude: number, longitude: number},
outlook: string, // "sunny", "mostly fine", etc.
temperature: {
value: number,
minimum: number,
maximum: number,
feelsLike: number,
dewPoint: number,
},
humidity: {
value: number
},
pressure: {
value: number
},
rain: {
value: number
},
wind: {
speed: number,
direction: number
},
cloudCover: {
value: number
},
visibility: {
value: number
}
},
...
},
...
}
}
environment.weather.warnings
Warnings could have their own path that contains a series of warnings related to a location or maybe it makes sense to have warnings as a collection within both the observations and forecasts path entries.
Signal K plugins ref:
- signalk-noaa-weather @sbender9
- signalk-openweather-plugin @inspired-technologies
- Lingua principale
- JavaScript
- Stelle
- 105
- Fork
- 72
- Merge medio
- 11h 49m
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SignalK/specification
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
SignalK/specification#700 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
SignalK/specification#694 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
SignalK/specification#691 ·
-
RFC: depth transducer offsets: one sign convention, transducer position, server-derived depthsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
SignalK/specification#688 · 3 commenti · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
SignalK/specification#685 · 2 commenti ·
Tutte le issue di SignalK/specification
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
TheOdinProject/curriculum#31596 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mailcow/mailcow-dockerized#7725 ·
I maintainer di solito rispondono entro 1 giorno
-
bug need-fix
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
hoverkraft-tech/ci-github-common#694 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
solana-foundation/solana-com#2579 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
vercel-labs/agent-skills#385 ·