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: null scalary type in ScalarMap

Hi Michelle,

If you don't want a particular ScalarType mapped to the display,
then don't create a ScalarMap for it! You should not create any
ScalarMaps with null DisplayRealType.

-Curtis

At 05:08 PM 7/17/2003, you wrote:
>Hi Curtis,
> 
>I'm actually trying to have null values for just the DisplayRealType and
>not the ScalarType. I want the possibility for an input field to be
>mapped to a null value as one possible visualization instead of *always*
>mapping every single input field in the data set to a VisAD parameter. 
>
>However, as I dig further and further into the original code, I'm
>finding that I would have to modify many classes to avoid null pointer
>exceptions. Am I correct that there would be no simple way to wrap a
>null DisplayRealType without getting null pointer exceptions?
>
>Thanks,
>Michelle
>
>Michelle Kam           (408) 742-2881
>Lockheed Martin Space Systems Co. SSM/ATC/MSIS
>B/153 O/L922 
>1111 Lockheed Martin Way, Sunnyvale, CA 94089


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