Document current conditions consensus selection
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
This commit is contained in:
@@ -162,8 +162,10 @@ GET /observations?units=us&precision=1
|
||||
GET /conditions/current
|
||||
```
|
||||
|
||||
Returns current conditions aggregated from recent `observations` rows. The
|
||||
implemented observation window is 30 minutes.
|
||||
Returns current conditions from recent `observations` rows. Numeric fields are
|
||||
aggregated over the implemented 30-minute observation window. `conditionCode`
|
||||
is selected from the latest observation per source in that window by
|
||||
source-balanced WMO family consensus.
|
||||
|
||||
Query parameters: `format`, `units`, `precision`.
|
||||
|
||||
@@ -171,6 +173,7 @@ Common `data` fields:
|
||||
|
||||
| Field | Type | Notes |
|
||||
| --- | --- | --- |
|
||||
| `conditionCode` | integer | WMO weather code selected by source-balanced family consensus |
|
||||
| `conditionText` | string | optional text derived from WMO code and day/night flag |
|
||||
| `isDay` | boolean | optional |
|
||||
| `relativeHumidityPercent` | number | optional |
|
||||
|
||||
Reference in New Issue
Block a user