hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
That's a VERY interesting idea... :-D Think you could publish some external?
As for the copyright issues, why not requesting such a "written consent from Yahoo!" ? They may find it a reasonable use. Maybe...
alabala
2008/6/25 altern altern2@gmail.com:
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi!
ypatios(e)k dio:
That's a VERY interesting idea... :-D Think you could publish some external?
sure, this will require pyext to work.
As for the copyright issues, why not requesting such a "written consent from Yahoo!" ? They may find it a reasonable use. Maybe...
i dont belive so :) specially since it might end up being used by anyone from anywhere ...
enrike
2008/6/25 altern <altern2@gmail.com mailto:altern2@gmail.com>:
hi anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD. At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD. Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS. However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..." I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data? thanks enrike _______________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ypatios
Le 25 juin 08 à 10:59, altern a écrit :
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different
type of data from the net into PD.At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my
computer and another one that uses the IP to retrieve geolocation data (lat,
long, nearby city, country ), using this i think i should be able to ask
yahoo for weather data of an specific city and country and from there access the RSS.However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this
data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
It seems to be a sort of blabla from Yahoo.
I think if you don't make business, there is no problem.
The only problem i know with yahoo is that they can prohibit your
access to their website after several requests during 1 days (with
your IP).
I often 'hacked' the yahoo financial site for an installation using
PHP, MySQL and PD. I never had judicial problem. (i was living in
france and take data from US yahoo financial website).
You can use also www.accuweather.com. I use this site to make a small
install (in real time) with datas using the wind and temperature. I
never had problem.
++
Jack
I guess i could pretend i did not see the notice but maybe there is
some worldwide forecast service that would allow me to use the data?thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Jack(e)k dio:
Le 25 juin 08 à 10:59, altern a écrit :
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
It seems to be a sort of blabla from Yahoo. I think if you don't make business, there is no problem. The only problem i know with yahoo is that they can prohibit your access to their website after several requests during 1 days (with your IP). I often 'hacked' the yahoo financial site for an installation using PHP, MySQL and PD. I never had judicial problem. (i was living in france and take data from US yahoo financial website).
ok, so one has to be careful with not overloading them
You can use also www.accuweather.com. I use this site to make a small install (in real time) with datas using the wind and temperature. I never had problem. ++
thanks for the link, i am at the minute testing BBC weather, i can send a form witih the name of the city i am interested in and then parse the resulting page to get the ID. This works fine, i am now trying to parse the XML data. The "only" issue with this is if there are several cities with the same name, it offers you several choices, currently i am going for the first one.
enrike
Jack
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
This program for Mac OS X gets the data from weather.com, I think:
http://heat-meteo.sourceforge.net/
It's open source, so you could get the parsing code.
.hc
On Jun 25, 2008, at 10:59 AM, altern wrote:
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different
type of data from the net into PD.At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my
computer and another one that uses the IP to retrieve geolocation data (lat,
long, nearby city, country ), using this i think i should be able to ask
yahoo for weather data of an specific city and country and from there access the RSS.However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this
data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."I guess i could pretend i did not see the notice but maybe there is
some worldwide forecast service that would allow me to use the data?thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Mistrust authority - promote decentralization. - the hacker ethic
hi hans
thanks for the link, i checked it briefly yesterday, not sure if i will be able to find the part of code i need, it seems a bit too bit and it is C, probably easier to do it myself in python.
The weather.com city codes look like the same as weather.yahoo.com it seems to me that they both access the same system to get the data. thats interesting, i found already several weather forecast systems that are actually the same in the background.
enrike
Hans-Christoph Steiner(e)k dio:
This program for Mac OS X gets the data from weather.com, I think:
http://heat-meteo.sourceforge.net/
It's open source, so you could get the parsing code.
.hc
On Jun 25, 2008, at 10:59 AM, altern wrote:
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Mistrust authority - promote decentralization. - the hacker ethic
Hey there,
Are you using the data for a performance or installation?
I used live weather data (from an APRS packet radio gateway) parsed from a website.
It was the worst mistake I made.
The installation ran for a couple years but had four problems:
The format of the webpage changed, I rewrote it.
The power went down.
The power went down again.
The website went down.
Now I know not to depend on any external infrastructure.
Using your own weather station would be very stable (they are not as expensive as they sound). Or perhaps there is some more stable way to get at the APRS data than a website.
APRS is nice because there are hundreds of weather stations all over the world, are interlinked by packet radio network. The problem in my case was the internet gateway.
.b.
altern wrote:
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
B. Bogart(e)k dio:
Hey there,
Are you using the data for a performance or installation?
I used live weather data (from an APRS packet radio gateway) parsed from a website.
It was the worst mistake I made.
The installation ran for a couple years but had four problems:
The format of the webpage changed, I rewrote it.
The power went down.
The power went down again.
The website went down.
Now I know not to depend on any external infrastructure.
no it is just a set of patches that should be used in different situations by other people. they should be aware of this potential risks of live internet access. thanks for the suggestions anyway.
enrike
Using your own weather station would be very stable (they are not as expensive as they sound). Or perhaps there is some more stable way to get at the APRS data than a website.
APRS is nice because there are hundreds of weather stations all over the world, are interlinked by packet radio network. The problem in my case was the internet gateway.
.b.
altern wrote:
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi
here there is the scripts to get weather data from the net (and more). The scripts can be used from python (using the scripts.py file) or from PD thanks to pyext external. There are several objects provided.
One to get local and external IP addresses of the computer, another one to get images from google (nothing to do with weather really), then two to get weather data from yahoo weather and BBC weather websites, and one to get geoInfo (city, country, lat, long ...).
The BBC one is a bit more complex and i guess most likely to fail if they change the web layout, i am parsing the HTML to get the data. The one on yahoo relies on their XML data structure totally and i dont think they will change this so often.
However, the nice thing about the BBC one is that it tries to guess where the computer is using the geoinfo, but this is might not work all times. On the one hand, the system might not guess where you are located, on the other hand the city or area you are in might not have bbc weather data.
any ideas or contributions are welcome.
enrike
B. Bogart(e)k dio:
Hey there,
Are you using the data for a performance or installation?
I used live weather data (from an APRS packet radio gateway) parsed from a website.
It was the worst mistake I made.
The installation ran for a couple years but had four problems:
The format of the webpage changed, I rewrote it.
The power went down.
The power went down again.
The website went down.
Now I know not to depend on any external infrastructure.
Using your own weather station would be very stable (they are not as expensive as they sound). Or perhaps there is some more stable way to get at the APRS data than a website.
APRS is nice because there are hundreds of weather stations all over the world, are interlinked by packet radio network. The problem in my case was the internet gateway.
.b.
altern wrote:
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list