Working Example of reading light curves from a db on disk. Need to
modifiy this to get NaN values correctly, while this is skipping stuff.