ScalarType: name cannot contain space

Hi,

Is there a (good) reason why a ScalarType name "cannot contain space . (
or )"? I'd like to create RealTypes with nice names for display purposes
(e.g. "Wind Direction") but:

visad.TypeException: ScalarType: name cannot contain space . ( or ) Wind
Direction
        at visad.ScalarType.validateName(ScalarType.java:178)
        at visad.ScalarType.<init>(ScalarType.java:57)
        at visad.RealType.<init>(RealType.java:157)
        at visad.RealType.<init>(RealType.java:120)
        at visad.RealType.<init>(RealType.java:107)


Thanks,
Doug

-- 
*----------------------------------------------------------------------*
| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |
*----------------------------------------------------------------------*


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