per@anet:~/astrometry.net/demo$ solve-field apod1.jpg --overwrite
Reading input file 1 of 1: "apod1.jpg"...
jpegtopnm: WRITING PPM FILE
Read file stdin: 800 x 526 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
simplexy: found 1776 sources.
cairoutils.c:729:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM images
cairoutils.c:729:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM images
libpng warning: Image width is zero in IHDR
cairoutils.c:729:cairoutils_read_ppm_stream: libpng warning: Image height is zero in IHDR
libpng error: Invalid IHDR data
*** longjmp causes uninitialized stack frame ***: /usr/local/astrometry/bin/plotxy terminated
======= Backtrace: =========
Netpbm is not available; can't read PPM images
cairoutils.c:729:cairoutils_read_ppm_stream: /lib/x86_64-linux-gnu/libc.so.6(+0x73f1f)[0x7f127c0abf1f]Nah, didn't do it. Which of the files should it point to? The two links below point to the proper files that I got from apt-get install:
OK, I'm past that now. I needed libnetpbm10-dev as well... It now passes make reconfig and I will pursue further. I'll report back later...
Woah! Almost!
log-odds ratio 1272.75 (inf), 406 match, 135 conflict, 1760 distractors, 415 index.
RA,Dec = (23.4748,30.6475), pixel scale 1.07568 arcsec/pix.
Hit/miss: Hit/miss: ++++-++++++++++++++++++++++++++++++++++++++++++-++++++++++++-+++++++++++-++++++++++++++++++++++-++++
Field 1: solved with index index-4204-01.fits.
Field 1 solved: writing to file astrometry.net/demo/M33.solved to indicate this.
Field: astrometry.net/demo/M33.fts
Field center: (RA,Dec) = (23.48, 30.65) deg.
Field center: (RA H:M:S, Dec D:M:S) = (01:33:54.002, +30:38:50.378).
Field size: 59.6236 x 44.8897 arcminutes
Field rotation angle: up is 89.6989 degrees E of N
Creating new FITS file "astrometry.net/demo/M33.new"...
Creating index object overlay plot...
Creating annotation plot...
Your field contains:
NGC 598 / M 33 / Triangulum galaxy
augment-xylist.c:1392:augment_xylist Failed to parse WCS header from file "/tmp/tmp.sanitized.wfQbcF"
sip_qfits.c:259:read_header_file Failed to read FITS header from file "/tmp/tmp.sanitized.wfQbcF" extension 1
anqfits.c:517:anqfits_get_header_const failed to get header start + size for file "/tmp/tmp.sanitized.wfQbcF" extension 1
anqfits.c:391:anqfits_header_size Failed to get header size for file "/tmp/tmp.sanitized.wfQbcF" ext 1: ext not in range [0, 1)
anqfits.c:381:anqfits_header_start Failed to get header start for file "/tmp/tmp.sanitized.wfQbcF" ext 1: ext not in range [0, 1)
I will post differences once I get everything going :)
Solve-field says: Ra 23.4741, Dec 30.6498
WCS says: Ra 23.0767808716, Dec 30.7358379184OK, so the actual solution is not in there?
Yes, I think I understand. What I am looking for is the exact geometrical center of the image, and only that. I suspect it is what solve-field reports:
Field center: (RA,Dec) = (23.47, 30.65) deg.
Field center: (RA H:M:S, Dec D:M:S) = (01:33:53.720, +30:38:57.282).
Field size: 59.7056 x 44.9554 arcminutes
Field rotation angle: up is 89.6975 degrees E of N
Got it! Great! I can fiddle that into an "amateur standard" FITS word in the header :)