[ncl-talk] reading Radar grib2 data
David Brown
dbrown at ucar.edu
Tue Sep 20 12:30:56 MDT 2016
Hi Wei,
The values in this data are not all -999 and wgrib2 and ncl agree on
the statistics for the single record in this file:
wgrib2 -V MRMS_ReflectivityAtLowestAltitude_00.50_20160920-173034.grib2
1:0:vt=2016092017:500 m above mean sea
level:anl:ReflectivityAtLowestAltitude ReflectivityAtLowestAltitude
[dBZ]:
ndata=24500000:undef=0:mean=-460.646:min=-999:max=61
<<<<<<<<<<<<<<<<<<<<
grid_template=0:winds(N/S):
lat-lon grid:(7000 x 3500) units 1e-06 input WE:NS output WE:SN res 48
lat 54.995000 to 20.005001 by 0.010000
lon 230.004999 to 299.994997 by 0.010000 #points=24500000
ncl 0> f = addfile("MRMS_ReflectivityAtLowestAltitude_00.50_20160920-173034.grib2","r")
ncl 2> v = f->ReflectivityAtLowestAltitude_P0_L102_GLL0
ncl 3> printMinMax(v,0)
(0) ReflectivityAtLowestAltitude (dBZ) : min=-999 max=61
ncl 4> print(avg(v))
(0) -460.6458
-dave
On Tue, Sep 20, 2016 at 11:56 AM, Wei Huang <whuang at univ-wea.com> wrote:
> Yes, I “gunzip” the file first.
>
>
>
> Thanks,
>
>
>
> Wei Huang
>
>
>
> From: Barry Lynn [mailto:barry.h.lynn at gmail.com]
> Sent: Tuesday, September 20, 2016 12:52 PM
> To: Wei Huang
> Cc: ncl-talk at ucar.edu
> Subject: Re: [ncl-talk] reading Radar grib2 data
>
>
>
> Hi:
>
>
>
> Is there any chance you need to gunzip the file first?
>
>
>
> On Tue, Sep 20, 2016 at 8:45 PM, Wei Huang <whuang at univ-wea.com> wrote:
>
> Dear NCL users,
>
> I am trying to process a radar grib2 dataset downloaded from:
>
> http://mrms.ncep.noaa.gov/data/2D/ReflectivityAtLowestAltitude/?C=M;O=D
>
> For example, I tried dataset:
> MRMS_ReflectivityAtLowestAltitude_00.50_20160920-173034.grib2.gz
>
> I tried to read the data, but all its value is: -999.
>
> The file seems a pretty good size.
>
> Has anyone tried such data before and want to share experience?
>
> Thanks,
>
> Wei Huang
> whuang at univ-wea.com
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
>
> --
>
> Barry H. Lynn, Ph.D
>
> Senior Lecturer,
>
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
>
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
>
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
More information about the ncl-talk
mailing list