[jonah] Weather Forcast

Eric Rostetter eric.rostetter at physics.utexas.edu
Fri Mar 21 01:59:00 PST 2003


Quoting Chuck Hagenbuch <chuck at horde.org>:

> > Are there any problems with me doing the full list?  Memory consumption
> > for the array for example?  Should I try to trim down the list, or use
> > them all?
> 
> We should cache the necessary info in a user's prefs so that we don't have
> to load the whole list on every page load, but otherwise, the full list is
> fine by me.

I've put a new weather.php at 

https://mail.ph.utexas.edu/patches/jonah/weather.php

which seems to work fine.  It is very large, so it takes a long time to load
the selection box in the options.  But no problem once you select the
station.  Also, the array index has changed from "city" to "citystate"
so you will need to reset your weather station once you install this.
And last, it only contains US weather stations so far, no other countries.

I've not yet regenerated the tsv files.

Comments welcome.

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the jonah mailing list