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
Re: contour over a map and 180 degrees off or problems with dateline [message #53836 is a reply to message #53740] Wed, 02 May 2007 11:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
teich@atmsci.msrc.sunysb.edu writes:

> 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?

Can we see the commands you are using to display the map
projection and the contour?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Sun Oct 12 02:41:01 PDT 2025

Total time taken to generate the page: 0.16186 seconds