Just make sure its units are consistent with whatever packet or record you put it in. The engine will take care of the rest.
Details depend on whether you are adding lightning_distance to an existing packet, or if you are creating a packet. -tk On Thu, Jul 2, 2020 at 5:42 AM Pat <[email protected]> wrote: > I'm working on migrating over to the extended schema and have a question > on the lightning_distance column. My sensor outputs as km, but should I > save this observation as miles in the database if my usUnits are 1? > > Just looking for confirmation since I didn't see anything in the docs. > > -- > 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/0d8b6153-6f83-49d2-9be3-46a12cec21b1o%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/0d8b6153-6f83-49d2-9be3-46a12cec21b1o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEBR_FJPohfvQNEb%2B8wSsrHN%2BgE3pB8VLxNs8Yapg1OdYg%40mail.gmail.com.
