.
Jacksonville, FL 32211
Skype: bruce.w.ford
On Thu, Apr 26, 2012 at 3:41 PM, Jeff Whitaker
jeffrey.s.whita...@noaa.govwrote:
On 4/24/12 7:39 AM, Bruce Ford wrote:
All,
I often produce images for use in .KML with Google Earth. Sometimes I
need the masking effect
All,
I often produce images for use in .KML with Google Earth. Sometimes I need
the masking effect of matplotlib.toolkits.basemap.Basemap.fillcontinents
but in the case of Google Earth, I need to make continents transparent on
the final image. Any ideas on how to do this?
Thanks!
Bruce
, Bruce Ford wrote:
I have a basemap figure where data is placed atop, which can be in any
number of differing projections. However, when I plot a line over it using
pyplot.plot, the line doesn't show unless I'm using the cylindrical
equidistant projection.
From what I gather
, Aug 28, 2011 at 4:03 PM, Bruce Ford br...@clearscienceinc.com wrote:
Getting a strange result trying to divide two 3d arrays. I am getting
a matrix of NaNs regardless of how I divide and I can't determine why.
#opened a NetCDF file using python-netcdf4
var1 = nc_file.variables['var1
Getting a strange result trying to divide two 3d arrays. I am getting
a matrix of NaNs regardless of how I divide and I can't determine why.
#opened a NetCDF file using python-netcdf4
var1 = nc_file.variables['var1'] ###shape = [31,181,360] with a
values ranging from 0 - 243 and NO NaNs in the
In plotting the figure in the below code, I need to set the colorbar and
contourf scale to a specific value range (e.g., -100 to 100). When
plotting similar items, I need to ensure the scale is the same across
multiple images for comparison and overide the autoscaling. Any ideas?
Seems like it
That's exactly it! Thanks guys!
Bruce
---
Bruce W. Ford
Clear Science, Inc.
br...@clearscienceinc.com
http://www.ClearScienceInc.com
http://www.facebook.com/clearscience
http://www.twitter.com/ROVs_rule
Phone: (904) 796-8101
Fax: (904) 379-9704
8241
.
Jacksonville, FL 32211
Skype: bruce.w.ford
On Tue, Jun 7, 2011 at 1:06 AM, Benjamin Root ben.r...@ou.edu wrote:
On Monday, June 6, 2011, Bruce Ford br...@clearscienceinc.com wrote:
Does anyone have an example of nested grids.
I need to (for instance), plot a global grid in filled contours
I am attempting to plot a line atop a basemap instance called m. I can do
this without a problem with:
plot = m.plot(lon,lat,'r-') #lon and lat are lists
However, I'd like to color the line based on a third list called
intensity. For instance, if the value of intensity between two points is
I brute-forced this another way by dealing the arrays I had created.
Thanks for the suggestions!
---
Bruce W. Ford
Clear Science, Inc.
On Wed, Feb 9, 2011 at 10:30 AM, Jeff Whitaker jsw...@fastmail.fm wrote:
On 2/9/11 7:51 AM, Bruce Ford wrote:
I am
I have a grid with values ranging from exactly 0.0 and 100.0. When I
plot this with colorbar, the base of the colorbar is labeled -0.0.
Is this a default for 0.0...to plot it with as a negative number? Any
workarounds?
Bruce
---
Bruce W. Ford
Clear Science,
---
To schedule a meeting with Bruce, Go to: http://tungle.me/bruceford
On Fri, Aug 20, 2010 at 2:06 PM, Eric Firing efir...@hawaii.edu wrote:
On 08/20/2010 05:29 AM, Bruce Ford wrote:
I have a grid with values ranging from
On Fri, Aug 20, 2010 at 4:44 PM, Eric Firing efir...@hawaii.edu wrote:
On 08/20/2010 10:14 AM, Bruce Ford wrote:
This effect is happening within an web app that displays gridded
fields from multiple datasets (~4500 lines of code). So I it's tricky
to create an example. Although if I use
, 2010 at 6:30 PM, Chloe Lewis chle...@berkeley.edu wrote:
The example works for me; Python 2.6.4 (recent Enthought install).
Can you use your new colormap without registering it?
C
On Apr 1, 2010, at 1 Apr, 2:14 PM, Bruce Ford wrote:
I'm running into walls trying to create a custom cmap
I'm running into walls trying to create a custom cmap.
Running the example custom_cmap.py unchanged, I get :
AttributeError: 'module' object has no attribute 'register_cmap'
args = ('module' object has no attribute 'register_cmap',)
I've included custom_cmap.py below. It's a major
All,
It took a fair bit of trial and error to coax a KML-friendly image out
of matplotlib and to understand what was and was not necessary. Below
is a demo script demonstrating how to accomplish a KML-friendly image
with and without a basemap. I hope this will help someone out.
What do I mean
: for...@gmail.com
On Wed, Mar 3, 2010 at 10:27 AM, Jeff Whitaker jsw...@fastmail.fm wrote:
Bruce Ford wrote:
All,
It took a fair bit of trial and error to coax a KML-friendly image out
of matplotlib and to understand what was and was not necessary. Below
is a demo script demonstrating how
I'm needing to keep two copies of a figure, with the properties
different on one copy.
However with logic like below, both copies remain the same regardless:
#I want one copy with the defaul background and one to be transparent...
imgname = GenFilename(20)+.png
imgsrc =
I'm attempting to output an image with a predictable bounding box so
that it can be placed into a KML document and be correctly
georeferenced.
Essentially I need a PNG that has NO labeling and the size of the
image be exactly the size of the plot bounding box and no more, no
less.
I can get
regards,
Matthias
On Thursday 11 February 2010 21:58:15 Bruce Ford wrote:
In using the contour as in:
contour(X,Y,Z,N)
N is a number of automatically chosen levels.
I would like to contour based on data divisions.
For instance, perhaps I'd like to use a contour or color-fill
(contourf) every
In using the contour as in:
contour(X,Y,Z,N)
N is a number of automatically chosen levels.
I would like to contour based on data divisions.
For instance, perhaps I'd like to use a contour or color-fill
(contourf) every 2 units. I'm not seeing how to accomplish this. Any
points in the right
21 matches
Mail list logo