Releases: Jusas/astrometry-api-lite
v1.2.0 - Sigma and depth parameter support + Dashboard config editor
- Configuration editor added to Dashboard.
- Install.sh fixes to regexes - path replacement should work correctly now.
- Config editing API made to be enabled/disabled from configuration.
- API input validation error output fixed to return proper error messages.
- Dashboard separated to two "pages", one for status, one for cfg editing.
- Technical detail: Route templates changed to not apply GET and POST by default.
- Technical detail: POST method request support is now implemented explicitly with POSTs defined in controllers for each route instead of implicitly via a route template.
- Downsample factor of 0 is now allowed value for API (means don't downsample)
v1.1.6 - small installer script fix
- Fixed the installer.sh to run 'apt-get update' before attempting to install packages.
- Source code tidyness: all line endings converted from CRLF to LF and indentations converted to two spaces.
v1.1.5 - fixes to FITS uploads and SQLite operations stability
Release notes
- Attempted sqlite db corruption fix: changed sqlite journaling mode to TRUNCATE.
- Fixed the astropy issue when uploading FITS files; read more below.
- Added more logging to child process spawns and adopted tree-kill to reliably terminate solver processes upon canceling request.
- Worker main process loop tweaked a bit, hopefully to no longer spawn two workers to try to grab a single job when the spawning of the first worker takes a bit longer than usual.
- Added more resilience (retries) to worker, manager and API to not fail so quickly if accessing the SQLite database fails due to SQLITE_BUSY.
- Added --no-plots parameter to solve-field if the user does
not want to store the output images to further speed up the solver.
Astropy and FITS uploads
The bug in older versions of astropy can cause failures when trying to run solve on FITS files. The following error can occur:
Cannot cast ufunc add output from dtype('int32') to dtype('uint16') with casting rule 'same_kind'
To overcome this error, your astropy package must be upgraded. Recommended version is 2.0.6. The new Windows installer will now do this automatically. In Linux however, if you're not using the install.sh script to install it you'll need to run: pip install astropy==2.0.6
(or if it doesn't upgrade, you may need to uninstall it first with pip uninstall astropy
) - if pip is not installed, try running sudo apt-get install python-pip
first.
v1.1.3 - fixed routes broken in 1.1.2
Fixed routes (job/:id/*) that 1.1.2 broke when support for all HTTP methods was added.
Also supports now only GET and POST for all methods, support for DELETE etc. was removed as I don't think any software in existence would be using them.
v1.1.2
- Added support for other HTTP methods to all endpoints to comply with the Nova API which does not seem to check the HTTP method and accepts all methods.
- Added the option to not delete temporary files after solver finishes. Note: this is a manual setting and not part of the installer options.
- Fixed additional newlines in console output.
- Moved solver created temporary files under the job's temporary directory to not leave the solver temp files behind (by default it outputs to /tmp)
- Dashboard layout improvements to fit the content to narrower space.
v1.1.1 - scale_est fix
Fixed solver command line parameters when using the scale_type ev, scale_est and scale_err API parameters.