tesgdal in examples of basemap

Thanks, sadly, I DID download them and had them in the right directory. I had just not decompressed them!



Message: 4
Date: Thu, 19 Jun 2008 14:47:51 +0100
From: Jose G?mez-Dans <jgomezdans@...287...>
Subject: Re: [Matplotlib-users] tesgdal in examples of basemap
To: matplotlib-users@lists.sourceforge.net
Message-ID: <200806191447.51774.jgomezdans@...287...>
Content-Type: text/plain; charset="iso-8859-1"


On Thursday 19 June 2008 00:16:39 KURT PETERS wrote:
> array = gd.ReadAsArray()
> AttributeError: 'NoneType' object has no attribute 'ReadAsArray'
> Anyone know what the problem is? Do I need something else?

Did you download the Denver DEM from USGS? From testgdal.py:
# download from
# http://edcftp.cr.usgs.gov/pub/data/DEM/250/D/denver-w.gz

It should work after that...


NERC Centre for Terrestrial Carbon Dynamics,
Department of Geography, University College London
Gower Street, London WC1E 6BT, UK