Considering the following test.dat:
234.123 231.2 54.3
33.4 444.22 3321.
Now I attempt to read it:
GDL> foo = dblarr(5)
5432.40 543.000 33.4000
234.12300 231.20000 54.300000 5432.4000 543.00000
What seems to be happening is that readf correctly reads 5 pieces of data into foo, but then the second readf starts from line 2 instead of line 3. This happens even reading long arrays that take up multiple lines. The next readf still starts at line2.
I am using the current cvs checked out today on ubuntu 13.04, using the following cmake command:
cmake ../. -DMAGICK=OFF -DNETCDF=OFF