Author Topic: Is there a wxastronomy update  (Read 13642 times)

0 Members and 1 Guest are viewing this topic.

Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
Re: Is there a wxastronomy update
« Reply #150 on: June 21, 2023, 11:30:50 AM »
Good morning,
My https://www.sporttiger.com/wxastronomy.php did not roll over to Summer on the map.  Any others have this issue?
Thanks ,
Alan
https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Senior Contributor
  • ****
  • Posts: 157
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #151 on: June 21, 2023, 11:54:43 AM »
Same Here....as of 1153 Hours EDT....occurred at 1458Z

Offline weatherbee

  • Senior Contributor
  • ****
  • Posts: 211
    • Sherman Ct. Weather
Re: Is there a wxastronomy update
« Reply #152 on: June 21, 2023, 12:02:07 PM »
Mine changed.
https://www.shermanctweather.org/mb/wxastronomy.php
Are you sure you have the latest update?
Mine is #  Version 1.11 - 07-May-2023 - fixed seasons display + moon data to 2030
Tom

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Senior Contributor
  • ****
  • Posts: 157
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #153 on: June 21, 2023, 12:09:18 PM »
Yes, running current version 1.11 - 07-May-2023.......

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1315
  • BismarckWeather.net
    • BismarckWeather.net
Re: Is there a wxastronomy update
« Reply #154 on: June 21, 2023, 12:17:09 PM »
Mine flipped over fine.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
Re: Is there a wxastronomy update
« Reply #155 on: June 21, 2023, 01:31:06 PM »
I’m running 1.11 May 7th also
https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline andro700

  • Chuck
  • Forecaster
  • *****
  • Posts: 420
    • Gobles Weather Page
Re: Is there a wxastronomy update
« Reply #156 on: June 21, 2023, 01:49:29 PM »
I am also running version 1.11 7 May 2023 but mine did not roll over to summer.

https://www.goblesweather.com/wxastronomy.php

Chuck

Offline weatherbee

  • Senior Contributor
  • ****
  • Posts: 211
    • Sherman Ct. Weather
Re: Is there a wxastronomy update
« Reply #157 on: June 21, 2023, 02:00:09 PM »
I was having problems with this showing "Summer" in the spring but I made a few changes to the script and it went to the correct season.
Look at Reply #142 for the changes I made, it might fix it.
Tom

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 125
    • CamWX
Re: Is there a wxastronomy update
« Reply #158 on: June 21, 2023, 02:04:20 PM »
Gold star for you.   [tup]

Thanks!

I was having problems with this showing "Summer" in the spring but I made a few changes to the script and it went to the correct season.
Look at Reply #142 for the changes I made, it might fix it.
Tom
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.


Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
Re: Is there a wxastronomy update
« Reply #159 on: June 21, 2023, 03:52:25 PM »
Money Tom!! [tup]
Cheers Alan



I was having problems with this showing "Summer" in the spring but I made a few changes to the script and it went to the correct season.
Look at Reply #142 for the changes I made, it might fix it.
Tom
https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Senior Contributor
  • ****
  • Posts: 157
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #160 on: June 21, 2023, 03:53:49 PM »
I took weatherbee's advice....go to reply number 142 within this thread and edit include-wxastronomy.php as follows:

Line 340 change to:

case ($date< $dateJunSol     ): $currentSeason = $SITE['latitude' ]<0 ? 'Autumn' : 'Spring'; break;

Line 342 change to:

case ($date< $dateDecSol     ): $currentSeason = $SITE['latitude' ]<0 ? 'Spring' : 'Autumn'; break;

Mine is working now at:  https://csraweather.org/wxastronomy.php

Thank You!


Offline weatherbee

  • Senior Contributor
  • ****
  • Posts: 211
    • Sherman Ct. Weather
Re: Is there a wxastronomy update
« Reply #161 on: June 21, 2023, 04:30:32 PM »
I'm glad that it worked.  All the times I got help from here I'm glad I could return the favor. \:D/
Tom

Offline Weerstation

  • Member
  • *
  • Posts: 44
    • Westland De Poel
Re: Is there a wxastronomy update
« Reply #162 on: June 25, 2023, 12:43:30 AM »
That worked for me also, it flipped over to Summer.

But I am have this warning now.

"Warning: Undefined variable $dateJunSolstice in" (Line 340)

Code: [Select]
case ($date< $dateMarEqu      ): $currentSeason = $SITE['latitude' ]<0 ? 'Zomer' : 'Winter'; break;
   case ($date< $JunSolstice     ): $currentSeason = $SITE['latitude' ]<0 ? 'Herfst' : 'Lente'; break;
   case ($date< $dateSepEqu      ): $currentSeason = $SITE['latitude' ]<0 ? 'Winter' : 'Zomer'; break;
   case ($date< $DecSolstice     ): $currentSeason = $SITE['latitude' ]<0 ? 'Lente' : 'Herfst'; break;

