Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Straight contour lines

Hi Russell,

In order to figure out what's going on, we'll need to run
this ourselves. Can you send a data file and simple test
program that demonstrate this problem?

Cheers,
Bill

On Thu, 13 May 2004, 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
>
>
>
> --
> Russell Steicke
>
> -- Fortune says:
> Beware the new TTY code!
>


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690