Incorrect units on embedded page.
-
Even though I have selected imperial units, only metric units are displayed for the maps for Weather Radar (only show mm/hr) and Satellite (only shows C).
All other maps I viewed show the units correctly and this only occurs for the embed widget.
The error persists with Chrome, Edge, and Firefox (all latest versions), and the result is the same as the preview when using the base link or embedding into Home Assistant. -
@nitewing76 Hi, where exactly metric units are displayed then? Do you have any link to embed where the issue is displayed?
-
@Suty As you can see at the bottom of the first screenshot, the unit of measure is mm/hr, not in/h. (This is the map I will primarily display).
The second screenshot above displays C, not F.
Below is a current screenshot that shows the current temperature to be -53C, but the actual temperature is 3C (37F).
Here is the embed link.
< iframe width="650" height="450" src="https://embed.windy.com/embed.html?type=map&location=coordinates&metricRain=in&metricTemp=°F&metricWind=mph&zoom=5&overlay=radar&product=radar&level=surface&lat=35.275&lon=-93.136" frameborder="0">As an experiment, I manually substituted metricRain, metricTemp, and metricWind with imperialRain, etc and this did not affect the map.
Having the suspicion the system is simply not reading these settings, thinking outside the box I substituted a random word oliveRain, oliveTemp, and oliveWind...and the map loaded the same as usual.Refreshing the pages and clearing the cache had no effect on the results.
-
@nitewing76 HI, satellite layer shows the temperature of the cloud tops, that is the reason for those -57 degrees.
-
@Suty ok, but imperial units are selected and the value is shown in C not F and you didn't say anything about why the rain is showing as mm/h not in/h in an embedded page or why I can substitute a random word and this has no effect on the map as if the process for embedding a page never looks at the stated units in the URL.
-
@nitewing76 I tested to display the embed and I see Fahrenheits as units in the Temperature layer. Do you still see Celsius?
-
@Suty yes, but since now I know the Satellite map shows the temperature inside of clouds, now I am only concerned with the weather radar showing mm/h instead of in/h, as this is the primary map that will be displayed.
-
@Suty What is the status of this?