Menu

#10 wx200 displays metric units even if WMR968 set to American

open
nobody
None
1
2005-03-18
2005-03-05
W Sanders
No

My WMR-968 is set to American units (in, inhg, F).
Although the man pages say "If none of these options
are specified, the format of the physical WX200 is
used" the wx200 output still defaults to metric. The
--F, --in, etc, flags work OK. I'll investigate and
post some more later. I might post a simple patch for a
single flag for wx200 that would force US units. Wx200d
Version 1.3 with RH9, gcc 3.2.2, no compilation anomalies.

Discussion

  • W Sanders

    W Sanders - 2005-03-18

    Logged In: YES
    user_id=609888

    From what I can tell form the code, and since the weather
    station outputs units fixed in metric, this can be closed
    by correcting the man pages.

     
  • W Sanders

    W Sanders - 2005-03-18
    • priority: 5 --> 1
     
  • W Sanders

    W Sanders - 2005-03-19

    Logged In: YES
    user_id=609888

    BTW, patch for wx200.c to default to US instead of metric units:

    $ diff wx200.c wx200.c.0
    62c62
    < int index, ftemp = 1, fbaro = 0, fdepth = 1, fspeed = 0,
    ftd = -1;
    ---
    > int index, ftemp = -1, fbaro = -1, fdepth = -1, fspeed =
    -1, ftd = 0;
    140a141
    >

     

Log in to post a comment.