Meerkat
Rainer
Senior Forecaster
OfflineLocation: Pretoria, South Africa Station Type: OS WMR200+UV WD v10.37P build 21, Windows 7 HP Dual Core, 4GB Ram
Posts: 491 Local Time: Wednesday 06:01
|
 |
« Reply #180 on: May 08, 2009, 02:45:10 PM » |
|
Do you ever get that feeling where you wish you never started something?  Yeah, especially when you wanted something to be perfect and then it turns out that there are different stokes for different folks.
|
|
|
|
|
Logged
|
|
|
|
|
Bashy
Guest
|
 |
« Reply #181 on: May 08, 2009, 02:58:17 PM » |
|
Yeah, i know what you mean, I made some new wind rose graphics that took ages to get right for what i wanted then before i knew it i had PMs and posts asking to change them to suit there sites and so on... i didnt mind so much but i didnt really know what i was doing so it took a lot longer than it would with someone whos savvy with graphics... Still, its a great script that Rainers made and has supported it well, I just switched on the seasons, i love the images and im very grateful... I remember seeing something similar that someone had made loads of header images to suit his current weather conditions, loads of images were used.... 
|
|
|
|
« Last Edit: May 08, 2009, 06:51:11 PM by Bashy »
|
Logged
|
|
|
|
Zalmor
Weather Guru

OfflineLocation: Erin, NY Station Type: Davis Vantage Pro 2+ Wireless w/FARS, Rain heater, Soil, Boltek-PCI, WXSIM
Posts: 519 Local Time: Tuesday 23:01
|
 |
« Reply #182 on: May 08, 2009, 03:54:56 PM » |
|
Slight problem here when trying http://southerin-ny.org/cloud-base.php?uom=E&html=1&test=3 or http://southerin-ny.org/cloud-base.php?uom=E&html=0&test=3Shows: Warning: imagealphablending(): supplied argument is not a valid Image resource in /virtual/users/e14016-14028/web/cloud-base.php on line 839
Warning: imagesavealpha(): supplied argument is not a valid Image resource in /virtual/users/e14016-14028/web/cloud-base.php on line 840 All the other tests 1,2,4,5 work correctly.  Using version 1.9, unless I botched up something here once again.
|
|
|
|
|
Logged
|
Michael A Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, APC, VirtualVP, and ZAES 
|
|
|
JtwnPaWeather
Johnstown PA Weather
Senior Forecaster
OfflineLocation: Johnstown, PA Station Type: Davis Vantage Pro 2 Plus
Posts: 395 Local Time: Tuesday 21:01
|
 |
« Reply #183 on: May 08, 2009, 04:08:32 PM » |
|
Thanks Meerkat that fixed it.
|
|
|
|
|
Logged
|
Lat: 40.295505 40:17:43.818N Lon: -078.905686 78:54:20.470W
|
|
|
Meerkat
Rainer
Senior Forecaster
OfflineLocation: Pretoria, South Africa Station Type: OS WMR200+UV WD v10.37P build 21, Windows 7 HP Dual Core, 4GB Ram
Posts: 491 Local Time: Wednesday 06:01
|
 |
« Reply #184 on: May 08, 2009, 07:58:52 PM » |
|
Hi Zalmor, Sorry botched up again ... was a copy and paste problem from windsock code to moon code without the necessary changes made. It only happens when you're not displaying the windsock Grab the update below. Last edit: Also fixed overflow of cloud height text into conditions when cloud is very low or it's misty.
|
|
|
« Last Edit: May 08, 2009, 11:58:43 PM by Meerkat »
|
Logged
|
|
|
|
Zalmor
Weather Guru

OfflineLocation: Erin, NY Station Type: Davis Vantage Pro 2+ Wireless w/FARS, Rain heater, Soil, Boltek-PCI, WXSIM
Posts: 519 Local Time: Tuesday 23:01
|
 |
« Reply #185 on: May 09, 2009, 03:06:01 AM » |
|
It only happens when you're not displaying the windsock
Grab the update below. Last edit: Also fixed overflow of cloud height text into conditions when cloud is very low or it's misty.
That did it, thanks 
|
|
|
|
|
Logged
|
Michael A Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, APC, VirtualVP, and ZAES 
|
|
|
Meerkat
Rainer
Senior Forecaster
OfflineLocation: Pretoria, South Africa Station Type: OS WMR200+UV WD v10.37P build 21, Windows 7 HP Dual Core, 4GB Ram
Posts: 491 Local Time: Wednesday 06:01
|
 |
« Reply #186 on: May 09, 2009, 06:54:18 PM » |
|
There have been a couple of problems with the OZZ METARs which I have corrected. Grab the update below. I've also made the changes to the METAR DECODERwhich will report the OZZ METARs correctly. Last edit: Updated yet again ... found another bug ... grab below.
|
|
|
« Last Edit: May 09, 2009, 11:15:50 PM by Meerkat »
|
Logged
|
|
|
|
vk2him
Senior Forecaster
OfflineLocation: Gerroa, NSW, Australia Station Type: La Crosse 2307
Posts: 291 Local Time: Wednesday 14:01
|
 |
