Hi Jon, this is what I did:

Convert the tide offset from feet to metres:
#set $height=$tide.offset.raw / 3.281

Then display the height with two decimal places:
#echo '%.2f' % $height

Works good for me! 


On Friday, May 26, 2023 at 12:21:45 PM UTC+1 Jon Fear wrote:

> I have finally got XTides working and getting results on my site. The tide 
> heights are showing in feet however I would prefer them in Meters.
>
> I have taken a look around under the bonnet but cannot see how to change 
> this. Any thoughts?
>
> I am using the weewx-wdc skin and v4.10.2.
>
> Thanks
>
> Jon
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0827eedd-c856-4c69-bbe0-0b1ac450b2b6n%40googlegroups.com.

Reply via email to