Re: Regarding 0 as a fill value

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 17 2010 - 16:16:25 MDT

Zero is a valid _FillValue
      [a] All functions and netCDF creation will have no problem.
      [b]
It is "recommended" that users not use _FillValue = 0 if they want
to perform certain contouring operations. The reason is that
there is a historical bug in the contouring algorithm.

On 03/17/2010 04:04 PM, Tong Qi wrote:
> I'm sorry, I think I am not clear on the distinction between missing
> value and _FillValue. When trying to plot a data field with 0 as the
> _FillValue, I get the "warning:ContourPlotInitialize: 0.0 not currently
> supported as a missing value; expect inaccurate plot."
>
> On Wed, Mar 17, 2010 at 4:50 PM, Michael Notaro <mnotaro@wisc.edu
> <mailto:mnotaro@wisc.edu>> wrote:
>
> 0 can be a fill value.
>
> For example,
>
> a=(/10,20,0,50/)
> a@_FillValue=0
> print(min(a))
>
> will output 10.
>
>
>
> On Mar 17, 2010, at 4:43 PM, Tong Qi wrote:
>
> > Hello,
> >
> > I am aware that the value of "0" is not currently supported as a
> > fill value, but was wondering about the reason behind this. Could
> > someone please clarify for me?
> >
> > Thanks,
> > -Tong
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 17 16:16:30 2010

This archive was generated by hypermail 2.1.8 : Fri Mar 19 2010 - 16:19:08 MDT