Re: Jython question: RealTupleType throws TypeException(components must be non-null)

  • To: Curtis Rueden <curtis@xxxxxxxxxxxxx>
  • Subject: Re: Jython question: RealTupleType throws TypeException(components must be non-null)
  • From: Steve Emmerson <steve@xxxxxxxxxxxxxxxx>
  • Date: Fri, 21 Jun 2002 14:08:33 -0600
Curtis,

>Date: Fri, 21 Jun 2002 15:02:45 -0500
>From: Curtis Rueden <curtis@xxxxxxxxxxxxx>
>To: Frank Gibbons <fgibbons@xxxxxxxxxxxxxxx>,
>To: Tom Whittaker <tomw@xxxxxxxxxxxxx>
>Subject: Re: Jython question: RealTupleType throws TypeException(components 
>must be non-null)

The above message contained the following:

> What this means is that getRealType returns null if you try to
> obtain a RealType with a given unit, when that RealType already
> exists without the proper unit.

This is correct; othewise, you risk getting a RealType whose default
unit isn't compatible with the one you specified.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>


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