[wxqc] PWS format, rainin versus dailyrainin?
Ted Lum
gladstonefamily.net at tedworld.com
Mon Jun 16 12:00:43 CDT 2008
Actually, I take that back. Their plugin for WeatherLink sends rainin
and dailyrainin. I don't know how they get the data for the chart and
grid. But since rate is not sent it has to be calculated. Here is an
example packet:
http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=KNJMERCE2&PASSWORD=xxxxxxxx&dateutc=2008-06-16
16:51:20&winddir=32767&winddir_avg2m=6&windspeedmph=0&windgustmph=0&windgustmph_10m=0&windgustdir_10m=32767&humidity=64&tempf=82.6&dewptf=69.2&rainin=0.00&solarradiation=877&UV=7.6&dailyrainin=0.00&baromin=29.79&softwaretype=Wunderground
v.1.15 PWSDec 27 2007
William P.N. Smith wrote:
> I've written some Perl code to transmogrify the data from a Campbell
> Scientific CR10X datalogger into the PWS format, and it's mostly
> working, but wunderground.com doesn't seem to be logging rainfall.
>
> There are two parameters for rainfall, rainin and dailyrainin:
>
> from http://wiki.wunderground.com/index.php/PWS_-_Upload_Protocol
> rainin - [rain inches over the past hour)] -- the accumulated
> rainfall in the past 60 min
> dailyrainin - [rain inches so far today in local time]
>
> I can get rain in the last 5-minute sample, or total rain today, but
> rain over the last hour will require some datalogger reprogramming
> (or more complex transmogrification code to get hourly deltas from
> total rain today), so I'm using the dailyrainin parameter.
>
> http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IPINECAY2&day=16&year=2008&month=6&graphspan=week
> shows no rain this week,though the datalogger saw 0.12 inches of rain
> on Sunday.
>
> I've turned on the verbose logging, so I can see exactly what I'm
> sending to wunderground.com, but now I have to wait for some rain to
> see exactly what's happening.
>
> Does anyone know if dailyrainin is supposed to show up on the charts?
>
> Thanks!
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the wxqc
mailing list