Commit graph

16 commits

Author SHA1 Message Date
Winni Neessen d7567d4b2b
Remove unused and redundant weather fields
Removed several unused and redundant weather fields like DewPointMean, GlobalRadiation, TemperatureMean, Temperature5cm, etc. from curweather.go to reduce complexity and improve readability.
2023-06-27 16:12:38 +02:00
Winni Neessen 681c53c23d
Fix humidity check in curweather.go
Check for HumidityRelative instead of Dewpoint in the HumidityRelative() function to return correct "not available" status.
2023-06-27 15:19:41 +02:00
Winni Neessen 8cb9754f69
Added SnowHeight and corrected comments 2023-06-26 12:21:36 +02:00
Winni Neessen b779e0f65b
Make golangci-lint happy 2023-06-23 18:34:25 +02:00
Winni Neessen 5dee24573a
Added SnowAmount 2023-06-23 16:38:56 +02:00
Winni Neessen fcc7626a76
Added PressureQFE to current weather 2023-06-23 12:35:52 +02:00
Winni Neessen 4d60f35c6a
Added WindGust to current weather 2023-06-23 12:05:40 +02:00
Winni Neessen b77cd98484
More current weather data points
- Added `IsDay()`
- Renamed `Windspeed()` to `WindSpeed()`
- Renamed `Winddirection()` to `WindDirection`
2023-06-21 10:29:09 +02:00
Winni Neessen 4ed0c12ca5
Working on conditions 2023-06-06 15:56:34 +02:00
Winni Neessen 03d274846e
Added weather symbol to current weather
- Also refactored some types
- Introduced GenericString type
2023-05-24 22:00:47 +02:00
Winni Neessen a38ea586fa
Added wind speed and -direction to current weather
- Also added direction estimation on non-supported direction angels
2023-05-24 12:25:24 +02:00
Winni Neessen 5c89db1d55
Added precipitation to current weather 2023-05-24 11:08:36 +02:00
Winni Neessen 6c79ef7ec3
Added relative humidity to current weather 2023-05-24 10:42:27 +02:00
Winni Neessen 8a5517ddd9
More testing and Dewpoint added to curweather.go 2023-05-23 20:35:00 +02:00
Winni Neessen 2630ea675e
Fixes 2023-05-23 20:00:42 +02:00
Winni Neessen 80a4d74032
Major restructuring in favour of current weather reading
- Renamed types from ObservationXXX to generic type names
- Put generic types into their own files
- Added CurrentWeatherByCoordinates
- Added Source type and made it available for Temperature types
2023-05-22 17:13:36 +02:00