Project

General

Profile

MacOS Platform

The MacPorts software collection contains CDO. View its Portfile for detailed information or simply install it with

port install cdo
If you want to use GRIB2, szip compression and Magics++ graphic install it with
port install cdo +grib_api +magicspp +szip

In addition to standard features, this port provides support for GRIB2. Many thanks to Takeshi Enomoto for providing that port!

If you prefer homebrew, it is as easy as

brew tap moffat/sciencebits
brew install cdo

homebrew can be downloaded and installed in one step:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Thanks to Luiz Irber for the hint!

If this doesn't work do

curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install > brew_install_script
ruby brew_install_script
rehash