Sandaysoft

Support forum for Cumulus weather station software
It is currently Sun May 19, 2013 10:15 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 7:25 am 
Offline
User avatar

Joined: Thu Apr 19, 2012 9:24 pm
Posts: 32
Location: West Middlands
Weather Station: W-8681
Operating System: Win XP
Hi Nitrx,
I tried everything and always my coudbase hangs on 179m or 180m. In cumulus software my cloudbase moves only 1m. up and down. From 179m to 180m and from 180m back to 179m.
I convert to ANSI and now show alright. You found problem thank you Nitrx!
Now left only one headache with cloud height :bash: :)

_________________
http://www.weatherboy.info - in West Middlands
Image


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 7:31 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17556
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Cumulus uses the dew point to calculate the cloud base. Fine Offset stations don't give a dew point to software, so Cumulus calculates it using the relative humidity.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 7:34 am 
Offline
User avatar

Joined: Thu Apr 19, 2012 9:24 pm
Posts: 32
Location: West Middlands
Weather Station: W-8681
Operating System: Win XP
So this is reason why my cloud height hangs on 180m all the time. My outside humidity sensor not working.

_________________
http://www.weatherboy.info - in West Middlands
Image


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 7:52 am 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
ergie wrote:
So this is reason why my cloud height hangs on 180m all the time. My outside humidity sensor not working.


Your dewpoint will also be incorrect if measures from humidity are allways 99% it wil be allways 0.1 Celcius below the airtemperature, fortunally my inside dewpoint sensor is broken only , 'Fine' offset brrr

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 7:57 am 
Offline
User avatar

Joined: Thu Apr 19, 2012 9:24 pm
Posts: 32
Location: West Middlands
Weather Station: W-8681
Operating System: Win XP
Yep... my first weather station... And seller really do not rush to change broken part. I will never ever buy enything from that seller anymore.

_________________
http://www.weatherboy.info - in West Middlands
Image


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 11:23 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
nitrx wrote:
I had a look at the cloudbase.php from 'ergie' end it seems to be in UTF-8 , mine is in ANSI so 'ergie' can give it a try to write it in ANSI perhaps the '°' will be OK then ? (use notepad + for converting it to ANSI)
Ron, all my scripts/templates are created and saved using the UTF-8 (without BOM) encoding - I have been using UTF-8 for years as it has been the default setting of my HTML/PHP/AJAX-JavaScript editor.

I have saved the 'cloudbase.php' script using the ANSI encoding format and the 'malformed' character is now displaying properly.

Before I decide to 'permanently' remove the degree symbol from the 'cloudbase.php' script (as it is not really needed, certainly not when all the setting are activated), I am releasing this beta-test script which includes a 'work-around' the degree symbol display. Please test and report any anomalies or problems.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 6:04 pm 
Offline
User avatar

Joined: Thu Apr 19, 2012 9:24 pm
Posts: 32
Location: West Middlands
Weather Station: W-8681
Operating System: Win XP
gemini06720 wrote:
nitrx wrote:
I had a look at the cloudbase.php from 'ergie' end it seems to be in UTF-8 , mine is in ANSI so 'ergie' can give it a try to write it in ANSI perhaps the '°' will be OK then ? (use notepad + for converting it to ANSI)
Ron, all my scripts/templates are created and saved using the UTF-8 (without BOM) encoding - I have been using UTF-8 for years as it has been the default setting of my HTML/PHP/AJAX-JavaScript editor.

I have saved the 'cloudbase.php' script using the ANSI encoding format and the 'malformed' character is now displaying properly.

Before I decide to 'permanently' remove the degree symbol from the 'cloudbase.php' script (as it is not really needed, certainly not when all the setting are activated), I am releasing this beta-test script which includes a 'work-around' the degree symbol display. Please test and report any anomalies or problems.


Hi,
I am testing now your new version of cloudbase.ph and spotted that when I set
$showCloudTemp = true; // show cloud temperature inside cloud
still same problem with '°'.
http://www.nightliferedditch.info/wxclouds.php
characters in bottom seems everything OK.

_________________
http://www.weatherboy.info - in West Middlands
Image


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri May 04, 2012 10:48 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1845
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
The temperature by the cloud still has the 'accent', but the temperature displayed at the bottom now correctly shows the degree symbol.

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Sat May 05, 2012 11:45 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
beteljuice wrote:
The temperature by the cloud still has the 'accent', but the temperature displayed at the bottom now correctly shows the degree symbol.
Both corrected in the version I am testing - should be able to have an 'official' release sometimes next week.


Top
 Profile  
 
 Post subject: Re: How to insert cloudbase.php scrip on ajax/php site?
PostPosted: Fri Oct 12, 2012 12:27 am 
Online

Joined: Mon Jul 09, 2012 8:40 pm
Posts: 276
Location: Auckland, New Zealand
Weather Station: Davis VantageVue
Operating System: Windows 7 SP1
Have just installed the cloudbase script using the graphics etc from the CloudBase PHP Script v3.15 - Full Install (2011-08-04).zip file, and the cloudbasev3.22Beta.php from this thread.

All seems to be working with some display quirks.
1. The scale is 11000 which is for feet and we use metric.
With 860m ASL (Cumulus) we should be using the 3300 metric scale but the 11000 E scale is displayed.
The indicator on the scale shows ASL plus station height.
a. have swapped the case/default in //Scale Overlay image as it always seemd to use the default which was imperial, now with the default metric it dispalys OK.
OK found the real answer here was that the test used an 'M' where it should have used an 'm'.
b. Have found that the script that is installed in ajax-dashboard.php needs to have this change;
list($stAlt, $uomAlt) = explode (' ', trim($WX['altitude']));
$stAlt = "0";
[i]to get both the mouseover and displayed text to show AGL
However it is not consistently the same so will have to see where the data is coming from as it appears there is a mix of Metar and station. e.g. the display shows it is raining when it is not, and, sometimes the cloudbase figures are not consistent. However the Metar does say it is raining. How do I ensure it is using the station data at all times?

Have found that this mouseover function is coming from the script added into ajax-dashboard.php and this calculation almost never matches the one in cloudbase.php so have removed that code completely from the dashboard. This does require a change to the img call as the variables are no longer there - just remove them.
2. The cloud is overlaying the tree which it should not be doing as we are only 63m ASL
Want to show AGL and have used the posts in this thread to try to achieve that but it seems without success.
Have tweaked the setting;
if ($imgClouds) imagecopy($slate, $imgClouds , 0,85, 0, 0, imagesx($imgClouds) , imagesy($imgClouds)); // 85 was $cY
to lift tthe cloud overlay image above the windsock

Have reverted to the original as it seems this is normal behaviour!
3. Also finding frequent display of 'Raining 0mm' when its been fine all day!
4. If temp of clouds is displayed it shows (at the moment) 10AoC (A with 'o' accent above)
Note Saved this as ISO-8850-1 and the A/accent disappeared. Everything else is in UTF-8
Any suggestions welcome, Thanks

_________________
BCJKiwi
http://silveracorn.co.nz/weather


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group