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

0 Members and 1 Guest are viewing this topic.

Offline zeppline

  • Senior Member
  • **
  • Posts: 50
    • Las Vegas Weather Guy
Re: Is there a wxastronomy update
« Reply #100 on: February 17, 2023, 05:08:38 PM »
Thanks I have it on the desktop. I will down load and start over I will make folder then unzip to folder. thanks again

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Contributor
  • ***
  • Posts: 132
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #101 on: February 17, 2023, 05:14:25 PM »
Ok Gentlemen,
  I am trying to figure out the proper "click" and/or "tick" for WD Internet File Creation and Upload of moondetail1.gif!  Do I tick "upload every 5 min?, every 30 seconds? or every minute?, JEEZ, to many options in WD!  Also, before I view https://csraweather.org/wxastronomy.php, I clear out cache in GOOGLE CHROME.  Could someone please assist?  Refer to the attached screenshots.....THANK YOU!


 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
« Last Edit: February 17, 2023, 05:16:17 PM by scudwatcher »

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Contributor
  • ***
  • Posts: 132
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #102 on: February 17, 2023, 05:22:47 PM »
Gentlemen,
  I believe I figured it out!  It's beer-thirty as well!  SOLVED!  Thank You for all your help!

Offline hcorrin

  • Senior Member
  • **
  • Posts: 79
    • Ballaugh Weather
Re: Is there a wxastronomy update
« Reply #103 on: February 17, 2023, 05:38:45 PM »
just for info i have mine set for every 2 hours

Offline zeppline

  • Senior Member
  • **
  • Posts: 50
    • Las Vegas Weather Guy
Re: Is there a wxastronomy update
« Reply #104 on: February 18, 2023, 04:22:55 PM »
Another success only four days and my eyes are falling out. Thank you to all for the help. Joe

https://lasvegaswx.com/wxastronomy1.php

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3351
    • Emmett Weather
Re: Is there a wxastronomy update
« Reply #105 on: February 22, 2023, 06:53:57 PM »
Perhaps I have missed something here but I can't seem to find a current version of wxastronomy for USA usage in the Saratoga template. The version I am running (Version 1.01 - 22-Jan-2012) doesn't work nor does it make any reference to the "include-wxastronomy.php" file. I'm lost and need some help figuring this out.

Thanks,
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s147,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam
--- RIPE Atlas Probe - 32849

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Contributor
  • ***
  • Posts: 132
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #106 on: February 22, 2023, 08:24:27 PM »
Hey Don,
  Really enjoyed viewing your page!

  1.  Please read this ENTIRE message thread for doing that really helped me get mine up and running at:
       https://csraweather.org/wxastronomy.php
       Pay close attention to Ken True's specific instructions.

  2.  Reply # 3  Download "wxastonomy-php8.zip", unzip to your local file, then upload to your website server after configuration to your site
       specifics.

  3.  Reply #5   Check your c:/wdisplay/webfiles/testtags.txt file to ensure the required testtags are there.  If not, download testtags.txt.

  4.  Reply #8  Go to https://jpgraph.net/download/ and download "jpgraph-4.4.1.tar.gz, unzip to your local file maintaining file structure, then
       upload to webserver.

  4.  Reply #31  Download "sunposa-V2.02.zip", unzip to your local file and upload to your webserver after configuration to your site specifics.

  5.  Reply #66  Download "astronomyicons.zip", unzip to your /ajax/images/ folder then upload to your webserver.

  6.  Reply#68  Look at "wxastronomy.txt" and download if needed.

  7.  Reply #81 and #101:
      Go to your WD/CONTROL PANEL/INTERNET FILE CREATION SETUP
      Scroll down to file #31 "EXTRA MOON DETAILS"
      Click on "SET"
      Click on "CREATE THIS FILE NOW"
      Click/Check "UPLOAD EVERY 1 MIN OR 5 MIN (YOUR PREFERENCE)
      Click "UPLOAD FILE NOW"
      Click  "SAVE NOW"
      Click  "OK"

I am here if you have any questions.....hopefully, this will help.
     
       

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3351
    • Emmett Weather
