From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: org-weather for openweathermap.org Date: Mon, 16 Jun 2014 16:04:00 +0100 Message-ID: <539F0760.2090604@wilkesley.net> References: <871turvdom.fsf@dylan.nashville> <87sin7twqg.fsf@gmail.com> <87oaxu1p40.fsf@dylan.nashville> <87lhsyxu9o.fsf@gmail.com> <539EC1F8.7050207@wilkesley.net> <874mzldtel.fsf@gmail.com> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwYS8-0008NH-QK for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwYS4-0005kb-5G for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:04:08 -0400 Received: from mail2.wilkesley.net ([109.74.196.44]:35895 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwYS4-0005kV-0L for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:04:04 -0400 In-Reply-To: <874mzldtel.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz , emacs-orgmode@gnu.org On 16/06/14 11:45, Thorsten Jolitz wrote: > Ian Barton 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.