WXforum.net

Web Weather => Weather Web Site Help => Topic started by: pimohdaimaoh on September 23, 2018, 11:29:48 AM

Title: 3 Day solar forecast have been moved accoring to errors
Post by: pimohdaimaoh on September 23, 2018, 11:29:48 AM
need help since even I tried to recopy the url it gets errors, kindly give me a new updated script for ut. Thank You

-day Solar-Geophysical Forecast
Space Weather Forecast Unavailable
Error reading spaceweather current update data.
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: saratogaWX on September 23, 2018, 11:48:09 AM
I've updated the scripts to V1.7
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: pimohdaimaoh on September 24, 2018, 01:12:35 AM
Thank you so much Sir Ken
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: pimohdaimaoh on September 24, 2018, 10:16:09 AM
I've updated the scripts to V1.7

Hi sir ken. now I updated your scripts for wxspace but still error
http://pimohweather.webutu.com/wxspace.php
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: wvdkuil on September 24, 2018, 10:48:11 AM
I've updated the scripts to V1.7

Hi sir ken. now I updated your scripts for wxspace but still error
http://pimohweather.webutu.com/wxspace.php

But can you please tell us what the error is?

The page looks fine to me with forecast for
NOAA Kp index breakdown Sep 24-Sep 26 2018
Sep 24   Sep 25   Sep 26

Wim
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: pimohdaimaoh on September 24, 2018, 11:33:10 AM
I've updated the scripts to V1.7

Hi sir ken. now I updated your scripts for wxspace but still error
http://pimohweather.webutu.com/wxspace.php

But can you please tell us what the error is?

The page looks fine to me with forecast for
NOAA Kp index breakdown Sep 24-Sep 26 2018
Sep 24   Sep 25   Sep 26

Wim

Oh my after a couple of refresh its working now, maybe some kind of cache not yet saved lately and now its updated. Kindly disregard my post above, but thank you for your responses. but since I put a little assistance from you, I would like also to ask if you have other scripts for WUforecast? since Wu have so many problems in terms of loading their forecast, can you do something similar to WU forecast but using YR.no resources and putting into script so that the forecasts are always updated unlike from WU forcasts? I always getting blank and I do always to force WU which is annoying to do this repeatedly http://pimohweather.webutu.com/wxforecast.php
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: saratogaWX on September 24, 2018, 01:33:15 PM
Since WU will be discontinuing their API at the end of December, 2018 (see this announcement (https://apicommunity.wunderground.com/weatherapi/topics/end-of-service-for-the-weather-underground-api), I'm waiting to see if a similar, FREE, low-volume API to weather.com will be offered to hobbyists before then.  If not, the WU-forecast.php script will be retired and I'll work on a replacement using other publicly available APIs.  Meanwhile, I wait.

WU API has been having issues for months, and I'm not sure they'll fix them before they discontinue their API. 

At present, the publicly available APIs do not offer the multilingual forecast text needed for a suitable replacement.
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: pimohdaimaoh on September 24, 2018, 06:40:19 PM
Since WU will be discontinuing their API at the end of December, 2018 (see this announcement (https://apicommunity.wunderground.com/weatherapi/topics/end-of-service-for-the-weather-underground-api), I'm waiting to see if a similar, FREE, low-volume API to weather.com will be offered to hobbyists before then.  If not, the WU-forecast.php script will be retired and I'll work on a replacement using other publicly available APIs.  Meanwhile, I wait.

WU API has been having issues for months, and I'm not sure they'll fix them before they discontinue their API. 

At present, the publicly available APIs do not offer the multilingual forecast text needed for a suitable replacement.


Oh no in that case will remove on my dashboard soon. Hope theres an alternative way so the forecast on my dashboard will still there for forecast view. thanks for the info about this
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: ConligWX on September 25, 2018, 09:13:36 AM
Thanks for the update Ken!
Title: Re: 3 Day solar forecast have been moved accoring to errors
Post by: dengland on December 21, 2019, 08:44:35 PM
I've updated the scripts to V1.7
Thanks Ken.

Note:  SDO/HMI Continuum change is not in the version here.  It wasn't too hard to make the edits.

For those that want to make the edits, the  wxspace.php need to look like:

<td align="center">
<a href="https://sohowww.nascom.nasa.gov/data/realtime-images.html" target="_blank">SDO/HMI Continuum</a><br />
<a href="https://sohowww.nascom.nasa.gov/data/realtime-images.html" target="_blank">
 <img src="image-space-solar-disk.php?dontcache=<?php echo time(); ?>"
         style="border:none;" width="170" height="170"
         alt="SDO/HMI Continuum image of the Sun"
         title="SDO/HMI Continuum image of the Sun" /></a>
</td>

The other edits are in image-space-solar-disk.php:

$ImageURL = 'https://sohowww.nascom.nasa.gov/data/realtime/hmi_igr/512/latest.jpg';

$localimgName = 'image-space-solar-disk.jpg';

$outputimgName = 'image-space-solar-disk-cached.jpg';