diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-09-14 00:31:57 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-09-14 00:37:46 +0200 |
commit | 5ad9da9ab32761181ace8e41d7af9798e7ce9ea9 (patch) | |
tree | f7ac41852f03f64c4de4cbed32bc77224c86d0b2 /gnu | |
parent | a0244ef0008dd3c45ede84d5692c4be4327b60d0 (diff) | |
download | patches-5ad9da9ab32761181ace8e41d7af9798e7ce9ea9.tar patches-5ad9da9ab32761181ace8e41d7af9798e7ce9ea9.tar.gz |
gnu: Add r-insol.
* gnu/packages/cran.scm (r-insol): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cran.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 3c300a39a6..8228f2d988 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15449,3 +15449,31 @@ effect size.") Library (GDAL) and access to projection/transformation operations from the PROJ.4 library.") (license license:gpl2+))) + +(define-public r-insol + (package + (name "r-insol") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "insol" version)) + (sha256 + (base32 + "14ikz05375pjn9hby7kwkhcnykjilbnkdy5i8lsl7c5qdbhmqcm5")))) + (properties `((upstream-name . "insol"))) + (build-system r-build-system) + (propagated-inputs + `(("r-raster" ,r-raster) + ("r-rgdal" ,r-rgdal))) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "https://meteoexploration.com/R/insol/index.html") + (synopsis "Tools for calculating solar radiation") + (description + "This package provides functions to compute insolation on tilted +surfaces, computes atmospheric transmittance and related parameters such as: +Earth radius vector, declination, sunset and sunrise, daylength, equation of +time, vector in the direction of the sun, vector normal to surface, and some +atmospheric physics.") + (license license:gpl2+))) |