Essential Routines for Fundamental Astronomy