20000928: RealType.Time, and an exception

>From: Paul Gifford <pgg@xxxxxxxxxxxxx>
>Organization: NOAA/NGDC
>Keywords: 200009282036.e8SKaWb19794

Hi Paul-

>  This was a long e-mail...then a 2nd look made me boil it down.  Be
>thankful :)
>1. What Unit is RealType.Time?

 CommonUnit.secondsSinceTheEpoch (seconds since Jan 1, 1970, 00:00:00).

>2. Related to #1...I'm getting the exception below.  I get the gist of
>it but can someone explain the "why" behind it?
>visad.BadMappingException: Display.addMap: two ScalarMaps with the same
>RealType & DisplayRealType

I'd say you are adding the same ScalarMap twice.  VisAD needs to be able
to distinguish between the two.

Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
Unidata WWW Server               http://www.unidata.ucar.edu/
McIDAS Demonstration Machine  http://mcdemo.unidata.ucar.edu/

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