Re: problem using Ngl.contour with 2D coordinates

From: David Ian Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Mon, 28 Feb 2005 11:11:14 -0700

Hi Ivan,
I'm not totally sure about this because Mary is the expert on GSN
resources and
she is on vacation until later this week, but I think you simply need
to set the
resources gsnXAxisIrregular2Linear and gsnYAxisIrregular2Linear to
If that does not work, let me know. It is definitely doable, though a
bit more
complicated, using some lower level resources.

On Feb 28, 2005, at 8:55 AM, Ivan Lima wrote:

> Hello All,
> I'm trying to make a contour plot of a longitudinal vertical
> section from a 3D ocean model. The model uses terrain-following
> sigma coordinates so the depth axis/coordinate varies with
> longitude in a vertical section (2D coordinate). AFAIK,
> Ngl.contour should be able to handle that but in my case it
> does not. It doesn't give me any error messages but it just
> contours the 2D array using the array dimensions as axis and
> does not plot any axis information (tick marks, etc...).
> Attached is an example code with what I'm trying to do. I can
> send the input data upon requert (the file is a little big
> ~7MB). Have anyone encountered this kind of problem before? Am
> I missing something?
> Thanks a lot,
> - Ivan
> --
> Ivan Lima
> Woods Hole Oceanographic Institution, MC&G MS #25
> 360 Woods Hole Road, Woods Hole, MA 02543-1543 USA
> <>_______________________________________________
> pyngl-talk mailing list

pyngl-talk mailing list
Received on Mon Feb 28 2005 - 11:11:14 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:31:53 MST