NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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


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