Project

General

Profile

proj4

Added by F Lapointe almost 5 years ago

Hi,

While I was remapping a dataset with

cdo remapbil,CDO_proj ESL_-31000.nc ESL_-31000b.nc

I have got this error:

cdo remapbil (Abort): proj4 support not compiled in!

What is the meaning of such error, i.e module proj4 not loaded or other?
My data are attached with the remapping script.
Thanks

François

ESL_-31000.nc (14.4 MB) ESL_-31000.nc data
CDO_proj (366 Bytes) CDO_proj CDO script

Replies (2)

RE: proj4 - Added by Ralf Mueller almost 5 years ago

hi François!

The CDO binary can be built with support of several external libraries. Each of them enlarges the featureset of CDO, like netcdf output (libnetcdf), grib2 output (eccodes) , fast four transformation (fftw3) and some more

you can check, what your binary can do with

cdo -V
On my machine this looks like
% cdo -V 
Climate Data Operators version 1.9.6 (http://mpimet.mpg.de/cdo)
System: x86_64-pc-linux-gnu
CXX Compiler: g++ -g -O3 -std=c++11 -Wall -fopenmp -march=native  -ftree-vectorize -mavx2  
CXX version : g++ (GCC) 8.2.1 20181127
C Compiler: gcc -g -O3 -std=gnu99 -Wall -fopenmp -march=native -ftree-vectorize -mavx2   
C version : gcc (GCC) 8.2.1 20181127
F77 Compiler: gfortran -g -O2
F77 version : GNU Fortran (GCC) 8.2.1 20181127
Features: 15GB 8threads C++11 Fortran DATA PTHREADS OpenMP45 HDF5 NC4/HDF5 OPeNDAP SZ UDUNITS2 PROJ.4 XML2 MAGICS CURL FFTW3 AVX2
Libraries: HDF5/1.10.5 proj/5.2 xml2/2.9.9 curl/7.64.1(h7.64.0)
Filetypes: srv ext ieg grb1 grb2 nc1 nc2 nc4 nc4c nc5 
     CDI library version : 1.9.6
 cgribex library version : 1.9.2
 ecCodes library version : 2.10.0
  NetCDF library version : 4.7.0 of Apr 30 2019 10:28:18 $
    hdf5 library version : 1.10.5
    exse library version : 1.4.1
    FILE library version : 1.8.3

cheers
ralf

PS: i will check your data with my CDO version

RE: proj4 - Added by Ralf Mueller almost 5 years ago

your input file has time-dependent coordinates - CDO is not able to handle this. Even if I get rid of the time-dimention in the coordinates (since there is only a single timestep) by

cdo --reduce_dim -copy ESL_-31000.nc t.nc
the coodinates do not seem to be correct
% cdo sinfov t.nc 
   File format : NetCDF
    -1 : Institut Source   T Steptype Levels Num    Points Num Dtype : Parameter name
     1 : unknown  unknown  c instant       1   1   1256561   1  F32  : delta_SL      
   Grid coordinates :
     1 : curvilinear              : points=1256561 (661x1901)
                              lon : -80 to 4.490262e+19 degreeN
                              lat : -1.595315 to 4.490262e+19 degreeE
   Vertical coordinates :
     1 : surface  
lon : -80 to 4.490262e+19 degreeN doesn't seem right

cheers
ralf

    (1-2/2)