Can't solve most images....

164 views
Skip to first unread message

Dan Gray

unread,
Feb 24, 2018, 6:05:36 PM2/24/18
to astrometry
Hi all,
So far, Dustin has been extremely helpful, thanks.
Ok, making baby steps here.
I was able to solve 2 images, but most images fail.

Here's two that fail.  I'll list each image, and then the command line I'm using, and the result:
There are two M44 images that were installed in the Astrometry.net folder.  The're both Jpegs, and one has higher background, but one solves, and the other doesn't.
I've copied the three files to my website, so anyone can test them too.

This one is solved by solve-field:
sudo ./solve-field --scale-units degwidth --scale-low 0.8 --scale-high 0.9 --ra 130.132 --dec 19.64 --radius 3  --overwrite /home/dan/Astrometry/examples/m44-1975-01-18.jpg
Result=
Field: /home/dan/Astrometry/examples/m44-1975-01-18.jpg
Field center: (RA,Dec) = (130.098914, 19.683971) deg.
Field center: (RA H:M:S, Dec D:M:S) = (08:40:23.739, +19:41:02.295).
Field size: 53.5396 x 51.6443 arcminutes
Field rotation angle: up is 179.953 degrees E of N

Ok, cool, it didn't take too long either, about 12 seconds.
I really think the following should solve too.  I'm using the same command line (with different filename), but it won't solve.   What am I doing wrong?
It's a nearly identical field, M44, but has less background level......
sudo ./solve-field --scale-units degwidth --scale-low 0.8 --scale-high 0.9 --ra 150.132 --dec 19.64 --radius 3  --overwrite /home/dan/Astrometry/examples/m44-1910-04-01.jpg

In both of the above instances, I was using 4200 indexes.

Ok, those previous images came with the install of astrometry.net-0.73
I copied them here:
Didn't solve:
http://siderealtechnology.com/Astrometry/m44-1910-04-01.jpg

Solved ok:
http://siderealtechnology.com/Astrometry/m44-1975-01-18.jpg


