I am trying to read from all of these data tables separately for some data crunching and I can't seem to manage to do it.
The data is available here: http://cdsweb.u-strasbg.fr/topbase/tables/AGS05.OP17
There are 126 tables and it gives me empty arrays for the first 100 tables and then gradually fills them up. What am I doing wrong?
Code:
import numpy as np
from matplotlib import pyplot as plt
for x in np.arange(0,126):
table = np.genfromtxt('AGS05.OP17',skip_header=(245+(x*71)),skip_footer=(9500-(x*71)))
print x
print table
Also, if I try to get only the first one
In [38]: np.genfromtxt('AGS05.OP17',skip_header=245, skip_footer=9500)
Out[38]: array([], dtype=float64)