On 3/7/11 5:50 AM, Jeff Whitaker wrote:
> On 3/6/11 8:58 PM, Juan A. Saenz wrote:
>> Hi,
>>
>> I use Basemap and netCDF4-python on a regular basis, and find them
>> very useful tools. Thank you for developing them!
>>
>> I noticed that when using basemap.interp for nearest neighbor
>> (order=0) the interpolation is not masked, and nearest neighbor masked
>> values will be used in the interpolation. I was wondering if you could
>> suggest a way to do nearest neighbor interpolation where masked are
>> supported, i.e. nearest neighbor values that are not masked.
>>
>> Thanks for your help,
>> Juan
>>
> Juan:  I agree that this would be desirable behavior.  Unfortunately,
> it's not obvious to me how to do it.  I'll think about it and get back
> to you.  (cc'ing matplotlib-users list).
>
> -Jeff
>

Juan: On second thought, I'm not sure this is desirable behavior.  I 
would guess that most of the time, if a nearest neighbor is masked, the 
user would expect the interpolation routine to return a masked value.  I 
would be interested to hear what others think.

-Jeff


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to