pkg.sopackage field notes

brew / rank 2523

Install netcdf-fortran with Homebrew

Fortran libraries and utilities for NetCDF. Version 4.6.4 via Homebrew; verified 2026-07-30.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install netcdf-fortran

provider-native install command

overview

Package summary

Fortran libraries and utilities for NetCDF

Commands and aliases

  • nf-config

history

Project history and usage

netcdf-fortran is Unidata's Fortran interface package for netCDF data. It exists because Fortran users in climate, weather, ocean, atmospheric, and other scientific codes need native F77/F90 APIs while the file format and core implementation live in netCDF-C.

Project history

Fortran has been part of the netCDF story from the beginning because Unidata's original interface work had to account for portable scientific programs across C and Fortran environments. The separate netcdf-fortran distribution now provides Fortran application interfaces, depends on netCDF-C, and contains both F77 and F90 APIs. The Fortran usage guide notes that since netCDF 4.1.3 the Fortran software and library have been distinct from the C library while depending on it.

Adoption history

Its adoption is concentrated in HPC and scientific-modeling build stacks. On July 1, 2026, Homebrew showed 2,728 installs over 365 days and 213 installs over 30 days, with gcc and netcdf as runtime dependencies. The lower volume than netcdf itself is expected because many users only need command-line tools or C libraries, while Fortran consumers install this package to compile model code.

How it is used

Practical use is compiler-facing: Fortran programs call routines such as nf90_create, nf90_def_dim, nf90_def_var, nf90_put_var, nf90_open, nf90_get_var, and nf90_close. The package installs nf-config so builds can obtain the correct include and linker flags with commands like nf-config --fflags --flibs, avoiding hand-written library paths that break across shared/static builds or Homebrew prefix changes.

Why package nerds care

This package matters because many legacy and active scientific codes are Fortran-first. Packaging it separately keeps the core C library smaller while preserving the long-running netCDF contract for Fortran model code. Dependency mismatches with netCDF-C are the main thing maintainers watch; the 4.6.3 release notes require netCDF-C 4.9.2 or newer.

Timeline

  • 1988: Unidata prototyped netCDF in C while evaluating portable interfaces for scientific users, including Fortran constraints.
  • 2011-era netCDF 4.1.3: the Fortran library became consistently distinct from the C library while depending on it, according to the Fortran guide.
  • 2025-03-26: netCDF-Fortran 4.6.2 was released.
  • 2026-05-20: netCDF-Fortran 4.6.3 was released.
  • 2026-07-01: Homebrew listed stable version 4.6.3.

Related projects

  • netcdf
  • netcdf-cxx
  • HDF5
  • PnetCDF

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
nf-configexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version4.6.4
manager updated2026-07-30
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:netcdf-fortran
Version4.6.4
Package managerHomebrew
Homepagehttps://www.unidata.ucar.edu/software/netcdf/
Repositoryhttps://github.com/Unidata/netcdf-fortran
Last updated2026-07-30T01:27:44Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation