[wxqc] PWS format, rainin versus dailyrainin?

William P.N. Smith w_smith at compusmiths.com
Mon Jun 16 10:42:32 CDT 2008


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!
-- 
William Smith w_smith at compusmiths.com
ComputerSmiths Consulting, Inc. www.compusmiths.com



More information about the wxqc mailing list