Astronomy-related routines