Re: Is there a wxastronomy update
« Reply #107 on: February 22, 2023, 11:10:04 PM »
Thanks for the detailed sequence for getting wxastronomy running again. I must have missed a lot while I was in the process of moving late last year. I am currently trying to get my new website up and running and it's taking me a lot of time going through each of the menu items one at a time and bringing them up-to-date.

I'll start working on this tomorrow.

Best regards,
Don

Hey Don,
  Really enjoyed viewing your page!

  1.  Please read this ENTIRE message thread for doing that really helped me get mine up and running at:
       https://csraweather.org/wxastronomy.php
       Pay close attention to Ken True's specific instructions.

  2.  Reply # 3  Download "wxastonomy-php8.zip", unzip to your local file, then upload to your website server after configuration to your site
       specifics.

  3.  Reply #5   Check your c:/wdisplay/webfiles/testtags.txt file to ensure the required testtags are there.  If not, download testtags.txt.

  4.  Reply #8  Go to https://jpgraph.net/download/ and download "jpgraph-4.4.1.tar.gz, unzip to your local file maintaining file structure, then
       upload to webserver.

  4.  Reply #31  Download "sunposa-V2.02.zip", unzip to your local file and upload to your webserver after configuration to your site specifics.

  5.  Reply #66  Download "astronomyicons.zip", unzip to your /ajax/images/ folder then upload to your webserver.

  6.  Reply#68  Look at "wxastronomy.txt" and download if needed.

  7.  Reply #81 and #101:
      Go to your WD/CONTROL PANEL/INTERNET FILE CREATION SETUP
      Scroll down to file #31 "EXTRA MOON DETAILS"
      Click on "SET"
      Click on "CREATE THIS FILE NOW"
      Click/Check "UPLOAD EVERY 1 MIN OR 5 MIN (YOUR PREFERENCE)
      Click "UPLOAD FILE NOW"
      Click  "SAVE NOW"
      Click  "OK"

I am here if you have any questions.....hopefully, this will help.
     
     
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s147,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam
--- RIPE Atlas Probe - 32849

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8884
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Is there a wxastronomy update
« Reply #108 on: February 23, 2023, 01:30:58 PM »
Perhaps I have missed something here but I can't seem to find a current version of wxastronomy for USA usage in the Saratoga template. The version I am running (Version 1.01 - 22-Jan-2012) doesn't work nor does it make any reference to the "include-wxastronomy.php" file. I'm lost and need some help figuring this out.

Thanks,
Hi Don,
The 'stock' wxastronomy.php page distributed in the Base-*.zip files is Version 1.01 - 22-Jan-2012 and is 'all-in-one'.  Only needs info from other scripts (like common.php, and tags file) to display.  It has no other includes.

The alternative wxastronomy.php page uses include-wxastronomy.php for it's displays.. that script was written by Bashewa weather, and updated by various folks over the years. 

So.. two different scripts, unfortunately named the same.

Use @scudwatcher's post above to get the alternative one working instead of the stock one.
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 weatherbee

  • Senior Contributor
  • ****
  • Posts: 191
    • Sherman Ct. Weather
Re: Is there a wxastronomy update
« Reply #109 on: April 15, 2023, 10:29:55 AM »
I've read all the posts and I think made all the changes, but I still can't get sunposa.php to work in the astronomy page.
It's here at https://www.shermanctweather.org/mb/wxastronomy.php
Thanks,
Tom

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8884
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Is there a wxastronomy update
« Reply #110 on: April 15, 2023, 11:00:19 AM »
Your sunposa.php returns
Quote
<br />
<b>Warning</b>:  imagecreatefromgif(): './ajax-images/moon/w/NH-moon24.gif' is not a valid GIF file in <b>/home/shermanc/public_html/mb/sunposa.php</b> on line <b>618</b><br />
<br />
<b>Warning</b>:  imagecopyresized() expects parameter 2 to be resource, bool given in <b>/home/shermanc/public_html/mb/sunposa.php</b> on line <b>620</b><br />
<br />
<b>Warning</b>:  imageinterlace() expects parameter 1 to be resource, bool given in <b>/home/shermanc/public_html/mb/sunposa.php</b> on line <b>621</b><br />
<br />
<b>Warning</b>:  imagepng() expects parameter 1 to be resource, bool given in <b>/home/shermanc/public_html/mb/sunposa.php</b> on line <b>622</b><br />
before the actual image.

