Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details on branch 2023Q4
py-netCDF4 Python Interface to the NetCDF Library (versions 3 and 4)
1.7.2_3 science Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.7.2_1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2009-02-23 20:19:59
Last Update: 2026-10-26 16:28:49
Commit Hash: 1560576
Also Listed In: python
License: MIT
WWW:
https://unidata.github.io/netcdf4-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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}netCDF4>0:science/py-netCDF4@${PY_FLAVOR}
To install the port: #
cd /usr/ports/science/py-netCDF4/ && make install clean
To add the package, run one of these commands:
  • pkg install science/py-netCDF4
  • pkg install py312-netCDF4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-netCDF4 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-netCDF4
Package flavors (<flavor>: <package>) #
  • py312: py312-netCDF4
distinfo: #
TIMESTAMP = 1743156889 SHA256 (netcdf4-1.7.2.tar.gz) = a4c6375540b19989896136943abb6d44850ff6f1fa7d3f063253b1ad3f8b7fce SIZE (netcdf4-1.7.2.tar.gz) = 835064

Packages (timestamps in pop-ups are UTC): #
py311-netCDF4
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---1.7.2-
FreeBSD:14:quarterly---1.7.2-
FreeBSD:15:latest--n/a1.7.2n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-netCDF4
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest-1.7.2_3--1.7.2_3
FreeBSD:14:quarterly-1.7.2_2--1.7.2_2
FreeBSD:15:latest-1.7.2_3n/a-n/a
FreeBSD:15:quarterly-1.7.2_2n/a-n/a
FreeBSD:16:latest-1.7.2_3n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-numpy>=2.0.0 : math/py-numpy@py312
  2. py312-setuptools-scm>=3.4 : devel/py-setuptools-scm@py312
  3. py312-setuptools>=61 : devel/py-setuptools@py312
  4. py312-wheel>0 : devel/py-wheel@py312
  5. py312-cython>=3.2.9 : lang/cython@py312
  6. python3.12 : lang/python312
  7. py312-build>=0 : devel/py-build@py312
  8. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-certifi>0 : security/py-certifi@py312
  2. py312-cftime>=0 : devel/py-cftime@py312
  3. py312-numpy>=1.16 : math/py-numpy@py312
  4. py312-cython>=3.2.9 : lang/cython@py312
  5. python3.12 : lang/python312
Library dependencies: #
  1. libhdf5.so : science/hdf5
  2. libnetcdf.so : science/netcdf
This port is required by: #
for Build #
  1. science/py-boutdata
  2. science/py-boututils
for Run #
  1. graphics/qgis
  2. graphics/qgis-ltr
  3. science/bout++
  4. science/py-abipy
  5. science/py-boutdata
  6. science/py-boututils
  7. science/py-meshio
Expand this list (9 items / 2 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. science/py-netcdf-flattener
  3. science/py-xbout
  4. Collapse this list.
for Test #
  1. devel/py-xarray
  2. science/py-ase

Configuration Options: #
===> The following configuration options are available for py312-netCDF4-1.7.2_3: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name: #
science_py-netCDF4
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/n/netcdf4/
  2. https://pypi.org/packages/source/n/netcdf4/
Collapse this list.

There are no commits on branch 2023Q4 for this port