Project

General

Profile

sellonlatbox - unsupported grid type - only in cdo 1.7.0 ??

Added by Matthias Demuzere almost 8 years ago

Hi all,

Before the update of machine, I was able to perform the following command with cdo 1.6.8cr3 (specifications below)

cdo -f nc -R sellonlatbox,180.,180.,-90.,90. test_in.grb1 test_out.nc

If I do the same now with the new version (cdo 1.7.0, specifications below), I get the following error:

_cdo sellonlatbox: Unsupported grid type: gaussian reduced
cdo sellonlatbox: Use option -R to convert Gaussian reduced grid to a regular grid!

cdo sellonlatbox (Abort): Unsupported grid type!_

Any idea of what might be causing this?

cdo 1.6.8cr3 specifications: ============================
Climate Data Operators version 1.6.8rc3 (http://mpimet.mpg.de/cdo)
Compiled: by matthias on Maffie-E7440 (x86_64-unknown-linux-gnu) Mar 12 2015 09:45:33
Compiler: gcc -std=gnu99 -g -O2 -fopenmp
version: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Features: PTHREADS OpenMP NC4 OPeNDAP Z SSE2
Libraries:
Filetypes: srv ext ieg grb nc nc2 nc4 nc4c
CDI library version : 1.6.8 of Mar 12 2015 09:44:55
CGRIBEX library version : 1.7.1 of Mar 4 2015 13:33:34
netCDF library version : 4.3.3 of Mar 12 2015 09:31:50 $
HDF5 library version : 1.8.11
SERVICE library version : 1.3.2 of Mar 12 2015 09:44:45
EXTRA library version : 1.3.2 of Mar 12 2015 09:44:40
IEG library version : 1.3.3 of Mar 12 2015 09:44:43
FILE library version : 1.8.2 of Mar 12 2015 09:44:41

cdo 1.7.0 specifications: ============================

Climate Data Operators version 1.7.0 (http://mpimet.mpg.de/cdo)
Compiler: gcc -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -fopenmp
version: gcc (Ubuntu 5.3.1-9ubuntu2) 5.3.1 20160220
Features: DATA PTHREADS OpenMP4 HDF5 NC4/HDF5/threadsafe OPeNDAP SZ Z UDUNITS2 PROJ.4 MAGICS CURL FFTW3 SSE2
Libraries: HDF5/1.8.16 proj/4.92 curl/7.47.0
Filetypes: srv ext ieg grb grb2 nc nc2 nc4 nc4c
CDI library version : 1.7.0
GRIB_API library version : 1.14.4
netCDF library version : 4.4.0 of Mar 29 2016 11:41:40 $
HDF5 library version : 1.8.16
SERVICE library version : 1.4.0
EXTRA library version : 1.4.0
IEG library version : 1.4.0
FILE library version : 1.8.2


Replies (3)

RE: sellonlatbox - unsupported grid type - only in cdo 1.7.0 ?? - Added by Ralf Mueller almost 8 years ago

ram@luthien:~/Downloads cdo -f nc -R sellonlatbox,180.,180.,-90.,90. test_in.grb1 test_out.nc                                                                                                                              [11:54:48|16-06-21]
cdo sellonlatbox: Processed 9625600 values from 5 variables over 1 timestep ( 0.05s )
ram@luthien:~/Downloads cdo -V                                                                                                                                                                                             [11:54:51|16-06-21]
Climate Data Operators version 1.7.1 (http://mpimet.mpg.de/cdo)
Compiled: by ram on luthien (x86_64-unknown-linux-gnu) May  6 2016 16:32:01
Compiler: gcc -g -O3 -std=gnu99 -Wall -fopenmp -march=native   
 version: gcc (GCC) 5.3.0
Features: DATA PTHREADS OpenMP4 HDF5 NC4/HDF5 OPeNDAP SZ Z UDUNITS2 PROJ.4 CURL FFTW3 AVX2
Libraries: HDF5/1.10.0 proj/4.92 curl/7.49.1(h7.48.0)
Filetypes: srv ext ieg grb grb2 nc nc2 nc4 nc4c 
     CDI library version : 1.7.1 of May  6 2016 16:31:43
 CGRIBEX library version : 1.7.4 of Feb 19 2016 11:03:41
GRIB_API library version : 1.14.2
  NetCDF library version : 4.4.1-rc1 of Apr 20 2016 12:06:30 $
    HDF5 library version : 1.10.0
 SERVICE library version : 1.4.0 of May  6 2016 16:31:41
   EXTRA library version : 1.4.0 of May  6 2016 16:31:40
     IEG library version : 1.4.0 of May  6 2016 16:31:40
    FILE library version : 1.8.2 of May  6 2016 16:31:40

ram@luthien:~/Downloads cdo sinfov test_out.nc                                                                                                                                                                             [11:54:55|16-06-21]
   File format : NetCDF
    -1 : Institut Source   Steptype Levels Num    Points Num Dtype : Parameter name
     1 : ECMWF    unknown  instant       1   1       160   1  F32  : var141        
     2 : ECMWF    unknown  instant       1   1       160   1  F32  : var235        
     3 : ECMWF    unknown  instant      62   2       160   1  F32  : var133        
     4 : ECMWF    unknown  instant      62   2       160   1  F32  : var246        
     5 : ECMWF    unknown  instant      62   2       160   1  F32  : var247        
   Grid coordinates :
     1 : gaussian                 : points=160 (1x160)  np=0
                              lon : 180 degrees_east
                              lat : 89.1415 to -89.1415 degrees_north
   Vertical coordinates :
     1 : surface                  : levels=1
     2 : hybrid                   : levels=62
                              lev : 1 to 62 by 1 level
                        available : vct
   Time coordinate :  1 step
     RefTime =  2050-01-01 06:00:00  Units = hours  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
  2050-01-01 06:00:00
cdo sinfon: Processed 5 variables over 1 timestep ( 0.00s )

1.7.1 seem to work. Can you update?

RE: sellonlatbox - unsupported grid type - only in cdo 1.7.0 ?? - Added by Matthias Demuzere almost 8 years ago

Hi Ralf!

The 1.7.0 version is the default in the ubuntu 16.04 software center.
Since I did not manage to built 1.7.1 manually, I now installed it via the .deb files provided here: https://launchpad.net/ubuntu/+source/cdo.

This now results in:
Climate Data Operators version 1.7.1 (http://mpimet.mpg.de/cdo)
Compiler: gcc -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -fopenmp
version: gcc (Ubuntu 5.4.0-4ubuntu1) 5.4.0 20160609
Features: DATA PTHREADS OpenMP4 HDF5 NC4/HDF5/threadsafe OPeNDAP SZ Z UDUNITS2 PROJ.4 MAGICS CURL FFTW3 SSE2
Libraries: HDF5/1.8.16 proj/4.92 curl/7.47.0
Filetypes: srv ext ieg grb grb2 nc nc2 nc4 nc4c
CDI library version : 1.7.1
GRIB_API library version : 1.14.4
NetCDF library version : 4.4.0 of Mar 29 2016 11:41:40 $
HDF5 library version : 1.8.16
SERVICE library version : 1.4.0
EXTRA library version : 1.4.0
IEG library version : 1.4.0
FILE library version : 1.8.2

Unfortunately, when trying the same command as above, I get the same error.
So I am not sure what is causing this?

RE: sellonlatbox - unsupported grid type - only in cdo 1.7.0 ?? - Added by Uwe Schulzweida almost 8 years ago

The CDO option -R to convert a reduced Gaussian grid to a regular Gaussian grid is only available with the CDO internal GRIB1 decoder. You are using a CDO version where this GRIB1 decoder was disabled. In this case GRIB1 messages are decoded with the GRIB_API. You can use the CDO operator setgridtype,regular instead of the CDO option -R:

cdo -f nc sellonlatbox,180.,180.,-90.,90. -setgridtype,regular test_in.grb1 test_out.nc

    (1-3/3)