Weather-Watch.com
September 02, 2010, 05:26:49 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Members: 8,509  Posts: 362,030  Topics: 40,113
Please welcome lawrencerebeiro, our newest member.

Latest versions: WD - 10.37P  WDL - 6.05  MML - 1.03
 News:
Check out the new FAQs (Frequently Asked Questions) board for a growing list of hints, tips and diagnostic suggestions.
  Advanced Search
   Home   Bug Tracker Photo Gallery Wiki Chat Calendar Search Login Register Help  
Pages: [1] 2 3 ... 11
  Print  |  « previous  |  next »  |  Go Down  
Author Topic: Space Weather addon page for WD-AJAX-PHP-USA  (Read 8255 times)
0 Members and 1 Guest are viewing this topic.
MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,997
Local Time: Thursday 11:26



WWW
« on: October 20, 2009, 06:16:32 PM »

Space Weather addon page for WD-AJAX-PHP-USA

You can see my Space Weather Script in use here:
http://www.642weather.com/weather/space-weather.php

This script will show a space weather forecast page, Real Time Images of the Sun, and graphs of Real Time Solar X-ray and Solar Wind. It shows the 3-day space weather forecast from the NOAA / Space Weather Prediction Center. Also included are 9 PHP images that are cached locally on your server.

Version: 1.2 - 24-Oct-2009
- XHTML 1.0-Strict compliant code (even though the template uses XHTML 1.0 Transitional)
- added links in the credits.

Version: 1.1 - 24-Oct-2009
- Added more images and graphs.
- Image PHP files updated to latest version of the image handler, fixes error 004 on some servers
http://www.642weather.com/weather/scripts-history.php#ImageHandler

-----------------------------------------
Installation (USA carterlake php template sites)
-----------------------------------------

You must already be running the USA carterlake php template
http://saratoga-weather.org/template/index.php

Step 1)
Download:
www.642weather.com/weather/scripts/wxspace.zip

Step 2)
Upload these files to your web server:
wxspace.php
image-space-aurora.php
image-space-aurora-s.php
image-space-eit-284.php
image-space-eit-304.php
image-space-sat-env.php
image-space-solar-cycle.php
image-space-solar-disk.php
image-space-solar-wind.php
image-space-xray.php

Step 3)
test your page:
www.yoursite.com/wxspace.php

A paypal donate button is on my scripts page
www.642weather.com.com/weather/scripts.php


What to do if you get Error 003 displayed in the images.
Description of the PHP error:
cannot write to file, you need to adjust the server permission settings.

Solution:
This is a PHP error telling you that your server is setup with too strict file permissions,
not every server is the same so it is not possible to give you one specific solution.
Try changing the folder permissions(CHMOD) to 755, 717, or on some servers 777.

Here is a tutorial on how to change folder permissions using your FTP program.
http://www.stadtaus.com/en/tutorials/chmod-ftp-file-permissions.php

If your host has PHP safe_mode = on, this will cause many PHP scripts to have permission problems and errors.
Ask your host to turn safe_mode off, safe_mode was determined to be a bad idea and will be removed from PHP6.

« Last Edit: October 24, 2009, 05:23:31 PM by MCHALLIS » Logged

ALITTLEweird1
Mark
Junior Weather Controller
****
Offline Offline

Location: Snoqualmie,WA
Station Type: WS-2315 + 1-Wire Solar + 1 Wire-Lightning + 1-Wire UV + Logitech Quickcam Pro 9000 / Win XP Pro
Posts: 3,000
Local Time: Thursday 11:26



WWW
« Reply #1 on: October 20, 2009, 06:22:47 PM »

Very nice Mike. I'll be adding that onto my site later.
Logged

"Nature can do without man, but man cannot do without nature."
smokie
Senior Forecaster
*
Offline Offline

Location: Newquay, Cornwall UK
Station Type: WS2300, Weather display, WDL
Posts: 250
Local Time: Thursday 18:26


