Pierre GM wrote:
Nope, we still need to double check whether there's any missing data in any field of the line we process, independently of the conversion. So there must be some extra loop involved, and I'd need a special function in numpy.ma to take care of that. So our options are * create a new function in numpy.ma and leave np.loadtxt like that * write a new np.loadtxt incorporating most of the ideas of the code I send, but I'd still need to adapt it to support masked values.
You couldn't run this loop on the array returned by np.loadtxt() (by masking on the appropriate fill value)?
I'll post that when I'm done and we can see if it looks like too much functionality stapled together or not.
Sounds like a plan. Wouldn't mind getting more feedback from fellow users before we get too deep, however...
Agreed. Anyone? -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma