Re: Time to Fish or Cut Bait [message #74709] |
Tue, 01 February 2011 12:13  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> I am *seriously* considering changing all "FSC_"
> prefixes, on *all* my Coyote Graphics routines
> to "cg" with no underscore
One huge advantage, I just thought of, is that if
I rename TVImage to cgImage I can make it do
nearest neighbor interpolation by default.
Making TVImage interpolate by default was one
of the biggest programming blunders I ever made.
Right behind the EUROPEAN keyword, probably. :-)
Cheers,
David
P.S. Who knew in 1996 that satellite data was
going to be so important and that remote sensing
types were going to be SO picky about their
precious pixels? ;-)
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: Time to Fish or Cut Bait [message #74808 is a reply to message #74709] |
Tue, 01 February 2011 12:50  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
I like the lowercase "cg" prefix. Fits better with what is becoming an IDL naming idiom. (Just to be clear, that last
letter is an "m", i.e. em :o)
David Fanning wrote:
> David Fanning writes:
>
>> I am *seriously* considering changing all "FSC_"
>> prefixes, on *all* my Coyote Graphics routines
>> to "cg" with no underscore
>
> One huge advantage, I just thought of, is that if
> I rename TVImage to cgImage I can make it do
This renaming I also think would be good. Mostly because amongst all the "FSC_" (or "cg") examples you've posted,
"TVImage" stood out.
BTW, the URL for your 3 January 2011 update is incorrect. It states:
svn co http://idl-coyote.googlecode.com/svn/tags/coyote_code_releas e_2_201101032 local_dir
but should be
svn co http://idl-coyote.googlecode.com/svn/tags/coyote_code_releas e_2_20110103 local_dir
(there's a "2" on the end.)
When's the Feb update tag gonna be available....?
> nearest neighbor interpolation by default.
> Making TVImage interpolate by default was one
> of the biggest programming blunders I ever made.
> Right behind the EUROPEAN keyword, probably. :-)
>
> Cheers,
>
> David
>
> P.S. Who knew in 1996 that satellite data was
> going to be so important and that remote sensing
> types were going to be SO picky about their
> precious pixels? ;-)
>
|
|
|