WS2300 operational May 2007


WWW
« Reply #2 on: October 20, 2009, 06:44:53 PM »

Nice one, added, I have something similar on my astronomy page but yours is so much better Very Happy
Logged


Newquay, Cornwall.UK  > WS2300 Operational since May 2007.
From 6/4/08 www.newquayweather.com
Silversword
--Stan Y.
Weather Guru
**
Offline Offline

Location: Maui, Hawaii
Station Type: Davis Vantage Pro Wireless + 1-Wire Solar + 1-Wire UV + 1-Wire Lighting
Posts: 590
Local Time: Thursday 07:26



WWW
« Reply #3 on: October 20, 2009, 07:50:43 PM »

Hi Mike,

Got another winner.  This info will be great for the amateur radio community as well. Will try to play around with it as time permits.

Thank you for all that you contribute.

--Stan Y.
   Maui, Hawaii
   KH6HHG
Logged

WD 10.37p Bld 28
WDL 6.05

MS Windows XP Pro-SP3
Dell Optiplex-Intel Pentium 4 CPU 2.00GHz,1 GB RAM
Webcam:Logitech Pro-5000
MadALwx
Weather Guru
**
Online Online

Location: Madison, AL
Station Type: Davis VP2 Wireless
Posts: 771
Local Time: Thursday 13:26


Retired USAF B-52 Gunner


WWW
« Reply #4 on: October 20, 2009, 08:01:17 PM »

Looks good. Is there a chance of using dials from Rice University, the Planetary Kp from N3KL, and offer black background.? I also RSS from HFRadio.org Propogation Center.

When I flew the DSP Satellite Constellation we heavily relied upon Kp and X-Ray indices. Indicators of impending spacecraft impacts and perturbations. Bad stuff, as flares and our magnetic field can cause 'drag' on spacecraft.

http://www.knology.net/~blackjack52/wxspacewx.php
Logged

Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam
i_fiorentino
Weather Guru
**
Offline Offline

Location: 160 mls Carmignano (Po), Tuscany, IT
Station Type: La Crosse 2308, Boltek PCI, Nexstorm, Mobotix M22-IT Webcam & WXSim
Posts: 836
Local Time: Thursday 19:26



WWW
« Reply #5 on: October 20, 2009, 09:06:57 PM »

Very Nice Mike,
here is the link: http://www.meteocarmignano.it/wxspace.php

Thanks for your great job,  Smile

Alessandro
« Last Edit: October 21, 2009, 07:15:31 AM by i_fiorentino » Logged

AM1234
Senior Forecaster
*
Online Online

Location: Beamsville, Ontario, Canada
Station Type: Davis VP2+ Wireless
Posts: 313
Local Time: Thursday 13:26


WWW
« Reply #6 on: October 21, 2009, 12:01:36 AM »

I've been meaning to place a space weather page on my site for some time now. Thanks very much Mike Smile
Logged

Ann-Marie
Beamsville, Ontario, Canada
MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,997
Local Time: Thursday 11:26



WWW
« Reply #7 on: October 21, 2009, 12:16:43 AM »

Looks good. Is there a chance of using dials from Rice University, the Planetary Kp from N3KL, and offer black background.? I also RSS from HFRadio.org Propogation Center.

When I flew the DSP Satellite Constellation we heavily relied upon Kp and X-Ray indices. Indicators of impending spacecraft impacts and perturbations. Bad stuff, as flares and our magnetic field can cause 'drag' on spacecraft.

http://www.knology.net/~blackjack52/wxspacewx.php

I like the sun images you have, and the other stuff.  I might fit them into my script when I get time.

Mike
Logged

niko
syzygy
Junior Climate Controller
**
Offline Offline

Location: Northern California, U.S.A.
Station Type: 2 x Davis VP2 Wireless / Win 2000
Posts: 18,782
Local Time: Thursday 11:26


Crystal Ball broken! Please post the URL.


WWW
« Reply #8 on: October 21, 2009, 12:53:01 AM »

