from spotforecast2_safe.weather.locations import WeatherLocation
loc = WeatherLocation("Köln", 50.9375, 6.9603, 1073.0)
print(loc.name, loc.latitude, loc.weight)Köln 50.9375 1073.0
A single weather sampling location with a population weight.
| Name | Type | Description |
|---|---|---|
| name | str | Human-readable city name (used for logs/inspection only). |
| latitude | float | Latitude in decimal degrees. |
| longitude | float | Longitude in decimal degrees. |
| weight | float | Non-negative relative weight (here, approximate population in thousands). Absolute scale is irrelevant — weights are normalised by the consumer. |