Error: gridarea
Added by Szabo-Takacs Beata over 10 years ago
Hi,
I try to install cdo-1.6.4rc4 to UBUNTU 14.04. I installed the required software: zlib, HDF5, NetCDF, Jasper, Grib-api. I configured cdo with the following way: ./configure --prefix=/opt/cdo-install CFLAGS=-fPIC --with-netcdf=/opt/cdo-install --with-jasper=/opt/cdo-install --with-hdf5=/opt/cdo-install --with-grib_api=/opt/cdo-install. After the make check I got 6 gridarea errors which are reported in test-suite.log. I attached this log file. Could someone help me how I can solve this problem? Thank you for your help in advance!
Beata
test-suite.log (5.39 KB) test-suite.log |
Replies (2)
RE: Error: gridarea - Added by Uwe Schulzweida over 10 years ago
Hi Beata,
Thanks for this report! The first line of the Gridarea test is not correct. Could you please copy the attached file to the CDO test directory and try it again?
Cheers,
Uwe
Gridarea.test.in (780 Bytes) Gridarea.test.in |
RE: Error: gridarea - Added by Szabo-Takacs Beata over 10 years ago
Hi Uwe,
Thank you for your help. I copied the attached file as you suggested and the make check was successful. After that a installed the cdo by sudo make install. When I tested it with a grib file using: cdo sinfo test.grb I got the following error message: cdo is not installed. Originally I built and installed the require libraries (zlib-1.2.8, hdf5-1.8.12,grib_api-1.9.18, jasper-1.900.1, netcdf-4.2.1.1, cdo-1.6.4rc4) by the following way:
Created a directory that holds the installation libs and include files in /opt/cdo-install
Install zlib using
./configure --prefix =/opt/cdo-install
‘make’, ‘make check’ and ‘make install’
Install HDF5 using
./configure --with-zlib=/opt/cdo-install --prefix=/opt/cdo-install CFLAGS=-fPIC
‘make’, ‘make check’ and ‘make install’
Install NetCDF using
CPPFLAGS=-I/opt/cdo-install/include LDFLAGS=-L/opt/cdo-install/lib ./configure --prefix=/opt/cdo-install CFLAGS=-fPIC
‘make’, ‘make check’ and ‘make install’
Install Jasper using
./configure --prefix=/opt/cdo-install CFLAGS=-fPIC
‘make’, ‘make check’ and ‘make install’
Install grib using
./configure --prefix=/opt/cdo-install CFLAGS=-fPIC --with-netcdf=/opt/cdo-install --with-jasper=/opt/cdo-install
‘make’, ‘make check’ and ‘make install’
Install cdo using
./configure --prefix=/opt/cdo-install CFLAGS=-fPIC --with-netcdf=/opt/cdo-install --with-jasper=/opt/cdo-install --with-hdf5=/opt/cdo-install --with-grib_api=/opt/cdo-install
‘make’, ‘make check’ and ‘make install’
I reviewed the ubuntu software center and I installed cdo by it. So now the cdo 1.6.2+dfsg.1-1 version is installed. I tested it again with the above mentioned operator and the following error message was written:
Error (gribapiGetGrid): unsupported grid type: lcc
I do not understand what the problem is? Could you write me what I should to do?
Thank you for your help in advance!
Beata