Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Website information (aeronautical weather) to cokny

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
ciaone
Posts: 1
Joined: 2019-02-20 19:48

Website information (aeronautical weather) to cokny

#1 Post by ciaone »

Hello everybody, I'm trying to import specific information from this page -> http://www.meteoam.it/metar/grafica. The aim is to show LIRZ weather in conky. But I don't really know how to do that. Could anybody give me any hint?

Thanks a lot.

User avatar
ruwolf
Posts: 633
Joined: 2008-02-18 05:04
Location: Banovce nad Bebravou
Has thanked: 40 times
Been thanked: 28 times

Re: Website information (aeronautical weather) to cokny

#2 Post by ruwolf »

Probably in this forum https://forums.bunsenlabs.org/viewtopic.php?id=367 you can find help with higher probability. :)

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Website information (aeronautical weather) to cokny

#3 Post by Bulkley »

Inevitably someone has done what you want. Search the Internet for .conkyrc ; you will get many hits. Download or copy those that look like they might work and try them. When you find one that does what you want take a good look to see what they did and add the parts you want to your .conkyrc .

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Website information (aeronautical weather) to cokny

#4 Post by GarryRicketson »

I don't know either, but I get a few promising results:
how to to show LIRZ weather in conky
https://forum.manjaro.org/t/the-weather-in-conky/16485
and
https://www.perlmonks.org/?node_id=685337
(more complicated)

Just noticed the title say "cokny", never have heard of that, but probably the same search method would work, just replace 'conky" with "cokny".
If you meant "conky", this will be of use as well:
https://github.com/brndnmtthws/conky/wi ... igurations

shep
Posts: 423
Joined: 2011-03-15 15:22

Re: Website information (aeronautical weather) to cokny

#5 Post by shep »

I use this script retrieve a weather text from my nearby airport; KYKM.

Code: Select all

#!/bin/sh
xterm -g 72x15-1+39 -T "Yakima, WA Weather" -hold -e \
curl -sk https://tgftp.nws.noaa.gov/data/observations/metar/decoded/KYKM.TXT
You should be able to substitute your source url after "curl -sk". In the US, aviation observations are published hourly unless there is a marked change.

This script pulls and displays the forecast for the same airport:

Code: Select all

# To change the forecast zone, replace wa/waz027 with another forecast zone.
# See <http://weather.noaa.gov/pub/data/forecasts/zone/> for a list.
#
#!/bin/sh
xterm -g 72x46-1+39 -T "Yakima, WA Forecast" -hold -e \
curl -sk https://tgftp.nws.noaa.gov/data/forecasts/zone/wa/waz027.txt
Unless your reports are more frequent, I would set up a hourly cron job to pull the info to a file and use this conky entry to display a local file:
http://www.linuxforums.org/forum/ubuntu ... conky.html

This last weather scripts that pulls animated gif's of radar images and plays them back in ImageMagick:

Code: Select all

#!/bin/sh
curl https://radar.weather.gov/ridge/lite/NCR/PDT_loop.gif | \
 animate -immutable -loop 0 -title "PDT Radar Loop"

Post Reply