I am not familiar with the tag $current_beaufort. Is that part of some extension skin?
Unfortunately, a wind gust in beaufort would not work that way. To do that would require extending the unit system, to allow beaufort to be used as a new unit type, which is not a bad idea. Unfortunately, it's a bit problematic, because wind speed expressed in Beaufort no longer takes a unit label (such as m/s), so would require some code changes to make sure that didn't happen. I'll have to think about all this. -tk On Wed, Jul 8, 2020 at 12:10 PM Vetti52 <drve...@gmail.com> wrote: > 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 > <https://groups.google.com/d/msgid/weewx-user/d220e991-ccf9-4251-a6b4-b01a2baea3b2o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEAV8wZJaK_jr5n0mNifGppXBqBYdNqZftmQTi_8d2gyTA%40mail.gmail.com.