summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-rios/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rios/package.py b/var/spack/repos/builtin/packages/py-rios/package.py
new file mode 100644
index 0000000000..a2b56e941a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rios/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyRios(PythonPackage):
+ """Raster I/O Simplification. A set of python modules which makes it easy
+ to write raster processing code in Python. Built on top of GDAL, it
+ handles the details of opening and closing files, checking alignment of
+ projection and raster grid, stepping through the raster in small blocks,
+ etc., allowing the programmer to concentrate on the processing involved.
+ """
+
+ homepage = "http://rioshome.org"
+ url = "https://github.com/ubarsc/rios/archive/rios-1.4.10.tar.gz"
+
+ version('1.4.10', sha256='7f11b54eb1f2ec551d7fc01c039b60bf2c67f0c2fc5b2946f8d986d6a9bc7063')
+
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('gdal+python', type=('build', 'run'))