Re: Read Nexrad level II data in netcdf format

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 28 2011 - 15:57:00 MDT

It would be helpful if you included the output from

%> ncdump -h prova.nc

On 4/28/11 8:45 AM, Andrea Chini wrote:
> Hi,
>
> I'm trying to read a .nc file created from a nexrad level II data file
> with toolsUI-4.2.
>
>
>
> When I try to read some variables such as Reflectivity or Radial
> Velocity (datatype byte) I encounter this error:
>
>
> "fatal:Dimension size of attribute and right-hand side of assignment do
> not match"
>
>
> This is the script that I've written:
>
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>
> begin
>
> f = addfile("prova.nc","r")
>
> az=f->azimuthR
>
> t=f->timeR
>
> ng=f->numGatesR
>
> el=f->elevationR
>
> d=f->distanceR
>
> nr=f->numRadialsR
>
> dbz=f->Reflectivity
>
> end
>
>
> The error is only related with the reading of reflectivity in this case.
>
>
> Thank's for your help.
>
>
> Andrea C.
>
>
>
>
> _______________________________________________
> 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
Received on Thu Apr 28 15:57:17 2011

This archive was generated by hypermail 2.1.8 : Tue May 03 2011 - 14:47:34 MDT