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 #64146 is a reply to message #64145] Wed, 03 December 2008 08:17 Go to previous messageGo to previous message
bryan.s.hong is currently offline  bryan.s.hong
Messages: 12
Registered: November 2008
Junior Member
On 12월3일, 오전9시54분, David Fanning <n...@dfanning.com> wrote:
> bryan.s.h...@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.")

Only works in a real array not in a integer array.
[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: Fri Oct 10 20:13:44 PDT 2025

Total time taken to generate the page: 0.55823 seconds