Skip to content

netCDF4-Python

Description

netcdf4-python website

netCDF4-Python provides Python interfaces to the NetCDF C library (via Cython), supporting classic and enhanced (netCDF-4/HDF5) formats.

This module extends an existing Python environment; it does not provide Python itself. Load python/3.12 first (and your HDF5/NetCDF/OpenMPI toolchain if needed).

Environment variables set by this module:

Runtime notes: - You must have NetCDF-C and HDF5 available at runtime (typically via modules). - If those modules are not loaded, ensure their lib dirs are on LD_LIBRARY_PATH.

Installed prefix: /apps/netcdf4-python/1.7.2 Package path: /apps/netcdf4-python/1.7.2/lib/python3.12/site-packages/netCDF4

Environment Modules

Run module spider netcdf4-python to find out what environment modules are available for this application.

Environment Variables

  • HPC_NETCDF4PY_DIR - installation prefix
  • HPC_NETCDF4PY_LIB - site-packages directory added to PYTHONPATH

Categories

I/O, data formats, Python