Re: map_image and latmin/latmax, lonmin/lonmax - edges or centres? [message #86042 is a reply to message #86041] |
Wed, 25 September 2013 13:35   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
AMS writes:
> After fiddling some more, I agree that it's probably the outer coordinates of the image rectangle that it wants. However, I'm still encountering some odd behaviour. For example, if I take regular 1 degree gridded data and try to map that, things like the US-Canada border (at 49 degrees N) don't lie exactly on grid cell borders (as they should) but are slightly shifted. I'm going to leave it for the rest of the day in case my overtired mind is overlooking something, but
if I can't figure it out tomorrow, will create some code which reproduces the issue and post it.
You might find that the GSHHS database is more accurate than the
database that comes with IDL:
http://www.idlcoyote.com/map_tips/gshhs.html
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.")
|
|
|