summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 11:27:41 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 12:26:31 +0100
commitb58940cb0345705a9681f2c47d668f252d00a699 (patch)
tree2c6bed3e1642f366b9809be9e1da1b4723cab1ac /gnu/packages/cran.scm
parentbfa5662e38de7bd02c493e52796c05359a984c66 (diff)
downloadguix-b58940cb0345705a9681f2c47d668f252d00a699.tar.gz
gnu: Add r-ncdf4.
* gnu/packages/cran.scm (r-ncdf4): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 43ff292cb2..11f7717bd8 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7280,3 +7280,30 @@ This package provides an R interface.")
     ;; Annoy is released under ASL 2.0, but this wrapper is released under
     ;; GPLv2+.
     (license (list license:gpl2+ license:asl2.0))))
+
+(define-public r-ncdf4
+  (package
+    (name "r-ncdf4")
+    (version "1.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ncdf4" version))
+       (sha256
+        (base32
+         "0lwjjis0b83c4l3xvqai4ckzrskd6mychck1iwxcxgjvh0d77mgd"))))
+    (build-system r-build-system)
+    (inputs
+     `(("netcdf" ,netcdf)
+       ("zlib" ,zlib)))
+    (home-page "https://cran.r-project.org/web/packages/ncdf4/index.html")
+    (synopsis "R interface to Unidata netCDF format data files")
+    (description
+     "This package provides a high-level R interface to data files written
+using Unidata's netCDF library (version 4 or earlier), which are binary data
+files that are portable across platforms and include metadata information in
+addition to the data sets.  Using this package, netCDF files can be opened and
+data sets read in easily.  It is also easy to create new netCDF dimensions,
+variables, and files, in either version 3 or 4 format, and manipulate existing
+netCDF files.")
+    (license license:gpl3+)))