ports/131866: [New Port]science/py-netCDF4:Python Interface to the NetCDF Library(versions 3 and 4)
Wen Heping
wenheping at gmail.com
Thu Feb 19 02:20:02 UTC 2009
>Number: 131866
>Category: ports
>Synopsis: [New Port]science/py-netCDF4:Python Interface to the NetCDF Library(versions 3 and 4)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 19 02:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Tue Dec 16 00:26:59 HKT 2008 root at fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
netCDF version 4 has many features not found in earlier versions of the
library and is implemented on top of HDF5. This module can read and
write files in both the new netCDF 4 and the old netCDF 3 format, and
can create files that are readable by HDF5 clients. The API modelled
after Scientific.IO.NetCDF, and should be familiar to users of that
module.
Many new features of netCDF 4 are implemented, such as multiple
unlimited dimensions, groups and zlib data compression. All the new
primitive data types (such as 64 bit and unsigned integer types) are
implemented, except variable-length strings (NC_STRING). User defined
data types (compound, vlen, enum etc.) are not supported.
WWW: http://code.google.com/p/netcdf4-python/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-netCDF4
# py-netCDF4/pkg-descr
# py-netCDF4/distinfo
# py-netCDF4/Makefile
# py-netCDF4/pkg-plist
#
echo c - py-netCDF4
mkdir -p py-netCDF4 > /dev/null 2>&1
echo x - py-netCDF4/pkg-descr
sed 's/^X//' >py-netCDF4/pkg-descr << '25a240ca76f1538a440d1f6d58f56aa2'
XnetCDF version 4 has many features not found in earlier versions of the
Xlibrary and is implemented on top of HDF5. This module can read and
Xwrite files in both the new netCDF 4 and the old netCDF 3 format, and
Xcan create files that are readable by HDF5 clients. The API modelled
Xafter Scientific.IO.NetCDF, and should be familiar to users of that
Xmodule.
X
XMany new features of netCDF 4 are implemented, such as multiple
Xunlimited dimensions, groups and zlib data compression. All the new
Xprimitive data types (such as 64 bit and unsigned integer types) are
Ximplemented, except variable-length strings (NC_STRING). User defined
Xdata types (compound, vlen, enum etc.) are not supported.
X
XWWW: http://code.google.com/p/netcdf4-python/
25a240ca76f1538a440d1f6d58f56aa2
echo x - py-netCDF4/distinfo
sed 's/^X//' >py-netCDF4/distinfo << '5d586982e0f04e5d5b443c248aef22b9'
XMD5 (netCDF4-0.7.7.tar.gz) = 0532342106f6f2bde28dd09dbf6b388c
XSHA256 (netCDF4-0.7.7.tar.gz) = 4bcb9ac71488bdc121e6701f13fb7a9ef2e35f97f13b476e6eb8366f984af5d2
XSIZE (netCDF4-0.7.7.tar.gz) = 416486
5d586982e0f04e5d5b443c248aef22b9
echo x - py-netCDF4/Makefile
sed 's/^X//' >py-netCDF4/Makefile << '1cba7c1b77c89b461b1b83c1435acdf5'
X# Ports collection makefile for: netCDF4
X# Date created: 18 Feb, 2009
X# Whom: wenheping at gmail.com
X#
X# $FreeBSD$
X#
X
XPORTNAME= netCDF4
XPORTVERSION= 0.7.7
XCATEGORIES= science python
XMASTER_SITES= http://netcdf4-python.googlecode.com/files/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= Python Interface to the NetCDF Library(versions 3 and 4)
X
XBUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy
XRUN_DEPENDS= ${BUILD_DEPENDS}
XLIB_DEPENDS= hdf5.6:${PORTSDIR}/science/hdf5-18 \
X netcdf.5:${PORTSDIR}/science/netcdf4
X
XUSE_PYTHON= 2.5+
XUSE_PYDISTUTILS= yes
X
X.include <bsd.port.mk>
1cba7c1b77c89b461b1b83c1435acdf5
echo x - py-netCDF4/pkg-plist
sed 's/^X//' >py-netCDF4/pkg-plist << '526325db33fa13aaede4924dfad5057c'
Xbin/grib2nc4
Xbin/nc3tonc4
X%%PYTHON_SITELIBDIR%%/netCDF4_utils.py
X%%PYTHON_SITELIBDIR%%/netCDF4_utils.pyc
X%%PYTHON_SITELIBDIR%%/netCDF4_utils.pyo
X%%PYTHON_SITELIBDIR%%/netCDF4.so
X%%PYTHON_SITELIBDIR%%/netcdftime/__init__.py
X%%PYTHON_SITELIBDIR%%/netcdftime/__init__.pyc
X%%PYTHON_SITELIBDIR%%/netcdftime/__init__.pyo
X%%PYTHON_SITELIBDIR%%/netcdftime/netcdftime.py
X%%PYTHON_SITELIBDIR%%/netcdftime/netcdftime.pyc
X%%PYTHON_SITELIBDIR%%/netcdftime/netcdftime.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/netcdftime
526325db33fa13aaede4924dfad5057c
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list