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

Re: visaddigest V1 #4

Hi Ian,

> The easiest way to provide for this type of thing, would be to have a
> simple interpreter that
> mapped grid coordinates to world coordinates. Then you could say things like:
>
>      select grdextract( grid, spec,
> "X=f(x,y,z,t),Y=g(x,y,z,t),Z=h(x,y,z,t),T=k(x,y,z,t)")
>      from table;
>
> where f,g,h, and k are arbitrary expressions, probably involving lookup
> tables, trig and log terms, etc.

Such mappings between coordinate systems are handled in VisAD
by the visad.CoordinateSystem class. Extensions of this class
define the mathematical specifics of coordinate transforms in
their implementations of the toReference() and fromReference()
methods.

Cheers,
Bill


 
 
  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