Re: Ngl.contour_map bug when constant field left of 0 lon

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 04 2010 - 17:21:30 MDT

Sorry Michael, we let this message slip unintentionally.

The first thought that I had on this was that the longitude coordinate array is incorrect or not set at all.

I actually tried running your script when you originally sent it, but it was seg faulting for me. I think my python installation is messed up. I don't think this is an issue with your script.

I'll try to look at this tonight or tomorrow. AGain, sorry for the delay.


On Nov 4, 2010, at 7:38 AM, Michael Decker wrote:

> Hi Mary, Dave and everyone,
> (I'm not really sure if my previous mail made it as it was a little too big with the original eps attachments. So there it is again with pngs instead.)
> we recently stumbled upon a bug in Ngl.contour_map that happens when there is a constant field value left of 0 degrees longitude on the map. The plot will simply be white/transparent on the whole left side then. As soon as one different value appears in that field, everything works as expected. This only happens left of 0 degrees. If 0 is shifted completely to the left side of the map, then the constant area is displayed just fine (then on the right side).
> I'm probably not very good at explaining that, so I attached a simple demo script and three output files generated by it (originally eps, converted to png for size).
> test.png: 0 degrees in the middle of the map, constant field on the left is all white
> test2.png: left side contains one other value and it works like it should
> test3.png: 0 degrees shifted to the left of map, same data as for test.png but like this it works just fine
> Cheers,
> Michael
> --
> Michael Decker
> Forschungszentrum Jülich
> Institut für Energie- und Klimaforschung - Troposphäre (IEK-8)
> E-Mail:
> <><test.png><test2.png><test3.png>_______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Nov 4 17:21:34 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 15 2010 - 09:11:30 MST