space-physics / astrometry_geomap

FITS to Azimuth/Elevation using Astrometry.net--calibrate and plate scale images
https://www.scivision.dev/astrometry-tips-techniques
ISC License
10 stars 2 forks source link

Trouble getting this to work with downloaded image from astrometry.net #5

Open warshtub opened 3 years ago

warshtub commented 3 years ago

Hi there,

I'm trying to do a project taking the alt/az measurements calculated from a WCS result from astrometry.net (taken from a static camera) and then placing them onto other jpgs from that camera.

However, I have been unable in getting a successful result of plotting the alt/az on the original fits image I give it. I've tried repeatedly with different fits images, from color to greyscale, yet it either crashes or spits out the time and then sits there, like it's unable to open a display window.

Also, the call for PlateScaleFITS.py doesn't recognize the --nc --png options that you have for the example.

Attached are the files that I have been using. files_used.zip

Thanks in advance for your help!


MacOS Catalina Python 3.7.9 astropy 4.2

scivision commented 1 year ago

Thanks I updated the documentation. I also updated the code to use the files "new-image.fits" and "wcs.fits" that nova.astrometry.net outputs.