As you can see my line reads $JunSolstice, not $JunSol.

include-wxastronomy version 1.11 of 07 May 2023.

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Senior Contributor
  • ****
  • Posts: 157
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #163 on: June 25, 2023, 05:31:26 AM »
I did the same edit and received the same warning!  Remove “STICE” from both $dateJunSolstice and $dateDecSolstice and that should work.

Offline Cienega32

  • Forecaster
  • *****
  • Posts: 2635
    • East Mesa Weather
Re: Is there a wxastronomy update
« Reply #164 on: July 05, 2023, 05:57:45 AM »
I'm glad that it worked.  All the times I got help from here I'm glad I could return the favor. \:D/
Tom

Thanks Tom! I hadn't even noticed it on my page until I read the new posts here. Works for me now as well. Quick & easy-peasy. Just match them to the 4 used starting at line 318.

Pat ~ Davis VP2 6153-Weatherlink-Weather Display-StartWatch-VirtualVP-Win7 Pro-64bit
www.LasCruces-Weather.com   www.EastMesaWeather.com

Offline Cienega32

  • Forecaster
  • *****
  • Posts: 2635
    • East Mesa Weather
Re: Is there a wxastronomy update
« Reply #165 on: July 05, 2023, 06:03:36 AM »
Is this an oddity? Looks like the seasonal earth views are represented in UTC not 'local' time. Seems backwards.
 [ You are not allowed to view attachments ]

Pat ~ Davis VP2 6153-Weatherlink-Weather Display-StartWatch-VirtualVP-Win7 Pro-64bit
www.LasCruces-Weather.com   www.EastMesaWeather.com

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 125
    • CamWX
Re: Is there a wxastronomy update
« Reply #166 on: October 14, 2023, 12:29:15 PM »
This morning my sunposa.php is asking for a NH-moon28.gif.  I was under the impression that there were only 28 moon images required. (NH-moon00.gif - NH-moon27.gif).  Does anyone possess this mythical NH-moon28.gif? 
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.


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Is there a wxastronomy update
« Reply #167 on: October 14, 2023, 12:56:35 PM »
You can copy NH-moon00.gif to the missing NH-moon28.gif

Or you can change sunposa.php
Code: [Select]
if ($age>28) { $age=28; }
to
Code: [Select]
if ($age>27) { $age=27; }
« Last Edit: October 14, 2023, 01:03:56 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 125
    • CamWX
Re: Is there a wxastronomy update
« Reply #168 on: October 14, 2023, 01:06:17 PM »
As always, thank you, Ken.  Went with option #1.  Kicking myself for not coming up with that on my own.   #-o

Hope you've been enjoying the show in the sky.
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.


Offline tigerbait

  • Member
  • *
  • Posts: 40
    • Ellerbe Weather
Re: Is there a wxastronomy update
« Reply #169 on: December 15, 2023, 09:30:51 AM »
Good morning,
Anyone else having issues with the sun spot image on the astronomy page?

https://www.sporttiger.com/wxastronomy.php
https://www.sporttiger.com
Davis VP2 Weather Display
Saratoga scripts

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1315
  • BismarckWeather.net
    • BismarckWeather.net
Re: Is there a wxastronomy update
« Reply #170 on: December 15, 2023, 11:12:38 AM »
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline hcorrin

  • Contributor
  • ***
  • Posts: 136
    • Ballaugh Weather
Re: Is there a wxastronomy update
« Reply #171 on: December 15, 2023, 11:49:06 AM »
Mine is not showing it https://www.hc-iom.co.uk/WD-AJAX1/wxastronomy.php
I think we’re using a different image to 92merc

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 125
    • CamWX
Re: Is there a wxastronomy update
« Reply #172 on: December 15, 2023, 01:01:47 PM »
I have no earthly idea why, but for some reason https://umbra.nascom.nasa.gov has started taking issue with the cache-busting URL parameter that the script tacks on to the end of the image link in order to keep the image fresh.

I changed Line 414 in include-astronomy.php from

<img border="0" src="<?php echo $sunURL.$sunImg.'?'.time(); ?>" width="120" height="120"

to

<img border="0" src="<?php echo $sunURL.$sunImg; ?>" width="120" height="120"

And that cleared up the issue.
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.


Offline Vasco

  • Forecaster
  • *****
  • Posts: 343
    • PWS
Re: Is there a wxastronomy update
« Reply #173 on: December 15, 2023, 02:14:17 PM »
I have no earthly idea why

Very appropriate choice of words. . .  :grin:
Ecowitt GW1102 (with GW2000) + Weather Display in Windows 10

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 125
    • CamWX
Re: Is there a wxastronomy update
« Reply #174 on: December 15, 2023, 02:18:05 PM »
I have no earthly idea why

Very appropriate choice of words. . .  :grin:

 :cool:
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