Adding an MPC code adds also geographical coordinates
Closed this issue · 3 comments
ziriuz84 commented
It will be a great help to configuration to download observatory coordinates when adding an MPC code to config file
ziriuz84 commented
This is the official endpoint, but must be parsed https://www.minorplanetcenter.net/iau/lists/ObsCodes.html
ziriuz84 commented
This is a json, but it must be unzipped https://minorplanetcenter.net/Extended_Files/obscodes_extended.json.gz
ziriuz84 commented
There is also astroquery with a module for mpc and iau observatory codes
https://astroquery.readthedocs.io/en/latest/mpc/mpc.html
print(MPC.get_observatory_location('371'))
(<Angle 133.5965 deg>, 0.82433, 0.56431, 'Tokyo-Okayama')