You can copy the NOAA data into a SQLITE database file. Make sure, the 
timestamp column is called `dateTime` and there is a column `interval` for 
the time interval and a column `usUnits` that contains 1 for US units. 
After that you can reference this file in weewx.conf as a binding and use 
it in plots.

The configuration has to look like this:

[DataBindings]
    ...
    [[clima_binding]]
        database = clima_database
        table_name = name_of_your_database_table
        manager = weewx.manager.Manager
        schema = schemas.wview_extended.schema
[DataBases]
    ...
    [[clima_database]]
        database_name = name_of_your_database_file.sdb
        database_type = SQLite

In graphs.conf of the Belchertown skin you write "data_binding = 
clima_binding" to the observation types from your climate database. So you 
can show both your measurements and the climate data within the same 
diagram.

I did not look into the NOAA data, so I am not sure, but you may have to 
convert the timestamp to the UNIX timestamp, that is seconds after the 
1.1.1970 0:0:0 UTC. And however the observation types are called in the 
NOAA data, if they differ from those used in WeeWX, you have to assign a 
unit group to them in extensions.py.

There are SQLite database manager applications available to create the 
SQLite database file.

What you reference in key "schema" in weewx.conf is irrelevant, as the file 
already exists and contains data.

Warren Gill schrieb am Mittwoch, 25. Oktober 2023 um 23:25:53 UTC+2:

> Curious about this too... you can download the data (for the US anyway) 
> from NOAA https://www.ncei.noaa.gov/cdo-web/datasets
> It would be cool to graph the daily highs and lows with the climate 
> average (and record high/low) for your region.
>
> On Wed, Oct 25, 2023 at 4:00 PM Gary S <[email protected]> wrote:
>
>>
>> I'm incredibly happy with weewx - very easy to install and maintain and 
>> modify. I also appreciate the Belchertown skin. The plots are great as are 
>> the records.
>>
>> Much appreciation for all the efforts put into both!
>>
>> A question - has anyone incorporated the climatology for their location 
>> in their plots, as relevant?
>>
>> Having (say) the daily highs and lows for the last 30 days plotted with 
>> the climatologies would be really neat.
>>
>> Thanks!
>>
>> Gary 
>> --
>> https://hyview.org/weather
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/3230db14-7568-42fe-8b83-6d7f5e3be8ecn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/3230db14-7568-42fe-8b83-6d7f5e3be8ecn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ec306104-6855-4ee6-9423-353bc9a6e506n%40googlegroups.com.

Reply via email to