Is there a way to make the windy block default to display clouds?
Doing astrophotography, I care more about potential cloud cover.
WINDY Block default
- BobW55
- Forecaster
- Posts: 111
- Joined: Thu Sep 28, 2017 11:43 pm
- Location: Michigan USA
- Station model: Davis Pro2
- Software: Cumulus
- Contact:
WINDY Block default
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
-
- Observer
- Posts: 41
- Joined: Sat Mar 23, 2019 2:03 pm
- Location: Covington, WA USA
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
Re: WINDY Block default
HI Bob,
I was given the following script change the default presentation in windy:
<iframe src="https://embed.windy.com/embed2.html?lat=<?php echo $stationLat?>&lon=<?php echo $stationLon?>&zoom=7&level=surface&overlay=radar&menu=&message=true&marker=&forecast=12&calendar=now&location=coordinates&type=map&actualGrid=&metricWind=kt&metricTemp=%C2%B0<?php echo $displayTempUnits?>" style="border:none;width:98%;height:400px;margin:0 auto"></iframe>
Change "surface&overlay" to "clouds&menu" .
Replace line 28 in your "windyBlock.php file in blocks folder. Do not use a txt editor. I use "Notepad++"
Hope this helps.
Paul
I was given the following script change the default presentation in windy:
<iframe src="https://embed.windy.com/embed2.html?lat=<?php echo $stationLat?>&lon=<?php echo $stationLon?>&zoom=7&level=surface&overlay=radar&menu=&message=true&marker=&forecast=12&calendar=now&location=coordinates&type=map&actualGrid=&metricWind=kt&metricTemp=%C2%B0<?php echo $displayTempUnits?>" style="border:none;width:98%;height:400px;margin:0 auto"></iframe>
Change "surface&overlay" to "clouds&menu" .
Replace line 28 in your "windyBlock.php file in blocks folder. Do not use a txt editor. I use "Notepad++"
Hope this helps.
Paul
- BobW55
- Forecaster
- Posts: 111
- Joined: Thu Sep 28, 2017 11:43 pm
- Location: Michigan USA
- Station model: Davis Pro2
- Software: Cumulus
- Contact:
Re: WINDY Block default
Awesome....
That did it thank you.
That did it thank you.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
- BobW55
- Forecaster
- Posts: 111
- Joined: Thu Sep 28, 2017 11:43 pm
- Location: Michigan USA
- Station model: Davis Pro2
- Software: Cumulus
- Contact:
Re: WINDY Block default
Opps.....
Spoke too soon, that changes it to lightning.
I'll have a closer look at the PHP.
Spoke too soon, that changes it to lightning.
I'll have a closer look at the PHP.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
- BobW55
- Forecaster
- Posts: 111
- Joined: Thu Sep 28, 2017 11:43 pm
- Location: Michigan USA
- Station model: Davis Pro2
- Software: Cumulus
- Contact:
Re: WINDY Block default
Found it...
<iframe src="https://embed.windy.com/embed2.html?lat=<?php echo $stationLat?>&lon=<?php echo $stationLon?>&zoom=7&level=surface&overlay=clouds&menu=&message=true&marker=&forecast=12&calendar=now&location=coordinates&type=map&actualGrid=&metricWind=kt&metricTemp=%C2%B0<?php echo $displayTempUnits?>" style="border:none;width:98%;height:400px;margin:0 auto"></iframe>
Had to change RADAR to clouds
Works fine now.
<iframe src="https://embed.windy.com/embed2.html?lat=<?php echo $stationLat?>&lon=<?php echo $stationLon?>&zoom=7&level=surface&overlay=clouds&menu=&message=true&marker=&forecast=12&calendar=now&location=coordinates&type=map&actualGrid=&metricWind=kt&metricTemp=%C2%B0<?php echo $displayTempUnits?>" style="border:none;width:98%;height:400px;margin:0 auto"></iframe>
Had to change RADAR to clouds
Works fine now.
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos