dstndstn / astrometry.net

Astrometry.net -- automatic recognition of astronomical images
http://astrometry.net
Other
650 stars 184 forks source link

Issue when trying to constrain pixel scale #287

Closed astrofrog closed 8 months ago

astrofrog commented 8 months ago

I am trying to speed up solving by specifying a pixel scale range. I am using a FITS binary table of positions as input. If I do:

 /usr/local/astrometry/bin/solve-field -X xcentroid -Y ycentroid -w 2000 -e 2000 --overwrite /tmp/sources.fits

Then things work fine and I get the following in the solution:

  RA,Dec = (173.876,-25.612), pixel scale 0.69815 arcsec/pix.

However, if I constrain the pixel scale using:

 /usr/local/astrometry/bin/solve-field -X xcentroid -Y ycentroid -w 2000 -e 2000 -U app -L 0.5 -H 1.0 --overwrite /tmp/sources.fits

Then the solving fails even though 0.69 is in the range 0.5 to 1.0. What could be causing this?

link to sources.fits

dstndstn commented 8 months ago

The --scale-units argument is -u (lower-case), while you've got -U app ... which is requesting an output file named app :)

astrofrog commented 8 months ago

:man_facepalming:

Thanks!

dstndstn commented 8 months ago

Apologies for the infinite number of command-line arguments ;)