Jusas / astrometry-api-lite

Astrometry.net API lite
MIT License
15 stars 4 forks source link

Using scale_est breaks the solver invocation #1

Closed Jusas closed 6 years ago

Jusas commented 6 years ago

The scale_est param should be interpreted into --scale-low and --scale-high instead of trying to use --scale-est and --scale-err which don't exist in solve-field.

Should be using: scale_low = scale_est (1.0 - scale_err / 100.0) scale_high = scale_est (1.0 + scale_err / 100.0))

https://github.com/dstndstn/astrometry.net/blob/master/net/models.py#L1143 https://github.com/dstndstn/astrometry.net/blob/master/net/process_submissions.py#L231 https://github.com/Jusas/astrometry-api-lite/blob/master/src/worker/worker.ts#L277

Jusas commented 6 years ago

Fixed in v1.1.1.