summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilton Woods <miltonjwoods@gmail.com>2019-07-05 00:38:48 +1000
committerElizabeth Fischer <elizabeth.fischer@columbia.edu>2019-07-04 10:38:48 -0400
commita7da5dcb199a2aa3f189f2e67dac25b5ea578525 (patch)
tree5e3ee807595bacb4baeedc67a3a8139a1c3f86dd
parentd88c657f79e6b8d1689979931ae8da47d158a223 (diff)
downloadspack-a7da5dcb199a2aa3f189f2e67dac25b5ea578525.tar.gz
spack-a7da5dcb199a2aa3f189f2e67dac25b5ea578525.tar.bz2
spack-a7da5dcb199a2aa3f189f2e67dac25b5ea578525.tar.xz
spack-a7da5dcb199a2aa3f189f2e67dac25b5ea578525.zip
py-stratify: vertical interpolation/stratification of atmos/ocean data (#11911)
* py-stratify: vertical interpolation/stratification of atmos/ocean data * py-stratify: download from pypi.io
-rw-r--r--var/spack/repos/builtin/packages/py-stratify/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-stratify/package.py b/var/spack/repos/builtin/packages/py-stratify/package.py
new file mode 100644
index 0000000000..2323c0f551
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-stratify/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2019 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 PyStratify(PythonPackage):
+ """Vectorized interpolators that are especially useful for
+ Nd vertical interpolation/stratification of atmospheric and
+ oceanographic datasets.
+ """
+
+ homepage = "https://github.com/SciTools-incubator/python-stratify"
+ url = "https://pypi.io/packages/source/s/stratify/stratify-0.1.tar.gz"
+
+ version('0.1', sha256='5426f3b66e45e1010952d426e5a7be42cd45fe65f1cd73a98fee1eb7c110c6ee')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-cython', type=('build', 'run'))