Debian Bug report logs - #695009
cdo lost data in grib1 files due to using grib_api instead cgribex

version graph

Package: cdo; Maintainer for cdo is Alastair McKinstry <mckinstry@debian.org>; Source for cdo is src:cdo (PTS, buildd, popcon).

Reported by: "fco.plj@gmail.com" <fco.plj@gmail.com>

Date: Mon, 3 Dec 2012 10:27:01 UTC

Severity: normal

Found in version cdo/1.5.6.1+dfsg.1-2

Fixed in versions cdo/1.5.4+dfsg.1-5, cdo/1.5.6.1+dfsg.1-3

Done: Alastair McKinstry <mckinstry@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Alastair McKinstry <mckinstry@debian.org>:
Bug#695009; Package cdo. (Mon, 03 Dec 2012 10:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to "fco.plj@gmail.com" <fco.plj@gmail.com>:
New Bug report received and forwarded. Copy sent to Alastair McKinstry <mckinstry@debian.org>. (Mon, 03 Dec 2012 10:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "fco.plj@gmail.com" <fco.plj@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cdo lost data in grib1 files due to using grib_api instead cgribex
Date: Mon, 03 Dec 2012 10:25:42 +0000
Package: cdo
Version: 1.5.6.1+dfsg.1-2
Severity: normal

Dear Maintainer,

Some days ago one user in Ubuntu reported [0], that the cdo package was losting data due to using grib_api instead of cgribex to manage grub1 files (it also affect at least debian sid), the steps to reproduce the wrong behaviour is:

$ wget https://code.zmaw.de/attachments/3103/t2m_ei_1979.grb
$ sudo apt-get install cdo
$ cdo sellonlatbox,23,31,-25,-31 t2m_ei_1979.grb tagliato_t2m_ei_1979.grb
$ wget ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib/wgrib.c
$ gcc -o wgrib wgrib.c
$ ./wgrib -v tagliato_t2m_ei_1979 | head -n 8
1:0:D=1979010100:2T:sfc:kpds=167,1,0:anl:type=analysis:winds are N/S:"2 metre temperature [K]
....

With the 'anl' definition after kpds=167,1,0 which means it has just lost the hour data, it should had been:

1:0:D=1979010100:2T:sfc:kpds=167,1,0:3hr:type=analysis:winds are N/S:"2 metre temperature [K]
....

With the 3hr data in there, 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 asked in upstream and they recommended that cgribex was enabled by default (--enable-cgribex):

https://code.zmaw.de/boards/1/topics/1540

So I'm filling this bug

[0] https://bugs.launchpad.net/ubuntu/+source/cdo/+bug/1023329

Have a nice day

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.6.5-ck1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdo depends on:
ii  libc6                  2.13-37
ii  libcdi0                1.5.6.1+dfsg.1-2
ii  libcurl3-gnutls        7.28.0-3
ii  libgrib-api-1.9.16     1.9.16-2
ii  libhdf5-7 [libhdf5-7]  1.8.8-9
ii  libjasper1             1.900.1-14
ii  libjpeg8               8d-1
ii  libnetcdfc7            1:4.1.3-6+b1
ii  libpng12-0             1.2.49-3
ii  libproj0               4.7.0-2
ii  zlib1g                 1:1.2.7.dfsg-13

cdo recommends no packages.

cdo suggests no packages.

-- no debconf information



Reply sent to Alastair McKinstry <mckinstry@debian.org>:
You have taken responsibility. (Thu, 06 Dec 2012 11:51:11 GMT) (full text, mbox, link).


Notification sent to "fco.plj@gmail.com" <fco.plj@gmail.com>:
Bug acknowledged by developer. (Thu, 06 Dec 2012 11:51:11 GMT) (full text, mbox, link).


Message #10 received at 695009-close@bugs.debian.org (full text, mbox, reply):

From: Alastair McKinstry <mckinstry@debian.org>
To: 695009-close@bugs.debian.org
Subject: Bug#695009: fixed in cdo 1.5.4+dfsg.1-5
Date: Thu, 06 Dec 2012 11:50:01 +0000
Source: cdo
Source-Version: 1.5.4+dfsg.1-5

We believe that the bug you reported is fixed in the latest version of
cdo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 695009@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckinstry@debian.org> (supplier of updated cdo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 04 Dec 2012 21:42:43 +0000
Source: cdo
Binary: cdo libcdi0 libcdi-dev
Architecture: source i386
Version: 1.5.4+dfsg.1-5
Distribution: testing-proposed-updates
Urgency: low
Maintainer: Alastair McKinstry <mckinstry@debian.org>
Changed-By: Alastair McKinstry <mckinstry@debian.org>
Description: 
 cdo        - Climate Data Operators
 libcdi-dev - Development files for the climate data interface library
 libcdi0    - Climate Data Interface (cdi) library
Closes: 695009
Changes: 
 cdo (1.5.4+dfsg.1-5) testing-proposed-updates; urgency=low
 .
    * Fix for data loss due to '--enable-cgribex' not enabled. Thanks to
     Marco Galli. Closes: #695009.
Checksums-Sha1: 
 7e6dc2eb402295523376bc00b422ad8a1dcf73a0 1982 cdo_1.5.4+dfsg.1-5.dsc
 a4f378a05d70679fa40139ca21702e66f3e783fb 16749 cdo_1.5.4+dfsg.1-5.debian.tar.gz
 308eda72f776510c6b897f40b73c4a09058ce229 1544550 cdo_1.5.4+dfsg.1-5_i386.deb
 5102318c979b86d9b16002462b850eb8c923efd7 322752 libcdi0_1.5.4+dfsg.1-5_i386.deb
 8b6d8f68cef84a785ddf0ebde0d2f78be43c766e 403534 libcdi-dev_1.5.4+dfsg.1-5_i386.deb
Checksums-Sha256: 
 16f1c285f36d6ad4be113df5ffc39dad61f068960e1beac6a13caf93f5d030d5 1982 cdo_1.5.4+dfsg.1-5.dsc
 639e19c3d729253fac1b56be498fd507c51654c021922a6e4df8da765bc87b1d 16749 cdo_1.5.4+dfsg.1-5.debian.tar.gz
 317bc948ac03c03e9b96b04fa38b51febe3461edb48f0f581e68a2177da5cfc4 1544550 cdo_1.5.4+dfsg.1-5_i386.deb
 91da00ada93fd9ba44185131d3ec7a4afbb888b87408f92bd39761e3f9714cb3 322752 libcdi0_1.5.4+dfsg.1-5_i386.deb
 da6214ef8a1c1b5900c8033bd59dddc02dc3276713f97376d4080d2e1f97854c 403534 libcdi-dev_1.5.4+dfsg.1-5_i386.deb
Files: 
 3f9f593069d7da8f3804776c930a1fc3 1982 utils extra cdo_1.5.4+dfsg.1-5.dsc
 02d90431223439b14aa0572db1304d43 16749 utils extra cdo_1.5.4+dfsg.1-5.debian.tar.gz
 4868d805c64fddcd2ed2511675728e81 1544550 utils extra cdo_1.5.4+dfsg.1-5_i386.deb
 71313839f9e93bdd3f6a5cae1444d442 322752 libs extra libcdi0_1.5.4+dfsg.1-5_i386.deb
 cefe276038b1dcc234ca821970a79c73 403534 libdevel extra libcdi-dev_1.5.4+dfsg.1-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQvnLtAAoJEN9LdrZRJ3QsH7IP/iY213iTJ6u4sG4Nz1JKVUyw
n0dmhGEuhPWPvDPr1w6qek3uoR9MdyKbDy1klA7q1e6FHakYT+1yaEW2erOc6BI6
J4G64aEp96FWSp//kN2T7SIcUE36Cqn2iVxzHFv72A4OKmdxsyCOqNxUgHb8OYRY
+JeZTQLuyzpub6twwP0haWs4Z9p3D7l4cAjxmo6hXwrLAkYPpQGikSXuPkA7UXTO
MuqIAeMD3XUDG8TmySlAhGV125Y3geQFAPBDEkfiK6fQui9Cj8KPeYXzslrEatuk
I2uaf+U5/HxbdTd8hsmk13geAXxyav5Az06ScRKGUOUayDudQtNCJIcBV1EKoaCt
SJ8mYCVInwitIT4HNwxsRvNa3uxGBxF5nmMDbWVVuz0q0aBgi28cSflHkdLhymzL
KpvIm/Simon6XJMGdjxNhCzWuiH3MuWdzPIDz6pngHHYuwMJ+trIxUa3KE+uviVQ
/6ev9yWIMAtEJG3/sNv0/wF6c9gDLoZnWZh9xbD2O2tWKDWD0g0y4EMd5A8/wNtY
mPgLJRilYB6vfgrTm5Rgk4mhtehUuSZ3n9EiaQObOFE6ofWePx1umauLqrT6/WIQ
VDNHkT4wJJIOSDp0UV4rwsDtmPu6PesYWNV9PUsnpnKf2ZQpvx454TzUdPRSvQMi
YpQJ9ADDzBiXTWRkvS6E
=wTrj
-----END PGP SIGNATURE-----




Reply sent to Alastair McKinstry <mckinstry@debian.org>:
You have taken responsibility. (Thu, 06 Dec 2012 11:51:13 GMT) (full text, mbox, link).


Notification sent to "fco.plj@gmail.com" <fco.plj@gmail.com>:
Bug acknowledged by developer. (Thu, 06 Dec 2012 11:51:13 GMT) (full text, mbox, link).


Message #15 received at 695009-close@bugs.debian.org (full text, mbox, reply):

From: Alastair McKinstry <mckinstry@debian.org>
To: 695009-close@bugs.debian.org
Subject: Bug#695009: fixed in cdo 1.5.6.1+dfsg.1-3
Date: Thu, 06 Dec 2012 11:50:10 +0000
Source: cdo
Source-Version: 1.5.6.1+dfsg.1-3

We believe that the bug you reported is fixed in the latest version of
cdo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 695009@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckinstry@debian.org> (supplier of updated cdo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 03 Dec 2012 14:30:24 +0000
Source: cdo
Binary: cdo libcdi0 libcdi-dev
Architecture: source i386
Version: 1.5.6.1+dfsg.1-3
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <mckinstry@debian.org>
Changed-By: Alastair McKinstry <mckinstry@debian.org>
Description: 
 cdo        - Climate Data Operators
 libcdi-dev - Development files for the climate data interface library
 libcdi0    - Climate Data Interface (cdi) library
Closes: 695009
Changes: 
 cdo (1.5.6.1+dfsg.1-3) unstable; urgency=low
 .
   * Fix for data loss due to '--enable-cgribex' not enabled. Thanks to
     Marco Galli. Closes: #695009.
Checksums-Sha1: 
 ae9c0c53ac91fe7a33d2a223d6074d5396a622c2 2054 cdo_1.5.6.1+dfsg.1-3.dsc
 7eae124bd5898e5c47328ae7c80486d371643249 8745 cdo_1.5.6.1+dfsg.1-3.debian.tar.bz2
 1dbdf4845aa9a9b4c75266ffe0583e67ee8d56e0 1543546 cdo_1.5.6.1+dfsg.1-3_i386.deb
 287686e8cfc7c47159e4e8604798b53a80381a92 331122 libcdi0_1.5.6.1+dfsg.1-3_i386.deb
 c9dcd9a1b816e6e3ba4f850d8b452eef216d098c 413824 libcdi-dev_1.5.6.1+dfsg.1-3_i386.deb
Checksums-Sha256: 
 321097514b496c60b08afb1dbffb5e65e9a7cfe6eb02f020fd1b040cac91ca99 2054 cdo_1.5.6.1+dfsg.1-3.dsc
 da6e433e8fe4dadd19cb96edf7759460937943c556b7da8b020a4a2fcfbfb3d6 8745 cdo_1.5.6.1+dfsg.1-3.debian.tar.bz2
 a12860aba5bb978f09442493408667740612791e28724a9dd13119fa92966161 1543546 cdo_1.5.6.1+dfsg.1-3_i386.deb
 f76995c6d5adf30afb7850d6c3bfbf08195f365894a94e77d0b10a11d5c4fecb 331122 libcdi0_1.5.6.1+dfsg.1-3_i386.deb
 70e77239b1e39fe04991c4f17c3b621faefbad91861bacbb17bcb458c6b71008 413824 libcdi-dev_1.5.6.1+dfsg.1-3_i386.deb
Files: 
 2c8500a6cc62c474f9bf111beac323ea 2054 utils extra cdo_1.5.6.1+dfsg.1-3.dsc
 e6c75e9624bac8425b55a335b192c914 8745 utils extra cdo_1.5.6.1+dfsg.1-3.debian.tar.bz2
 42d6e4a5a6879d9e1b6a0ace73774dd1 1543546 utils extra cdo_1.5.6.1+dfsg.1-3_i386.deb
 8f9cf68cbb6fcf514d428030c9d70a78 331122 libs extra libcdi0_1.5.6.1+dfsg.1-3_i386.deb
 52e47a2f1707f9c3bd1286075cdb0072 413824 libdevel extra libcdi-dev_1.5.6.1+dfsg.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQvm0VAAoJEN9LdrZRJ3QsPz0P/jj5N/P8hSnAuG1RCsL74YU5
mYbOS+v+EiYybn2fgeMJ1n5NXYnqEsHmQtO8Ol45EMNRwTdhe4Hi85MUaedbpB1C
X17vt2joelvVr+nfk/oNgpryCcS4YSVQADCQje3boBBKPrXSE39+MCyAdpCu6aCo
HPTUWQPrqBoQzL5iEmzSiHH+GKV2/l5ILUlWxuOoeNd461NkxFXOQXOgjnv6gBD4
ulHANRtnj+9QRMQP0j35no1Tf60ySZV5AhUjKNsJKIW+rgqTREWNbAItnsWGFQxA
DM+cpGI4MIB/+rsVz5qE6sKHVc1orhErTJi6lOF+oHPpMueEh2Z4j3eqWDz/ZKkQ
I6duimqBGTem5VcPRRHyRIsA8QtBqygLBMdge31Bh0UxsLwFhNnWadnlD0P1tMw7
kWiJrsLNxdMvdAIVM5u/SqIqskZYrqSspSUfNN79qtTYpYTfErBs7Xfkj48z6Onx
r8Jd3D7AIPz6jUPKR4/PRpiiAUoexmjWFP7zJqi7OGwyDNJRIYXsGjC1GNA8u7MC
dmqqreqbHLWeKPAZHbb+yE+6s44gTEhVGSegOhlek8leiaPJNQtWxyBM3Lyx7U+e
m1D7Otq8GN2b2SvWAsrYygDBut6BYa1XXu/9OO25pcMQBjDurcWi2ZYuZ/oGlKbd
ZDPAvxTXWo9Xb13qdY43
=Vei7
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 04 Jan 2013 07:25:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 07:18:02 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.