[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #VKV-950241]: about Sampling Mode in sampletoReal method

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #VKV-950241]: about Sampling Mode in sampletoReal method
  • Date: Wed, 03 Feb 2010 08:42:23 -0700

Hi-

> Full Name: Nguyen Duc Ha
> Email Address: address@hidden
> Organization: ITC- The Netherlands
> Package Version: 2.8 build date:2010-01-15 20:48 UTC
> Operating System: Windows Vista
> Hardware: Java: home: C:\Program Files\IDV_2.8\jre version: 1.6.0_17 
> j3d:1.5.2 fcs (build4)
> Description of problem: Dear IDV developers,
> 
> As I know, if I use samplingMode =100 in sampletoReal method, I will
> get the value of nearset neighbor.

We should probably add constants like GridUtil.NEAREST_NEIGHBOR to make this 
easier.
 
> However,  I want know more information about this nearest neighbor such
> as:
> 
> 1, Can I know the coordinate of this nearest neighbor?

Not in the present implementation.

> 2, Which neighbor will be considered as the nearest neighbor if
> there are two (or more than two) nearest neighbors?

The first one that it comes to in the search.  

Don Murray

Ticket Details
===================
Ticket ID: VKV-950241
Department: Support IDV
Priority: Normal
Status: Open