Author Topic: wxspace error: 018  (Read 609 times)

0 Members and 1 Guest are viewing this topic.

Offline kplew

  • Member
  • *
  • Posts: 31
    • Plew Farm Weather
wxspace error: 018
« on: January 03, 2023, 07:52:26 AM »
Has anyone had any luck resolving the error: 018 issues on the realtime sun images? Some fetch jobs are working, image-space-solar-ap.php but most are not.
https://www.plewfarm.net/wxspace.php

Thanks

Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
Re: wxspace error: 018
« Reply #1 on: January 03, 2023, 11:37:08 AM »
I just tried but not seeing any errors apart from 2 not found on server when clicked a screen shot may help

Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
Re: wxspace error: 018
« Reply #2 on: January 03, 2023, 06:31:03 PM »
suggest you try changing the Continuum and Magnetogram to as below to  get an image played instead of the 404 error
 
Code: [Select]
          <tr>
            <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/LATEST/current_hmi_igr.mp4" target="_blank">
                    <img src="image-space-SDO_HMI-Cont.php?dontcache=<?php echo time(); ?>"
                         style="border:none;"
                         width="140"
                         height="140"
                         alt="SDO/HMI Continuum Image of the Sun"
                         title="SDO/HMI Continuum Image of the Sun" />
                </a>
            </td>
            <td align="center">
                <a href="https://sohowww.nascom.nasa.gov/data/realtime-images.html" target="_blank">SDO/HMI Magnetogram</a><br />
                <a href="https://sohowww.nascom.nasa.gov/data/LATEST/current_hmi_mag.mp4" target="_blank">
                    <img src="image-space-SDO_HMI-Mag.php?dontcache=<?php echo time(); ?>"
                         style="border:none;"
                         width="140"
                         height="140"
                         alt="Latest SDO/HMI Magnetogram image of the Sun"
                         title="Latest SDO/HMI Magnetogram image of the Sun" />
                </a>
            </td>
       


Offline kplew

  • Member
  • *
  • Posts: 31
    • Plew Farm Weather
Re: wxspace error: 018
« Reply #3 on: January 04, 2023, 06:42:07 AM »
Great! Thank you. Do you happen to have a fix for the Solar cycle images- Sun Spot Number progression and F10.7cm Radio Flux Progression? I downloaded those images when it stopped working some time ago.

Thanks again!

Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
Re: wxspace error: 018
« Reply #4 on: January 04, 2023, 03:41:07 PM »
This is the code i have in my wxspace
Code: [Select]
<h3>Solar Cycle</h3><br />

    <table width="99%" cellpadding="0" border="0" cellspacing="0">
        <tr>
            <td align="center" valign="top">
                <a href="https://www.swpc.noaa.gov/products/solar-cycle-progression" target="_blank">Sun Spot Number Progression</a><br />
                <a href="https://www.swpc.noaa.gov/products/solar-cycle-progression" target="_blank">
                    <img src="ises-solar-cycle-sunspot.png"
                         style="border: 1px solid black;"
                         width="320"
                         height="240"
                         alt="Graph showing Sun Spot Number Progression"
                         title="Graph showing Sun Spot Number Progression" />
                </a>
            </td>

            <td align="center" valign="top">
                <a href="https://www.swpc.noaa.gov/products/solar-cycle-progression" target="_blank">F10.7cm Radio Flux Progression</a><br />
                <a href="https://www.swpc.noaa.gov/products/solar-cycle-progression" target="_blank">
                    <img src="ises-solar-cycle-f107cm.png"
                         style="border: 1px solid black;"
                         width="320"
                         height="240"
                         alt="Graph showing F10.7cm Radio Flux Progression"
                         title="Graph showing F10.7cm Radio Flux Progression" />
                </a>
            </td>
        </tr>
    </table>
    <p>The <a href="https://en.wikipedia.org/wiki/Solar_cycle" target="_blank">Solar Cycle</a> is observed by counting the frequency and placement of sunspots visible on the Sun.  The forecast comes from the Solar Cycle Prediction Panel representing NOAA, NASA and the International Space Environmental Services (ISES).  The Prediction Panel has predicted Cycle 25 to reach a maximum of 115 occurring in July, 2025.<br />
    </p><br />


hope it helps
have attached the full script as some of the movies are different format

Offline kplew

  • Member
  • *
  • Posts: 31
    • Plew Farm Weather
Re: wxspace error: 018
« Reply #5 on: January 04, 2023, 04:11:53 PM »
How are you grabbing the png files? There doesn't seem to be a way to automate the process.

Thanks

Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
Re: wxspace error: 018
« Reply #6 on: January 04, 2023, 05:27:42 PM »
after investigating they are fixed images that have to be manually updated although i found 2 php's in an a version 1.7 in this thread https://www.wxforum.net/index.php?topic=31823.msg399944#msg399944
but they do not work with the current version i suspect the webpage has changed making it not possible to to get them automatically

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 125
    • CamWX
Re: wxspace error: 018
« Reply #7 on: January 09, 2023, 11:53:03 PM »
I played around a little bit with this a while ago.  The problem is the SWPC switched to Highcharts on their website to graph out the Sun Spot Number progression and F10.7cm Radio Flux Progression.  I didn't have the patience to try and reverse-engineer they way they did it so I resorted to spitting out .png files from their graph utility and doing manual updates periodically. I'm sure there is a better way to do it, it just takes a better mind than mine to make it happen.

Grant Miles
Camarillo, CA, USA
Owner/Admin - CamWX.com
SKYWARN Spotter
Station Hardware: Davis Vantage Pro2 Plus w/ 24hr FARS
Station Software: Weather Display, Weather Message, FWI Calculator, StartWatch, with social media & messaging automation using Make.com, Twilio, and Brevo.


 

anything