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

Home » Public Forums » archive » Re: map_image and latmin/latmax, lonmin/lonmax - edges or centres?
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: map_image and latmin/latmax, lonmin/lonmax - edges or centres? [message #86063 is a reply to message #86062] Fri, 27 September 2013 14:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
AMS writes:

> The suggestion that was made to me was to enlarge my array using congrid(), so that when my image is plotting, the missing half-pixel border will look smaller. While this may be a workaround from a practical point of view, it feels very kludgy, and I don't think it is entirely satisfactory behaviour for several reasons. So I have also requested that this be considered as a bug in map_image, and either fixed, or else add a keyword so that the routine does what would
naively be expected.

Yes, this recalls a conversation of my own, in which I pointed out to
them that NLEVELS=12 on the Contour command was only producing 9 contour
levels. They suggested I use NLEVELS=14 or NLEVELS=15, then. Well, yes,
but that kind of "solution" doesn't really inspire a lot confidence in
the software, does it.

This, of course, eventually lead to the entire Coyote Library, just
because I couldn't stand relaying this incredibly awkward solution to
people attending IDL programming classes. And, once I got started I just
thought, "Oh, what the hell, as long as I'm fixing this I might as well
fix everything that bugs me." :-)

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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to read string data from excel file
Next Topic: combination of two integration methods in a specified time interval

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

Current Time: Wed Oct 08 16:03:18 PDT 2025

Total time taken to generate the page: 0.00451 seconds