cloudy

Author Topic: River/Lake Height Display addon page for WD-AJAX-PHP-USA  (Read 11576 times)

0 Members and 2 Guests are viewing this topic.

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
  • OS/Browser:
  • Win XP
  • MS IE 8.0
    • Renton,Wa. Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #135 on: January 03, 2012, 04:33:03 PM »
It's installed take a peak seems fine http://www.n7xrd.tzo.com/wdisplay/web/wxriverpage.php  have a few validation errors..?

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 9.0.1
    • Renton,Wa. Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #136 on: January 04, 2012, 02:39:32 AM »
 :D  Thanks Dennis went thru the weather detail file and fixed it like you did and all seems to be working just 2 validation errors to clean up now!!
Thanks again!   Errors all cleaned up working Great!!
« Last Edit: January 04, 2012, 03:34:22 AM by n7xrd »

Offline clappy9

  • Posts: 205
  • Masonville, NY
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 8.0
    • East Masonville Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #137 on: January 05, 2012, 06:32:13 PM »
Cool stuff, I've just been really busy lately.  I plan on updating the script sometime soon.

-Dennis
East Masonville Weather
Upstate New York
http://eastmasonvilleweather.com


Offline clappy9

  • Posts: 205
  • Masonville, NY
  • OS/Browser:
  • Win XP
  • Firefox 8.0
    • East Masonville Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #138 on: January 08, 2012, 05:12:07 AM »
Looks like I will not have enough time to update the script before I leave for my internship, if anyone has the problem with the number_format wanted to be a double, take a look at the fixed river page I posted a few posts back and implement that to fix your issue.

Thanks,
-Dennis
East Masonville Weather
Upstate New York
http://eastmasonvilleweather.com


Offline bhogsett

  • Posts: 139
  • Cleveland, Ohio, USA
  • OS/Browser:
  • Mac OS X 10.7
  • Firefox 10.0
    • BoatHouse Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #139 on: January 26, 2012, 01:39:50 PM »
Thanks for the script.  I have just installed it.  No problems until my users wanted different features. One user pointed me to this page which is what he has been using:

http://riverboss.com/

It is ugly, but the forecast for each river is nice and the mouseover map is nice also.

My page is at:

http://billhogsett.com/wd/wxriverpage.php

The only change I have made is to use cfs rather than kcfs.  A user said that is what he was used to seeing (see above).  Fairly easy fix in the code.

The other feature request is to show the height of the water in Lake Erie.  I don't see a way to easily get that data into this script.  Any suggestions?

I may do another page and pull the Lake Erie data into it.

Thanks.

Bill

Offline clappy9

  • Posts: 205
  • Masonville, NY
  • OS/Browser:
  • Win XP
  • Firefox 9.0.1
    • East Masonville Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #140 on: January 27, 2012, 01:13:47 PM »
Hi Bill,

The mouseover map is a neat feature, I will see about adding it, the biggest key will be to make sure it does not take a lot of resources to make it happen. Also I like the trend idea, I think I can do this, but the way I do it may cause problems with certain gauges.

When I get a new version around I will make an option to use either kcfs or cfs, for other users who may want it.

I will see about pulling the Lake Erie data no guarantees but I will try.

-Dennis
East Masonville Weather
Upstate New York
http://eastmasonvilleweather.com


Offline bhogsett

  • Posts: 139
  • Cleveland, Ohio, USA
  • OS/Browser:
  • Mac OS X 10.7
  • Firefox 10.0
    • BoatHouse Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #141 on: January 27, 2012, 07:44:47 PM »
Hi Bill,

The mouseover map is a neat feature, I will see about adding it, the biggest key will be to make sure it does not take a lot of resources to make it happen. Also I like the trend idea, I think I can do this, but the way I do it may cause problems with certain gauges.

When I get a new version around I will make an option to use either kcfs or cfs, for other users who may want it.

I will see about pulling the Lake Erie data no guarantees but I will try.

-Dennis

Great, thanks for even considering the ideas.  If I can help (I am a decent php programmer) let me know.

Bill

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 469
  • Thornton, CO USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 17.0.963.56
    • ThorntonWeather.com
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #142 on: February 25, 2012, 11:48:51 AM »
Dennis,

Thank you very much for your work on this script!  I have been using it fine for quite a while but recently noticed a problem with it reading a few river gauges in my area.  These gauges are turned off during the winter and as a result the script displays the following error:

Code: [Select]
Warning: number_format() expects parameter 1 to be double, string given in/home/thornt01/public_html/river-heights-co.php on line 178 ft
I did download the updated river page you posted a few posts back but that didn't fix the problem. 

You can view my problem here: http://www.thorntonweather.com/river-heights-co.php

Any help you could provide would be greatly appreciated.

   Tony

Offline clappy9

  • Posts: 205
  • Masonville, NY
  • OS/Browser:
  • Win XP
  • Firefox 9.0.1
    • East Masonville Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #143 on: February 26, 2012, 02:54:01 PM »
Hey Tony,

Right now I am working on an update to fix your problem and add a few more features.  Should be done relatively soon.

-Dennis
East Masonville Weather
Upstate New York
http://eastmasonvilleweather.com


Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 469
  • Thornton, CO USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 17.0.963.56
    • ThorntonWeather.com
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #144 on: February 26, 2012, 06:21:25 PM »
Very cool - Thanks, Dennis!

   Tony

Offline Forever

  • Posts: 299
  • Santa Cruz, CA
  • OS/Browser:
  • Win Vista/Srvr 2008
  • MS IE 8.0
    • WeatherCat
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #145 on: March 02, 2012, 12:53:12 PM »
Did the river map vanish for everyone else the last two days or did I mess something up?

http://www.weathercat.net/wxriverpage.php

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Renton,Wa. Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #146 on: March 02, 2012, 12:57:07 PM »
Did the river map vanish for everyone else the last two days or did I mess something up?

http://www.weathercat.net/wxriverpage.php
Mine is gone also!!

Offline ALITTLEweird1

  • Mark
  • Posts: 3,984
  • Snoqualmie,WA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Snoqualmie Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #147 on: March 02, 2012, 02:03:07 PM »
Looks like they changed the link, and maybe also the type of map.

http://water.weather.gov/ahps2/index.php?wfo=sew

« Last Edit: March 02, 2012, 02:08:40 PM by ALITTLEweird1 »
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline johnah99

  • Posts: 33
  • Loris, South Carolina USA
  • OS/Browser:
  • Mac OS X 10.6
  • Firefox 7.0.1
    • Loris SC Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #148 on: March 02, 2012, 04:01:46 PM »
My map is not working either. When I click the link I get:

Not Found
The requested URL /ahps2/all_layer_merge.php was not found on this server.
Apache/2.2.15 (Red Hat) Server at water.weather.gov Port 80

Offline clappy9

  • Posts: 205
  • Masonville, NY
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 10.0.2
    • East Masonville Weather
Re: River/Lake Height Display addon page for WD-AJAX-PHP-USA
« Reply #149 on: March 02, 2012, 05:24:20 PM »
Well, I was about to do the update. But I will see if I can figure out the new map and do the update then.

-Dennis
East Masonville Weather
Upstate New York
http://eastmasonvilleweather.com


 

cumulus