Re: missing data values

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 31 2011 - 13:16:15 MDT

On 08/31/2011 12:14 PM, steve kirby wrote:
> Does that assign missing values at all levels? How do I designate
> missing values at only designated levels (in terms of code and my data
> file)?
> --Steve
> *From:* Dennis Shea <shea@ucar.edu>
> *To:* steve kirby <thin_runner@yahoo.com>
> *Cc:* "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> *Sent:* Wednesday, August 31, 2011 11:54 AM
> *Subject:* Re: [ncl-talk] missing data values
>
> Did you assign the _FillValue attribute to the wind variables???

Read in your data and then

wspd@_FillValue = -999.
wdir@_FillValue = -999.

These do *not* assign any values to an array. They merely tell
NCL to ignore any values equal to -999

>
> Something like:
> ; create BOGUS winds
> wspd = new ( nlvl, "float", -999.) ; wspd@_FillValue = -999.
> wdir = new ( nlvl, "float", -999.) ; wdir@_FillValue = -999.
>
>
> On 08/31/2011 11:51 AM, steve kirby wrote:
> > Hi,
> >
> > I'm plotting skew-T's from a text file and I have some missing wind
> > data, both direction and speed, but it's not missing at all levels. I
> > tried using -999. for wind speed and direction at those particular
> > levels but the plot came out weird with a stack of wind barbs at the
> > missing levels.
> >
> > --Steve
> >
> >
> >
> > _______________________________________________
> > 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 Aug 31 13:16:20 2011

This archive was generated by hypermail 2.1.8 : Wed Sep 07 2011 - 10:58:58 MDT