refactor process_astrom.run