emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: Thorsten Jolitz <tjolitz@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-weather for openweathermap.org
Date: Mon, 16 Jun 2014 16:04:00 +0100	[thread overview]
Message-ID: <539F0760.2090604@wilkesley.net> (raw)
In-Reply-To: <874mzldtel.fsf@gmail.com>

On 16/06/14 11:45, Thorsten Jolitz wrote:
> Ian Barton <lists@wilkesley.net> 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	other threads:[~2014-06-16 15:04 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 [this message]
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
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=539F0760.2090604@wilkesley.net \
    --to=lists@wilkesley.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian@manor-farm.org \
    --cc=tjolitz@gmail.com \
    /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).