Weather-Watch.com
March 17, 2010, 03:01:33 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Members: 9,388  Posts: 346,811  Topics: 38,450
Please welcome elsie, 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 ... 11 12 [13] 14 15 ... 30
  Print  |  « previous  |  next »  |  Go Down  
Author Topic: Cloud Height Graphic v2.0  (Read 31283 times)
0 Members and 1 Guest are viewing this topic.
Meerkat
Rainer
Senior Forecaster
*
Offline Offline

Location: 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



WWW
« Reply #180 on: May 08, 2009, 02:45:10 PM »

Do you ever get that feeling where you wish you never started something?  Embarassed

Yeah, especially when you wanted something to be perfect and then
it turns out that there are different stokes for different folks.
Logged

Cheers,
Rainer

Bashewa Script Collection
Script download links always available on the first page of my threads
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.... Smile
« Last Edit: May 08, 2009, 06:51:11 PM by Bashy » Logged
Zalmor
Weather Guru
**
Offline Offline

Location: Erin, NY
Station Type: Davis Vantage Pro 2+ Wireless w/FARS, Rain heater, Soil, Boltek-PCI, WXSIM
Posts: 519
Local Time: Tuesday 23:01



WWW
« 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=3

Shows:
Code:
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.  d'oh!

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
*
Offline Offline

Location: 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
*
Offline Offline

Location: 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



WWW
« Reply #184 on: May 08, 2009, 07:58:52 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=3

Shows:
Code:
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.  d'oh!
Using version 1.9, unless I botched up something here once again.

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.

* cloud-base-update.zip (18.21 KB - downloaded 36 times.)
« Last Edit: May 08, 2009, 11:58:43 PM by Meerkat » Logged

Cheers,
Rainer

Bashewa Script Collection
Script download links always available on the first page of my threads
Zalmor
Weather Guru
**
Offline Offline

Location: Erin, NY
Station Type: Davis Vantage Pro 2+ Wireless w/FARS, Rain heater, Soil, Boltek-PCI, WXSIM
Posts: 519
Local Time: Tuesday 23:01



WWW
« 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  Very Happy
Logged

Michael A

Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, APC, VirtualVP, and ZAES
Meerkat
Rainer
Senior Forecaster
*
Offline Offline

Location: 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



WWW
« 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 DECODER
which will report the OZZ METARs correctly.

Last edit: Updated yet again ... found another bug ... grab below.

* cloud-base-update.zip (18.23 KB - downloaded 19 times.)
« Last Edit: May 09, 2009, 11:15:50 PM by Meerkat » Logged

Cheers,
Rainer

Bashewa Script Collection
Script download links always available on the first page of my threads
vk2him
Senior Forecaster
*
Offline Offline

Location: Gerroa, NSW, Australia
Station Type: La Crosse 2307
Posts: 291
Local Time: Wednesday 14:01



WWW
« 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 DECODER
which will report the OZZ METARs correctly.

The new code is working great Rainer, many thanks!!
Ian
Logged

Meerkat
Rainer
Senior Forecaster
*
Offline Offline

Location: 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



WWW
« 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.

* cloud-base-update.zip (18.23 KB - downloaded 30 times.)
Logged

Cheers,
Rainer

Bashewa Script Collection
Script download links always available on the first page of my threads
JohnZ
Newbie

Offline Offline

Location: Greece, Kavala
Station Type: La Crosse Technology WS2315/2308 with Radiation Shield
Posts: 4
Local Time: Wednesday 06:01



WWW
« Reply #189 on: May 12, 2009, 11:25:14 AM »

Hello guys, and congratulations for your great work here Smile

Unfortunately, I can't make this script to work Sad I have tried almost any possible way but the result I get always is this:

http://www.meteokav.gr/cloud-base.php

clientraw files are here

http://www.meteokav.gr/wdlive/clientraw.txt
http://www.meteokav.gr/wdlive/clientrawextra.txt

Weather Station with Ajax Script here
http://www.meteokav.gr/weather/

In cloud-base.php the changes I made are these:

Quote

$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
*
Offline Offline

Location: 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



WWW
« Reply #190 on: May 12, 2009, 02:45:51 PM »

Hello guys, and congratulations for your great work here Smile
Unfortunately, I can't make this script to work Sad I have tried almost any possible way but the result I get always is this:
http://www.meteokav.gr/cloud-base.php

clientraw files are here
http://www.meteokav.gr/wdlive/clientraw.txt
http://www.meteokav.gr/wdlive/clientrawextra.txt

Weather Station with Ajax Script here
http://www.meteokav.gr/weather/

In cloud-base.php the changes I made are these:
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!

Hi John,
You ain't doing what you say you're doing ... you've got 2 dots for clientraw files:
Code:
$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

Cheers,
Rainer

Bashewa Script Collection
Script download links always available on the first page of my threads
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


* Untitled.png (49.8 KB, 240x211 - viewed 49 times.)
Logged
JohnZ
Newbie

Offline Offline

Location: Greece, Kavala
Station Type: La Crosse Technology WS2315/2308 with Radiation Shield
Posts: 4
Local Time: Wednesday 06:01



WWW
« 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.php

The path for the images is working ok, and I have it like
Quote
$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
**
Offline Offline

Location: Erin, NY
Station Type: Davis Vantage Pro 2+ Wireless w/FARS, Rain heater, Soil, Boltek-PCI, WXSIM
Posts: 519
Local Time: Tuesday 23:01



WWW
« 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  d'oh!
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
Pages: 1 ... 11 12 [13] 14 15 ... 30
  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!