From d91025e3d0f7a30b38798bc4ef9c0f96d3f85db7 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Wed, 19 Oct 2016 11:44:33 +0200 Subject: [PATCH] gnu: Add coda. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maths.scm (coda): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/maths.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 0cdf4f74b5..2928cb63a3 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -113,6 +113,37 @@ interactive dialogs to guide them.") (license license:gpl3+) (home-page "http://www.gnu.org/software/c-graph/"))) +(define-public coda + (package + (name "coda") + (version "2.17.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/stcorp/coda/releases/download/" + version "/coda-" version ".tar.gz")) + (sha256 + (base32 "04b9l3wzcix0mnfq77mwnil6cbr8h2mki8myvy0lzn236qcwaq1h")))) + (native-inputs + `(("fortran" ,gfortran) + ("python" ,python) + ("python-numpy" ,python-numpy))) + (inputs + `(("zlib" ,zlib) + ("hdf4" ,hdf4-alt) + ("hdf5" ,hdf5))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--with-hdf4" "--with-hdf5" "--enable-python"))) + (synopsis "A common interface to various earth observation data formats") + (description + "The Common Data Access toolbox (CODA) provides a set of interfaces for +reading remote sensing data from earth observation data files. It consists of +command line applications and interfaces to the C, Fortran, Python, and Java +programming languages.") + (home-page "https://stcorp.nl/coda") + (license license:gpl2+))) + (define-public units (package (name "units")