# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-herbie-data
version             2022.9.0.post1
revision            0

categories-append   science
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Herbie: Retrieve NWP Model Data
long_description    Herbie is a python package that downloads recent and archived \
    numerical weather prediction (NWP) model output from different cloud archive \
    sources. Its most popular capability is to download HRRR model data. NWP data in \
    GRIB2 format can be read with xarray+cfgrib. Much of this data is made available \
    through the NOAA Open Data Dissemination (NODD) Program (formerly the Big Data \
    Program) which has made weather data more accessible than ever before.

homepage            https://github.com/blaylockbk/Herbie

checksums           rmd160  e6cd83afe9999af368abcf9a328465646e7f818e \
                    sha256  ad6a1671ca68a31e9decd29a76e566474287fb47f1fcb406b46065edbadc9bee \
                    size    52598076

python.versions     310

python.pep517       yes

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append \
                    port:py${python.version}-calver \
                    port:py${python.version}-cartopy \
                    port:py${python.version}-cfgrib \
                    port:py${python.version}-curl \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-metpy \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pygrib \
                    port:py${python.version}-toml \
                    port:py${python.version}-xarray \
                    port:wgrib2
}
