Re: How to remove dew point
Brought to you by:
iridium
From: <gr...@ga...> - 2005-03-01 05:13:40
|
Hi Lee, Just read your post and kind of chuckled. Spent some time on similar problems. Do have the answer though. Ready? It's not a PHP problem or the program itself. What we have here is a nam= e resolution issue. You=92re probably on a high-speed internet connection.= =20 To fix your problem do this. Open up the file data_retrieval.php. Go dow= n to the line that defines where the data is being pulled from. Think it's http://weather.noaa.gov - replace weather.noaa.gov with 205.156.51.200. This solves the timing issue with dns and the api. This will also increase the time it takes to get your metar. Have fun with th= e program. Good luck, Greg Visit my weather module @ http://www.gabbinfutures.com > thanks Max, but sadly no change. > Presumably all we have to do is reupload defaults.php and refresh the > browser cache? Or do we have to go into config builder or something to > get the new file recognised? > > lee > (not a php programmer, hence my other request for help about the offset > bug) > > > > Max Hammond wrote: > >> You probably want to define the exclude array as >> >> $this->properties['exclude'] =3D array( >> 'runway','dew_c','dew_f' >> ); >> >> Let me know if that works. >> >> Cheers, >> >> Max >> >> ------------------------------------------------------------------= ------ >> *From:* php...@li... >> [mailto:php...@li...] *On Behalf >> Of *lee >> *Sent:* 28 February 2005 03:39 >> *To:* php...@li... >> *Subject:* How to remove dew point >> >> >> Also, I did this before (somehow) but can someone please tell me >> how and where to force coding properly so that the dew-point >> detail is not displayed in readings. >> I've tried amending and reuploading defaults.php as shown below >> but nothing has changed. >> Thanks again, >> lee >> >> / >> /* The following options have been changed: >> */ >> >> /* mark_begin */ >> $this->properties['mark_begin'] =3D ''; >> >> /* mark_end */ >> $this->properties['mark_end'] =3D ''; >> >> /* exclude */ >> $this->properties['exclude'] =3D array( >> 'runway' >> ); >> $this->properties['exclude'] =3D array( >> 'dew_c' >> ); >> $this->properties['exclude'] =3D array( >> 'dew_f' >> ); >> >> >> ?> >> >> >> >> -- >> >> A perfect internet companion: LEE'S FREE MUSIC STATION >> <http://launch.yahoo.com/lc/?rt=3D0&rp1=3D0&rp2=3D1453474498> >> Example recent playlist HERE >> <http://www.incelsite.com/playlist.gif> >> > > -- > > A perfect internet companion: LEE'S FREE MUSIC STATION > <http://launch.yahoo.com/lc/?rt=3D0&rp1=3D0&rp2=3D1453474498> > Example recent playlist HERE <http://www.incelsite.com/playlist.gif> |