« Reply #187 on: May 09, 2009, 09:36:33 PM » |
|
There have been a couple of problems with the OZZ METARs which I have corrected. Grab the update below. I've also made the changes to the METAR DECODERwhich will report the OZZ METARs correctly. The new code is working great Rainer, many thanks!! Ian
|
|
|
|
|
Logged
|
|
|
|
Meerkat
Rainer
Senior Forecaster
OfflineLocation: Pretoria, South Africa Station Type: OS WMR200+UV WD v10.37P build 21, Windows 7 HP Dual Core, 4GB Ram
Posts: 491 Local Time: Wednesday 06:01
|
 |
« Reply #188 on: May 09, 2009, 10:46:28 PM » |
|
The new code is working great Rainer, many thanks!! Ian
Sorry, found another bug in the OZZ METARs. Grab the update below.
|
|
|
|
Logged
|
|
|
|
JohnZ
Newbie
OfflineLocation: Greece, Kavala Station Type: La Crosse Technology WS2315/2308 with Radiation Shield
Posts: 4 Local Time: Wednesday 06:01
|
 |
« Reply #189 on: May 12, 2009, 11:25:14 AM » |
|
Hello guys, and congratulations for your great work here  Unfortunately, I can't make this script to work  I have tried almost any possible way but the result I get always is this: http://www.meteokav.gr/cloud-base.phpclientraw files are here http://www.meteokav.gr/wdlive/clientraw.txthttp://www.meteokav.gr/wdlive/clientrawextra.txtWeather Station with Ajax Script here http://www.meteokav.gr/weather/In cloud-base.php the changes I made are these: $Settings = './weather/Settings.php'; // optional ...not required
$WXtags = './weather/testtags.php'; // optional ...not required (overridden if specified in Settings.php)
// WD SETUP ONLY ... The below will be overridden by Settings.php if it's available $clientraw = './wdlive/clientraw.txt'; // relative file address for WD clientraw.txt $clientextra = './wdlive/clientrawextra.txt'; // relative file address for WD clientrawextra.txt
$pathToImages = './wdlive/images/cb/'; // path to the background, cloud, windsock and scale images (with trailing slash) $pathToMoonImages = './wdlive/images/cb/moon/'; // path to the moon phase images (with trailing slash) Is there anything wrong? I have tried also to put cloud-base.php on /weather/ and /wdlive/ and I still get the same image. It seems that the code can't "read" my clientraw files. Thanks for any help!
|
|
|
|
|
Logged
|
|
|
|
Meerkat
Rainer
Senior Forecaster
OfflineLocation: Pretoria, South Africa Station Type: OS WMR200+UV WD v10.37P build 21, Windows 7 HP Dual Core, 4GB Ram
Posts: 491 Local Time: Wednesday 06:01
|
 |
« Reply #190 on: May 12, 2009, 02:45:51 PM » |
|
Hi John, You ain't doing what you say you're doing ... you've got 2 dots for clientraw files: $clientraw = '../wdlive/clientraw.txt'; // relative file address for WD clientraw.txt $clientextra = '../wdlive/clientrawextra.txt'; // relative file address for WD clientrawextra.txt
You need to change to ONE dot i.e. './wdlive/clientraw.txt' The way you've got it it's looking for the files below the root.
|
|
|
|
|
Logged
|
|
|
|
|
Bashy
Guest
|
 |
« Reply #191 on: May 12, 2009, 03:39:10 PM » |
|
Hi Meerkat
Heres one for you, just noticed my wind direction not quite playing ball It looks like it thinks O is East, please see the image below
|
|
|
|
Logged
|
|
|
|
JohnZ
Newbie
OfflineLocation: Greece, Kavala Station Type: La Crosse Technology WS2315/2308 with Radiation Shield
Posts: 4 Local Time: Wednesday 06:01
|
 |
« Reply #192 on: May 12, 2009, 03:44:58 PM » |
|
Hello again. Well I have tried it even with one dot and without any dots too, and the result is the same :/ Strange? http://www.meteokav.gr/cloud-base.phpThe path for the images is working ok, and I have it like $pathToImages = './wdlive/images/cb/'; // path to the background, cloud, windsock and scale images (with trailing slash) $pathToMoonImages = './wdlive/images/cb/moon/'; // path to the moon phase images (with trailing slash) but the path for the clientraw file is "dead". Maybe I have to change Permissions on folders or ? I am confused. Thanks again.
|
|
|
|
|
Logged
|
|
|
|
Zalmor
Weather Guru

OfflineLocation: Erin, NY Station Type: Davis Vantage Pro 2+ Wireless w/FARS, Rain heater, Soil, Boltek-PCI, WXSIM
Posts: 519 Local Time: Tuesday 23:01
|
 |
« Reply #193 on: May 12, 2009, 04:01:10 PM » |
|
Heres one for you, just noticed my wind direction not quite playing ball It looks like it thinks O is East, please see the image below
I believe the last O is actually a zero (for rain) coming from your ajaxWDwx.js file. Line containing 'param =', I think 
|
|
|
|
|
Logged
|
Michael A Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, APC, VirtualVP, and ZAES 
|
|
|
|
Bashy
Guest
|
 |
« Reply #194 on: May 12, 2009, 04:16:29 PM » |
|
Are you sure? it should be saying ENE not ONO
|
|
|
|
|
Logged
|
|
|
|
|