fortran

Fortranのバイナリ出力データ(unformatted)をPythonで読む

Fortranで出力したunformatted形式のデータをPythonで読む方法です。 scipyにFortranFileというものがあるので、それを使ってもできます。 scipy.io.FortranFile — SciPy v0.15.0.dev Reference Guide でもこれソース読めばわかりますが、numpyのfromfileっ…