<div dir="ltr">Hi Peter,<div><br></div><div>It's possible that there are some intermittent issues with the Simbad database itself, or with your connection. I just tried and it worked for me:</div><div><br></div><div>>>> coord.SkyCoord.from_name("LEDA30866")</div><div><SkyCoord (ICRS): (ra, dec) in deg<br>    (157.255, 29.63472222)><br></div><div><br></div><div>Did the error message return any additional information? It's possible we need to audit the error messages we raise to make sure they provide enough information for cases like this.</div><div><br></div><div>best,</div><div>Adrian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 3:14 PM Peter Dzwig <<a href="mailto:pdzwig@summaventures.com">pdzwig@summaventures.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">All,<br>
<br>
I have been attempting to get RA, Dec from SkyCoord via<br>
SkyCoord.from_name. It claims to be "unable to resolve" quite a few names.<br>
<br>
As a concrete example, LEDA 30866:<br>
<br>
SkyCoord.from_name(LEDA30866)<br>
<br>
oit goes to CDS at strasbourg and gives me back the message: "Unable to<br>
resolve", yet if I go directly to HyperLEDA<br>
<br>
(a) it is a recognised object (PGC030866);<br>
(b) it cross-identifies it and gives *three* SDSS names (plus others).<br>
<br>
If instead I put in one of the various SDSS names (I have tried all<br>
three) I get the same message.<br>
<br>
The obvious question: why can't it resolve the name? is it because it<br>
hasn't a way to choose between the choice names?<br>
<br>
Can someone clarify - and possibly offer a way to resolve this issue?<br>
<br>
So far I have encountered this issue in about 20% of my searches.<br>
<br>
<br>
Many thanks,<br>
<br>
Peter<br>
-- <br>
<br>
Dr. Peter Dzwig<br>
_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@python.org" target="_blank">AstroPy@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/astropy" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/astropy</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Adrian M. Price-Whelan<br>Flatiron Institute, NYC<br><a href="http://adrn.github.io" target="_blank">http://adrn.github.io</a></div><div>(he / him)</div></div></div>