RE: Display issue
Brought to you by:
iridium
From: Donovan A. H. <do...@hu...> - 2002-04-17 02:23:26
|
Hello Richard, What syntax/code are you using to display the precipitation; I=92m = having a few issues getting the precipitation to display. Here is some of the code I'm using: include('./weather/locale_en.inc'); include('./weather/images.inc'); include('./weather/phpweather.inc'); $metar =3D get_metar('KVCT'); $decoded_metar=3Dprocess_metar($metar); $data =3D process_metar($metar); $temp_f =3D $data['temp_f']; $windmph =3D $data['wind_miles_per_hour']; $winddir =3D $data['wind_dir_text_short']; $dewf =3D $data['dew_f']; $humidity =3D $data['rel_humidity']; $visibility =3D $data['visibility_miles']; if (empty($data['precip_6h_in'])) {$precipin =3D 'None';} else {$precipin =3D $data['precip_6h_in'];} I'm displaying the current sky conditions in image format with: echo " '" . get_sky_image($decoded_metar) . "'"; Regards, Donovan=20 -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of Richard Garland Sent: Tuesday, April 16, 2002 4:32 PM To: 'php...@gi...' Subject: Display issue Everything is working fine on my install with the exception of the cloud layer. When the report for this area is CLR, no information is displayed, but all others are. I can see where the problem is in the scripting, but I do not know what to change to correct this. I am using version 1.60. =A0 Thanks, RG |