Hi,

My apologies, wanted to sit down and try a few things with WU before 
replying.

It does indeed look like we can get UV from the XML. I have no idea why 
non-XML queries do not return UV, maybe just have to put it down to another 
of the vagaries of WU. From the quick look I had this morning I see no 
reason why a XML based import cannot be implemented, wee_import was written 
with a very modular structure so hopefully it is easy to implement. I 
cannot see any downsides, other than the fact that the XML response seems 
about 10 time the byte size of an equivalent CSV response (there is a lot 
of repeated crud in the XML response) - probably not an issue these days 
though.

I will put it on the list to do, hopefully to be included in the next 
release (as long as Tom does not spring 3.8.1 on us in the week or so).

Thanks.

Gary

PS. In answer to your last question, I am not aware of any simple way to 
import UV data from WU. Your WU data is not going anywhere (I hope) so if I 
get the XML import working there should be no reason why you cannot just 
add in the missing UV data later.

On Thursday, 29 March 2018 14:09:30 UTC+10, Daniel Welty wrote:
>
> I have been running my weather station for a few months before I got weewx 
> installed.  During that time it uploaded to Weather Underground, so I took 
> advantage of wee_import to back fill all of the previous data.
>
> I noticed that it doesn't include the UV Index and that isn't mentioned in 
> the documentation.  It looks like it uses this URL format: 
> http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=%s&month=%d&day=%d&year=%d&format=1
>
> I noticed that when using the XML format then UV data is available. 
> http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=%s&month=%d&day=%d&year=%d&format=XML
>
> Has anyone tried to import from the XML format?  Or is there an easier way 
> to accomplish getting the UV data?
>

-- 
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.

Reply via email to