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

Home » Public Forums » archive » CGMAP_GRID: Lattitude lines
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: CGMAP_GRID: Lattitude lines [message #88203 is a reply to message #88201] Thu, 27 March 2014 08:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Oliver Angelil writes:

>
> Yes I tried that, but it gives me exactly the same image produced when using my original line:
>
> cgMap_Grid, /cgGrid, Map_structure=map, color='white', thick=2
>
> I have emailed you the image so you can see what exactly about the latitude lines I am trying to correct.

cgMap_Grid tries to figure out which latitude and longitude lines are
passing trough the image "scene" by sampling the image at 25 points
around its perimeter. When the lines are at angles, as these are, the
algorithm can become confused about the lat and lon range that it uses
to create default grid lines. In these cases, you pretty much have to
abandon the automatic grid lines and define them specifically yourself.
Pass them into the program with LONS and LATS keywords.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Gridded MODIS lat/lon array
Next Topic: Hankel (Fourier-Bessel) Transform

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

Current Time: Fri Oct 10 02:17:49 PDT 2025

Total time taken to generate the page: 0.87919 seconds