From d003fb5a519341a23973e8565ac7bc3195742808 Mon Sep 17 00:00:00 2001 From: r0man Date: Sat, 25 Jun 2022 12:10:00 +0200 Subject: [PATCH] Add Climate Data Operators package This patch adds CDO, a collection of command line Operators to manipulate and analyse Climate and NWP model Data to Guix's geo module. --- gnu/packages/geo.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 7b29c55088..7ce1d2bda2 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -119,6 +119,33 @@ (define-module (gnu packages geo) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) +(define-public cdo + (package + (name "cdo") + (version "2.0.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://code.mpimet.mpg.de/attachments/download/26823/cdo-" + version ".tar.gz")) + (sha256 + (base32 + "1khdbd5cmnn7qm6hcqg4md5wbq14fs6brrns8b3g18diqgqvpvpd")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-netcdf=" (assoc-ref %build-inputs "netcdf"))))) + (inputs + (list netcdf)) + (native-inputs + (list pkg-config)) + (home-page "https://code.mpimet.mpg.de/projects/cdo") + (synopsis "Climate Data Operators") + (description "CDO is a collection of command line Operators to manipulate and analyse +Climate and NWP model Data. Supported data formats are GRIB 1/2, netCDF 3/4, +SERVICE, EXTRA and IEG. There are more than 600 operators available.") + (license license:bsd-3))) + (define-public memphis (package (name "memphis") -- 2.36.1