FORTRAN SOFTWARE CATALOG

Repository owner: NSF Unidata (unidata)

netcdf-fortran

Read and write NetCDF classic scientific datasets using the Fortran API.

Repository · Pinned source (48d67b73cb2a) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Data formats
License
NetCDF AND Apache-2.0

Topics: array-io, c-interoperability, dataset, file-formats, hacktoberfest, netcdf, netcdf-fortran, netcdf-library, scientific-data, unidata

Classification scope and review notes

Selected serial classic-format Fortran sources follow the upstream CMake classic-library source set and use the unchanged public netCDF-C API. The operator-owned FPM wrapper retains original include files and sets HAVE_F2008, HAVE_TS29113_SUPPORT and NO_NETCDF_2 for the GNU 16 Linux environment; no library sources are edited. The native libnetcdf-dev package is locked to 1:4.9.3-1. The consumer writes a 3-by-2 real array and units attribute to a classic dataset, reopens it, checks dimension lengths, attribute and every value, then removes the file. NetCDF-4-specific Fortran interfaces, the old V2 API, parallel I/O and all data types are outside this selected build and verification scope. Source exports require the native netCDF C development library.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

No additional GitHub package dependencies were recorded for this verified build.

Build record verified 2026-10-29.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

nf90_create / nf90_def_dim / nf90_def_var / nf90_put_var / nf90_get_var / nf90_close

Module: netcdf

N1

N1: source-supported

Derivatives / callbacks: not applicable

Selected serial classic-format Fortran sources follow the upstream CMake classic-library source set and use the unchanged public netCDF-C API. The operator-owned FPM wrapper retains original include files and sets HAVE_F2008, HAVE_TS29113_SUPPORT and NO_NETCDF_2 for the GNU 16 Linux environment; no library sources are edited. The native libnetcdf-dev package is locked to 1:4.9.3-1. The consumer writes a 3-by-2 real array and units attribute to a classic dataset, reopens it, checks dimension lengths, attribute and every value, then removes the file. NetCDF-4-specific Fortran interfaces, the old V2 API, parallel I/O and all data types are outside this selected build and verification scope. Source exports require the native netCDF C development library.

Pinned source: fortran/netcdf.F90 · fortran/netcdf_file.F90 · fortran/nf_control.F90

Author examples/tests: examples/F90/simple_xy_wr.F90 · examples/F90/simple_xy_rd.F90