Space based optical sensor