Displaying which unit is being used, not just the label
35 views
Skip to first unread message
Lee Bell
unread,
Dec 29, 2020, 9:36:15 PM12/29/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
Is there a way to make weewx print out (or a way to programmatically determine) which units are being used, not just the label? I can use $units.label.xxx to get any particular label, but those are subject to changes for different languages, etc. Basically I’m trying to figure out if I can print “The temperature is 30º F. The units being used are degree_F.” Is that possible?
gjr80
unread,
Dec 29, 2020, 10:18:56 PM12/29/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message