weather
weather
#
Matching forecast weather to the moments a session might be captured.
nearest_weather(weather, times)
#
The weather entry closest in time to each of times.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
weather
|
Array[Weather]
|
The forecast or observed entries to choose from. |
required |
times
|
Array[datetime]
|
The moments to find weather for. |
required |
Returns:
| Type | Description |
|---|---|
Array[Weather]
|
One entry per query time, in the same order. |