Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

Local Plate Solver with CLI

  • Please log in to reply
9 replies to this topic

#1 jtleniger

jtleniger

    Lift Off

  • -----
  • topic starter
  • Posts: 5
  • Joined: 19 Jan 2020
  • Loc: Colorado

Posted 19 January 2020 - 06:54 PM

Does anyone know of plate solving software that can be run as a CLI program? 
 

I’m working on an open source alternative to programs like BackyardEOS particularly to support my Sony camera, and I’d like to incorporate plate solving, and particularly local plate solving.

 

AstroTortilla appears to only work via its GUI and astrometry.net is something I’d have to write my own wrappers for, although I’ll probably go that route if there’s not something easier to integrate.

 

Thanks!



#2 mashirts

mashirts

    Viking 1

  • *****
  • Posts: 512
  • Joined: 18 Sep 2014
  • Loc: Elgin, TX

Posted 19 January 2020 - 07:43 PM

http://www.hnsky.org/



#3 jtleniger

jtleniger

    Lift Off

  • -----
  • topic starter
  • Posts: 5
  • Joined: 19 Jan 2020
  • Loc: Colorado

Posted 19 January 2020 - 08:05 PM

I’ll check it out. Thanks!



#4 hcf

hcf

    Viking 1

  • -----
  • Posts: 505
  • Joined: 01 Dec 2017

Posted 19 January 2020 - 11:17 PM

If you can use linux/raspberry pi, and gphoto2 supports your camera, you could use the astrometry.net command line in shell scripts to combine picture taking and local platesolving.

 

http://www.gphoto.or...to2/support.php



#5 jtleniger

jtleniger

    Lift Off

  • -----
  • topic starter
  • Posts: 5
  • Joined: 19 Jan 2020
  • Loc: Colorado

Posted 19 January 2020 - 11:35 PM

If you can use linux/raspberry pi, and gphoto2 supports your camera, you could use the astrometry.net command line in shell scripts to combine picture taking and local platesolving.

 

http://www.gphoto.or...to2/support.php

Hey hcf, I’m already using gphoto2 :) Does astrometry.net have a local command line? I know they have a web API you can hit but I didn’t find anything similar for local other than a C library when I skimmed their docs.



#6 fmeschia

fmeschia

    Apollo

  • *****
  • Posts: 1,454
  • Joined: 20 May 2016
  • Loc: Mountain View, CA

Posted 19 January 2020 - 11:41 PM

Hey hcf, I’m already using gphoto2 smile.gif Does astrometry.net have a local command line? I know they have a web API you can hit but I didn’t find anything similar for local other than a C library when I skimmed their docs.

Yes, astrometry.net has CLI tools too. See http://astrometry.net/use.html

Francesco



#7 jtleniger

jtleniger

    Lift Off

  • -----
  • topic starter
  • Posts: 5
  • Joined: 19 Jan 2020
  • Loc: Colorado

Posted 19 January 2020 - 11:43 PM

Thanks fmeschia! I missed that in the docs. Will update if I end up making anything useful.


Edited by jtleniger, 19 January 2020 - 11:44 PM.


#8 hcf

hcf

    Viking 1

  • -----
  • Posts: 505
  • Joined: 01 Dec 2017

Posted 19 January 2020 - 11:49 PM

Hey hcf, I’m already using gphoto2 smile.gif Does astrometry.net have a local command line? I know they have a web API you can hit but I didn’t find anything similar for local other than a C library when I skimmed their docs.

Yes, it is called solve-field

 

https://www.mankier.com/1/solve-field

 

You could download and build astrometry.net from their github page. I think Indi also includes it with their distribution.



#9 lambermo

lambermo

    Viking 1

  • -----
  • Posts: 994
  • Joined: 16 Jul 2007
  • Loc: .nl

Posted 20 January 2020 - 06:36 AM

Instead of a CLI why not use CURL to a (local) installation of https://github.com/J...ometry-api-lite ?
That astrometry-api-lite itself uses solve-field , but it gives you nova compatibility plus the option to host astrometry in your local network on a faster dedicated machine, if you so wished. Plus you gain OS-independence for this interface.



#10 S.Boerner

S.Boerner

    Apollo

  • *****
  • Posts: 1,496
  • Joined: 29 Apr 2010
  • Loc: Chesterfield, MO

Posted 20 January 2020 - 08:35 AM

I know a guy that used Elbrus years ago for command line plate solving.  I don't think that it is supported any more but a quick Google search shows it is still available.




CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics