Re: [Matplotlib-users] Using basemap to generate xyz format files from netcdf files

2012-01-20 Thread Mathew Topper
Hi Jeff, Sorry, an XYZ file is simply an ASCII file which can have either LON,LAT,HEIGHT entries or Cartesian X,Y,HEIGHT entries. I think I have confused myself a little here, as all I need to do is print the LON,LAT,HEIGHT data to a file and I've finished, and basemap is not required for this.

Re: [Matplotlib-users] Using basemap to generate xyz format files from netcdf files

2012-01-20 Thread Jeff Whitaker
On 1/20/12 3:12 AM, Mathew Topper wrote: Hi Jeff, Sorry, an XYZ file is simply an ASCII file which can have either LON,LAT,HEIGHT entries or Cartesian X,Y,HEIGHT entries. I think I have confused myself a little here, as all I need to do is print the LON,LAT,HEIGHT data to a file and I've

Re: [Matplotlib-users] Using basemap to generate xyz format files from netcdf files

2012-01-20 Thread Mathew Topper
Perfect, Jeff, thanks very much. I guess something like this is hiding in the documentation somewhere, but I must have failed to find it. All the best, Mat On 20/01/12 13:10, Jeff Whitaker wrote: On 1/20/12 3:12 AM, Mathew Topper wrote: Hi Jeff, Sorry, an XYZ file is simply an ASCII file

[Matplotlib-users] Using basemap to generate xyz format files from netcdf files

2012-01-19 Thread Mathew Topper
Hi, I was wondering how hard it would be to generate xyz format files from netcdf files using python-netcdf4 and basemap? It seems that basemap has the capabilities to do those sort of conversions, but I am a bit of a novice to map data and I'm not sure what would be the correct approach to this.