Re: Straight contour lines

I work with Russel.

To add to this, the color of the lines looks like it might be working
okay. Usually when I see coloured contour lines, I expect them to be of
a constant color (i.e. several lines, each of which is a different but
constant color). What we see is horizontal lines, with a gradation of
color on each. I'm not that familiar with what correct data would look
like, but I think the color mapping is happening correctly. Maybe. :)

Cheers,
-T

On Thu, 2004-05-13 at 13:32, Russell Steicke wrote:
> Hi,
> 
> I have a problem with contour lines appearing completely straight.  The
> data has been exported as a netcdf file from another app, and imported
> using visad.data.netcdf.InputNetcdf.  I have to muck around with the
> data somewhat as the data out of the netcdf file is a bit different to
> what I want; it's
> 
>   ((Latitude_Longitude_ndx -> (Latitude, Longitude)),
>    (Time -> (Latitude_Longitude_ndx -> anal0)))
> 
> where I want
> 
>   (Time -> ((Latitude, Longitude) -> anal0))
> 
> but I'm fairly sure that this part is correct.
> 
> When the data is added to the display with a ScalarMap to IsoContour, I
> see straight lines that zigzag their way through the data points.  If I
> also add a map to RGB, the lines become horizontal only (ie the "zags"
> disappear) and are now coloured.
> 
> I expect to see curved contour lines, but don't.
> 
> Is this familiar to anyone, and is there something obvious that's wrong?
> I can supply the shortest program and netcdf file to reproduce the
> symptoms if required.
> 
> Thanks,
> Russell
> 
>