Stephane Raynaud wrote:
> Hi
>
> Jeff: how about introducing a cache system for Basemap objects?
>
> You recently gave me the idea of using cPickle on Basemap objects, so
> I implement a very simple cache system that try to check if map has
> already been serialized and dumped to a cache file, before trying to
> create it from scratch. Checking is performed on file name which
> contains bounds and resolution of the map.
>
> Do you think that it can be managed directly (and in a better way) in
> Basemap(), let's say using the cache keyword set to False by default?
> A cache directory in ~/.matplotlib/basemap can be used for that.
>
>
>   
Stephane:  I think this is best left in a separate module, since most 
people would not want the overhead incurred. 

-Jeff

-- 
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/PSD1        FAX   : (303)497-6449
325 Broadway                Boulder, CO, USA 80305-3328


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to