Skip to content

Comments

Add UV Index and Radiation#15

Open
ghulands wants to merge 1 commit intoteeks99:mainfrom
ghulands:uv-radiation
Open

Add UV Index and Radiation#15
ghulands wants to merge 1 commit intoteeks99:mainfrom
ghulands:uv-radiation

Conversation

@ghulands
Copy link

@ghulands ghulands commented Sep 1, 2025

I'm not sure of the value of the min uv index and min radiation since they'll always be zero at some point in the night. Maybe the at is more valuable in that respect.

@ghulands
Copy link
Author

ghulands commented Sep 1, 2025

Sample Output

{
    "station":
    {
        "location": "My Casa",
        "latitude": 0.000,
        "longitude": 0.000,
        "altitude (meters)": 0.0,
        "link": ""
    },
    "generation":
    {
        "time": "2025-08-31T19:55:00-0700",
        "generator": "weewx 5.1.0"
    },
    "current":
    {
        "temperature": {"value": 81.92333333333337, "units": "°F"},
        "dewpoint": {"value": 49.9712642740072, "units": "°F"},
        "humidity": {"value": 33.00909090909091, "units": "%"},
        "heat index": {"value": 80.68434870684015, "units": "°F"},
        "barometer": {"value": 29.89863858392228, "units": "inHg"},
        "wind speed": {"value": 2.6371681415929205, "units": "mph"},
        "wind gust": {"value": 9.0, "units": "mph"},
        "wind direction": {"value": 52.8911856407379, "units": "°"},
        "wind chill": {"value": 81.92413793103452, "units": "°F"},
        "rain rate": {"value": 0.0, "units": "in/h"},
        "uv index": {"value": 0.0, "units": ""},
        "radiation": {"value": 0.0, "units": "W/m²"},
        "void_end": null
    },
    "day":
    {
        "max temperature": {"value": 92.30000000000001, "units": "°F", "at": "04:12:16 PM"},
        "min temperature": {"value": 57.4, "units": "°F", "at": "08:06:04 AM"},
        "max dewpoint": {"value": 52.656640592868854, "units": "°F", "at": "12:00:00 PM"},
        "min dewpoint": {"value": 43.49541608460227, "units": "°F", "at": "05:10:00 AM"},
        "max humidity": {"value": 66.8, "units": "%", "at": "08:06:12 AM"},
        "min humidity": {"value": 20.7, "units": "%", "at": "04:53:14 PM"},
        "max barometer": {"value": 30.08228090885854, "units": "inHg", "at": "08:06:35 AM"},
        "min barometer": {"value": 29.83224016246383, "units": "inHg", "at": "05:50:30 PM"},
        "max wind speed": {"value": 6.590361445783133, "units": "mph", "at": "04:25:00 PM"},
        "max wind gust": {"value": 14.0, "units": "mph", "at": "07:30:00 PM"},
        "max rain rate": {"value": 0.0, "units": "in/h", "at": "12:00:02 AM"},
        "rain total": {"value": 0.0, "units": "in"},
        "max uv index": {"value": 7.2, "units": "", "at": "01:08:14 PM"},
        "min uv index": {"value": 0.0, "units": "", "at": "12:01:32 AM"},
        "max radiation": {"value": 849.083088, "units": "W/m²", "at": "12:56:57 PM"},
        "min radiation": {"value": 0.0, "units": "W/m²", "at": "12:00:30 AM"},
        "void_end": null
    },
    "week":
    {
        "max temperature": {"value": 92.30000000000001, "units": "°F", "at": "04:12:16 PM (Sunday)"},
        "min temperature": {"value": 57.4, "units": "°F", "at": "08:06:04 AM (Sunday)"},
        "max dewpoint": {"value": 52.656640592868854, "units": "°F", "at": "12:00:00 PM (Sunday)"},
        "min dewpoint": {"value": 43.49541608460227, "units": "°F", "at": "05:10:00 AM (Sunday)"},
        "max humidity": {"value": 66.8, "units": "%", "at": "08:06:12 AM (Sunday)"},
        "min humidity": {"value": 20.7, "units": "%", "at": "04:53:14 PM (Sunday)"},
        "max barometer": {"value": 30.08228090885854, "units": "inHg", "at": "08:06:35 AM (Sunday)"},
        "min barometer": {"value": 29.83224016246383, "units": "inHg", "at": "05:50:30 PM (Sunday)"},
        "max wind speed": {"value": 6.590361445783133, "units": "mph", "at": "04:25:00 PM (Sunday)"},
        "max wind gust": {"value": 14.0, "units": "mph", "at": "07:30:00 PM (Sunday)"},
        "max rain rate": {"value": 0.0, "units": "in/h", "at": "12:00:02 AM (Sunday)"},
        "rain total": {"value": 0.0, "units": "in"},
        "max uv index": {"value": 7.2, "units": "", "at": "01:08:14 PM (Sunday)"},
        "min uv index": {"value": 0.0, "units": "", "at": "12:01:32 AM (Sunday)"},
        "max radiation": {"value": 849.083088, "units": "W/m²", "at": "12:56:57 PM (Sunday)"},
        "min radiation": {"value": 0.0, "units": "W/m²", "at": "12:00:30 AM (Sunday)"},
        "void_end": null
    },
    "month":
    {
        "max temperature": {"value": 104.5, "units": "°F", "at": "08/11/2025 05:16:06 PM"},
        "min temperature": {"value": 51.5, "units": "°F", "at": "08/08/2025 06:45:45 AM"},
        "max dewpoint": {"value": 65.29111170366431, "units": "°F", "at": "08/16/2025 11:10:00 AM"},
        "min dewpoint": {"value": 36.876889679456426, "units": "°F", "at": "08/14/2025 05:10:00 PM"},
        "max humidity": {"value": 91.6, "units": "%", "at": "08/16/2025 06:29:02 AM"},
        "min humidity": {"value": 13.2, "units": "%", "at": "08/22/2025 05:14:12 PM"},
        "max barometer": {"value": 30.25337904144541, "units": "inHg", "at": "08/20/2025 08:01:06 AM"},
        "min barometer": {"value": 29.699641940674365, "units": "inHg", "at": "08/24/2025 06:14:10 PM"},
        "max wind speed": {"value": 17.113636363636363, "units": "mph", "at": "08/24/2025 08:00:00 PM"},
        "max wind gust": {"value": 31.000000000000004, "units": "mph", "at": "08/24/2025 08:00:00 PM"},
        "max rain rate": {"value": 5.120000000000001, "units": "in/h", "at": "08/23/2025 04:37:37 PM"},
        "rain total": {"value": 2.5700000000000003, "units": "in"},
        "max uv index": {"value": 10.28, "units": "", "at": "08/15/2025 01:45:01 PM"},
        "min uv index": {"value": 0.0, "units": "", "at": "08/05/2025 09:25:34 PM"},
        "max radiation": {"value": 1156.721888, "units": "W/m²", "at": "08/06/2025 12:29:07 PM"},
        "min radiation": {"value": 0.0, "units": "W/m²", "at": "08/05/2025 09:24:32 PM"},
        "void_end": null
    },
    "year":
    {
        "max temperature": {"value": 104.5, "units": "°F", "at": "08/11/2025 05:16:06 PM"},
        "min temperature": {"value": 4.0, "units": "°F", "at": "01/18/2025 08:26:00 AM"},
        "max dewpoint": {"value": 65.29111170366431, "units": "°F", "at": "08/16/2025 11:10:00 AM"},
        "min dewpoint": {"value": 8.925820847720114, "units": "°F", "at": "01/26/2025 06:35:00 AM"},
        "max humidity": {"value": 99.3, "units": "%", "at": "01/14/2025 02:11:32 PM"},
        "min humidity": {"value": 13.2, "units": "%", "at": "08/22/2025 05:14:12 PM"},
        "max barometer": {"value": 30.744791102650336, "units": "inHg", "at": "01/22/2025 08:53:14 AM"},
        "min barometer": {"value": 29.21524320515537, "units": "inHg", "at": "02/13/2025 02:32:13 PM"},
        "max wind speed": {"value": 98.00000000000001, "units": "mph", "at": "01/15/2025 04:30:00 PM"},
        "max wind gust": {"value": 105.99999999999999, "units": "mph", "at": "03/31/2025 11:50:00 PM"},
        "max rain rate": {"value": 10.24, "units": "in/h", "at": "01/16/2025 09:52:54 AM"},
        "rain total": {"value": 33.780000000000015, "units": "in"},
        "max uv index": {"value": 11.06, "units": "", "at": "02/02/2025 09:09:19 AM"},
        "min uv index": {"value": 0.0, "units": "", "at": "01/01/2025 12:00:39 AM"},
        "max radiation": {"value": 1353.61072, "units": "W/m²", "at": "02/10/2025 04:22:54 AM"},
        "min radiation": {"value": 0.0, "units": "W/m²", "at": "01/01/2025 12:00:29 AM"},
        "void_end": null
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant