So, I'd like to know if that error is still happening with this version, I've uploaded precise/quantal/raring patched cdo versions to my ppa so you can test them. Specifically the part that says 'Error (decodeIS) : GRIB version 2 unsupported!'
If the patched version doesn't work with GRIB version 2 I suspect it may be difficult to be accepted in Ubuntu, probably GRIB2 will have preference over GRIB1
Hi Marco,
Thanks for the long and clear explanation, after reading it I was able to reproduce it in raring this way:
$ wget https:/ /code.zmaw. de/attachments/ 3103/t2m_ ei_1979. grb 23,31,- 25,-31 t2m_ei_1979.grb tagliato_ t2m_ei_ 1979.grb cpc.ncep. noaa.gov/ wd51we/ wgrib/wgrib. c 0:2T:sfc: kpds=167, 1,0:anl: type=analysis: winds are N/S:"2 metre temperature [K]
$ sudo apt-get install cdo
$ cdo sellonlatbox,
$ wget ftp://ftp.
$ gcc -o wgrib wgrib.c
$ ./wgrib -v t2m_ei_1979.grb | head -n 8
1:0:D=197901010
...
With the 'anl' definition after kpds=167,1,0:
After recompiling with the --enable-cgribex option it behaves as expected, with the following output:
$ ./wgrib -v t2m_ei_1979.grb | head -n 8 0:2T:sfc: kpds=167, 1,0:3hr: type=analysis: winds are N/S:"2 metre temperature [K]
1:0:D=197901010
I looked into the changelog and cgribex was disabled in the first place for this report:
http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 633934
So, I'd like to know if that error is still happening with this version, I've uploaded precise/ quantal/ raring patched cdo versions to my ppa so you can test them. Specifically the part that says 'Error (decodeIS) : GRIB version 2 unsupported!'
$ sudo add-apt-repository ppa:chilicuil/pmx t2m_ei_ 1979.grb 23,31,- 25,-31 t2m_ei_1979.grb tagliato_ t2m_ei_ 1979.grb
$ sudo apt-get update && sudo apt-get upgrade
$ rm tagliato_
$ cdo sellonlatbox,
$ ./wgrib -v t2m_ei_1979.grb | head -n 8
I was able to test successfully the steps in the three ubuntu versions:
cdo - 1.5.6.1+ dfsg.1- 2ubuntu3 - raring 1-4build2 - quantal 1-2ubuntu1 - precise
cdo - 1.5.4+dfsg.
cdo - 1.5.3.dfsg.
If the patched version doesn't work with GRIB version 2 I suspect it may be difficult to be accepted in Ubuntu, probably GRIB2 will have preference over GRIB1
Have a nice day wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://