From mboxrd@z Thu Jan  1 00:00:00 1970
From: Nick Dokos <ndokos@gmail.com>
Subject: Re: org-weather for openweathermap.org
Date: Mon, 16 Jun 2014 11:47:43 -0400
Message-ID: <87ppi8x3ds.fsf@alphaville.bos.redhat.com>
References: <871turvdom.fsf@dylan.nashville>
	<m2ha3kdiis.fsf@dhcp-164-248.ee.rochester.edu>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38748)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwZ8c-0001ne-2I
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:48:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwZ8W-0005rr-Hl
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:48:02 -0400
Received: from plane.gmane.org ([80.91.229.3]:46374)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwZ8W-0005rn-Aa
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:47:56 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1WwZ8V-000756-M6
	for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 17:47:55 +0200
Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Mon, 16 Jun 2014 17:47:55 +0200
Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local
	(Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Mon, 16 Jun 2014 17:47:55 +0200
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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: emacs-orgmode@gnu.org

mdoyley@ur.rochester.edu (Doyley, Marvin) writes:

> I love this app, but there is only one snag. Changing the temperature units
> from Celsius to Fahrenheit doesn't work. I get the same results regards
> of the units  in specified in the org-weather-unit variable

[I don't have an org-weather-unit variable, so I presume you mean
org-weather-temperature-unit.]

Yes, one needs to change the API URL as well to get different units:

,----
| (defvar org-weather-api-url "http://api.openweathermap.org/data/2.5/forecast/daily?q=%s&mode=json&units=metric&cnt=7")
`----

AFAICT, they provide "metric", "imperial" and "internal" (don't know
what the last one means).

org-weather.el itself does not do any units conversions.

Nick