work on astro/cal.py