I have a file in which the first column has an integer number that tells whether it is data of metadata - lines that start with 0 are metadata, and the number of columns in them is not fixed, while any other integer designate data lines:
0 -1.0000E+02 2.0000E+03 -1.0000E+03
0 NDIM= 3 IPS = 1
1 3 0 0 1.8279163801E+001 2.1982510269E-002
I would like to use numpy in order to read the data only from the lines that start with a non-zero integer, can I do it with numpy.genfromtxt() ?