Grib editor

All other topics about postprocessing model data (GrADS and other software), about other numerical weather prediction software (including WRF-NMM and WRF-ARW discussion unrelated to UEMS/WRF EMS), and general meteorology talk go in this forum.
meteoadriatic
Posts: 1555
Joined: Wed Aug 19, 2009 10:05 am

Re: Grib editor

Post by meteoadriatic » Thu Jun 07, 2018 8:35 pm

Hello,

Use my binary:
http://gamma.meteoadriatic.net/tmp/cnvgrib

Let me know if it works.

Joseph79
Posts: 17
Joined: Fri Jun 01, 2018 6:37 pm

Re: Grib editor

Post by Joseph79 » Fri Jun 08, 2018 5:43 pm

Hello, you'are a great Man..

Thanks a lot..
I downloaded your file, but ( I'm sorry for the trivial question..)
How should I manage this file ?
Let me know.

Thanks a lot.

meteoadriatic
Posts: 1555
Joined: Wed Aug 19, 2009 10:05 am

Re: Grib editor

Post by meteoadriatic » Fri Jun 08, 2018 9:27 pm

1) Make it executable:

Code: Select all

chmod +x cnvgrib
2) run it with --help option to see how to use it:
(from directory where it is:)

Code: Select all

./cnvgrib --help
3) run it for something useful:

Code: Select all

./cnvgrib -g12 yourgrib1inputfile yourgrib2outputfile
Let me know if it works.

Joseph79
Posts: 17
Joined: Fri Jun 01, 2018 6:37 pm

Re: Grib editor

Post by Joseph79 » Sat Jun 09, 2018 4:56 am

Hi,
thanks you very much for your patience, you're a big help to me..
I tried your binary as you indicated me..
the following error occurs whene executing cnvgrib with option -g12:

ERROR READING/UNPACKING GRIB1 V= 12

The output file is created but including just the MSLP data instead of WIND, GUST etc..

I'd send you my input grib file but I think that here it cannot be possible..
Thanks..

meteoadriatic
Posts: 1555
Joined: Wed Aug 19, 2009 10:05 am

Re: Grib editor

Post by meteoadriatic » Sat Jun 09, 2018 8:30 am

Does wgrib work on that file?

eg.

Code: Select all

wgrib yourproblematicgrib1file
?

Joseph79
Posts: 17
Joined: Fri Jun 01, 2018 6:37 pm

Re: Grib editor

Post by Joseph79 » Sat Jun 09, 2018 11:05 am

Hi, Thanks again..

wgrib works well on the input Grib1 file..

I tried your binary also with the following grib1 file:

http://openskiron.org/gribs_wrf_12km/It ... 00.grb.bz2

In this case the error was the following

ERROR READING/UNPACKING GRIB1 V= 16

Thanks a lot

meteoadriatic
Posts: 1555
Joined: Wed Aug 19, 2009 10:05 am

Re: Grib editor

Post by meteoadriatic » Sat Jun 09, 2018 11:20 am

Hello

This one works here

Code: Select all

cnvgrib -nv -g12 Italy_12km_WRF_WAM_180609-00.grb test.grib2
So try adding -nv option for your file.

Joseph79
Posts: 17
Joined: Fri Jun 01, 2018 6:37 pm

Re: Grib editor

Post by Joseph79 » Sat Jun 09, 2018 1:23 pm

:D
Hi, thank you very much..
now everything works perfectly (with the option - nv)

You're the Best..

I don't know how to thank you for all the help you given me....

You solved a big problem for me thanks you very much again ..

Keep In touch..
Have you a nice day.

meteoadriatic
Posts: 1555
Joined: Wed Aug 19, 2009 10:05 am

Re: Grib editor

Post by meteoadriatic » Sat Jun 09, 2018 3:40 pm

I'm glad that I was able to help!

Cheers!

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests