Get deepsky/constellation annotations for job

62 views
Skip to first unread message

paras...@googlemail.com

unread,
Sep 12, 2014, 6:09:13 PM9/12/14
to astro...@googlegroups.com
Hi,

I solved an image with the Python sample code (http://trac.astrometry.net/browser/trunk/src/astrometry/net/client/). When I get the annotations from "http://nova.astrometry.net/api/jobs/838087/annotations" there are only stars but no constellations nor deepsky objects. Is there a parameter to get all objects? This image has fore example M31, M32, M110, part of Andromeda in its field of view: http://nova.astrometry.net/user_images/400133#annotated

And is there a way to get the "overview map" plots like these -> http://nova.astrometry.net/sky_plot/zoom1/266204

Best regards,
Marcus

Dustin Lang

unread,
Sep 12, 2014, 7:31:12 PM9/12/14
to astro...@googlegroups.com
Hi,

Apparently, we only return NGC objects for images narrower than 10 degrees;
  https://github.com/dstndstn/astrometry.net/blob/master/net/api.py#L412

which matches the objects in the "annotated" image.  It appears we don't include constellations in that view, though.

It looks like the URL http://nova.astrometry.net/api/jobs/<<JOBID>>/info
offers the machine tags (eg, it'll give you the string "Part of the constellation Andromeda (And)", but not tell you where it is).

Sorry, it's a matter of a mish-mash of code in C and python and multiple ways to access (subsets of!) the same information.  I'm not exactly sure how one would represent the constellations -- perhaps a list of pairs of connected stars.

Could you please file an issue at https://github.com/dstndstn/astrometry.net  ?  Doesn't guarantee it'll get fixed any time soon, but does ensure it doesn't disappear off the radar forever...

And of course pull requests are welcome :)

As for the overview map plots: you've got the URL, what more do you need?  The magic number in there is the "calibration id", which should be available under the "job_calibrations" key of the submission status URL.

--dustin



paras...@googlemail.com

unread,
Sep 12, 2014, 8:26:52 PM9/12/14
to astro...@googlegroups.com
Hi dustin,

thanks for your answer, I wrote an issue at GitHub :)
An additional parameter to get objects for a fov > 10° would be great. Maybe like the 'nbright' parameter to get only the first xx objects.

The status url for this image is: http://nova.astrometry.net/api/jobs/838087 isn't it?
I only get the "status=success" key there.

Best regards,
Marcus
Reply all
Reply to author
Forward
0 new messages