comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » contour over a map and 180 degrees off or problems with dateline
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
contour over a map and 180 degrees off or problems with dateline [message #53740] Wed, 02 May 2007 10:51 Go to previous message
teich is currently offline  teich
Messages: 33
Registered: May 2007
Member
Hi,

I want to contour data on a map projection and have something like
this:

field=fltarr(72,46)
lon=fltarr(72)
lat=fltarr(46)

My lon arrary is indexed from -177.5 to +177.5. My lat array is
indexed from -89.0, -86.0, ..., +86.0, +89.0.

After mapset (using default map and centered at 0,0), I do
contour,field,lon,lat. What I get is displaced by 180 degrees. If I
change my lon to go from 0.25 to 357.5, then the map looks correct,
but the contours do not connect at the dateline.

Can anyone help with this?

Thanks,

Howie
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ENVI does a dumb thing reading a TIFF file with a palette included
Next Topic: crazy contour

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 13:17:47 PDT 2025

Total time taken to generate the page: 0.08381 seconds