Chris Alemany
unread,Nov 10, 2020, 5:02:07 PM11/10/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
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
Hello all,
Is it possible to be able to add a full word version of the ordinal_compass formatting for wind directions? This would be useful for cerating auto-generated scripts and readouts, especially if they are read by machine, like an Alexa skill. Currently the Ordinates section controls this in skin.conf and I could replace the abbreviations with words, but that would change it for all directions in that skin which would not be desirable. I’m currently implementing this in a custom RSS/XML file in the RSS directory of the Standard skin.
It would be wonderful if we could have two separate formats for ordinals:
eg.
[[Ordinates]]
# The ordinal directions. The last one should be for no wind direction
directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW, N/A
[[OrdinatesLong]]
# The ordinal directions. The last one should be for no wind direction
directions = North, North Northeast, Northeast, East Northeast, East, East Southeast, Southeast, South Southeast, South, South Southwest, Southwest, West Southwest, West, West Northwest, Northwest, North Northwest, N/A
I’m working on the Alexa Skill/Flash Briefing for my website (you can search for it at Port Alberni Weather in the Alexa Skill store) and so having this functionality available would be an asset.
If I have missed this ability elsewhere please forgive me.
I indebted to your advice!
Thanks
Chris