emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: org-weather for openweathermap.org
Date: Fri, 27 Jun 2014 13:50:33 +0100	[thread overview]
Message-ID: <olu1tuaqzxi.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 2889440.1X571RKoKU@descartes

Hi Rüdiger,

Rüdiger Sonderfeld <ruediger@c-plusplus.de> writes:

> Hi,
>
> On Saturday 14 June 2014 15:11:21 Chris Raschl wrote: 
>> recently I wanted to add a weather forecast to my org-agenda. I found
>> org-google-weather, but this package is obsolete since 2012, because the
>> API is not available any more. So I wrote my own version which is backed
>> by the openweathermap.org API.
>
> I've written the `weather-metno-el' package.  Which uses the weather data from 
> met.no (CC licensed).  It supports showing weather data in the org-agenda as 
> well.
>
> https://github.com/ruediger/weather-metno-el
>
> Regards,
> Rüdiger

just trying this package.  Also really nice!  Thanks for sharing.

I have a few questions/comments/feature requests, though:

1. Documentation of available targets.
   I wanted to include the wind speed.  Looking at the schema [fn:1] I
   tried 'windspeed' which did not work.  It took some time until I
   found the 'weather-metno--data' variable, which revealed that it
   is 'windSpeed' instead.
   Some table with all the available measurements would be handy.
   | parameter | representation | unit   | example   |
   |-----------+----------------+--------+-----------|
   | windSpeed | name           | string | Svak vind |
2. How can I get a textual representation of the symbol?
   I would like to get (additionally to the symbol) get a textual
   description (like 'partly cloudy').  I did not see an obvious way
   how to get that.
3. Two or three entries per day
   How can I have two (night/day) or better three
   (night/morning/afternoon) entries for each day?  I would like these
   to sum user-defined times.  E.g. night: 20-08, morning: 08-13 and
   afternoon 13:20.  Is that (easily) possible?
4. The org agenda entry does not point to anything.
   It would be cool (I think) if the org agenda entry pointed to a
   *Weather* buffer with detailed information from weather-metno-forecast
5. The Readme for the manual installation could remind the user to put
     (require 'weather-metno)
     (require 'org-weather-metno)
   in the .emacs
6. The documentation of 'org-weather-metno-format' points to
   'weather-query-format' which should
   probably be 'weather-metno-query-format'

Regards,
Andreas


Footnotes:

[fn:1] http://api.met.no/weatherapi/locationforecast/1.9/schema

  parent reply	other threads:[~2014-06-27 12:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14 13:11 org-weather for openweathermap.org Chris Raschl
2014-06-14 13:41 ` Fletcher Charest
2014-06-14 14:02 ` Thorsten Jolitz
2014-06-15  9:47   ` Chris Raschl
2014-06-15 11:54     ` Thorsten Jolitz
2014-06-16 10:07       ` Ian Barton
2014-06-16 10:45         ` Thorsten Jolitz
2014-06-16 15:04           ` Ian Barton
2014-06-17 10:34             ` Thorsten Jolitz
2014-06-16  9:59     ` Thorsten Jolitz
2014-06-16  8:04 ` Rüdiger Sonderfeld
2014-06-16 13:10   ` Alan Schmitt
2014-06-27 12:50   ` Andreas Leha [this message]
2014-06-16 14:40 ` Doyley, Marvin
2014-06-16 15:47   ` Nick Dokos
2014-06-16 16:11     ` Doyley, Marvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=olu1tuaqzxi.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).