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

[IDV #BLL-132210]: Cannot do a simple difference of two grids



Hi, Robert

Yes, it returns a missing value on the difference grid.

-Julien

> Thanks.  I'm wondering what happens when I subtract two grids and one
> has a missing value?  Does it return a missing value on the difference grid?
> 
> Unidata IDV Support wrote:
> > Hi again, Robert
> >
> > I chatted with Don Murray about this issue, and he gave me a few hints. I 
> > believe it would work with sub(a,b). In general, when using grids, one 
> > should use sub, add, mul, quo instead of -, +, *, / since the former handle 
> > differences in manifold dimensions.
> >
> > Thanks.
> >
> > -Julien
> >
> >
> >> Hi, Robert
> >>
> >> Would it be possible to have a bit more information about this problem? 
> >> What are the steps necessary to get this error? Also, I loaded the 
> >> attached bundle.xidv but I am having trouble finding 2 files:
> >>
> >> 20100813.14z.ECONA.grib2
> >> 20100813.14z.ECONA.grib2
> >>
> >> Would it be possible to attach those as well.
> >>
> >> Thanks.
> >>
> >> -Julien
> >>
> >>
> >>> Full Name: Robert Aune
> >>> Email Address: address@hidden
> >>> Organization: NOAA/NESDIS
> >>> Package Version: 2.6u2 build date:2009-02-13 19:03 UTC
> >>> Operating System: Windows XP
> >>> Hardware: Java: home: C:\Program Files\IDV_2.6u2\jre version: 1.6.0_11 
> >>> j3d:1.5.2 fcs (build4)
> >>> Description of problem: Creating image sequence
> >>> org.python.core.PyException
> >>>
> >>> ******************
> >>> Stack trace:
> >>> Traceback (innermost last):
> >>> File "<string>", line 1, in ?
> >>> at visad.Gridded3DSet.valueToGrid(Gridded3DSet.java:759)
> >>>
> >>> at visad.Gridded3DSet.valueToIndex(Gridded3DSet.java:415)
> >>>
> >>> at visad.FlatField.resample(FlatField.java:4739)
> >>>
> >>> at visad.FlatField.binary(FlatField.java:2088)
> >>>
> >>> at visad.FieldImpl.binary(FieldImpl.java:835)
> >>>
> >>> at visad.DataImpl.binary(DataImpl.java:139)
> >>>
> >>> 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(NativeMethodAccessorImpl.java:39)
> >>>
> >>> at 
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>>
> >>> at java.lang.reflect.Method.invoke(Method.java:597)
> >>>
> >>>
> >>> visad.SetException: visad.SetException: Gridded3DSet.valueToGrid: 
> >>> ManifoldDimension must be 3
> >>>
> >
> > Ticket Details
> > ===================
> > Ticket ID: BLL-132210
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> 
> --
> Robert M. Aune
> Research Meteorologist, Advanced Satellite Products Branch
> COoperative Research Program
> Center for Satellite Applications and Research
> DOC/NOAA/NESDIS
> 1225 W. Dayton St., Madison, WI 53706
> Ph: 608-262-1071      Fax: 608-262-5974
> 
> 


Ticket Details
===================
Ticket ID: BLL-132210
Department: Support IDV
Priority: Normal
Status: Open


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.