Grib editor
Re: Grib editor
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.
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.
-
- Posts: 1604
- Joined: Wed Aug 19, 2009 10:05 am
Re: Grib editor
1) Make it executable:
2) run it with --help option to see how to use it:
(from directory where it is:)
3) run it for something useful:
Let me know if it works.
Code: Select all
chmod +x cnvgrib
(from directory where it is:)
Code: Select all
./cnvgrib --help
Code: Select all
./cnvgrib -g12 yourgrib1inputfile yourgrib2outputfile
Re: Grib editor
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..
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..
-
- Posts: 1604
- Joined: Wed Aug 19, 2009 10:05 am
Re: Grib editor
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
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
-
- Posts: 1604
- Joined: Wed Aug 19, 2009 10:05 am
Re: Grib editor
Hello
This one works here
So try adding -nv option for your file.
This one works here
Code: Select all
cnvgrib -nv -g12 Italy_12km_WRF_WAM_180609-00.grb test.grib2
Re: Grib editor

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.
-
- Posts: 1604
- Joined: Wed Aug 19, 2009 10:05 am
Re: Grib editor
I'm glad that I was able to help!
Cheers!
Cheers!
Re: Grib editor
Hi..
Sorry again.. I have a problem... I'm trying to ask you some help..
I have a Grib2 file, Id like to change the date of the grib file,
I'm using the following Wgrib2 option:
wgrib2 filename1.grb -set_date X -grib_out filename2.grb
The date of the file filename2.grb is correctely X but while the filename1 contains current data, the new file filename2.grb does not include current( ktn and direction)
data.
I'd like to have on the new grib file the same data (including current) of the original grib file..
Can you suggest me any solution..
Thanks in advance..
Sorry again.. I have a problem... I'm trying to ask you some help..
I have a Grib2 file, Id like to change the date of the grib file,
I'm using the following Wgrib2 option:
wgrib2 filename1.grb -set_date X -grib_out filename2.grb
The date of the file filename2.grb is correctely X but while the filename1 contains current data, the new file filename2.grb does not include current( ktn and direction)
data.
I'd like to have on the new grib file the same data (including current) of the original grib file..
Can you suggest me any solution..
Thanks in advance..