science/py-netCDF4 1.7.2_2
Python Interface to the NetCDF Library (versions 3 and 4)
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- science, python
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.
Install
As a binary package — by origin, or by package name:
pkg install science/py-netCDF4
pkg install py312-netCDF4
From the ports tree:
cd /usr/ports/science/py-netCDF4/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-netCDF4>0:science/py-netCDF4
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 1.7.2_2 | - | 1.7.2 | 1.7.2_2 |
| FreeBSD:14:quarterly | - | 1.7.2_2 | n/a | 1.7.2 | 1.7.2_2 |
| FreeBSD:15:latest | - | 1.7.2_2 | n/a | 1.7.2 | 1.7.2 |
| FreeBSD:15:quarterly | - | 1.7.2_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 1.7.2_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy
Library 2
libhdf5.so: science/hdf5libnetcdf.so: science/netcdf
Runtime 2
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy${PYTHON_PKGNAMEPREFIX}cftime>=0: devel/py-cftime
The full lists below include those, and their dependencies in turn.
All build dependencies 30
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/pkgconf
- devel/py-setuptools
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/cython
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- print/indexinfo
- science/hdf5
- science/libaec
- science/netcdf
- security/libssh2
- textproc/expat2
- www/libnghttp2
All run dependencies 30
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/pkgconf
- devel/py-cftime
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/cython
- lang/gcc14
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- print/indexinfo
- science/hdf5
- science/libaec
- science/netcdf
- security/libssh2
- textproc/expat2
- www/libnghttp2
Configuration
Options name: science_netCDF4
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| netcdf4-1.7.2.tar.gz | 835064 | a4c6375540b19989896136943abb6d44850ff6f1fa7d3f063253b1ad3f8b7fce |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.