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

0 Members and 1 Guest are viewing this topic.

Offline tigerbait

  • Member
  • *
  • Posts: 27
    • 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
  • Contributor
  • ***
  • Posts: 148
  • 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: 201
    • 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
  • Contributor
  • ***
  • Posts: 148
  • 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: 1264
  • 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: 27
    • 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: 406
    • 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: 201
    • 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: 111
    • 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 Vue
Station Software: Weather Display, Weather Message, FWI Calculator, with messaging automation using Make.com, Twilio, and Brevo.


Offline tigerbait

  • Member
  • *
  • Posts: 27
    • 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
  • Contributor
  • ***
  • Posts: 148
  • 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: 201
    • 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: 40
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
  • Contributor
  • ***
  • Posts: 148
  • 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: 2611
    • 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: 2611
    • 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

 

anything