I'd suggest re-uploading mb/ajax-images/moon/w/NH-moon*.gif from the .zip using FTP binary mode.
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 weatherbee

  • Senior Contributor
  • ****
  • Posts: 191
    • Sherman Ct. Weather
Re: Is there a wxastronomy update
« Reply #111 on: April 15, 2023, 11:08:13 AM »
Ken,
Wow you are fast.  That was the problem.
Thank you for all your help.
Tom

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3351
    • Emmett Weather
Re: Is there a wxastronomy update
« Reply #112 on: April 26, 2023, 06:41:11 PM »
[scudwatcher] I have gone over all of the steps you and others have posted in this thread. I have made a little progress but still can't get the sun graphic to display. Everything else appears to be working fine.
You can see the results here: https://emmettweather.com/wxastronomy.php

Initially I would only see a line across the screen but now I see an error message for jpgraph. I must have changed something but don't know what it was that caused the apparent error.

Thanks for any help or suggestions in advance...
 
Hey Don,
  Really enjoyed viewing your page!

  1.  Please read this ENTIRE message thread for doing that really helped me get mine up and running at:
       https://csraweather.org/wxastronomy.php
       Pay close attention to Ken True's specific instructions.

  2.  Reply # 3  Download "wxastonomy-php8.zip", unzip to your local file, then upload to your website server after configuration to your site
       specifics.

  3.  Reply #5   Check your c:/wdisplay/webfiles/testtags.txt file to ensure the required testtags are there.  If not, download testtags.txt.

  4.  Reply #8  Go to https://jpgraph.net/download/ and download "jpgraph-4.4.1.tar.gz, unzip to your local file maintaining file structure, then
       upload to webserver.

  4.  Reply #31  Download "sunposa-V2.02.zip", unzip to your local file and upload to your webserver after configuration to your site specifics.

  5.  Reply #66  Download "astronomyicons.zip", unzip to your /ajax/images/ folder then upload to your webserver.

  6.  Reply#68  Look at "wxastronomy.txt" and download if needed.

  7.  Reply #81 and #101:
      Go to your WD/CONTROL PANEL/INTERNET FILE CREATION SETUP
      Scroll down to file #31 "EXTRA MOON DETAILS"
      Click on "SET"
      Click on "CREATE THIS FILE NOW"
      Click/Check "UPLOAD EVERY 1 MIN OR 5 MIN (YOUR PREFERENCE)
      Click "UPLOAD FILE NOW"
      Click  "SAVE NOW"
      Click  "OK"

I am here if you have any questions.....hopefully, this will help.
     
     
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s147,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam
--- RIPE Atlas Probe - 32849

Offline Vasco

  • Contributor
  • ***
  • Posts: 113
    • PWS
Re: Is there a wxastronomy update
« Reply #113 on: April 26, 2023, 06:52:42 PM »
Initially I would only see a line across the screen but now I see an error message for jpgraph.

From my limited experience of JpGraph the message means that the font file arialbd.ttf is not present in the location expected. It's not included in the JpGraph download.

You can upload it from Windows fonts.
« Last Edit: April 26, 2023, 07:25:19 PM by Vasco »
Oregon Scientific WMR200 + Weather Display in Windows 10

Offline zeppline

  • Senior Member
  • **
  • Posts: 50
    • Las Vegas Weather Guy
Re: Is there a wxastronomy update
« Reply #114 on: April 26, 2023, 10:45:37 PM »
I had the same problem, go to google and update Windows fonts and follow how to install fonts.

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3351
    • Emmett Weather
Re: Is there a wxastronomy update
« Reply #115 on: April 27, 2023, 12:03:33 AM »
That font is and has been installed on all of my windows computers for a long time. I have two desktops and three laptops plus an iPad. All of them exhibit the same issue when viewing the wxastronomy webpage.

