implementaion of ERFA lybrary with numpy