1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

science/py-cfgrib: Add py-cfgrib 0.9.10.3

cfgrib provides a Python interface to map GRIB files to the Unidata's Common
Data Model v4 following the CF Conventions. The high level API is designed to
support a GRIB engine for xarray and it is inspired by netCDF4-python and
h5netcdf. Low level access and decoding is performed via the ECMWF ecCodes
library and the eccodes python package.
This commit is contained in:
Po-Chuan Hsieh 2023-02-05 23:15:16 +08:00
parent 8c5d502b2d
commit 5660adfb1b
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 44 additions and 0 deletions

View File

@ -305,6 +305,7 @@
SUBDIR += py-boutdata
SUBDIR += py-boututils
SUBDIR += py-cdo
SUBDIR += py-cfgrib
SUBDIR += py-chainer
SUBDIR += py-chainer-chemistry
SUBDIR += py-chempy

View File

@ -0,0 +1,35 @@
PORTNAME= cfgrib
PORTVERSION= 0.9.10.3
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Map GRIB files to the NetCDF Common Data Model following the CF Convention using ecCodes
WWW= https://github.com/ecmwf/cfgrib
WWW= https://pypi.org/project/cfgrib/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}eccodes>=0.9.8:science/py-eccodes@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=0:devel/py-dask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xarray>=0.15:devel/py-xarray@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
OPTIONS_DEFINE= XARRAY
XARRAY_DESC= Xarray support
XARRAY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xarray>=0.15:devel/py-xarray@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1675190917
SHA256 (cfgrib-0.9.10.3.tar.gz) = c10806058c80c48610c201bf05eb292401807806ab9423ab4965ae23dbb6b521
SIZE (cfgrib-0.9.10.3.tar.gz) = 6398617

View File

@ -0,0 +1,5 @@
cfgrib provides a Python interface to map GRIB files to the Unidata's Common
Data Model v4 following the CF Conventions. The high level API is designed to
support a GRIB engine for xarray and it is inspired by netCDF4-python and
h5netcdf. Low level access and decoding is performed via the ECMWF ecCodes
library and the eccodes python package.