Filling in the Gaps (contour mapping) [message #20042] |
Thu, 11 May 2000 00:00 |
Simon de Vet
Messages: 36 Registered: May 2000
|
Member |
|
|
I am a new user to IDL (day 4 and having fun, now that I have some stuff
working), so please forgive me if this is an obvious question.
I have data that I am contour plotting onto a world map. The data is
spaced every 3.75 degrees in latitude and longitude. The longitude
starts at 0 and ends at 356.25. Latitude runs from -88.125 to 88.125.
When plotted, the vast majority looks great. However, at the seam
running through 0 longitude, the two edges are not connected. While it
is less obvious, I assume that a similar problem is occuring at the
poles. The poles are not much of a concern, since the top 10 degrees are
cut off in a Mercator projection anyways...
Since the data does not connect, I cannot use a filled contour plot,
which is one of my goals.
Any suggestions? Is there an easy way to do this, or will I have to have
the first longitudinal values repeated at the end of the list? It seems
that IDL is not recognizing that 0 degrees and 360 degrees are the same
thing.
Thanks!
Simon
|
|
|