[gradsusr] Use wgrib2 to check if grib2 file is valid

Jeff Duda jeffduda319 at gmail.com
Wed Oct 12 16:04:39 EDT 2016

wgrib2 -V (file) should give you a full listing of the arrays and their
dimensionalities and projection information. If you don't have a fully
prepared file, it should error out.

Jeff Duda

On Wed, Oct 12, 2016 at 3:00 PM, Ivan Toman <ivtoman at inet.hr> wrote:

> Hello GrADS users,
> Sometime when I download grib2 NCEP files with grib filter tool, I get
> incomplete file. How can I robustly use wgrib2 tool in bash script to
> check downloaded file if it is valid grib2 file or not?
> Thank you!
> Best regards,
> Ivan Toman
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

Jeff Duda
Post-doctoral research associate
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161012/b14f68dc/attachment.html 

More information about the gradsusr mailing list