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

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
*************************************************************
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/
*************************************************************


 
 
  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