aggregate.stars function

spatially or temporally aggregate stars object