Variables#
Demonstrates using synoptic.services.Variables. This returns a simple table of all variables provided by Synoptic. It may be useful for joining into other DataFrames if you need more details about the variables.
[1]:
from synoptic import Variables
[2]:
df = Variables().df()
df
ππ¨ Speedy delivery from Synoptic's variables service.
π¦ Received data from 203 stations (0.17 seconds).
[2]:
shape: (203, 4)
| variable | vid | long_name | unit |
|---|---|---|---|
| str | u32 | str | str |
| "air_temp" | 3 | "Temperature" | "Celsius" |
| "dew_point_temperature" | 4 | "Dew Point" | "Celsius" |
| "relative_humidity" | 5 | "Relative Humidity" | "%" |
| "wind_speed" | 6 | "Wind Speed" | "m/s" |
| "wind_direction" | 7 | "Wind Direction" | "Degrees" |
| … | … | … | … |
| "weather_condition" | 0 | "Weather condition" | "" |
| "weather_summary" | 0 | "Weather summary" | "" |
| "cloud_layer_1" | 0 | "Cloud layer 1" | "" |
| "cloud_layer_2" | 0 | "Cloud layer 2" | "" |
| "cloud_layer_3" | 0 | "Cloud layer 3" | "" |