Website information (aeronautical weather) to cokny

Everything about X, Gnome, KDE, ... and everything running on it

Website information (aeronautical weather) to cokny

Postby ciaone » 2019-02-20 19:56

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.
ciaone
 
Posts: 1
Joined: 2019-02-20 19:48

Re: Website information (aeronautical weather) to cokny

Postby ruwolf » 2019-07-02 18:12

Probably in this forum https://forums.bunsenlabs.org/viewtopic.php?id=367 you can find help with higher probability. :)
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: Website information (aeronautical weather) to cokny

Postby Bulkley » 2019-07-02 23:55

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 .
Bulkley
 
Posts: 5831
Joined: 2006-02-11 18:35

Re: Website information (aeronautical weather) to cokny

Postby GarryRicketson » 2019-07-03 00:37

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/wiki/Configurations
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Website information (aeronautical weather) to cokny

Postby shep » 2019-07-03 01:25

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-linux/179137-display-text-file-using-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"
shep
 
Posts: 306
Joined: 2011-03-15 15:22


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable