I'm working on an app that reads the archive and loop data as it comes in and emits JSON-formatted output. I want to make sure to always convert that data to metric values.
Is there a weewx-ish standard way to take a speed and always generate mps ? Or a temperature and always emit degC, and so on ? I didn't see any mph=>mps conversion routines but that's easy of course. What I wasn't certain on was how to decide from the packet/record if that conversion needed to be done, given how configurable weewx is for setting unit systems on a field by field basis ? Any suggestions or examples I might look at ? -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/47b87add-2c44-40cc-9979-6c2e18a36d35n%40googlegroups.com.
