Package: cdo
Version: 1.6.3+dfsg.1-2
Severity: normal

Dear Maintainer,

the execution of the two commands:

  cdo selname,param8.1.0 -seldate,2014-03-03T12:00:00,2014-04-03T00:00:00 
00/globo_201403020 0_00.grib2 qq.grib2
  cdo -f nc selname,param8.1.0 -seldate,2014-03-03T12:00:00,2014-04-03T00:00:00 
00/globo_201 4030200_00.grib2 qq.nc

give different results (checked with cdo sinfo). The result of the first
command gives wrong dates:
   Time coordinate :  unlimited steps
     RefTime =  2014-03-02 00:00:00  Units = minutes  Calendar = 
proleptic_gregorian
  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD 
hh:mm:ss
  2014-05-31 00:00:00  2014-06-30 00:00:00  2014-07-30 00:00:00  2014-08-29 
00:00:00
  2014-09-28 00:00:00  2014-10-28 00:00:00  2014-11-27 00:00:00  2014-12-27 
00:00:00
  2015-01-26 00:00:00  2015-02-25 00:00:00  2015-03-27 00:00:00  2015-04-26 
00:00:00
  2015-05-26 00:00:00  2015-06-25 00:00:00  2015-07-25 00:00:00  2015-08-24 
00:00:00
  2015-09-23 00:00:00  2015-10-23 00:00:00  2015-11-22 00:00:00  2015-12-22 
00:00:00
  2016-01-21 00:00:00  2016-02-20 00:00:00  2016-03-21 00:00:00  2016-04-20 
00:00:00
  2016-05-20 00:00:00  2016-06-19 00:00:00  2016-07-19 00:00:00  2016-08-18 
00:00:00
  2016-09-17 00:00:00  2016-10-17 00:00:00  2016-11-16 00:00:00  2016-12-16 
00:00:00
  2017-01-15 00:00:00  2017-02-14 00:00:00  2017-03-16 00:00:00  2017-04-15 
00:00:00
  2017-05-15 00:00:00  2017-06-14 00:00:00  2017-07-14 00:00:00  2017-08-13 
00:00:00
  2017-09-12 00:00:00  2017-10-12 00:00:00  2017-11-11 00:00:00  2017-12-11 
00:00:00
  2018-01-10 00:00:00  2018-02-09 00:00:00  2018-03-11 00:00:00  2018-04-10 
00:00:00
  2018-05-10 00:00:00  2018-06-09 00:00:00  2018-07-09 00:00:00  2018-08-08 
00:00:00
  2018-09-07 00:00:00  2018-10-07 00:00:00  2018-11-06 00:00:00  2018-12-06 
00:00:00
  2019-01-05 00:00:00  2019-02-04 00:00:00  2019-03-06 00:00:00  2019-04-05 
00:00:00
  2019-05-05 00:00:00  2019-06-04 00:00:00

while the second gives:
   Time coordinate :  62 steps
     RefTime =  2014-03-02 00:00:00  Units = minutes  Calendar = 
proleptic_gregorian
  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD 
hh:mm:ss
  2014-03-03 12:00:00  2014-03-04 00:00:00  2014-03-04 12:00:00  2014-03-05 
00:00:00
  2014-03-05 12:00:00  2014-03-06 00:00:00  2014-03-06 12:00:00  2014-03-07 
00:00:00
  2014-03-07 12:00:00  2014-03-08 00:00:00  2014-03-08 12:00:00  2014-03-09 
00:00:00
  2014-03-09 12:00:00  2014-03-10 00:00:00  2014-03-10 12:00:00  2014-03-11 
00:00:00
  2014-03-11 12:00:00  2014-03-12 00:00:00  2014-03-12 12:00:00  2014-03-13 
00:00:00
  2014-03-13 12:00:00  2014-03-14 00:00:00  2014-03-14 12:00:00  2014-03-15 
00:00:00
  2014-03-15 12:00:00  2014-03-16 00:00:00  2014-03-16 12:00:00  2014-03-17 
00:00:00
  2014-03-17 12:00:00  2014-03-18 00:00:00  2014-03-18 12:00:00  2014-03-19 
00:00:00
  2014-03-19 12:00:00  2014-03-20 00:00:00  2014-03-20 12:00:00  2014-03-21 
00:00:00
  2014-03-21 12:00:00  2014-03-22 00:00:00  2014-03-22 12:00:00  2014-03-23 
00:00:00
  2014-03-23 12:00:00  2014-03-24 00:00:00  2014-03-24 12:00:00  2014-03-25 
00:00:00
  2014-03-25 12:00:00  2014-03-26 00:00:00  2014-03-26 12:00:00  2014-03-27 
00:00:00
  2014-03-27 12:00:00  2014-03-28 00:00:00  2014-03-28 12:00:00  2014-03-29 
00:00:00
  2014-03-29 12:00:00  2014-03-30 00:00:00  2014-03-30 12:00:00  2014-03-31 
00:00:00
  2014-03-31 12:00:00  2014-04-01 00:00:00  2014-04-01 12:00:00  2014-04-02 
00:00:00
  2014-04-02 12:00:00  2014-04-03 00:00:00

In addition: if I execute
  cdo selname,param8.1.0 00/globo_2014030200_00.grib2 tmp.grib2
and then
  cdo seldate,2014-03-03T12:00:00,2014-04-03T00:00:00 tmp.grib2 qq.grib2
I get the right dates.

In wheezy with cdo rebuilt for a backport of grib-api (1.10.4) I get the
right result.

Let me know if you need the input file (300MB) to reproduce the
error, I will made it available for download.

Regards,
Alberto


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

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdo depends on:
ii  libc6                          2.18-4
ii  libcdi0                        1.6.3+dfsg.1-2
ii  libhdf5-openmpi-7 [libhdf5-7]  1.8.12+docs-1
ii  libnetcdfc7                    1:4.1.3-7
ii  libproj0                       4.8.0-2

cdo recommends no packages.

cdo suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to