[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #WTU-283786]: Support request

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #WTU-283786]: Support request
  • Date: Tue, 20 Jan 2009 08:48:30 -0700

Hi Mohit-

> The following error is encountered when using multiplication function after
> applying Level slicing. The 100000 pa level is selected from the 3D data
> field and the surface temperature from the 2D field.

Are you using a*b or mul(a,b)?  The mul function should work in this case.

Don Murray
 
> Traceback (innermost last):
> 
> File "<string>", line 1, in ?
> 
> at visad.FunctionType.binary(FunctionType.java:283)
> 
> at visad.DataImpl.binary(DataImpl.java:138)
> 
> at visad.DataImpl.multiply(DataImpl.java:205)
> 
> at visad.DataImpl.__mul__(DataImpl.java:1407)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> 
> at java.lang.reflect.Method.invoke(Unknown Source)
> 
> 
> 
> visad.TypeException: visad.TypeException: FunctionType.binary: types don't
> match
> 
> 
> 
> I would be thankful, if you could help me.
> 
> 
> 
> Thanks and regards
> 
> 
> 
> Mohit
> 
> 


Ticket Details
===================
Ticket ID: WTU-283786
Department: Support IDV
Priority: Urgent
Status: Open