Re: FlatField.evaluate() returning missing

  • To: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Subject: Re: FlatField.evaluate() returning missing
  • From: Cicero Augusto Wollmann Zandoná <cicero@xxxxxxxxxx>
  • Date: Tue, 6 Sep 2005 17:04:29 -0300
Hi Bill,

Just for the archive: 

Whit the new Gridded2DSet behavior became consistent (always returning 
missing). And after I fixed my createDomain() method everything went just 

Thanks again,

Em Seg 05 Set 2005 20:26, você escreveu:
> Hi Cicero,
> Nasty bug here. Your application is constructing a
> degenerate Gridded2DSet and the consistency test in
> the Gridded2DSet constructor is not catching it.
> Your createDomain() computes the same dx (and dy)
> value for i=HALFDIM and i=HALDIM+1 (j=...). Thus your
> grid has grid boxes with area = 0.
> I've put a whose consistency test
> catches this at:
> Note that using a stricter test may break some applications
> that have been getting away with constructing degenerate
> grids. It is also possible that my new stricter test is
> not formulated correctly - this stuff is quite complex.
> So I hope the other VisAD developers may take a look at this
> and test it (the changes are marked by 'CICERO' comments
> in
> Good luck,
> Bill