Now here's an image I took from SAAO using their 1 meter Lesedi alt/az telescope.
http://siderealtechnology.com/Astrometry/InWest2-0007L.fit
The coordinates for this image (I solved it with Dave Rowe's Platesolve using WIndow) are as follows:
ra=10:13:13.993  dec=-21:55:33.93
OR in decimal degrees:
ra=153.308304 Dec=-21.926092
F.O.V. =
9.8 arc minutes by 6.45 arc minutes. 
In deg's it's:
0.1645 x 0.109.

Here's the command line that *Should* solve it?
sudo ./solve-field --scale-units degwidth --scale-low 0.09 --scale-high 0.2 --ra 153.3 --dec -21.926 --radius 2  --overwrite /home/dan/InWest2-0007L.fit


Here's a screenshot of a successful PlateSolve of the above image using PlateSolve by Dave Rowe (from planewave.com) under windows.
http://siderealtechnology.com/Astrometry/PlateSolveScreenShot.jpg

It was also solved by http://nova.astrometry.org....  Here's a screenshot of that:
http://siderealtechnology.com/Astrometry/InWest2-0007LSovedByNova_astrometry_org_.jpg


Does anybody have any suggestions?
Thanks....

Dan Gray

P.S.
Here's my configuration file:
(I didn't include lines that were commented out)

cpulimit 900
add_path /home/dan/Astrometry/data/4200
autoindex

****************OK, here's the complete command and output of the solve-image command that failed:
dan@DansLinux:~/Astrometry/bin$ sudo ./solve-field --scale-units degwidth --scale-low 0.09 --scale-high 0.2 --ra 153.3 --dec -21.926 --radius 2  --overwrite /home/dan/InWest2-0007L.fit
Reading input file 1 of 1: "/home/dan/InWest2-0007L.fit"...
Extracting sources...
simplexy: found 158 sources.
cairoutils.c:715:cairoutils_read_ppm_stream: cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM imagesNetpbm is not available; can't read PPM images

cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM imagescairoutils.c:715:cairoutils_read_ppm_stream:
Netpbm is not available; can't read PPM images
libpng warning: Image width is zero in IHDR
libpng warning: Image height is zero in IHDR
libpng error: Invalid IHDR data
Aborted (core dumped)
solve-field.c:326:plot_source_overlay Plotting command failed
 solve-field.c:132:run_command Command was: "/home/dan/Astrometry/bin/plotxy -I /tmp/tmp.ppm.MOp8S8 -i /home/dan/InWest2-0007L.axy -C red -w 2 -N 50 -x 1 -y 1 -P | /home/dan/Astrometry/bin/plotxy -i /home/dan/InWest2-0007L.axy -I - -w 2 -r 3 -C red -n 50 -N 200 -x 1 -y 1 > /home/dan/InWest2-0007L-objs.png"

 solve-field.c:131:run_command Command exited with exit status 134
Solving...
Reading file "/home/dan/InWest2-0007L.axy"...
Only searching for solutions within 2 degrees of RA,Dec (153.3,-21.926)
Field 1 did not solve (index index-4205-09.fits, field objects 1-10).
Field 1 did not solve (index index-4204-39.fits, field objects 1-10).
Field 1 did not solve (index index-4204-38.fits, field objects 1-10).
Field 1 did not solve (index index-4203-39.fits, field objects 1-10).
Field 1 did not solve (index index-4203-38.fits, field objects 1-10).
Field 1 did not solve (index index-4202-39.fits, field objects 1-10).
Field 1 did not solve (index index-4202-38.fits, field objects 1-10).
Field 1 did not solve (index index-4201-39.fits, field objects 1-10).
Field 1 did not solve (index index-4201-38.fits, field objects 1-10).
Field 1 did not solve (index index-4200-39.fits, field objects 1-10).
Field 1 did not solve (index index-4200-38.fits, field objects 1-10).
Field 1 did not solve (index index-4205-09.fits, field objects 11-20).
Field 1 did not solve (index index-4204-39.fits, field objects 11-20).
Field 1 did not solve (index index-4204-38.fits, field objects 11-20).
Field 1 did not solve (index index-4203-39.fits, field objects 11-20).
Field 1 did not solve (index index-4203-38.fits, field objects 11-20).
Field 1 did not solve (index index-4202-39.fits, field objects 11-20).
Field 1 did not solve (index index-4202-38.fits, field objects 11-20).
Field 1 did not solve (index index-4201-39.fits, field objects 11-20).
Field 1 did not solve (index index-4201-38.fits, field objects 11-20).
Field 1 did not solve (index index-4200-39.fits, field objects 11-20).
Field 1 did not solve (index index-4200-38.fits, field objects 11-20).
Field 1 did not solve (index index-4205-09.fits, field objects 21-30).
Field 1 did not solve (index index-4204-39.fits, field objects 21-30).
Field 1 did not solve (index index-4204-38.fits, field objects 21-30).
Field 1 did not solve (index index-4203-39.fits, field objects 21-30).
Field 1 did not solve (index index-4203-38.fits, field objects 21-30).
Field 1 did not solve (index index-4202-39.fits, field objects 21-30).
Field 1 did not solve (index index-4202-38.fits, field objects 21-30).
Field 1 did not solve (index index-4201-39.fits, field objects 21-30).
Field 1 did not solve (index index-4201-38.fits, field objects 21-30).
Field 1 did not solve (index index-4200-39.fits, field objects 21-30).
Field 1 did not solve (index index-4200-38.fits, field objects 21-30).
Field 1 did not solve (index index-4205-09.fits, field objects 31-40).
Field 1 did not solve (index index-4204-39.fits, field objects 31-40).
Field 1 did not solve (index index-4204-38.fits, field objects 31-40).
Field 1 did not solve (index index-4203-39.fits, field objects 31-40).
Field 1 did not solve (index index-4203-38.fits, field objects 31-40).
Field 1 did not solve (index index-4202-39.fits, field objects 31-40).
Field 1 did not solve (index index-4202-38.fits, field objects 31-40).
Field 1 did not solve (index index-4201-39.fits, field objects 31-40).
Field 1 did not solve (index index-4201-38.fits, field objects 31-40).
Field 1 did not solve (index index-4200-39.fits, field objects 31-40).
Field 1 did not solve (index index-4200-38.fits, field objects 31-40).
Field 1 did not solve (index index-4205-09.fits, field objects 41-50).
Field 1 did not solve (index index-4204-39.fits, field objects 41-50).
Field 1 did not solve (index index-4204-38.fits, field objects 41-50).
Field 1 did not solve (index index-4203-39.fits, field objects 41-50).
Field 1 did not solve (index index-4203-38.fits, field objects 41-50).
Field 1 did not solve (index index-4202-39.fits, field objects 41-50).
Field 1 did not solve (index index-4202-38.fits, field objects 41-50).
Field 1 did not solve (index index-4201-39.fits, field objects 41-50).
Field 1 did not solve (index index-4201-38.fits, field objects 41-50).
Field 1 did not solve (index index-4200-39.fits, field objects 41-50).
Field 1 did not solve (index index-4200-38.fits, field objects 41-50).
Field 1 did not solve (index index-4205-09.fits, field objects 51-60).
Field 1 did not solve (index index-4204-39.fits, field objects 51-60).
Field 1 did not solve (index index-4204-38.fits, field objects 51-60).
Field 1 did not solve (index index-4203-39.fits, field objects 51-60).
Field 1 did not solve (index index-4203-38.fits, field objects 51-60).
Field 1 did not solve (index index-4202-39.fits, field objects 51-60).
Field 1 did not solve (index index-4202-38.fits, field objects 51-60).
Field 1 did not solve (index index-4201-39.fits, field objects 51-60).
Field 1 did not solve (index index-4201-38.fits, field objects 51-60).
Field 1 did not solve (index index-4200-39.fits, field objects 51-60).
Field 1 did not solve (index index-4200-38.fits, field objects 51-60).
Field 1 did not solve (index index-4205-09.fits, field objects 61-70).
Field 1 did not solve (index index-4204-39.fits, field objects 61-70).
Field 1 did not solve (index index-4204-38.fits, field objects 61-70).
Field 1 did not solve (index index-4203-39.fits, field objects 61-70).
Field 1 did not solve (index index-4203-38.fits, field objects 61-70).
Field 1 did not solve (index index-4202-39.fits, field objects 61-70).
Field 1 did not solve (index index-4202-38.fits, field objects 61-70).
Field 1 did not solve (index index-4201-39.fits, field objects 61-70).
Field 1 did not solve (index index-4201-38.fits, field objects 61-70).
Field 1 did not solve (index index-4200-39.fits, field objects 61-70).
Field 1 did not solve (index index-4200-38.fits, field objects 61-70).
Field 1 did not solve (index index-4205-09.fits, field objects 71-80).
Field 1 did not solve (index index-4204-39.fits, field objects 71-80).
Field 1 did not solve (index index-4204-38.fits, field objects 71-80).
Field 1 did not solve (index index-4203-39.fits, field objects 71-80).
Field 1 did not solve (index index-4203-38.fits, field objects 71-80).
Field 1 did not solve (index index-4202-39.fits, field objects 71-80).
Field 1 did not solve (index index-4202-38.fits, field objects 71-80).
Field 1 did not solve (index index-4201-39.fits, field objects 71-80).
Field 1 did not solve (index index-4201-38.fits, field objects 71-80).
Field 1 did not solve (index index-4200-39.fits, field objects 71-80).
Field 1 did not solve (index index-4200-38.fits, field objects 71-80).
Field 1 did not solve (index index-4205-09.fits, field objects 81-90).
Field 1 did not solve (index index-4204-39.fits, field objects 81-90).
Field 1 did not solve (index index-4204-38.fits, field objects 81-90).
Field 1 did not solve (index index-4203-39.fits, field objects 81-90).
Field 1 did not solve (index index-4203-38.fits, field objects 81-90).
Field 1 did not solve (index index-4202-39.fits, field objects 81-90).
Field 1 did not solve (index index-4202-38.fits, field objects 81-90).
Field 1 did not solve (index index-4201-39.fits, field objects 81-90).
Field 1 did not solve (index index-4201-38.fits, field objects 81-90).
Field 1 did not solve (index index-4200-39.fits, field objects 81-90).
Field 1 did not solve (index index-4200-38.fits, field objects 81-90).
Field 1 did not solve (index index-4205-09.fits, field objects 91-100).
Field 1 did not solve (index index-4204-39.fits, field objects 91-100).
Field 1 did not solve (index index-4204-38.fits, field objects 91-100).
Field 1 did not solve (index index-4203-39.fits, field objects 91-100).
Field 1 did not solve (index index-4203-38.fits, field objects 91-100).
Field 1 did not solve (index index-4202-39.fits, field objects 91-100).
Field 1 did not solve (index index-4202-38.fits, field objects 91-100).
Field 1 did not solve (index index-4201-39.fits, field objects 91-100).
Field 1 did not solve (index index-4201-38.fits, field objects 91-100).
Field 1 did not solve (index index-4200-39.fits, field objects 91-100).
Field 1 did not solve (index index-4200-38.fits, field objects 91-100).
Field 1 did not solve (index index-4205-09.fits, field objects 101-110).
Field 1 did not solve (index index-4204-39.fits, field objects 101-110).
Field 1 did not solve (index index-4204-38.fits, field objects 101-110).
Field 1 did not solve (index index-4203-39.fits, field objects 101-110).
Field 1 did not solve (index index-4203-38.fits, field objects 101-110).
Field 1 did not solve (index index-4202-39.fits, field objects 101-110).
Field 1 did not solve (index index-4202-38.fits, field objects 101-110).
Field 1 did not solve (index index-4201-39.fits, field objects 101-110).
Field 1 did not solve (index index-4201-38.fits, field objects 101-110).
Field 1 did not solve (index index-4200-39.fits, field objects 101-110).
Field 1 did not solve (index index-4200-38.fits, field objects 101-110).
Field 1 did not solve (index index-4205-09.fits, field objects 111-120).
Field 1 did not solve (index index-4204-39.fits, field objects 111-120).
Field 1 did not solve (index index-4204-38.fits, field objects 111-120).
Field 1 did not solve (index index-4203-39.fits, field objects 111-120).
Field 1 did not solve (index index-4203-38.fits, field objects 111-120).
Field 1 did not solve (index index-4202-39.fits, field objects 111-120).
Field 1 did not solve (index index-4202-38.fits, field objects 111-120).
Field 1 did not solve (index index-4201-39.fits, field objects 111-120).
Field 1 did not solve (index index-4201-38.fits, field objects 111-120).
Field 1 did not solve (index index-4200-39.fits, field objects 111-120).
Field 1 did not solve (index index-4200-38.fits, field objects 111-120).
Field 1 did not solve (index index-4205-09.fits, field objects 121-130).
Field 1 did not solve (index index-4204-39.fits, field objects 121-130).
Field 1 did not solve (index index-4204-38.fits, field objects 121-130).
Field 1 did not solve (index index-4203-39.fits, field objects 121-130).
Field 1 did not solve (index index-4203-38.fits, field objects 121-130).
Field 1 did not solve (index index-4202-39.fits, field objects 121-130).
Field 1 did not solve (index index-4202-38.fits, field objects 121-130).
Field 1 did not solve (index index-4201-39.fits, field objects 121-130).
Field 1 did not solve (index index-4201-38.fits, field objects 121-130).
Field 1 did not solve (index index-4200-39.fits, field objects 121-130).
Field 1 did not solve (index index-4200-38.fits, field objects 121-130).
Field 1 did not solve (index index-4205-09.fits, field objects 131-140).
Field 1 did not solve (index index-4204-39.fits, field objects 131-140).
Field 1 did not solve (index index-4204-38.fits, field objects 131-140).
Field 1 did not solve (index index-4203-39.fits, field objects 131-140).
Field 1 did not solve (index index-4203-38.fits, field objects 131-140).
Field 1 did not solve (index index-4202-39.fits, field objects 131-140).
Field 1 did not solve (index index-4202-38.fits, field objects 131-140).
Field 1 did not solve (index index-4201-39.fits, field objects 131-140).
Field 1 did not solve (index index-4201-38.fits, field objects 131-140).
Field 1 did not solve (index index-4200-39.fits, field objects 131-140).
Field 1 did not solve (index index-4200-38.fits, field objects 131-140).
Field 1 did not solve (index index-4205-09.fits, field objects 141-150).
Field 1 did not solve (index index-4204-39.fits, field objects 141-150).
Field 1 did not solve (index index-4204-38.fits, field objects 141-150).
Field 1 did not solve (index index-4203-39.fits, field objects 141-150).
Field 1 did not solve (index index-4203-38.fits, field objects 141-150).
Field 1 did not solve (index index-4202-39.fits, field objects 141-150).
Field 1 did not solve (index index-4202-38.fits, field objects 141-150).
Field 1 did not solve (index index-4201-39.fits, field objects 141-150).
Field 1 did not solve (index index-4201-38.fits, field objects 141-150).
Field 1 did not solve (index index-4200-39.fits, field objects 141-150).
Field 1 did not solve (index index-4200-38.fits, field objects 141-150).
Field 1 did not solve (index index-4205-09.fits, field objects 151-160).
Field 1 did not solve (index index-4204-39.fits, field objects 151-160).
Field 1 did not solve (index index-4204-38.fits, field objects 151-160).
Field 1 did not solve (index index-4203-39.fits, field objects 151-160).
Field 1 did not solve (index index-4203-38.fits, field objects 151-160).
Field 1 did not solve (index index-4202-39.fits, field objects 151-160).
Field 1 did not solve (index index-4202-38.fits, field objects 151-160).
Field 1 did not solve (index index-4201-39.fits, field objects 151-160).
Field 1 did not solve (index index-4201-38.fits, field objects 151-160).
Field 1 did not solve (index index-4200-39.fits, field objects 151-160).
Field 1 did not solve (index index-4200-38.fits, field objects 151-160).
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field: /home/dan/InWest2-0007L.fit
Did not solve (or no WCS file was written).








Dustin Lang

unread,
Feb 26, 2018, 4:11:22 PM2/26/18
to astrometry
Hi,

Thanks for your patience.

If you've got the plotting code built (looks like not), then it's usually helpful to make sure the source extraction (star detection) worked right.  The nova.astrometry.net web site, by the way, recognizes both of these, the 1975 image with index 4107, the 1910 with index 4109.  The web site by default uses "--downsample 2".  These images are pretty chunky, so I went with:

solve-field demo/m44-1910-04-01.jpg -L 0.8 -H 0.9 --downsample 4
solve-field demo/m44-1975-01-18.jpg -L 0.8 -H 0.9 --downsample 4

and got pretty quick solutions for both.

For your FITS image, similarly, I get o solution with "--downsample 2".

cheers,
--dustin



Dan Gray

unread,
Feb 26, 2018, 4:27:54 PM2/26/18
to astrometry

Thanks Dustin,
So what should I do to make it solve on my machine?
I've been trying to get rid of the following errors:
cairoutils.c:715:cairoutils_read_ppm_stream: cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM images

cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM images
Netpbm is not available; can't read PPM images
cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM images
libpng warning: Image width is zero in IHDR
libpng warning: Image height is zero in IHDR
libpng error: Invalid IHDR data
Aborted (core dumped)
solve-field.c:326:plot_source_overlay Plotting command failed

I found my netpbm files:
/user/bin
and /user/include

So I issued the following commands:
 export NETPBM_LIB="-L/usr/bin -lnetpbm"
 export NETPBM_INC="-I/usr/include/netpbm -I/usr/include"
those commands are now in my  environment
Then I issued:
make reconfig
The output looks good, but I still get
the errors "Netpbm is not available; can't read PPM images"
Do you have any suggestions?

Here's the output of the make config
Config results:
------------------------------

cat makefile.os-features
# This file is generated by util/Makefile.
HAVE_NETPBM := yes

------------------------------

And, by the way, is WCSlib support being compiled in?

pkg-config --exists wcslib && echo yes || echo no
no

  WCSLIB_INC:
  WCSLIB_LIB:

------------------------------
make[1]: Nothing to be done for 'config'.
make[1]: Leaving directory '/home/dan/astrometry.net-0.73/util'

Dan Gray

unread,
Feb 26, 2018, 4:43:25 PM2/26/18
to astrometry
I added the -downsample 2 and ALL of the images solved in just a few seconds!
Thanks a million!
Now I'll start a new thread about the:

cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM images

Thanks a million!!!!
Dan Gray

Dustin Lang

unread,
Feb 26, 2018, 4:45:17 PM2/26/18
to astrometry
Hi,

The NETPBM_LIB tells it where to find *library* files, not executables, so you probably want instead:

export NETPBM_LIB="-L/usr/lib -lnetpbm"

and then after a "make reconfig", do a "make" and "make extra".

cheers,
--dustin


Reply all
Reply to author
Forward
0 new messages