ArchLabs Linux

Weather app

Hi everyone,

Been looking for a stand-alone native Linux app or even a PWA (progressive web app) which will display current weather conditions & radar for a specific location. I’m aware of apps such as Cumulus or Temps but I’m looking for something with more detailed data and radar included.

Any thoughts would be appreciated :slight_smile:

1 Like

There is Storm Predator (StormPredator) - but I think that only shows the radar map - no weather conditions, and costs some $$. I read they might make an open source version.

I think Weather Undeground makes some desktop widgets. Usually have to sign up and get a key - which is free , but there are levels of service you pay for more information. Wouldn’t suprise me if Accuweather and Weather Channel do something similar.

And, of course, you can always roll the dice with someone’s weather conky that grabs a radar map as well.

2 Likes

I have used Wittr which is a CLI app, that maybe what you are after.

2 Likes

@PackRat & @Dobbie03,

Thanks for the input fellas, I’ll pass the info on about Storm Predator but I believe the person I’m helping out has that on his windows machine. He’s a storm spotter and asked about making a move to Linux and what if anything may be available, I drew a blank because I’ve always used WU in a browser and on my phone-thing.

Anyhoots,

Thanks again :slightly_smiling_face:

How geeky is your storm tracker friend?

I forgot about the UCAR guys - GEMPAK and other weather software

They have *.rpm and *.deb files, or it can be built from source. The dependencies look pretty straight forward so most are probably default for any system. Looks a bit tedious to set up, but there is a manual.

GEMPAK sample output

And I believe it’s all free for academic and non-commercial use; I think storm tracking falls under academic/research.

1 Like

I think you hit it outa the park @PackRat and believe that’s exactly what he’s got in mind. I’m sure he’ll know how to configure the software and I can help with the Linux end of things.

Thank you very much!

*I’ll not mark this as solved for a bit in case someone has another idea but think ^ this will do the trick.

This weather conky was created by ragamatrix (you can find him at the BunsenLabs conky thread):

this script - 02-sat-altern-us.sh:

#!/bin/bash

PREFIX=$HOME/.conky/ConkySatMap/
RSAT=${PREFIX}radar-sat
OUTPUT=${PREFIX}sat-alt-us.png

tailleRSAT=100
tailledecoupe=768x477
################################
################################
#Annotation pour vérifier si l’image est actualisée
jour=date +%d.%m.%y; heuremodif=date +%H; minmodif=date +%M
fonte=Open-Sans-Bold
libelle=""
#################################################################
#H=$(date +%-H)

#if (( 7< H && H < 18))
#then

echo “day”

adrS=“http://images.intellicast.com/WxImages/Satellite/hiusa.gif
#else

echo “night”

adrS=“https://meteo.gc.ca/data/satellite/goes_enam_1070_100.jpg

#fi

wget -qO “$RSAT” “$adrS”
#=================================maps=test============================#
################################http://www.sat24.com/image.ashx?country=eu
################################http://www.meteo-mc.fr/dedie/Images/sat/satireu1.gif
##########D#####################https://meteo.gc.ca/data/satellite/goes_nam_1070x_100.jpg
##########D#####################http://images.intellicast.com/WxImages/VisibleSatellite/usa.jpg
##########N#####################https://meteo.gc.ca/data/satellite/goes_enam_1070_100.jpg
##########R#####################https://weather.msfc.nasa.gov/sport/dynamic/goesEast/abi/conus/20180507_105719_sport_goes16_abi_conus_11p20um.gif
##########R#####################http://images.intellicast.com/WxImages/Satellite/hiusa.gif
##########R#####################http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/goes-r_proving_ground/geocolor_nolights_conusext1km.gif

convert $RSAT -resize 619x400! $RSAT.png
convert $RSAT.png -filter Lanczos -crop $tailledecoupe+70+17! $RSAT.png
convert $RSAT.png
( +clone -alpha extract
-draw ‘fill black polygon 0,0 0,5 5,0 fill white circle 5,5 5,0’
( +clone -flip ) -compose Multiply -composite
( +clone -flop ) -compose Multiply -composite
) -alpha off -compose CopyOpacity -composite $RSAT.png

convert $RSAT.png -gravity North -density 150
-fill black -font $fonte -pointsize 9 -annotate 0x10+50+5 “$libelle $jour @ $heuremodif : $minmodif” ${OUTPUT}

convert ${OUTPUT} -background black ( +clone -shadow 65x4+4+4 ) +swap -background none -flatten ${OUTPUT}
rm $RSAT

and the conkyrc

conky.config = {
– -- Paramètres Conky Météo – #
– Text alignment, other possible values are commented
alignment = ‘middle_right’,
–alignment top_right
–alignment bottom_left
–alignment bottom_right
– -- Conky settings – #
background = true,
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,
imlib_cache_size = 0,
– -- Window specifications – #
own_window = true,
own_window_type = ‘normal’,
own_window_transparent = true,
own_window_hints = ‘undecorated,sticky,skip_taskbar,skip_pager,below’,
show_graph_range = false,
show_graph_scale = false,
short_units = true,
own_window_class = ‘Conky’,
border_inner_margin = 0,
border_outer_margin = 0,
– -- Graphics settings – #
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
– -- Couleurs – #
default_color = ‘#645D5D’,
–color1 3B6702
–color2 645D5D
color0 = ‘Cornsilk1’,–FFD700#GOLD#3b6702 # vert
color1 = ‘black’,
color2 = ‘white’,
color3 = ‘#EFEFEF’,-- argile
color4 = ‘LightGoldenrod3’,–vert_spring#645d5d # gris foncé
color5 = ‘#7FDD4C’,-- vert clair
color6 = ‘#CC0000’,-- rouge
color7 = ‘#884DA7’,-- mauve
color8 = ‘#6892C6’,-- bleu ciel 2
color9 = ‘#443AFF’,-- bleu marine
– Gap between borders of screen and text
– same thing as passing -x at command line
gap_x = 20,
gap_y = -100,
– Minimum size of text area
minimum_width = 330, minimum_height = 285,–Taille minimum (px) ; largeur / hauteur
maximum_width = 330,–Largeur maximum (px)
–out_to_console no
– Force UTF8? note that UTF8 support required XFT
–override_utf8_locale yes
– Stippled borders?
–stippled_borders 0
– This is the number of times Conky will update before quitting.
– Set to zero to run forever.
–total_run_times 0
– set to yes if you want all text to be in uppercase
uppercase = false,
– Add spaces to keep things from moving about? This only affects certain objects.
–use_spacer no
– -- Text settings – #
– Use Xft?
use_xft = true,
xftalpha = 0.8,–0.4
font = ‘caviar dreams:style=Bold:size=9’,–Helvetica LT Std:size=10 #MaiandraGD:size=10

};

conky.text = [[

##RADAR_usa
${execi 1200 $HOME/.conky/ConkySatMap/02-sat-altern-us.sh}
${image $HOME/.conky/ConkySatMap/sat-alt-us.png -p 5,5 -s 450x350 -f 60}
]];

“instructions”

Hi, I’ve found the config for the us sat map, just modify the pathes and enjoy, I’ve commented out some configs and sat maps if you want to do some tests… I use the function to change map when the night comes with the radar one, but I didn’t find one for usa so it’s just keep the radar:
the script 02-sat-altern-us.sh:

he sent me the US one because that’s my locaton. He is French (Swiss?) and has a European version if needed.

2 Likes

Fantastic, thank you @PackRat !

A post was split to a new topic: Spammmer