WXforum.net

Weather Software => Station Software Development => Topic started by: NK7Z on August 20, 2020, 09:00:07 AM

Title: WLL JSON File
Post by: NK7Z on August 20, 2020, 09:00:07 AM
Is it just me, or does the RAIN data provided by the WLL JSON file, come as an integer, even though it is less than 1?  i.e., ".09" inch of rain = "9" on my JSON file.  Is there a way to change this?
Title: Re: WLL JSON File
Post by: mcrossley on August 20, 2020, 09:40:09 AM
Do you mean from the local API and broadcast messages? If so the rainfall is in tips.
Title: Re: WLL JSON File
Post by: NK7Z on August 20, 2020, 11:26:33 AM
Thanks for the quick answer, and yes I do...  Is the formula for tips to inch available someplace?
Title: Re: WLL JSON File
Post by: mcrossley on August 20, 2020, 12:08:42 PM
It depends on the bucket size, a 0.01" bucket is 0.01" per tip, a 0.2mm bucket is 0.2mm per tip   :lol:
Title: Re: WLL JSON File
Post by: NK7Z on August 20, 2020, 04:06:22 PM
It depends on the bucket size, a 0.01" bucket is 0.01" per tip, a 0.2mm bucket is 0.2mm per tip   :lol:
Hi Mark,
Thanks for the info...  Duh...  Not sure why I did not put that together!  I think I was worried about losses, etc...  OK, tips*.01 will get me the number I need...  I am using a script to grab numbers every X minutes from the WLL, then writing a file with the data in it.  I then use a program called Conky, to display the weather data on my desktop.  If you want to see the results, let me know and I'll put a screen shot on my web site...

THANKS!!!