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.
Hi Dave- > Full Name: Dave Flory > Email Address: address@hidden > Organization: Iowa State University > Package Version: 2.5 build date:2008-05-08 07:05 UTC > Operating System: Windows Vista > Hardware: Java: home: C:\Program Files (x86)\Java\jre1.6.0_07 version: > 1.6.0_07 j3d:1.3.2 fcs (build12) > Description of problem: Creating display: Contour Plan View > org.python.core.PyException > > The following error is encountered when using 20km NAM surface data from > motherload. The request > is for a contour plan view of the 850mb temperature and the surface > temperature. The 850mb temperature > is selected from the 3D list of fields and the surface temperature from the > 2D list of fields. Individual plots > indicate that the units on these variables are the same so it should be easy > to calculate a simple difference. The problem is that one field is a 2D field (surface, (x,y)) and the other is a slice of a 3D field (850 (x,y,z)). Try using the Grids->Define a grid diagnostic formula and use the GEMPAK syntax of sub(a,b). I should probably change the simple difference formula to use this. Don > 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.subtract(DataImpl.java:192) > > at visad.DataImpl.__sub__(DataImpl.java:1400) > > 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) > > > > > ****************** > Stack trace: > 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.subtract(DataImpl.java:192) > > at visad.DataImpl.__sub__(DataImpl.java:1400) > > 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 > > > Ticket Details =================== Ticket ID: PTE-837458 Department: Support IDV Priority: Normal Status: Open