Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: [visad] Question on TupleTypes

Hello list,

for the archives: this has been solved with

(fid -> ( SET(RealType.X, RealyType.Y), temp, press, etc...))

Thanks to Bill.

Cheers,

Ugo

Bill Hibbard wrote:
>  Hi Ugo
> 
> If you want the irregular (x, y) topology to be part of the
> FlatField, you need to change the type from:
> 
> (id ->( (x,y) , temp, pressure, ...))
> 
> to:
> 
> ((x,y) ->  (temp, pressure, ...))
> 
> Then your Irregular2DSet is used as the doman Set of the
> FlatField. Range Sets may be used in FlatFields, but they
> are just 1-D Sets used to document sampling resolution of
> single RealTypes in the range.
> 
> Good luck,
> Bill
> 
>   > You can call setSamples() for a FlatField with range type:
>   >
>   > ( (x,y) , temp, pressure, ...)
>   >
>   > just as you would for a FlatField with range type:
>   >
>   > ( x,y, temp, pressure, ...)
> 
>   But this ignores the topology of my data. X and y might be a line
>   string
>   or a polygon (like the region in Region.java).
> 


-- 
Ugo Taddei

Fraunhofer Institut Intelligente Analyse- und Informationssysteme (FhG IAIS)
http://www.iais.fraunhofer.de
Department Knowledge Discovery - IAIS.KD -
Working Group Spatial Decision Support
http://www.iais.fraunhofer.de/kd.html
phone  (+49)2241-14-2184    fax    (+49)2241-14-2072
Schloss Birlinghoven, D-53754 Sankt Augustin, Germany


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690