Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 526 Bytes

File metadata and controls

14 lines (14 loc) · 526 Bytes

NPY for Fortran

This Fortran module allows to save numerical Fortran arrays in Numpy's .npy or .npz format. Currently supported are:

1. integer(1), integer(2), integer(4), integer(8)
2. real(4), real(8)
3. complex(4), complex(8)

*.npy files

Saving an array into a .npy-file is simply done by calling:

call save_npy("filename.npy", array)

Pull requests are welcome!

I see many of you have created forks. Let's not scatter this library over 500 projects, let's work on one repo together.