Re: contouring weirdness with FillValues

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 29 Sep 2008 15:46:49 -0600

Hi Dave,

I have your files and was able to run them last night. The
contouring code inside NCL is pretty solid,
but there may be some things we can do, like smoothing, linearizing
an axis, etc. I will need to get more
familiar with your data before I know what's going.

--Mary

On Sep 28, 2008, at 7:11 PM, David Reusch wrote:

> Hello,
>
> I have come across some "weirdness" in NCL contouring that I have
> not been able to resolve and was hoping for some help. The
> attached figures show what I hope to produce and what I'm getting
> for specific datasets that have _FillValue data in them. In the
> "bad_plot" image, the central unfilled area is being plotted
> correctly as it represents _FillValue data. The areas "above" and
> "below" are also handled correctly. It's only the areas to each
> side that go crazy with contours (and I get the same result without
> the color fill).
>
> I am building these netCDF files myself using Python/pycdf (script
> cod_to_nc, in the tar file) and have not been able to find any
> oddities in these files that would explain the contouring madness.
> I have also looked at the data extensively as the NCL script is
> running with no insights. At this point it seems like something
> amiss in NCL -- though this is my first real experience using files
> with FillValues so I can't rule out entirely that it's my fault.
>
> The link below is to a tgz-file with the script, data and larger
> (4x3 panels) examples of my output. The script (plot_var.ncl)
> takes a netCDF file as input and produces a postscript output. To
> reproduce the files that have these sample images, use these
> commands respectively:
> ncl 'var="h500z"' plot_var.ncl
> ncl 'var="h700z_msk"' plot_var.ncl
>
> I am using NCL 5.0.0 and seeing the same results on both Mac OS
> 10.5.5 and 10.4.11.
>
> Script, data, output here: http://www.geosc.psu.edu/fetch.php?file=976
>
> Thanks for your time,
> Dave Reusch
>
> --
> 517 Deike Building
> Earth & Environmental Systems Institute
> Penn State University
> University Park, PA 16802
>
>
>
> <contour_images.png>_______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 29 2008 - 15:46:49 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 01 2008 - 09:47:13 MDT