I am trying to read a simple dataset to a 1D numpy array with Python.
However, the data was written with Fortran (regular ASCII) and groups repeated values together.
For example:
2*0.652384 314*0.652383 62*0.652382 48*0.652383 26*0.652384 111*0.652383
I tried using numpy.loadtxt() but it cannot read the ‘*’ syntax.
Any help is welcome.