summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rios/package.py
blob: 1eac1c5b33c392ece38a765796a85cac9ea54420 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2021 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 = "https://www.rioshome.org/en/latest/"
    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'))