Good one Mike!
Logged

ktrue
Junior Weather Controller
****
Offline Offline

Location: Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
Station Type: Davis VP1+ FARS, Boltek-PCI, NexStorm StormVue WASP2, GRLevel3, WXSIM
Posts: 3,906
Local Time: Thursday 09:26



WWW
« Reply #9 on: October 21, 2009, 02:03:10 AM »

Great script set, Mike!  Thanks!!

My page is at http://saratoga-weather.org/space-weather.php

Best regards,
Ken
« Last Edit: October 21, 2009, 04:03:01 AM by ktrue » Logged

Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates
WeatherPilot
Junior Forecaster
****
Offline Offline

Location: Charles Town - WV
Station Type: WMR-100
Posts: 69
Local Time: Thursday 13:26



WWW
« Reply #10 on: October 21, 2009, 02:28:15 AM »

Quick question - I uploaded the files per instructions (Thanks Mike!!) and tested the wxspace.php at http://www.tuscawilla-weather.net/wxspace.php  Seems I'm not getting any graphics.  Could that be the cache file writing restriction on e-Rice.net?  If so, what are the cache files?  I think if I create them in the website directory at e-Rice and set the permissions to 666 then the scripts can use the cache file write that it needs to display graphics?  Am I on the right track?? 

Any help appreciated.

Greg.

Logged
looney2ns
Junior Weather Controller
****
Offline Offline

Location: Near Evansville Indiana USA
Station Type: Texas Weather Instrument WRL-128S, Boltek Lightning, Nexstorm, 2.8ghz Core 2 Dual, 2 gig ram,XP Pro dedicated PC, Live Streaming NOAA Radio
Posts: 2,747
Local Time: Friday 12:26


Fearless Weather Dog-Loves to watch Lightning.


WWW
« Reply #11 on: October 21, 2009, 02:32:24 AM »

I'm also on E-Rice.
I simply uploaded the files that Mike said was needed, and it worked.
I didn't have to change any permissions.
Logged
WeatherPilot
Junior Forecaster
****
Offline Offline

Location: Charles Town - WV
Station Type: WMR-100
Posts: 69
Local Time: Thursday 13:26



WWW
« Reply #12 on: October 21, 2009, 02:35:05 AM »

Hmmmm.  Now Im really puzzled. 
Logged
looney2ns
Junior Weather Controller
****
Offline Offline

Location: Near Evansville Indiana USA
Station Type: Texas Weather Instrument WRL-128S, Boltek Lightning, Nexstorm, 2.8ghz Core 2 Dual, 2 gig ram,XP Pro dedicated PC, Live Streaming NOAA Radio
Posts: 2,747
Local Time: Friday 12:26


Fearless Weather Dog-Loves to watch Lightning.


WWW
« Reply #13 on: October 21, 2009, 02:36:44 AM »

All files were put in the same directory as wxspace.php?
Logged
Silversword
--Stan Y.
Weather Guru
**
Offline Offline

Location: Maui, Hawaii
Station Type: Davis Vantage Pro Wireless + 1-Wire Solar + 1-Wire UV + 1-Wire Lighting
Posts: 590
Local Time: Thursday 07:26



WWW
« Reply #14 on: October 21, 2009, 06:42:25 AM »

Hi All,

Thanks Mike for the script.  Got mine to work just fine. Plug n' Play.  No fuss, just load and go.  My page is at http://www.dwayneyamato.com/wx/wxspace.php.

Will get it on the menu bar as time permits.

Thank you again for a wonderful job.

--Stan Y.
  Maui, Hawaii
  KH6HHG
Logged

WD 10.37p Bld 28
WDL 6.05

MS Windows XP Pro-SP3
Dell Optiplex-Intel Pentium 4 CPU 2.00GHz,1 GB RAM
Webcam:Logitech Pro-5000
Pages: [1] 2 3 ... 11
  Print  |  « previous  |  next »  |  Go Up  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!