From 6a7611c4c2a41d5bf316697df92636b2b43e9125 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sun, 17 Jan 2021 13:39:56 -0600 Subject: [PATCH] add version 2.1.2 to r-gsodr (#21035) --- .../repos/builtin/packages/r-gsodr/package.py | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/r-gsodr/package.py b/var/spack/repos/builtin/packages/r-gsodr/package.py index 911e5c3424f..f72a4f6721d 100644 --- a/var/spack/repos/builtin/packages/r-gsodr/package.py +++ b/var/spack/repos/builtin/packages/r-gsodr/package.py @@ -7,12 +7,31 @@ class RGsodr(RPackage): - """A Global Surface Summary of the Day (GSOD) Weather Data Client for R""" + """A Global Surface Summary of the Day (GSOD) Weather Data Client for R + + Provides automated downloading, parsing, cleaning, unit conversion and + formatting of Global Surface Summary of the Day ('GSOD') weather data from + the from the USA National Centers for Environmental Information ('NCEI'). + Units are converted from from United States Customary System ('USCS') units + to International System of Units ('SI'). Stations may be individually + checked for number of missing days defined by the user, where stations with + too many missing observations are omitted. Only stations with valid + reported latitude and longitude values are permitted in the final data. + Additional useful elements, saturation vapour pressure ('es'), actual + vapour pressure ('ea') and relative humidity ('RH') are calculated from the + original data using the improved August-Roche-Magnus approximation + (Alduchov & Eskridge 1996) and included in the final data set. The + resulting metadata include station identification information, country, + state, latitude, longitude, elevation, weather observations and associated + flags. For information on the 'GSOD' data from 'NCEI', please see the + 'GSOD' 'readme.txt' file available from, + .""" homepage = "https://docs.ropensci.org/GSODR/" url = "https://cloud.r-project.org/src/contrib/GSODR_2.1.1.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/GSODR" + version('2.1.2', sha256='4fc1d084b6c21055d8cc17a6a6dc412261aa0d4ef4079bcd73b580a8c16bf74e') version('2.1.1', sha256='dba732e5bd1e367b9d710e6b8924f0c02fa4546202f049124dba02bc2e3329f5') depends_on('r@3.5.0:', type=('build', 'run'))