Re: [weewx-user] Re: xtype tag

2023-11-01 Thread Karen K
And according to units.py the observation type wetbulb temperature is called outWetbulb and not wetbulb_t. Consider that in MQTT output the underscore is used to separate the observation type name from the unit name. Tom Keffer schrieb am Sonntag, 29. Oktober 2023 um 12:23:38 UTC+1: > If you

Re: [weewx-user] Re: xtype tag

2023-10-29 Thread Tom Keffer
If you followed the directions at the top of your file, you're almost there. Now you need to make sure your new type is put in the archive record. Do this by adding it to the list of types under [StdWXCalculate]: [StdWXCalculate] [[Calculations]] # How to calculate derived quantities.

[weewx-user] Re: xtype tag

2023-10-29 Thread Meteo Oberwallis
Hello everyone I have implemented the wetbulp.py file in my weewx. But now I have noticed that after creating the column in the database, the value is not saved. Could it be that this line is missing in "wetbulb.py"? If so, what would it have to look like for it to work? Thx bwal...@gmail.com

[weewx-user] Re: xtype tag

2020-12-17 Thread bwal...@gmail.com
thank you, i will do this in database. gjr80 schrieb am Donnerstag, 17. Dezember 2020 um 21:26:28 UTC+1: > Yes, that will be it. Loading and calculating for a day will be > straightforward, though it will involve a lot of complex calculations being > done each time you call the aggregate (and

[weewx-user] Re: xtype tag

2020-12-17 Thread gjr80
Yes, that will be it. Loading and calculating for a day will be straightforward, though it will involve a lot of complex calculations being done each time you call the aggregate (and this will occur each time you run the report, so potentially every archive interval minutes). On the other

Re: [weewx-user] Re: xtype tag

2020-12-17 Thread Tom Keffer
Calculating aggregates for non-linear functions is not easy. For example, it's not obvious which combinations of temperature and humidity will result in the lowest wet bulb temperature for the day. It can be done by taking partial derivates of temperature and humidity, setting to zero, then

[weewx-user] Re: xtype tag

2020-12-17 Thread bwal...@gmail.com
No, i just adjustet the vaporpressure.py example. But i see what you mean, i have to calculate it by my own, this means i have to load all data for a day and calculate it. im not shure i can do this. i quess its easyer and better to do this in the database. gjr80 schrieb am Donnerstag, 17.

[weewx-user] Re: xtype tag

2020-12-17 Thread gjr80
Hi, When you wrote your xtype extension what methods did you implement? Did you implement get_aggregate()? Gary On Friday, 18 December 2020 at 02:41:34 UTC+10 bwal...@gmail.com wrote: > Hi > i made a xtype extension for a wetbulp temperaur. this worsks fine with > the $current tag and the