trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2021

Re: [tde-users] Re: kweather does not update weather data [SOLVED]

From: deloptes <deloptes@...>
Date: Fri, 08 Jan 2021 20:11:18 +0100
Michael via tde-users wrote:

> I admit I've only been skiming this thread, I tried kweather once, it
> didn't have my nearest airport, nor could I figure out how to manually
> enter my airport's code ID, so it wasn't really useful. �That said...
> 

Now hopefully you know how to set it up manually

> Q1:
> Isn't there already an 'official' mapping of countries to regions? �I know
> I've used this data on other people's websites (and Timezone data kinda
> does this as well), so I'd bet there is some goverment function somewhere
> that already maps it to pull from.
> 

I don't know

> Q2:
> Wouldn't it be better to have kweather itself auto-generate stations real
> time off of noaa? �That'd at least solve the "can't find my known
> airport." �Or at least a way to manually enter an airports code ID?
> 

Asked this and the Gods said - no. Also the DB is updated not very
frequently

> Alternative 1:
> Would it be feasable to pull from wunderground.com (at least by manually
> entering station names)? �Last summer I needed average temps around me for
> an attic fan setup and used data from wunderground. �See attached. �It's
> not pretty, but it worked well enough..
> 

No because the IDs are different - not sure if these are the same stations
at all.

Nice to have would be different backends for kweather.

> Okay, bowing out, best,
> Michael