[time-nuts] Weather/units question for European members

Poul-Henning Kamp phk at phk.freebsd.dk
Sat May 24 02:45:22 EDT 2014


In message <BLU170-W517A3E7D32E32BE4C3D3A4CE390 at phx.gbl>, Mark Sims writes:

>I am building a weather sensor that includes a ultrasonic anemometer

>Now the question...  I would like it to be able to output data in
>imperial or metric units.  In what units is the typical wind speed
>reported  (meters/sec,  km/hour, ?).   Also air pressure
>(millibars/hectopascals/pascals/?).

Whatever you do, use SI units internally and make it an option for the
user to get those.  Convert from SI to whatever the user wants in their
local cultural geograpy.

PS: In Denmark we use the SI units:  Meter per second and hectopascal.

See for instance:	

    http://www.dmi.dk/vejr/til-lands/regionaludsigten/vssjaelland/


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the time-nuts mailing list