Ngl.contour_map bug when constant field left of 0 lon

From: Michael Decker <m.decker_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 28 2010 - 08:13:54 MDT

Hi Mary, Dave and everyone,

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.
test.eps: 0 degrees in the middle of the map, constant field on the left
is all white
test2.eps: left side contains one other value and it works like it should
test3.eps: 0 degrees shifted to the left of map, same data as for
test.eps but like this it works just fine


Michael Decker
Forschungszentrum Jülich
Institut für Energie- und Klimaforschung - Troposphäre (IEK-8)

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Thu Oct 28 08:54:26 2010

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