Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: visad.TypeException: ScalarType: name already used

Hi Luke,

> Why do I get the  error message:
> 
>  visad.TypeException: ScalarType: name already used
> 
> It occurs with this call:
> 
>     index = new RealType("Index");

Try:

  index = RealType.getRealType("Index");

This will either construct it, or if its already constructed
then just return it.

Cheers,
Bill


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