Cloudbase shows 2,392 ft and 72 degrees

I added cloudbase to my website and set it to KOMA but it always shows 72 degrees with scattered clouds at 2392 ft. Is there something else that needs to be done so it reads Omaha data?

http://omahanebraskawx.com/

Thanks,

Marci

Dumb question, I know you’re a pilot, and I don’t know how far away your location is from KOMA…would it be okay to just let WD estimate cloud height for your location?

that would be fine. I just want it to work.

Something very strange, the cloud height graphic on your site http://omahanebraskawx.com/ has the url http://sacrey.info/test/cloud-base.php?uom=E so it appears to be linked from sacreysouthern’s site http://sacrey.info/wxindex.php in Arkansas.

I think you may have missed one or more steps in the setup.

Not sure how to get WD to create the graphic for you. The only place I can find it here is on the View->dials screen.

The tag to use, if you want to go that way, is:

%cloudheightfeet%…Estimated cloud base height, feet, (based on dew point, and you height above sea level…

Is this a line that needs to be added to cloud-base and if so where is is added?

Thanks,

Marci

Sent you a PM. I couldn’t find that graphic in my WD webfiles folder, I can’t remember if WD creates it so we can simply add it to the site or if you need to add the tag to your main page code. The tag would only display the height in numbers so you would need to add the code to tell people what is being displayed, just the temp and other readings, just numbers, and the code labels it. Ken at Saratoga would be the best person to ask for help adding to the template.

cloudheight.gif can be set to be created and uploaded

make sure to be creating and uploading the dials image (i.e file #4 in the customise innternet and creation setup)

Marci, attached is a page I created to show the dials. Your welcome to use it, or if you just want the cloud image as shown on your index page, set WD to create (but not upload) the dials as Brian explained using #4, then use the manual ftp setup to send just the newly created cloudheight.gif to your webserver, then edit your page to display that image instead of the one you have there now.


wxdials.zip (1.4 KB)

hello…

The only cloudbase graphic I see on your homepage is the one in your dashboard, which is the cloudbase.php graphic created by merkat. The one that WD can create is different than this one, so I am assuming you are refering to theone from merkap and the one in top right section of your dashboard.

in order to change the settings for this, you simple edit thecloud-base.php file in the "begin settings section, and there is a line in there that lets you change it to your 4 letter metar code. The actual graphics for this cloud base are included in the download package and get uploaded once to your server, which looks like you have done already.

the settings look like thisbelow:

begin settings

################################################################################
$uom = ‘E’; // [ M | E ] …set to ‘M’ for metric, ‘E’ for imperial (overridden by testtags.php or by ?uom=M or ?uom=E parameter)
$useWDuom = false; // override $uom and use the same UOM values as in WD Console (requires testtags.php without uom’s stripped if available)

$switchSeasons = true; // switch background according to seasons
$showCloudTemp = false; // show cloud temperature inside cloud
$showCaption = true; // include cloud type or precipitation at bottom of graphic (overridden by ?cond=1 parameter)
$showMoon = true; // include moon phase
$showScale = true; // include cloud height scale and marker
$showWinsock = true; // include the windsock (always set to true by “wind” parameter eg. ?wind=mph)
$showWindDir = false; // include wind direction below windsock (always set to true by “wind” parameter eg. ?wind=mph)
$showWindSpd = false; // include wind speed above windsock (always set to true by “wind” parameter eg. ?wind=mph)
$showTemp = false; // include temperature (always set to true by “temp” parameter eg. ?temp=F)
$showHumidity = false; // include humidity (overridden by “humi” parameter eg. ?humi=1)
$showBaro = false; // include barometric pressure (always set to true by “baro” parameter eg. ?baro=inHg)
$cloudsAlwaysFT = true; // cloudheight always in FT (if true will always overrides all other settings except if set by “alti” parameter eg. ?alti=m)
$windAlwaysMPH = true; // wind speed always in MPH (if true will always overrides all other settings except if set by “wind” parameter eg. ?wind=kts)
$alwaysShowCloud= false; // always show cloud band when condition is sunny, clear or dry (overridden by “cloud” parameter eg. ?cloud=1)
$useWDHeight = false; // always use the cloud height reported by WD (if you can trust it)
$arrowColor = ‘#FF0000’; // color for cloud height marker (arrow) …white #FFFFFF, red #FF0000, green #FF0000, blue #0000FF

$getMetar = true; // get the METAR from NOAA for substituting cloud conditions at night and/or day (not required)
$metarICAO = “KEWB”;// specify 4 letter ICAO code for METAR - NB: “Y…” METAR’s will be fetched from OZZ (overridden if specified in Settings.php)
// Find a METAR closest to you here: http://www.bashewa.com/icao-codes.php
// Decode the METAR here: http://www.bashewa.com/metar-taf-decoder.php
$metarRefresh = 10; // refresh rate of the METAR in minutes
$useMetarAtNight= true; // always use METAR at night time for determinig clouds
$onlyUseMetar = true; // always use METAR for determinig clouds i.e. if you don’t have a solar sensor or you don’t trust WD’s conditions

$reportMistAt = 30; // meters AGL (30m =

…continued from above…

The line to change your metar is this one:

$metarICAO = “KEWB”;// specify 4 letter ICAO code for METAR - NB: “Y…” METAR’s will be fetched from OZZ (overridden if specified in Settings.php)

mine is set to KEWB

You can also set a lot of settings in here for true/false to display or not display certain things. there are 2 types of temps that can be displayed…actual air temp and temp in clouds/cloud temps

this cloud-base.php was created by www.bashewa.com aka meerkat in these forums…and can be used as stand alone, or added into your dashboard.

hope this helps…Chris

Niko is correct, as he mentioned above…

this is in her ajax-dashboard.php file:

but it should look something like this:

if($useCloudImg) { // Display Cloud Height Graphic from Bashewa Weather
?>




so if she had the cloud-base.php file on her on server, then it would display her own graphic in the dashboard. Instead what she did was edit her ajax-dashboard.php file and linked to someone else’s cloud-base graphic.

I then went to check to see if anything related to the cloud-base.php grapic was on her server here:

http://omahanebraskawx.com/cloud-base.php

…and it does show something…perhaps because just the cloud-base.php file is on her serever, But the most important thing is no Graphic showing because she didnt upload them to her server. The graphics are included in the download package and go in a specific folderon your server. I forget which folder,but it should be in the read me section when setting up the cloud-base.php pacgage.

on another note…the homepage doesnt not Validate and shows about 45 errors and 17 warnings. most likely due to improper php coding/editing of the files.

inspector…Chris

Evening folks,

I have been working with Marci on getting this to work, but I’m running out of ideas. I finally got it to point to the cloud-base.php file in her directory, but cannot for the life of me, get the pics to show. They are in in the images folder where they are supposed to be and are supposed to have 755 set for their permissions. Any ideas?

Thanks for the assist,

John Sacrey

Can an php page be loaded from an img tag??

Hi Dan,

Yes it can be loaded like that.

Ok, good to know. I checked yours and I get the image, but Marci’s link gives me an error:

[quote]The image

hello…

If you want to either PM me or email me directly at [email protected] The username, password to log on her server, I will fix this for her. once I log onto her server it will be easier to figure it out.

…CHRIS

Hi Dan,

We’ll try that. Thanks for the info. because I was running out of ideas on what is wrong.

John

hello…

I believe the problem is that marci has the wrong “ajaxWDwx.js” file in use on her server for that Alternate Dashboard in use on the homepage.

Hello marci…if you want to email me your information to log onto your server…username and password…I will fix this for you. My email address is a few post’s above.

…Chris

…continued from above…

you can read about the ajaxWDwx.js file needed with the alt dashboardin use. infoaboutit is about halfway down this page:

http://www.websterweatherlive.com/wxScripts.php?PHPSESSID=25db5364f4f6e8a1d2a9e90c365c4df1#L3

…chris