Unless I misunderstand how a browser works, it uses the configuration of the viewers computer to display a font. Font display is not controlled by the web server.

Additionally, when I Inspect the page in Chrome, I am getting errors regarding the code attempting to open http:// websites and are being blocked by the browser. Perhaps I have some old code in the routines.?
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s147,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam
--- RIPE Atlas Probe - 32849

Offline hcorrin

  • Senior Member
  • **
  • Posts: 79
    • Ballaugh Weather
Re: Is there a wxastronomy update
« Reply #116 on: April 27, 2023, 04:57:30 AM »
The arial font needs to be down loaded and installed in the fonts folder in the src folder in the jpgragh folder on your server as that is were it is being directed to, not the fonts on the browsers computer

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Contributor
  • ***
  • Posts: 132
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #117 on: April 27, 2023, 07:40:28 AM »
W3DRM,
  Forgive me for my delayed response....have you resolved the font issue?

Offline zeppline

  • Senior Member
  • **
  • Posts: 50
    • Las Vegas Weather Guy
Re: Is there a wxastronomy update
« Reply #118 on: April 27, 2023, 11:00:19 AM »
what version of jpgraphs? I have Jpgraphs4.4.1 and it works.

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 102
    • CamWX
Re: Is there a wxastronomy update
« Reply #119 on: April 27, 2023, 09:42:17 PM »
The arial font needs to be down loaded and installed in the fonts folder in the src folder in the jpgragh folder on your server as that is were it is being directed to, not the fonts on the browsers computer

W3DRM,
If I'm remembering correctly, I had the same issue when implementing this alternative wxastronomy script set.  I also had to find and upload the arial.ttf font.  Something to do with the way the script is rendering the information requires the font to be on the web hosting server.  It looks like you got that done, but your moon phase images also seem to be missing.  Broken image link in the Sun, Moon, & Seasons box.  Adding the atttached directory and contents to your /ajax-images/ folder on your webserver should take care of it.
Grant Miles - Camarillo, CA, USA
Owner/Admin - CamWX.com
SKYWARN Spotter
Davis Vantage Vue, WD, GRLevel3

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3351
    • Emmett Weather
Re: Is there a wxastronomy update
« Reply #120 on: April 28, 2023, 11:20:53 PM »
K6GKM,

Thanks for the file. Iíll look into it this weekend. Iíve been very busy with unpacking from our move and have limited time to work on my website and the many nagging issues in getting things running again. Plus, as a ham, youíll understand that my having moved into a new home with an HOA and very rigid CCRís are making the installation of both weather instruments and ham radio antennas/devices very challenging.

Iíll update what happens after I work on the file.

Thanks again!
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s147,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam
--- RIPE Atlas Probe - 32849

Offline tigerbait

  • Member
  • *
  • Posts: 19
    • Ellerbe Weather
Re: Is there a wxastronomy update
« Reply #121 on: May 06, 2023, 02:18:43 PM »
Any one explain why the astronomy page is showing Summer?  I looked at fellow friends pages and it shows Summer as well. https://www.sporttiger.com/wxastronomy.php

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

Offline scudwatcher

  • Billy T. Forecaster Webmaster csraweather.net
  • Contributor
  • ***
  • Posts: 132
  • Amateur Radio KC4SRA csraweather.net
    • CSRA Weather
Re: Is there a wxastronomy update
« Reply #122 on: May 07, 2023, 06:16:26 AM »
Yeah, I noticed that too!

Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 222
    • The Vicarage Weather Feed
Re: Is there a wxastronomy update
« Reply #123 on: May 07, 2023, 12:23:30 PM »
Hmm, mine is showing Spring still, but have noticed that the timing of the seasons changing has been off in the past months, so I'm waiting for mine to change automatically.  In the past have had to make it change manually by swapping the season names on the default season line of the script.


Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1226
  • BismarckWeather.net
    • BismarckWeather.net
Re: Is there a wxastronomy update
« Reply #124 on: May 07, 2023, 12:55:34 PM »
I checked mine yesterday after the above post.  Mine is showing Summer as well.

https://www.bismarckweather.net/wxastronomy.php
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI