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

Re: Adding ScalarMap to DisplayImpl gives DisplayException

Brian,

>Date: Wed, 24 Oct 2001 15:30:03 -0700
>From: "Schlining, Brian" <brian@xxxxxxxxx>
>To: "'visad-list@xxxxxxxxxxxxx'" <visad-list@xxxxxxxxxxxxx>
>Subject: Adding ScalarMap to DisplayImpl gives DisplayException

The above message contained the following:

...
> So it looks like once the display is up and going it doesn't like having
> additional data ScalarMaps added to it.

Your analysis is exactly correct.  The steps for displaying something
are

    1.  Create a display.

    2.  Add ScalarMaps to the display.

    3.  Add DataReference-s to the display.

Once 3 is done, you can't go back to 2 without removing all the 
previously-added DataReference-s.

Why are you trying to add another ScalarMap? What is it about the second
drifter that the ScalarMap for the first drifter can't handle?

Regards,
Steve Emmerson   <http://www.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