- Table of contents
- Windows Systems
- Windows 10
- Native support
Cygwin - reommended¶
Binary Release¶CDO can be used within cygwin, which is a Unix-like environment for Windows.
The pre-built cygwin binary needs the following runtine dependencies:
- ssl + ssh
Since nether eccodes nor its predecessor grib_api are available as cygwin packages, the corresponding dll is shipped with the binary release:
Archive: cdo-1.9.6rc3-cygwin64-Win10.zip Length Date Time Name --------- ---------- ----- ---- 121720062 2018-11-19 10:53 cdo.exe 11243875 2018-11-19 11:40 cygeccodes.dll
Please copy both files into a directory that's listed in the
$PATHvariable or create a new one and add it to
$PATH. Based on this installation you can make use of the scripting language bindings for CDO within cygwin
Unfortunately the GRIB1/2 library
eccodes does not work with only the dll file - You need the download and extract the source-tarball from here and set the environment variable
ECCODES_DEFINITION_PATH to the
definitions subdirectory of the extracted source code with its full absolute path. Don't forget to make that persistent by adding tto your favourite shell config file (
.cshrc or so).
Custom build - not recommended, but possible¶
If you prefer compilation, you can use cygwins package manager to install the latest version of netcdf, hdf5 and all the other dependencies. Most of them are already avaialble.
If you installed libraries via cygwins setup.exe, just configure cdo like this:
./configure --with-netcdf --with-hdf5and the other options you might need.
If manual installation does not fear you and you have to stick to Windows, we recommend using cygwin for getting the maximum functionality out of CDO.
Windows 10¶In the current windows 10 version(s) Microsoft included an Ubuntu 16.04 LTS embedded Linux. Older versions needed an additional activation of the developer mode. This environment offers a clean integration with the windows file systems and and the opportunity to install CDO via the native package manager of Ubuntu:
sudo apt-get install cdoThe current CDO-version in this Ubuntu release is 1.7.2, which might be sufficient for your purpose. If you need a more recent version, you can
- update the complete ubuntu system - not sure if this is possible on a Windows10 host system.
- install cdo manually like on any POSIX system
A native build for windows systems is not part of our plans for the future since most of our target systems are POSIX-compatible and with cygwin and the built-in Ubuntu system there are two platforms available with very good window integration.