I need to get data for my database from some GRIB files (binary), I downloaded wgrib2, which can export GRIB-2 files to .csv and csv is very suitable for me, but some GRIB files are GRIB-1, so I used wgrib2 on them and program wgrib2 told me: "grib1 message ignored (use wgrib)", so I used wgrib, but wgrib can't export files to different format. So I tried to install recommended cnvgrib to convert GRIB-1 to GRIB-2, but still getting some errors during installation due different library versions, 32/64 bit problem, different directories etc., it's written in Fortran, that's also the problem I can't compile it easily...
So is there another way to convert GRIB-1 files to GRIB-2 (or to some non-binary format)? I can google many ways to do it, but I need help from some1 who have already converted GRIB-1 to another format, because there can be some easy way how to do that, but I have so much pain fixing installation problems, wrong configurations, Fortran version incompatibilities etc during installation of cvngrib, which I haven't even fixed and gave up...
EDIT: OK, my co-employee fixed degrib (it linked own libraries with newer system libraries), so I can run degrib now. So I run "degrib "GRIB file" -C -msg all -nMet -Csv" on GRIB-1 file and it failed the conversion to .csv with:
ERROR: In call to Grib2Convert. ERROR: In call to ReadGrib2Record. Problems with ReadGrib1Record called by ReadGrib2Record Inside ReadGrib1Record Grid projection number is 4 Don't know how to handle this grid projection.
I try to fix it soon, but meanwhile you can help me again!