Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Weather observations in KDE 4.8 ?

Here is where all questions and discussions about KDE should go.
Message
Author
User avatar
eemaestro
Forum Guide
Forum Guide
Posts: 1010
Joined: Wed Aug 02, 2006 12:12 pm

Weather observations in KDE 4.8 ?

#1 Post by eemaestro » Wed Jul 02, 2014 11:29 am

In a previous version of KDE that started with a three, I ran kweather, which downloaded weather observations hourly from one particular airport. These observations included wind speed and direction, temperature, atmospheric pressure, cloud cover, precipitation, and dewpoint.

I searched this forum for "kweather" and drew a blank. Ditto for $apt-file list kweather.
Then I searched for a Plasma Widget in KDE 4.84 for "weather". I saw only yaWP version 0.4.2, Weather Forecast v 1.0, and LCD Weather Station v. 1.0. Plus a ****-load of widgets downloadable from the web. No kweather, though. However, I am not interested in a weather forecast, just current conditions. Can somebody suggest a "Plasma Widget" for current weather conditions before I try installing kweather in KDE 4 ?

User avatar
richb
Administrator
Posts: 17244
Joined: Wed Jul 12, 2006 2:17 pm

Re: Weather observations in KDE 4.8 ?

#2 Post by richb » Wed Jul 02, 2014 11:55 am

CWP.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
joany
Forum Veteran
Forum Veteran
Posts: 5919
Joined: Mon Feb 12, 2007 1:45 pm

Re: Weather observations in KDE 4.8 ?

#3 Post by joany » Wed Jul 02, 2014 12:20 pm

I find yAWP is very convenient. I loaded it in the panel next to the clock so the current temperature and conditions are always visible -- no need to clear windows away from the desktop. If you simply float the mouse pointer over the icon, it shows more current conditions, such as barometric pressure, wind speed, and wind directions, the forecast for the next three days, and a satellite map.

Do you need more than what's shown in the screen shot below (taken with the mouse pointer floating over the icon in the panel)?
Image
Last edited by joany on Wed Jul 02, 2014 12:34 pm, edited 4 times in total.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9365
Joined: Wed Jul 12, 2006 2:26 pm

Re: Weather observations in KDE 4.8 ?

#4 Post by kmathern » Wed Jul 02, 2014 12:21 pm

Back when I was using KDE4 I liked yawp. You should be able configure yawp to just show the current temp and a icon for current conditions.

Here's a image I attached to a forum post a couple years ago.
Image

Yawp is the panel icon on the far right next to the digital clock. If I recall correctly I think hovering the mouse cursor over it would give you more detailed current conditions. Clicking (or right-clicking) on it would give you a multiday forecast (I think there was a setting for how many days).

User avatar
eemaestro
Forum Guide
Forum Guide
Posts: 1010
Joined: Wed Aug 02, 2006 12:12 pm

Re: Weather observations in KDE 4.8 ?

#5 Post by eemaestro » Wed Jul 02, 2014 1:38 pm

Does it show dewpoint, joany?

User avatar
joany
Forum Veteran
Forum Veteran
Posts: 5919
Joined: Mon Feb 12, 2007 1:45 pm

Re: Weather observations in KDE 4.8 ?

#6 Post by joany » Wed Jul 02, 2014 2:07 pm

eemaestro wrote:Does it show dewpoint, joany?
No, but if you know the temp and the RH you can calculate the dewpoint.

http://www.dpcalc.org/

Are you a meteorologist? :lol:
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22702
Joined: Wed Jul 19, 2006 6:13 am

Re: Weather observations in KDE 4.8 ?

#7 Post by Jerry3904 » Wed Jul 02, 2014 2:33 pm

I loved yawp when I was running KDE for its combination of great function and super good looks (especially when background is transparent).
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
eemaestro
Forum Guide
Forum Guide
Posts: 1010
Joined: Wed Aug 02, 2006 12:12 pm

Re: Weather observations in KDE 4.8 ?

#8 Post by eemaestro » Wed Jul 02, 2014 2:38 pm

No, am not a meteorologist. Just another guy in PA. I simply became accustomed to dewpoint as a way to know how much water to take with me when I go out to exercise, as I am water-cooled like you. If the dewpoint is within 10 degF of the temperature, then I need to carry more water and scale-back how hard I exercise, as my body's ability to cool itself by sweating is impaired. On the other hand, if the dewpoint is 30 degF, and it's summer, ~70 degF, then there are about forty degF between the temperature and the dewpoint, and I can crank up my exertion level to 100%. Thanks for the URL. ( Dewpoint is also another indicator of low-lying fog, which occurs only when the dewpoint is equal to the current air temperature. If you have to commute by freeway, you want to know when this is likely, so you can hopefully take surface streets and avoid the 29-car pileup on the expressway.)

User avatar
richb
Administrator
Posts: 17244
Joined: Wed Jul 12, 2006 2:17 pm

Re: Weather observations in KDE 4.8 ?

#9 Post by richb » Wed Jul 02, 2014 3:16 pm

CWP does give the dewpoint when you click on the main widget window. I am not sure if it is in the Mepis repos, not in Mepis or MX at the moment. But there is a debian download here:

http://kde-look.org/content/show.php/Cu ... tent=98925
You do not have the required permissions to view the files attached to this post.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9365
Joined: Wed Jul 12, 2006 2:26 pm

Re: Weather observations in KDE 4.8 ?

#10 Post by kmathern » Wed Jul 02, 2014 3:21 pm

richb wrote:CWP does give the dewpoint when you click on the main widget window. I am not sure if it is in the Mepis repos. ...
It is.

Code: Select all

$ apt-cache search cwp
plasma-widget-cwp - Customizable Weather Plasmoid (CWP)

You can also use inxi to get temperature and humidity

Code: Select all

$ inxi -wxxx
Weather:   Conditions: 78 F (26 C) - Mostly Cloudy Wind: From the WSW at 14 MPH Humidity: 48%
           Pressure: 29.91 in (1013 mb) Location: Fort Wayne IN (USA) Altitude: 254 ft 
           Time: July 2, 3:00 PM EDT (America/Indianapolis) Observation Time: July 2, 2:54 PM EDT
And using the simple approximation here: http://en.wikipedia.org/wiki/Dew_point# ... roximation you can calculate it.

Code: Select all

TF=$(inxi -w | awk '{print $4}'); RH=$(inxi -wxxx | head -n1 | rev | awk '{print $1}' | rev | cut -f1 -d%); echo $TF $RH | awk '{print ($1-((9/25)*(100-$2)))}'
TF variable=temperature in degrees F, RH=%relative humidity

or without assigning TF & RH variables:

Code: Select all

echo $(inxi -w | awk '{print $4}') $(inxi -wxxx | head -n1 | rev | awk '{print $1}' | rev | cut -f1 -d%) | awk '{print ($1-((9/25)*(100-$2)))}'
And the results:

Code: Select all

$ echo $(inxi -w | awk '{print $4}') $(inxi -wxxx | head -n1 | rev | awk '{print $1}' | rev | cut -f1 -d%) | awk '{print ($1-((9/25)*(100-$2)))}'
59.28
There was a widget you could use to display the output of a cli command, the green "32" in that image I posted earlier was using it.

Post Reply

Return to “KDE”