Weather Software > Station Software Development

WLL JSON File

(1/1)

NK7Z:
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?

mcrossley:
Do you mean from the local API and broadcast messages? If so the rainfall is in tips.

NK7Z:
Thanks for the quick answer, and yes I do...  Is the formula for tips to inch available someplace?

mcrossley:
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:

NK7Z:

--- Quote from: 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:

--- End quote ---
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!!!

Navigation

[0] Message Index

Go to full version