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

Home » Public Forums » archive » Re: interpolation for resizing
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: interpolation for resizing [message #64147 is a reply to message #64146] Wed, 03 December 2008 07:54 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
bryan.s.hong@gmail.com writes:

> Replacing the fill value to a string, for example 'NaN', will exclude
> the pixels when using 'congrid' or 'rebin'.

To a string!? How would that work?

IDL> a = lindgen(5)
IDL> a[2] = 999
IDL> I = where(a eq 999)
IDL> a[I] = 'nan'
% Type conversion error: Unable to convert given STRING to Long.
% Detected at: $MAIN$

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("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
Previous Topic: Irregular Satellite data plotting
Next Topic: Assigning Coordinates in NetCDF

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

Current Time: Sat Oct 11 03:15:26 PDT 2025

Total time taken to generate the page: 0.71966 seconds