Hi all, I’m attempting to display a weather radar data on my weather dashboard. I’m able to get the radar data to display but it does not refresh.
I’ve used the XYZ Tile Layer and the ArcGIS Map Server options. I’m assuming it’s something to do with caching but can’t figure it out. Changing the refresh rate in the top right of the dashboard does not have any affect.
Any ideas or suggestions is appreciated!!
**XYZ Links:
https://tilecache.rainviewer.com/v2/radar/latest/256/{z}/{x}/{y}/4/1_1.png?_=${__timeEpoch}
ArcGIS Links:
Solution for others that might run into this:
The easiest route is to embed an iFrame from an external service like Windy.com
Add a text visualization, set it to html.
Enter the following code, adjusting the lat / long for your location:
<!DOCTYPE html>
<html>
<head>
<title>Map Test</title>
</head>
<body>
<h1>Windy.com Map Test</h1>
<iframe width="800" height="600"
src="https://embed.windy.com/embed.html?type=radar&lat=XXXX&lon=-XXXX&zoom=7&level=surface&menu=&message=&marker=&calendar=now&pressure=&type=radar&location=coordinates&detail=&metricWind=mph&metricTemp=%C2%B0F&radarRange=-1"
frameborder="0">
</iframe>
</body>
</html>
Modify the Grafana ini file.
allow_embedding = true
disable_sanitize_html = true
1 Like