[ncl-talk] nan in data radar set, how to handle

Rick Brownrigg brownrig at ucar.edu
Fri Nov 20 09:23:44 MST 2015


Untested:  how about something like:

   reflectivity = where(isnan_ieee(reflectivity), reflectivity at _FillValue,
reflectivity)

HTH...
Rick

On Fri, Nov 20, 2015 at 9:07 AM, Geeta Geeta <geetag54 at yahoo.com> wrote:

> Hi
> I have the radar reflectivity at 1,2 3, km above the ground level in the
> NC format.
> This data ranges from lat 24.3-30.8/73.3-79.8 and 500 points both in x/y
> Directons.
>
> I have to plot this data but getting a strange plot. I looked at this
> dataset and has nan and -9999. in it.
> How to get rid of nan.
> I am attaching my script and data.
>
> Variable: reflectivity
>     Type: double
>     Total Size: 250000 values
>                 2000000 bytes
>     Number of Dimensions: 4
>     Dimensions and sizes:       [ 1 <time | unlimited> x 1 <nz> x 500 <ny>
> x 500 <nx> ]
>     Chunking Info:      [ 1 <time | unlimited> x 1 <nz> x 500 <ny> x 500
> <nx> ]
>     Coordinates:
>                 time: [21.000000..21.000000]
>         Number of Attributes:        5
>             long_name   :       Reflectivity
>             units       :       dBZ
>             _FillValue  :       -9999.000000
>             coordinates :       elevation azimuth range
>             standard_name       :       equivalent_reflectivity_factor
>
>
>
>  Pls Suggest how to plot this data
> Geeta.
>
> _______________________________________________
> 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/20151120/0f3fb8d4/attachment.html 


More information about the ncl-talk mailing list