I still have not fully understood all that you have done!! a. You have added a dictionary definition to say that Extra3 is a radiation field.
what process/service is reading the radiation which has been ftpd from elsewhere into weewx? Do you have a service which is reading a file and does it add the data to loop or record packets - or are you doing something else to get the data into weewx?? where is the calculation put - is it in calibration, in the reading service, or where?? Sorry - but you appear to be very short on detail (or I am totally misunderstanding)!!! Maybe it would be useful for you to give original radiation value, ftp'd value, value put into loop/record packet, value in Extra3 field of database. On Thursday, 26 April 2018 09:08:32 UTC+3, Jan Commandeur wrote: > In extensions.py I add the line : > weewx.units.obs_group_dict['Extra3'] = 'group_radiation' # sun > warming up 1 sqr meter in 1/12 hour > > so I made a calculation: zon5min = radiation / 12 > > radiation is from a second weatherstation and with ftp send to the server. > When I looks to the radiation also with ftp send to the server, that are > right numbers. > these numbers are, if it is sunny weather, equal to maxsolarrad. > > > Op woensdag 25 april 2018 21:18:28 UTC+2 schreef Jan Commandeur: >> >> I add nubers to the weewx_mysql database with >> event.record['Extra3'] = zon5min >> >> When I look some later to the numbers in the database, then they are >> different from the input. >> How can this be caused. >> >> Jan Commandeur >> > -- 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]. For more options, visit https://groups.google.com/d/optout.
