FORTRAN SOFTWARE CATALOG

Repository owner: Matthias Redies (mredies)

npy-for-fortran

Write numerical vectors and matrices in NumPy NPY format.

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

GAMS classifications

About this package

Category
Data formats
License
MIT

Topics: arrays, binary-io, forschungszentrum-juelich, fortran, npy, npz, npz-files, numpy, pgi, physics, python-interoperability, scientific-computing

Classification scope and review notes

NumPy NPY writing. An FPM wrapper selects unchanged src/npy.f90. The main writes a 2-by-3 real64 matrix, checks version-2 magic, dtype/order header, exact binary payload and file size, and prints the matrix and header. A separate hosted probe captures the actual file bytes and NumPy independently loads the expected shape, dtype and exact values with pickle disabled. No source edits. The author no longer actively maintains the project. Other kinds/ranks, big-endian platforms and NPZ archive operations are not validated; the browser displays the checked summary rather than offering a general NPY-file download.

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.

save_npy / write_dbl_mtx

Module: m_npy

N1

N1: source-supported

Derivatives / callbacks: not applicable

NumPy NPY writing. An FPM wrapper selects unchanged src/npy.f90. The main writes a 2-by-3 real64 matrix, checks version-2 magic, dtype/order header, exact binary payload and file size, and prints the matrix and header. A separate hosted probe captures the actual file bytes and NumPy independently loads the expected shape, dtype and exact values with pickle disabled. No source edits. The author no longer actively maintains the project. Other kinds/ranks, big-endian platforms and NPZ archive operations are not validated; the browser displays the checked summary rather than offering a general NPY-file download.

Pinned source: src/npy.f90

Author examples/tests: src/example.f90