[SciPy-User] Padded data structure

Miguel de Val Borro miguel.deval@gmail....
Sat Feb 20 05:09:14 CST 2010


Hello,

I would like to read padded output files from C structures that look
like this file: http://spec.jpl.nasa.gov/ftp/pub/catalog/catdir.cat 
The second row is a 13 character string that contains whitespaces.  I
have looked at the align option in dtype passed as a parameter to
loadtxt but could not make it work. scipy.io.read_array is depecrated
and I'm not sure it has this functionality. What other options are
there? 

Best regards,
Miguel


More information about the SciPy-User mailing list