summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-automap/package.py27
-rw-r--r--var/spack/repos/builtin/packages/r-hydrogof/package.py27
-rw-r--r--var/spack/repos/builtin/packages/r-hydrotsm/package.py35
3 files changed, 89 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-automap/package.py b/var/spack/repos/builtin/packages/r-automap/package.py
new file mode 100644
index 0000000000..34a15d4847
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-automap/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2023 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.package import *
+
+
+class RAutomap(RPackage):
+ """Automatic Interpolation Package.
+
+ An automatic interpolation is done by automatically estimating the
+ variogram and then calling gstat. An overview is given by Hiemstra et al
+ (2008) <doi:10.1016/j.cageo.2008.10.011>."""
+
+ cran = "automap"
+
+ version("1.1-9", sha256="f3070aed385352d2595ceddd74cb03cd71965f2e60b675832d16ec2ead6f3a43")
+
+ depends_on("r@2.10.0:", type=("build", "run"))
+ depends_on("r-gstat", type=("build", "run"))
+ depends_on("r-lattice", type=("build", "run"))
+ depends_on("r-reshape", type=("build", "run"))
+ depends_on("r-ggplot2", type=("build", "run"))
+ depends_on("r-sp", type=("build", "run"))
+ depends_on("r-sf", type=("build", "run"))
+ depends_on("r-stars", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/r-hydrogof/package.py b/var/spack/repos/builtin/packages/r-hydrogof/package.py
new file mode 100644
index 0000000000..ac928494c5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-hydrogof/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2023 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.package import *
+
+
+class RHydrogof(RPackage):
+ """Goodness-of-Fit Functions for Comparison of Simulated and Observed
+ Hydrological Time Series.
+
+ S3 functions implementing both statistical and graphical goodness-of-fit
+ measures between observed and simulated values, mainly oriented to be used
+ during the calibration, validation, and application of hydrological models.
+ Missing values in observed and/or simulated values can be removed before
+ computations. Comments / questions / collaboration of any kind are very
+ welcomed."""
+
+ cran = "hydroGOF"
+
+ version("0.4-0", sha256="6a109740e36549a9369b5960b869e5e0a296261df7b6faba6cb3bd338d59883b")
+
+ depends_on("r@2.10.0:", type=("build", "run"))
+ depends_on("r-zoo@1.7-2:", type=("build", "run"))
+ depends_on("r-hydrotsm@0.5-0:", type=("build", "run"))
+ depends_on("r-xts@0.8-2:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/r-hydrotsm/package.py b/var/spack/repos/builtin/packages/r-hydrotsm/package.py
new file mode 100644
index 0000000000..dcafeabeb1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-hydrotsm/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2023 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.package import *
+
+
+class RHydrotsm(RPackage):
+ """Time Series Management, Analysis and Interpolation for Hydrological
+ Modelling.
+
+ S3 functions for management, analysis, interpolation and plotting of time
+ series used in hydrology and related environmental sciences. In particular,
+ this package is highly oriented to hydrological modelling tasks. The focus
+ of this package has been put in providing a collection of tools useful for
+ the daily work of hydrologists (although an effort was made to optimise
+ each function as much as possible, functionality has had priority over
+ speed). Bugs / comments / questions / collaboration of any kind are very
+ welcomed, and in particular, datasets that can be included in this package
+ for academic purposes."""
+
+ cran = "hydroTSM"
+
+ version("0.6-0", sha256="5be759845ce05ca579ed2657c85d497b78c3060d737e84fcd457153045db4ad7")
+
+ depends_on("r@2.10.0:", type=("build", "run"))
+ depends_on("r-zoo@1.7-2:", type=("build", "run"))
+ depends_on("r-xts@0.9-7:", type=("build", "run"))
+ depends_on("r-e1071", type=("build", "run"))
+ depends_on("r-gstat", type=("build", "run"))
+ depends_on("r-automap", type=("build", "run"))
+ depends_on("r-sp@1.1-0:", type=("build", "run"))
+ depends_on("r-lattice", type=("build", "run"))
+ depends_on("r-maptools", type=("build", "run"))