egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:weather (2.8p) (Dec. 18th, 2008)
Goto page Previous  1, 2, 3, ... 19, 20, 21  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Mon Apr 03, 2006 11:20 am    Post subject: Reply with quote

Ah, it's because they use a "descriptive" forecast.

http://www.wunderground.com/cgi-bin/findweather/getForecast?query=yow

If you notice, it seems to be manually typed up in the lower right area.. I can't really parse that for information as it isn't consistent (the words will change, etc)

Hm.. I think I see a way to fix it tho, so stay tuned for version r8 (or 2.0 if I get really ambitious). I *probably* won't code the changes in today, but expect it to be fixed in r8 anyway. Thanks for reporting it, and sorry it took so long to reply.. I didn't think anyone responded to this thread. Smile
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Apr 20, 2006 8:13 pm    Post subject: Reply with quote

It seems forecast is slightly broken today (they removed a single space before °), I've begun work on v2.0 .. will hope to release it soon for all of you. Smile
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Apr 23, 2006 12:59 am    Post subject: Reply with quote

Stan wrote:
YOW gives me the error.

Your problem will be fixed in v2.0, but other locations will now be broken. I am now going to be using mobile.wunderground.com as the location to parse. On mobile.wunderground.com, YOW gives normal forecasts, but, for example, 90210 uses descriptive forecasts.

There's not much I'll be able to do about this, some locations will have all the data upon using !weather, some not.

There's also a location that was shown to me today, Lahti, Finland, the last updated date is in the year 2004!. So again, some locations will work better than others.

Regards,
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
djval
Voice


Joined: 27 Apr 2006
Posts: 1

PostPosted: Thu Apr 27, 2006 7:30 am    Post subject: Reply with quote

When 2.0 is released you will post a link to it here ?

If not where can we download it from ? Cool

Cheers, DJVal
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Apr 27, 2006 12:38 pm    Post subject: Reply with quote

Yeah I'll definitely post a link here. Smile It'll also be available on IRC, irc.freenode.net / #incith
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Apr 28, 2006 7:53 pm    Post subject: v2.0 Released Reply with quote

-link expired-

File is gzipped, not tarred. You should only have to gzip -d incith-weather-2.0.tcl.gz to get the .tcl file.

I didn't get everything into it that I wanted, but I want people to have a working weather script. It is mostly tested, so I hope errors will be reported to me (via e-mail preferrably).

Edit: It should be mentioned I decided not to go with using mobile, but I'll still be using it in some way in a future release. But most places should work 100% for now.
_________________
; Answer a few unanswered posts!


Last edited by incith on Sun May 14, 2006 1:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
JAFO
Voice


Joined: 13 Oct 2005
Posts: 19

PostPosted: Sun May 14, 2006 5:41 am    Post subject: Reply with quote

THX 4 the update m8

Loving da script Smile
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun May 14, 2006 1:48 pm    Post subject: Reply with quote

Here's an unexpected update! I've changed the script to grab forecast data from mobile.wunderground.com should it fail the first time, this way a lot of locations should have their High/Low & forecat data displayed & working.

In the next few releases I'll be trying to speed up how fast it displays results.. you have to consider now that, it will be trying to connect to wunderground.com and grab the data it needs, and if it fails it will then connect to mobile.wunderground.com, so sometimes it will be fetching the HTML for two sites, which will slow things down a little bit.

Script has been submitted and it is available for download in this post as well.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Tue May 23, 2006 2:25 pm    Post subject: Reply with quote

v2.2 released, fixes a new problem with the updated times. Download from the first post of this thread or when the Tcl archive updates.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Tue May 29, 2007 8:16 pm    Post subject: Reply with quote

Version 2.5a has been submitted to the Tcl archive. Download link and changes available on first post.

2.5a instead of 2.5 as it first was. I made some more changes and wanted to avoid confusion to anyone who may have already downloaded it.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
nsrafk
Halfop


Joined: 11 May 2007
Posts: 73

PostPosted: Tue May 29, 2007 10:27 pm    Post subject: Reply with quote

The link in your psot doesnt seem to work m8 Smile
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Tue May 29, 2007 11:30 pm    Post subject: Reply with quote

That's what I get for updating too quickly =) Fixed now, thanks!
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
nsrafk
Halfop


Joined: 11 May 2007
Posts: 73

PostPosted: Wed May 30, 2007 12:17 am    Post subject: Reply with quote

np, now im happy! Very Happy nice script btw mate! its awesome Wink just like your other scripts.
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Jun 01, 2007 3:25 pm    Post subject: Reply with quote

Quote:
2.6: incith-weather-2.6.tcl.gz
After releasing 2.5a a user on IRC mentioned 2 problems to me, that multiple results were basically broken, and locations with EEST were broken. There may be other timezones which I will continue to update as time goes on. I've fixed these 2 problems now and have asked slennox to update the Tcl archive for this problem so that not too many will have downloaded 2.5a. Sorry for any inconvenience this caused anyone. Thanks for coming to tell me about the problems Sampppa.
Update: ICT timezone is also broken. Bangkok and others will be affected. I cannot look into this until later.


As per this update I hope things are clear enough. I will work on fixing the timezones that Tcl does not like. Just going to work now, will hopefully release another fix to the forums sooner than later.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Jun 01, 2007 10:10 pm    Post subject: Reply with quote

I have released version 2.6a. I no longer use timezones at all in doing clock/time calculations, so there should not be any more errors at all. And of course proper high/low will still be used.

See the first post for a download link.

Update on 2.7:
2.7 will contain what previous weather verions used to have, the astrology data.
Quote:
(17:33:39) <incith> !sky
(17:33:41) <visitant> Edmonton City Center, Alberta Astronomy; Sunrise: 5:09 AM MDT; Sunset: 9:55 PM MDT; Moonrise: 12:27 AM MDT; Moonset: 6:39 AM MDT; Visible Light: 18h 26m; Daylight Length: 16h 45m; Tomorrow: 1m 52s longer


Further updates on 2.7 - Here is the current ChangeLog:
Quote:
# 2.7: astronomy is back, !sky <location>
# pressure has been added back to !weather
# multiple results problem fixed (hull, united kingdom)
# variable weather_format controls which data is sent
# fixed a bug in the way i was grabbing wind direction
# - basically, it wasn't showing 'Calm' when it actually was
# <country> searches (!w malaysia for example) will now return
# - multiple results correctly

And weather_format, commented has everything, and uncommented does not have w9, which means it is not going to show Pressure data. With this you can change the order and/or remove anything you do not want to show:
Quote:
# (NEW) if you want to change the order or remove some items that are sent
# w0 - location, w1 - updated, w2 - conditions, w3 - temperature, w4 - windchill
# w5 - high/low, w6 - humidity, w7 - dew point, w8 - UV index, w9 - pressure
# w10 - wind
# variable weather_format "%w0% %w1% %w2% %w3% %w4% %w5% %w6% %w7% %w8% %w9% %w10%"
variable weather_format "%w0% %w1% %w2% %w3% %w4% %w5% %w6% %w7% %w8% %w10%"

_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, ... 19, 20, 21  Next
Page 2 of 21

 
Jump to:  
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 vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber