[ncl-talk] missing values not recognized

Rick Brownrigg brownrig at ucar.edu
Wed Apr 29 09:50:37 MDT 2020


Hi,

One thing I would note is you have xxx at FillValue in some places -- it
should be xxx at _FillValue.  I'm not sure why set_default_fillvalue() is not
working for you.

Rick



On Wed, Apr 29, 2020 at 9:41 AM Manisha Ganeshan via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Hello,
>
> I wish to set all missing values for major variable types (integer, float,
> double) to -999 in order to correctly read in my arrays. I use
> set_default_fillvalue to do so at the beginning of my code.
> It seems for some reason that the _FillValue attribute isn't automatically
> set to -999. So, I proceeded to explicitly set it, following which it works
> for some variables but doesn't recognize -999 as missing value for others.
> Any idea what may be causing this?
>
> I'm attaching my code here.
>
> Regards,
> Nisha
>
> --
> Dr. Manisha Ganeshan
> Universities Space Research Association
> Maryland, U.S.A.
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200429/ba9b29f3/attachment.html>


More information about the ncl-talk mailing list