summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-isdparser/package.py
blob: 086c8ce087b4d2d6e489dd8fc41df75795072d7e (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
24
25
26
27
28
29
# 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 RIsdparser(RPackage):
    """Parse 'NOAA' Integrated Surface Data Files.

    Tools for parsing 'NOAA' Integrated Surface Data ('ISD') files, described
    at <https://www.ncdc.noaa.gov/isd>. Data includes for example, wind speed
    and direction, temperature, cloud data, sea level pressure, and more.
    Includes data from approximately 35,000 stations worldwide, though best
    coverage is in North America/Europe/Australia. Data is stored as variable
    length ASCII character strings, with most fields optional. Included are
    tools for parsing entire files, or individual lines of data."""

    cran = "isdparser"

    license("MIT")

    version("0.4.0", sha256="6f609e8f5ae4ce2e7904401f289d60d219b8f3a2bec9f661d10afa18ab73b317")
    version("0.3.0", sha256="6c9e1d7f3661802838010d659d7c77b964423dcc9a6623402df1fe3be627b7b9")

    depends_on("r-tibble@1.2:", type=("build", "run"))
    depends_on("r-data-table@1.10.0:", type=("build", "run"))
    depends_on("r-lubridate", type=("build", "run"), when="@0.4.0:")