emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-weather for openweathermap.org


From: Ian Barton
Subject: Re: [O] org-weather for openweathermap.org
Date: Mon, 16 Jun 2014 16:04:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 16/06/14 11:45, Thorsten Jolitz wrote:
Ian Barton <address@hidden> writes:

On 15/06/14 12:54, Thorsten Jolitz wrote:




Not sure though if this data (except the moon phase) is as universally
and easily available as the data you display .... Sunset and rise would
be interesting too of course.


You can get sunrise and sunset by doing something like in an Agenda file:

* Weather.

Lat N 51 57.931
Long W 03 33.191

#+CATEGORY: Day/Year
&%%(diary-day-of-year)
#+CATEGORY: Weather

%%(diary-sunrise)
%%(diary-sunset)

Thanks, had to use this to make it work:

#+CATEGORY: Citiy
%%(diary-sunrise-sunset)


  City:      6:32...... Sunrise (CEST), sunset 11:16pm (CEST)

But somehow lat/long are right, but time is 2h off ... I'm GMT+2 (CEST) here.
Where is the time adjusted for diary entries?

The Emacs manual has the information: https://www.gnu.org/software/emacs/manual/html_node/emacs/Daylight-Saving.html#Daylight-Saving

Also information on Lunar phases: https://www.gnu.org/software/emacs/manual/html_node/emacs/Lunar-Phases.html#Lunar-Phases

Ian.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]