[Xastir] SHOW OF HANDS REQUESTED: Davis Weather Station users (Tom Russo)

Mike Swiatkowski, AA9VI aa9vi at yahoo.com
Sat Aug 4 16:14:47 EDT 2012


It's still an issue with the since 24 hr and since midnight totals.  Tom has been great trying to help but the code is very overwhelming.  There might have to be significant work on it.  I frankly think like Tom does that the wx.c code needs to be overhauled.  The really unfortunate thing is that the Davis Weatherlink for APRS does an AWESOME job of formatting the APRS string for serial output into the linux box nearly exactly the way we'd like to see on an outgoing WX packet from Xastir.  But, Xastir doesn't even take the processed rain since midnight and rain in last 24 hrs from the weather station, instead it is taking the current rain and adding it up as it goes along, processing the output for rain since midnight and rain in last 24 hrs. wx.c is doing more work than it has to for Davis only because of the way it is structured for the other weather stations.  So, yeah, it'd be a pain in the but to restructure the whole thing to help Davis users
 get accurate data.  ... that's unless some crafty case structure can be developed.



Mike, AA9VI

--- On Fri, 7/20/12, xastir-request at lists.xastir.org <xastir-request at lists.xastir.org> wrote:

From: xastir-request at lists.xastir.org <xastir-request at lists.xastir.org>
Subject: Xastir Digest, Vol 80, Issue 5
To: xastir at lists.xastir.org
Date: Friday, July 20, 2012, 11:00 AM

Send Xastir mailing list submissions to
    xastir at lists.xastir.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
or, via email, send a message with subject or body 'help' to
    xastir-request at lists.xastir.org

You can reach the person managing the list at
    xastir-owner at lists.xastir.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xastir digest..."


Today's Topics:

   1. SHOW OF HANDS REQUESTED:  Davis Weather Station users (Tom Russo)
   2. Re: SHOW OF HANDS REQUESTED:  Davis Weather Station users
      (Curt, WE7U)
   3. Re: SHOW OF HANDS REQUESTED:  Davis Weather Station users
      (Tom Russo)
   4. Re: SHOW OF HANDS REQUESTED:  Davis Weather Station users
      (Curt, WE7U)
   5. Re: SHOW OF HANDS REQUESTED:  Davis Weather Station users
      (John Ronan)
   6. Re: SHOW OF HANDS REQUESTED:  Davis Weather Station users
      (Tom Russo)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Jul 2012 14:26:40 -0600
From: Tom Russo <russo at bogodyn.org>
To: xastir at xastir.org
Subject: [Xastir] SHOW OF HANDS REQUESTED:  Davis Weather Station
    users
Message-ID: <20120719202640.GA10923 at bogodyn.org>
Content-Type: text/plain; charset=us-ascii

I've been working for a while with Mike Swiatkowski, AA9VI who reported some
time ago that his Davis APRS Data Logger rain data was improperly handled by
Xastir.

I seem to have found the issue, and gave Mike a patch that seems to have
solved the problem for him.  But if it's correct, it means that all the Davis
weather code has been wrong for a very, very long time.

Is there anyone here who's got a Davis weather unit, has been using it with
Xastir, and who can work with me to test handling of rain data --- which 
sorta implies you're in a rainy season right now?

The fix may also require changes to the Meteo and LaCrosse codes, because
if I'm correct about what's wrong with the DataLogger, then these may have
problems, too.

Mike was seeing odd resetting of rain data, and I believe this is because
the Davis code is bypassing some record-keeping that is done by the code for
other weather stations --- and the result is that Xastir's internal computation
of 24 hour, 1-hour, and since-midnight rain are broken.  But to fix that,
one has to assure that Xastir's being told the "total rain" in the right
way, and that Xastir is calling its record-keeping routines even for Davis
weather stations.

I'm not yet convinced that I have it all right, even though Mike reports his
strange behavior has stopped with my patch.

I am unable to test anything rain-related here --- not only do I not have a 
Davis unit (I have a LaCrosse), but I live in New Mexico.  We only get about 
7" of rain a year, and I'm invariably away from the computer on the day it 
happens.

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
 one trick, rational thinking, but when you're good and crazy, oooh, oooh,
 oooh, the sky is the limit!"  --- The Tick





More information about the Xastir mailing list