On Friday 02 November 2007 15:10:15 Michael Hearne wrote:

> Is there an easy way to do this with matplotlib/basemap tools?

I'm afraid that not.
Your problem is that you need to find for each cell of your gridded data 
whether you are on land or in an ocean, and mask the corresponding cell in 
the latter case. Such a manipulation of geometry is not available in 
matplotlib (yet, and will it ever be?). 
You could of course start writing your tests. However, that's exactly what OGR 
is designed to do, and the couple of functions I sent earlier can be quite 
helpful. Once again, OGR is part of the GDAL suite. 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to