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.

[idvusers] Changing unit of FlatField from celsius to meter using Jython

Hi everyone,

Is there a way of changing the unit of a FlatField from celsius to meter using Jython scripting? I've tried a lot different approaches, but haven't come up with a solution yet.

For example: ucar.visad.Util.clone(|visad.Data data, visad.MathType type|) doesn't work because the units are not convertable...

I'm really at a loss. Every little hint is much appreciated.

Patrick



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