Re: [idvusers] IDV Formulas and NetCDF


I've seen this problem too. However, the solution is not always the same. One time I was mixing 2-D and 3-D fields (try slicing the data at a level or the make 2-D method); some times the units were a problem ( try the makeNewUnit method); and other times there were other problems. In summary I would say that using NetCDF data other than model data from motherlode is not as easy as I would like.


Todd Ellis wrote:
To the list:

I have a student who is attempting to use IDV to calculate and display Q-vectors using reanalysis data. In using some of the built in formulas in the IDV, however, the IDV seems to gag on doing partial derivatives of the NetCDF Reanalysis data, even though it works fine with model data from the UCAR motherlode.

I'm attaching the error message below, and by my examination, it appears that it might have to do with the way the coordinate system in the NetCDF data is applied. Are there any users who have experience with this matter that may be able to offer advice on an approach to solving this issue?

I am also starting a support ticket, but thought that, since time is an issue, I would try the collective expertise of the community as well.

Thanks for your time

Pasted error message:
Traceback (innermost last):
  File "<string>", line 1, in ?
  File "<string>", line 289, in dvdx
  File "<string>", line 105, in ddx
    at visad.FunctionType.binary(
    at visad.DataImpl.binary(
    at visad.DataImpl.divide(
at at at at
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(

visad.TypeException: visad.TypeException: FunctionType.binary: types don't match

Dr. Todd D. Ellis
Assistant Professor of Meteorology
Department of Earth Sciences
108 Ravine Parkway
SUNY College at Oneonta
Oneonta, NY 13820

(607) 436-2309

"I don't believe in Quantum Physics when it comes to
 matters of the heart"
       -- Crash Davis, Bull Durham

idvusers mailing list
For list information, to unsubscribe, visit:

The Fingerhuts
Saint Johnsbury, Vt, 05819

email: fingerhuts3@xxxxxxxxx