On, July 8th 2020 18:25:06 UTC+2 Tom Keffer wrote: > > Beaufort is treated as a separate observation type, not an alternative > unit. So, you should be able to use it like any other type. For example, > > <p>The current wind speed is $current.windSpeed, which is beaufort > $current.beaufort.</p> > > If you want to plot it, you would need to put 'beaufort' in your database > schema. > > -tk > > Thanks, Tom, for your patient introduction into some parts of Weewx. Well.... I hoped, according to the Customization Guide, I could just use to change units for a single report. But, no way...
So, my current PHP solution $current_beaufort could be replaced by $current.beaufort. Right? What about gust? Does this work the same way, such as $current.gust.beaufort? But finally, there is an additional variable $word_current_beaufort, which presumably lacks in the observation type. So I will at least still have to use the PHP script to assign the lexical description to the bft scale. Modifying the database schema is definitely new for me. I will have to dig into this. -Peter -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d220e991-ccf9-4251-a6b4-b01a2baea3b2o%40googlegroups.com.