Skip to content

Commit

Permalink
Mismatch of SUN_IRRADIANCE
Browse files Browse the repository at this point in the history
MOXMIX element "Rad1h" (unit: kJ/m^2, Description: "Global Irradiance") best matches CSV element "global_radiation_last_hour" instead of "diffuse_solar_radiation_last_hour".

Nevertheless, there is a unit glitch
kJ/m^2 vs. W/m2. 🤔
Where 1 J = 1 W × s
  • Loading branch information
fl0x53 authored Oct 16, 2023
1 parent 4e4ed7c commit adffedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_dwd_weatherforecast/dwdforecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class WeatherDataType(Enum):
CLOUD_COVERAGE = ["N", "cloud_cover_total"] # Unit: % (0..100)
VISIBILITY = ["VV", "horizontal_visibility"] # Unit: m
SUN_DURATION = ["SunD1", ""] # Unit: s
SUN_IRRADIANCE = ["Rad1h", "diffuse_solar_radiation_last_hour"] # Unit: kJ/m^2
SUN_IRRADIANCE = ["Rad1h", "global_radiation_last_hour"] # Unit: kJ/m^2
FOG_PROBABILITY = ["wwM", ""] # Unit: % (0..100)
HUMIDITY = ["humidity", "relative_humidity"] # Unit: %

Expand Down

0 comments on commit adffedf

Please sign in to comment.