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

Home » Public Forums » archive » Re: wrong results...
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: wrong results... [message #43947 is a reply to message #43798] Mon, 02 May 2005 14:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
R.G. Stockwell writes:

> While that does indeed work, I'd guess the OP was not clear
> in their intentions. For longitude, you would want to leave the
> 0 to 180 range as is, and change the -180 to 0 data to fall in the
> range 180 to 360 by adding 360 to it.
>
> i.e. -1 should become 359.
>
> One can add 360 to longitude and "not change anything " since
> they are degrees.

After getting out a map and puzzling over this for
several minutes, I convinced myself of the truth of
Ken's algorithms. While this may be second nature to
people working with maps every day, it does take a
minute or two for the brain to get in gear for those
of us working with maps only infrequently. Since I have
a feeling this is one of those things I could embarrass
myself with again, I've decided to write it down and
make it available to everyone. Now, if I can just remember
I put it on my web page... :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idlgrcontour missing contours
Next Topic: Tricky data-summing question

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

Current Time: Wed Oct 08 19:35:45 PDT 2025

Total time taken to generate the page: 0.00191 seconds