Re: resampling irregular sets

Hi Tom,

Thanx. I'll try again tomorrow. If I can't find the problem I'll put
together a small test prog.
Unfortunately, I can't make the data available (we have those available in
5 datasets with different resolution, in diff db tables. The highest res
dataset has some some 800000 points).
Triangulating those is not the problem (I thought it'd be). But I got
stuck with the resampling, as said.
Thanks for the support.



> Hi Ugo,
> This operation is implemented, and should work.  There can
> be problems sometimes with precision and coincident data
> points.  If your willing to post a small program or the data to
> the list we can take a look.
> TomR
> Ugo Taddei wrote:
>> Hi,
>> there I go again on the subject of irregular sets...
>> Is it possible to do something like
>> FlatField bigField = ...// large field with Irregular2DSet as domain
>> set
>> Set smallSet = ...small irregular 2D set
>> FlatField smallField = (FlatField)bigField.resample( smallSet,
>> Before I had a Linear2DSet as my smallSet, and it worked fine (but
>> "slow"). It is now returning "missing". The fields do (partially)
>> overlap, however. I expected at least some values to return NaNs.
>> I'm not sure if the mistake is somewhere else or if this is not
>> possible/implemented.
>> Thanks for the help,
>> Ugo

  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: