Project

General

Profile

Can't download topo file

Added by Daniela Osorio 12 months ago

Hi,

I am a complete beginner to CDO. I am trying to download a topography map using the following code: cdo -f nc topo,r720x360 topo.n
When trying to run it, I get the following message:
cdo topo: Open failed on >topo.nc<
Unsupported file type (library support not compiled in)

This is what i get when running cdo -V:

Climate Data Operators version 2.2.0 (https://mpimet.mpg.de/cdo)
System: x86_64-apple-darwin21.4.0
CXX Compiler: g++ -std=gnu++17 -g -O2 -pthread
CXX version : Apple clang version 13.1.6 (clang-1316.0.21.2.3)
C Compiler: gcc -g -O2 -pthread -pthread
C version : Apple clang version 13.1.6 (clang-1316.0.21.2.3)
F77 Compiler:
Features: 8GB 4threads c++17 pthreads sse4_1
Libraries: yac/2.6.1
CDI data types: SizeType=size_t
CDI file types: srv ext ieg grb1
CDI library version : 2.2.1
cgribex library version : 2.1.0
exse library version : 1.5.0
FILE library version : 1.9.1

Since I did not see netCDF listed, I downloaded it and installed it following these instructions: https://docs.unidata.ucar.edu/nug/current/getting_and_building_netcdf.html
However, I still do not see it under cdo -V. Could that be the problem?
How do I fix this?

Thanks!


Replies (1)

RE: Can't download topo file - Added by Karin Meier-Fleischer 12 months ago

Hi Daniela,

it seems that your CDO is not build with netCDF. I've installed the version 2.2.0 with conda and it works well.

    (1-1/1)