Thread: How to remove dew point
Brought to you by:
iridium
From: lee <dav...@bt...> - 2005-02-28 03:38:43
|
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'] = ''; /* mark_end */ $this->properties['mark_end'] = ''; /* exclude */ $this->properties['exclude'] = array( 'runway' ); $this->properties['exclude'] = array( 'dew_c' ); $this->properties['exclude'] = array( 'dew_f' ); ?> -- A perfect internet companion: LEE'S FREE MUSIC STATION <http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498> Example recent playlist HERE <http://www.incelsite.com/playlist.gif> |
From: Max H. <ma...@fl...> - 2005-02-28 08:27:20
|
You probably want to define the exclude array as $this->properties['exclude'] = 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'] = ''; /* mark_end */ $this->properties['mark_end'] = ''; /* exclude */ $this->properties['exclude'] = array( 'runway' ); $this->properties['exclude'] = array( 'dew_c' ); $this->properties['exclude'] = array( 'dew_f' ); ?> -- A perfect internet companion: LEE'S <http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498> FREE MUSIC STATION Example recent playlist HERE <http://www.incelsite.com/playlist.gif> |
From: lee <dav...@bt...> - 2005-02-28 17:27:08
|
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'] = 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'] = ''; > > /* mark_end */ > $this->properties['mark_end'] = ''; > > /* exclude */ > $this->properties['exclude'] = array( > 'runway' > ); > $this->properties['exclude'] = array( > 'dew_c' > ); > $this->properties['exclude'] = array( > 'dew_f' > ); > > > ?> > > > > -- > > A perfect internet companion: LEE'S FREE MUSIC STATION > <http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498> > 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=0&rp1=0&rp2=1453474498> Example recent playlist HERE <http://www.incelsite.com/playlist.gif> |
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> |
From: lee <dav...@bt...> - 2005-03-02 14:16:12
|
hello Greg, Thanks but I think you've misunderstood my problem; The weather data seems to be largely fine, but I am having trouble getting defaults.php to be recognised by the weather program, not just regarding my chosen excludes. I'm using php4 on freebsd. Other people have reported similar troubles on the site at sourceforge. Interestingly, having said the above, my defaults.php does seem to be acknowledged certainly in part, because my chosen php error reporting level setting is being acknowledged. Does anyone know/have a method to help me out? thanks again, lee gr...@ga... wrote: >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 name >resolution issue. You're probably on a high-speed internet connection. >To fix your problem do this. Open up the file data_retrieval.php. Go down >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 the >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'] = array( >>>'runway','dew_c','dew_f' >>>); >>> >>>Let me know if that works. >>> >>>Cheers, >>> >>>Max >>> <http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498> <http://www.incelsite.com/playlist.gif> |
From: Max H. <ma...@fl...> - 2005-03-03 00:32:26
|
The first thing you need to do is determine whether your defaults.php is being loaded. A simple way to do this might be to insert a line echo "This is in defaults.php"; into it - it'll break phpweather and throw lots of error messages, but if you see that, then the file is being read. If not, then we need to work out why. The most likely reason would be that the webserver does not have access to read the defaults.php file. What kind of webserver are you using? Cheers, Max _____ From: php...@li... [mailto:php...@li...] On Behalf Of lee Sent: 02 March 2005 14:16 To: php...@li... Subject: Re: remove dew point / defaults.php hello Greg, Thanks but I think you've misunderstood my problem; The weather data seems to be largely fine, but I am having trouble getting defaults.php to be recognised by the weather program, not just regarding my chosen excludes. I'm using php4 on freebsd. Other people have reported similar troubles on the site at sourceforge. Interestingly, having said the above, my defaults.php does seem to be acknowledged certainly in part, because my chosen php error reporting level setting is being acknowledged. Does anyone know/have a method to help me out? thanks again, lee gr...@ga... wrote: 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 name resolution issue. You're probably on a high-speed internet connection. To fix your problem do this. Open up the file data_retrieval.php. Go down 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 the 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'] = array( 'runway','dew_c','dew_f' ); Let me know if that works. Cheers, Max <http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498> <http://www.incelsite.com/playlist.gif> |
From: lee <dav...@bt...> - 2005-03-03 03:37:59
|
hello Max, I already know the defaults.php is 'in circuit' because my changed setting for error reporting has been recognised. You know, that's one of the functions in php weather's config builder. I raised this setting and reuploaded defaults.php with the aim of trying to investigate what may be going on. I was surprised to see _this_ setting has been honoured (and causing expected log/errors/warnings to be displayed) but not the other user preferences in defaults.php Just to pull out 2 examples of what isn't working; My chosen default station and language are not used. I can only assume there is something about the php programming which doesn't quite work on my hosting setup: Operating system FreeBSD Service Status Click to View <https://incelsite.com:2083/frontend/bluelagoon/status.html> Kernel version 4.10-RELEASE-p4 Apache version 1.3.33 (Unix) PERL version 5.6.1 Path to PERL /usr/bin/perl Path to sendmail /usr/sbin/sendmail Installed Perl Modules Click to View <https://incelsite.com:2083/frontend/bluelagoon/perlmodules.html> PHP version 4.3.9 lee Max Hammond wrote: > The first thing you need to do is determine whether your defaults.php > is being loaded. A simple way to do this might be to insert a line > > echo "This is in defaults.php"; > > into it - it'll break phpweather and throw lots of error messages, but > if you see that, then the file is being read. If not, then we need to > work out why. > > The most likely reason would be that the webserver does not have > access to read the defaults.php file. What kind of webserver are you > using? > > Cheers, > > Max > -- A perfect internet companion: LEE'S FREE MUSIC STATION <http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498> Example recent playlist HERE <http://www.incelsite.com/playlist.gif> |