[gradsusr] problems with displaying netcdf files

Jeff Duda jeffduda319 at gmail.com
Mon Dec 7 18:43:40 EST 2015


I don't know the answer to your question, but GrADS is capable of opening
grib2 data. Get the g2ctl perl file and use gribmap on the control file you
generate.

Jeff Duda

On Mon, Dec 7, 2015 at 5:33 PM, Jason Snyder <jmssnyder at ucdavis.edu> wrote:

> I generated a netcdf file through wgrib2 xxx.grib2 -nc_grads -append
> -netcdf xxx.nc
>
> The output of the grib2 file is:
>
> 1:0:d=2015120700:WTMP:surface:anl:
> 2:5211:d=2015120700:WTMP:surface:12 hour fcst:
> 3:10513:d=2015120700:WTMP:surface:24 hour fcst:
> 4:15710:d=2015120700:WTMP:surface:36 hour fcst:
> 5:21031:d=2015120700:WTMP:surface:48 hour fcst:
>
> which means there are multiple time steps.  When I tried to open the
> netcdf file in GrADS I get the following error message:
>
> Scanning self-describing file:  OCEAN_2015120700.nc
> gadsdf: Error parsing time units in SDF file.
>
>
> The ncdump of the output file is attached.  Given this information how can
> I convert a grib2 file to netcdf so that I can view the netcdf file in
> GrADS?
>
> Thank you for your time.
>
> Jason
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151207/3ff16427/attachment.html 


More information about the gradsusr mailing list