Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...

TOPIC: remote solver | unable to solve

remote solver | unable to solve 2 months 1 week ago #27243

So today I thought about trying the remote solver, however this isn't working correctly for me. Wasn't able to solve anything, nor even at the command line.
Testing done will the simulators.
Slew over to M39, took at picture and uploaded it to nova.astrometry first to check that it could in fact be solved.
nova.astrometry.net/status/2134422
It shows "Field 1: solved with index index-206.fits."

So I download index-4205 (this index works) in Ekos, for a local solve first. And that works well.

2018-07-07T17:20:01 Target is within acceptable range. Astrometric solver is successful.
2018-07-07T17:20:01 Target is within 0° 00' 11" degrees of solution coordinates.
2018-07-07T17:20:01 Solution coordinates: RA (21h 32m 28s) DEC ( 48° 30' 51") Telescope Coordinates: RA (21h 32m 28s) DEC ( 48° 31' 02")
2018-07-07T17:20:01 Solver completed in 2 seconds.
2018-07-07T17:19:59 Starting solver...
2018-07-07T17:19:59 Solver iteration #1
2018-07-07T17:19:59 Image received.
2018-07-07T17:19:58 Capturing image...


On my remote server I have the following:

# grep add_path /etc/astrometry.cfg
add_path /Astro/Astrometry/indexes
# pwd ; ls
/Astro/Astrometry/indexes
index-4205-00.fits index-4205-02.fits index-4205-04.fits index-4205-06.fits index-4205-08.fits index-4205-10.fits
index-4205-01.fits index-4205-03.fits index-4205-05.fits index-4205-07.fits index-4205-09.fits index-4205-11.fits
#

# dpkg -l | grep astrometry.net
ii astrometry.net 0.67+dfsg-1 armhf Astrometry plate solver
#


From Ekos, I get the solve command which is:
-O --no-plots --no-verify --resort --downsample 2 -L 20.347 -H 25.433 -u aw -3 323.117 -4 48.5172 -5 30
I upload the same fits file to my server and run the same command I do get the following:

# solve-field -O --no-plots --no-verify --resort --downsample 2 -L 20.347 -H 25.433 -u aw -3 323.117 -4 48.5172 -5 30 M39.fits
Reading input file 1 of 1: "M39.fits"...
Header has 46 cards
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 323, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 320, in main
mydir, fix_sdss=options.fix_sdss)
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 248, in convert_image
(imgtype, errstr) = image2pnm(infile, outfile, sanitized, force_ppm, no_fits2fits, extension, mydir, fix_sdss)
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 184, in image2pnm
errstr = fits2fits(infile, sanitized, fix_idr=fix_sdss)
File "/usr/lib/python2.7/dist-packages/astrometry/util/fits2fits.py", line 86, in fits2fits
hdu.scale('int16', '', bscale, bzero)
File "/usr/lib/python2.7/dist-packages/pyfits/hdu/image.py", line 383, in scale
bzero=bzero, blank=None)
File "/usr/lib/python2.7/dist-packages/pyfits/hdu/image.py", line 441, in _scale_internal
self.data += -_zero
TypeError: Cannot cast ufunc add output from dtype('int32') to dtype('uint16') with casting rule 'same_kind'
augment-xylist.c:588:backtick Failed to run command: /usr/bin/python -m astrometry.util.image2pnm --sanitized-fits-outfile /tmp/tmp.sanitized.575zon --fix-sdss --infile M39.fits --uncompressed-outfile /tmp/tmp.uncompressed.YSCuqY --outfile /tmp/tmp.ppm.Pm1Whz --ppm
ioutils.c:567:run_command_get_outputs Command failed: return value 1
#

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

remote solver | unable to solve 2 months 1 week ago #27244

update:

updated the python path with the following:

# export PYTHONPATH=/usr/local/astrometry/lib/python
# solve-field M39.fits
Reading input file 1 of 1: "M39.fits"...
Usage: image2pnm.py [options]

image2pnm.py: error: no such option: --sanitized-fits-outfile
augment-xylist.c:588:backtick Failed to run command: /usr/bin/python -m astrometry.util.image2pnm --sanitized-fits-outfile /tmp/tmp.sanitized.oWEyOn --fix-sdss --infile M39.fits --uncompressed-outfile /tmp/tmp.uncompressed.a2OWnW --outfile /tmp/tmp.ppm.W5jEfy --ppm
ioutils.c:567:run_command_get_outputs Command failed: return value 2
#

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

remote solver | unable to solve 2 months 1 week ago #27245

I'm still using Ubuntu 16.04 on the Odroid C1, but it looks like Ubuntu 18.04 is coming according to this thread
forum.odroid.com/viewtopic.php?f=112&t=31392

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

remote solver | unable to solve 2 months 1 week ago #27249

Looks like the solver works with certain pictures but not with some.
It is very strange, I am able to solve an old picture I took with my camera (wide field) a long time ago, but cannot solve a recent picture taken with Ekos through my telescope and Atik CCD.

Old picture:

# ./verify.sh horizontal.jpg
Reading input file 1 of 1: "horizontal.jpg"...
jpegtopnm: WRITING PPM FILE
Read file stdin: 4016 x 2688 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
Downsampling by 2...
simplexy: found 1619 sources.
Solving...
Reading file "./horizontal.axy"...
Field 1 did not solve (index index-4219.fits, field objects 1-10).
Field 1 did not solve (index index-4218.fits, field objects 1-10).
Field 1 did not solve (index index-4217.fits, field objects 1-10).
Field 1 did not solve (index index-4216.fits, field objects 1-10).
Field 1 did not solve (index index-4215.fits, field objects 1-10).
log-odds ratio 433.53 (1.90461e+188), 92 match, 0 conflict, 328 distractors, 144 index.
RA,Dec = (18.2416,87.5421), pixel scale 17.4721 arcsec/pix.
Hit/miss: Hit/miss: +++-++++++--+-+++--+-+++++-+-++-++-++++++++--+----+--+---+--+--+--+-+++-++++-+---+--+----+----++--+-
Field 1: solved with index index-4214.fits.
Field: horizontal.jpg
Field center: (RA,Dec) = (18.165212, 87.543100) deg.
Field center: (RA H:M:S, Dec D:M:S) = (01:12:39.651, +87:32:35.158).
Field size: 19.299 x 12.9814 degrees
Field rotation angle: up is -80.0842 degrees E of N
Creating new FITS file "./horizontal.new"...


Trying to parse SIP/TAN header from horizontal.wcs...
Got SIP header.
Checking 5023 bright stars.
Polaris (αUMi) at (2306.5, 1129.84)
The star Polaris (αUMi)
εUMi at (3953.56, 1825.3)
The star εUMi
Yildun (δUMi) at (3019.46, 1535)
The star Yildun (δUMi)
41Dra at (3958.17, 2564.79)
The star 41Dra
24UMi at (2958.65, 1484.1)
The star 24UMi
76Dra at (2599.05, 2652.35)
The star 76Dra
#



Recent picture:

# ./verify.sh NGC6910_300s_guided.jpeg
Reading input file 1 of 1: "NGC6910_300s_guided.jpeg"...
jpegtopnm: WRITING PGM FILE
Read file none: 1392 x 1040 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
Downsampling by 2...
simplexy: found 1158 sources.
Solving...
Reading file "./NGC6910_300s_guided.axy"...
Field 1 did not solve (index index-4219.fits, field objects 1-10).
Field 1 did not solve (index index-4218.fits, field objects 1-10).
Field 1 did not solve (index index-4217.fits, field objects 1-10).
Field 1 did not solve (index index-4216.fits, field objects 1-10).
Field 1 did not solve (index index-4215.fits, field objects 1-10).
Field 1 did not solve (index index-4214.fits, field objects 1-10).
Field 1 did not solve (index index-4213.fits, field objects 1-10).
Field 1 did not solve (index index-4212.fits, field objects 1-10).
Field 1 did not solve (index index-4211.fits, field objects 1-10).
Field 1 did not solve (index index-4210.fits, field objects 1-10).
Field 1 did not solve (index index-4209.fits, field objects 1-10).
Field 1 did not solve (index index-4208.fits, field objects 1-10).
Field 1 did not solve (index index-4207-11.fits, field objects 1-10).
Field 1 did not solve (index index-4207-10.fits, field objects 1-10).
Field 1 did not solve (index index-4207-09.fits, field objects 1-10).
Field 1 did not solve (index index-4207-08.fits, field objects 1-10).
Field 1 did not solve (index index-4207-07.fits, field objects 1-10).
Field 1 did not solve (index index-4207-06.fits, field objects 1-10).
Field 1 did not solve (index index-4207-05.fits, field objects 1-10).
Field 1 did not solve (index index-4207-04.fits, field objects 1-10).
Field 1 did not solve (index index-4207-03.fits, field objects 1-10).
Field 1 did not solve (index index-4207-02.fits, field objects 1-10).
Field 1 did not solve (index index-4207-01.fits, field objects 1-10).
Field 1 did not solve (index index-4207-00.fits, field objects 1-10).
Field 1 did not solve (index index-4206-11.fits, field objects 1-10).
Field 1 did not solve (index index-4206-10.fits, field objects 1-10).
Field 1 did not solve (index index-4206-09.fits, field objects 1-10).
Field 1 did not solve (index index-4206-08.fits, field objects 1-10).
Field 1 did not solve (index index-4206-07.fits, field objects 1-10).
Field 1 did not solve (index index-4206-06.fits, field objects 1-10).
Field 1 did not solve (index index-4206-05.fits, field objects 1-10).
Field 1 did not solve (index index-4206-04.fits, field objects 1-10).
Field 1 did not solve (index index-4206-03.fits, field objects 1-10).
Field 1 did not solve (index index-4206-02.fits, field objects 1-10).
Field 1 did not solve (index index-4206-01.fits, field objects 1-10).
Field 1 did not solve (index index-4206-00.fits, field objects 1-10).
Field 1 did not solve (index index-4205-11.fits, field objects 1-10).
Field 1 did not solve (index index-4205-10.fits, field objects 1-10).
Field 1 did not solve (index index-4205-09.fits, field objects 1-10).
Field 1 did not solve (index index-4205-08.fits, field objects 1-10).
Field 1 did not solve (index index-4205-07.fits, field objects 1-10).
Field 1 did not solve (index index-4205-06.fits, field objects 1-10).
Field 1 did not solve (index index-4205-05.fits, field objects 1-10).
Field 1 did not solve (index index-4205-04.fits, field objects 1-10).
Field 1 did not solve (index index-4205-03.fits, field objects 1-10).
Field 1 did not solve (index index-4205-02.fits, field objects 1-10).
Field 1 did not solve (index index-4205-01.fits, field objects 1-10).
Field 1 did not solve (index index-4205-00.fits, field objects 1-10).
Field 1 did not solve (index index-4204-47.fits, field objects 1-10).
Field 1 did not solve (index index-4204-46.fits, field objects 1-10).
Field 1 did not solve (index index-4204-45.fits, field objects 1-10).
Field 1 did not solve (index index-4204-44.fits, field objects 1-10).
Field 1 did not solve (index index-4204-43.fits, field objects 1-10).
Field 1 did not solve (index index-4204-42.fits, field objects 1-10).
Field 1 did not solve (index index-4204-41.fits, field objects 1-10).
Field 1 did not solve (index index-4204-40.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-4204-37.fits, field objects 1-10).
Field 1 did not solve (index index-4204-36.fits, field objects 1-10).
Field 1 did not solve (index index-4204-35.fits, field objects 1-10).
Field 1 did not solve (index index-4204-34.fits, field objects 1-10).
Field 1 did not solve (index index-4204-33.fits, field objects 1-10).
Field 1 did not solve (index index-4204-32.fits, field objects 1-10).
Field 1 did not solve (index index-4204-31.fits, field objects 1-10).
Field 1 did not solve (index index-4204-30.fits, field objects 1-10).
Field 1 did not solve (index index-4204-29.fits, field objects 1-10).
Field 1 did not solve (index index-4204-28.fits, field objects 1-10).
Field 1 did not solve (index index-4204-27.fits, field objects 1-10).
Field 1 did not solve (index index-4204-26.fits, field objects 1-10).
Field 1 did not solve (index index-4204-25.fits, field objects 1-10).
Field 1 did not solve (index index-4204-24.fits, field objects 1-10).
Field 1 did not solve (index index-4204-23.fits, field objects 1-10).
Field 1 did not solve (index index-4204-22.fits, field objects 1-10).
Field 1 did not solve (index index-4204-21.fits, field objects 1-10).
Field 1 did not solve (index index-4204-20.fits, field objects 1-10).
Field 1 did not solve (index index-4204-19.fits, field objects 1-10).
Field 1 did not solve (index index-4204-18.fits, field objects 1-10).
Field 1 did not solve (index index-4204-17.fits, field objects 1-10).
Field 1 did not solve (index index-4204-16.fits, field objects 1-10).
Field 1 did not solve (index index-4204-15.fits, field objects 1-10).
Field 1 did not solve (index index-4204-14.fits, field objects 1-10).
Field 1 did not solve (index index-4204-13.fits, field objects 1-10).
Field 1 did not solve (index index-4204-12.fits, field objects 1-10).
Field 1 did not solve (index index-4204-11.fits, field objects 1-10).
Field 1 did not solve (index index-4204-10.fits, field objects 1-10).
Field 1 did not solve (index index-4204-09.fits, field objects 1-10).
Field 1 did not solve (index index-4204-08.fits, field objects 1-10).
Field 1 did not solve (index index-4204-07.fits, field objects 1-10).
Field 1 did not solve (index index-4204-06.fits, field objects 1-10).
Field 1 did not solve (index index-4204-05.fits, field objects 1-10).
Field 1 did not solve (index index-4204-04.fits, field objects 1-10).
Field 1 did not solve (index index-4204-03.fits, field objects 1-10).
Field 1 did not solve (index index-4204-02.fits, field objects 1-10).
Field 1 did not solve (index index-4204-01.fits, field objects 1-10).
Field 1 did not solve (index index-4204-00.fits, field objects 1-10).
Field 1 did not solve (index index-4203-47.fits, field objects 1-10).
Field 1 did not solve (index index-4203-46.fits, field objects 1-10).
Field 1 did not solve (index index-4203-45.fits, field objects 1-10).
Field 1 did not solve (index index-4203-44.fits, field objects 1-10).
Field 1 did not solve (index index-4203-43.fits, field objects 1-10).
Field 1 did not solve (index index-4203-42.fits, field objects 1-10).
Field 1 did not solve (index index-4203-41.fits, field objects 1-10).
Field 1 did not solve (index index-4203-40.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-4203-37.fits, field objects 1-10).
Field 1 did not solve (index index-4203-36.fits, field objects 1-10).
Field 1 did not solve (index index-4203-35.fits, field objects 1-10).
Field 1 did not solve (index index-4203-34.fits, field objects 1-10).
Field 1 did not solve (index index-4203-33.fits, field objects 1-10).
Field 1 did not solve (index index-4203-32.fits, field objects 1-10).
Field 1 did not solve (index index-4203-31.fits, field objects 1-10).
Field 1 did not solve (index index-4203-30.fits, field objects 1-10).
Field 1 did not solve (index index-4203-29.fits, field objects 1-10).
Field 1 did not solve (index index-4203-28.fits, field objects 1-10).
Field 1 did not solve (index index-4203-27.fits, field objects 1-10).
Field 1 did not solve (index index-4203-26.fits, field objects 1-10).
Field 1 did not solve (index index-4203-25.fits, field objects 1-10).
Field 1 did not solve (index index-4203-24.fits, field objects 1-10).
Field 1 did not solve (index index-4203-23.fits, field objects 1-10).
Field 1 did not solve (index index-4203-22.fits, field objects 1-10).
Field 1 did not solve (index index-4203-21.fits, field objects 1-10).
Field 1 did not solve (index index-4203-20.fits, field objects 1-10).
Field 1 did not solve (index index-4203-19.fits, field objects 1-10).
Field 1 did not solve (index index-4203-18.fits, field objects 1-10).
Field 1 did not solve (index index-4203-17.fits, field objects 1-10).
Field 1 did not solve (index index-4203-16.fits, field objects 1-10).
Field 1 did not solve (index index-4203-15.fits, field objects 1-10).
Field 1 did not solve (index index-4203-14.fits, field objects 1-10).
Field 1 did not solve (index index-4203-13.fits, field objects 1-10).
Field 1 did not solve (index index-4203-12.fits, field objects 1-10).
Field 1 did not solve (index index-4203-11.fits, field objects 1-10).
Field 1 did not solve (index index-4203-10.fits, field objects 1-10).
Field 1 did not solve (index index-4203-09.fits, field objects 1-10).
Field 1 did not solve (index index-4203-08.fits, field objects 1-10).
Field 1 did not solve (index index-4203-07.fits, field objects 1-10).
Field 1 did not solve (index index-4203-06.fits, field objects 1-10).
Field 1 did not solve (index index-4203-05.fits, field objects 1-10).
Field 1 did not solve (index index-4203-04.fits, field objects 1-10).
Field 1 did not solve (index index-4203-03.fits, field objects 1-10).
Field 1 did not solve (index index-4203-02.fits, field objects 1-10).
Field 1 did not solve (index index-4203-01.fits, field objects 1-10).
Field 1 did not solve (index index-4203-00.fits, field objects 1-10).
Field 1 did not solve (index index-4202-47.fits, field objects 1-10).
Field 1 did not solve (index index-4202-46.fits, field objects 1-10).
Field 1 did not solve (index index-4202-45.fits, field objects 1-10).
Field 1 did not solve (index index-4202-44.fits, field objects 1-10).
Field 1 did not solve (index index-4202-43.fits, field objects 1-10).
Field 1 did not solve (index index-4202-42.fits, field objects 1-10).
Field 1 did not solve (index index-4202-41.fits, field objects 1-10).
Field 1 did not solve (index index-4202-40.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-4202-37.fits, field objects 1-10).
Field 1 did not solve (index index-4202-36.fits, field objects 1-10).
Field 1 did not solve (index index-4202-35.fits, field objects 1-10).
Field 1 did not solve (index index-4202-34.fits, field objects 1-10).
Field 1 did not solve (index index-4202-33.fits, field objects 1-10).
Field 1 did not solve (index index-4202-32.fits, field objects 1-10).
Field 1 did not solve (index index-4202-31.fits, field objects 1-10).
Field 1 did not solve (index index-4202-30.fits, field objects 1-10).
Field 1 did not solve (index index-4202-29.fits, field objects 1-10).
Field 1 did not solve (index index-4202-28.fits, field objects 1-10).
Field 1 did not solve (index index-4202-27.fits, field objects 1-10).
Field 1 did not solve (index index-4202-26.fits, field objects 1-10).
Field 1 did not solve (index index-4202-25.fits, field objects 1-10).
Field 1 did not solve (index index-4202-24.fits, field objects 1-10).
Field 1 did not solve (index index-4202-23.fits, field objects 1-10).
Field 1 did not solve (index index-4202-22.fits, field objects 1-10).
Field 1 did not solve (index index-4202-21.fits, field objects 1-10).
Field 1 did not solve (index index-4202-20.fits, field objects 1-10).
Field 1 did not solve (index index-4202-19.fits, field objects 1-10).
Field 1 did not solve (index index-4202-18.fits, field objects 1-10).
Field 1 did not solve (index index-4202-17.fits, field objects 1-10).
Field 1 did not solve (index index-4202-16.fits, field objects 1-10).
Field 1 did not solve (index index-4202-15.fits, field objects 1-10).
Field 1 did not solve (index index-4202-14.fits, field objects 1-10).
Field 1 did not solve (index index-4202-13.fits, field objects 1-10).
Field 1 did not solve (index index-4202-12.fits, field objects 1-10).
Field 1 did not solve (index index-4202-11.fits, field objects 1-10).
Field 1 did not solve (index index-4202-10.fits, field objects 1-10).
Field 1 did not solve (index index-4202-09.fits, field objects 1-10).
Field 1 did not solve (index index-4202-08.fits, field objects 1-10).
Field 1 did not solve (index index-4202-07.fits, field objects 1-10).
Field 1 did not solve (index index-4202-06.fits, field objects 1-10).
Field 1 did not solve (index index-4202-05.fits, field objects 1-10).
Field 1 did not solve (index index-4202-04.fits, field objects 1-10).
Field 1 did not solve (index index-4202-03.fits, field objects 1-10).
Field 1 did not solve (index index-4202-02.fits, field objects 1-10).
Field 1 did not solve (index index-4202-01.fits, field objects 1-10).
Field 1 did not solve (index index-4202-00.fits, field objects 1-10).
Field 1 did not solve (index index-4201-47.fits, field objects 1-10).
Field 1 did not solve (index index-4201-46.fits, field objects 1-10).
Field 1 did not solve (index index-4201-45.fits, field objects 1-10).
^C


script:
# more verify.sh 
#!/bin/sh

#generate wcs file, change scale if necessary
solve-field -z 2 -B none -P none -M none -S none -R none -U none -T -p -O $1
echo "------"
pic=`basename "$1" | sed 's/\(.*\)\..*/\1/'`
plot-constellations -w $pic.wcs -B -L -v 2>&1
echo "------"
rm *.wcs *.new *.axy
#

Attached the two pictures.




If anyone would like to shed some light on this one please, I would appreciate.
Attachments:

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

remote solver | unable to solve 2 months 1 week ago #27250

Odd that you have been working on the same thing I was. I am setting up a new RPi3 B+, which has been going very nicely. The 5Ghz Wireless support is very nice. Anyhow, I was trying to use Load and Slew to load an image I took in SGP. I grabbed all of the same indexes I use on my ANSVR implementation and grabbed all of the 41xx FITS as well. In testing with nova.astrometry.net, the 4108.fits was used to solve the same image.

broiler.astrometry.net/~dstn/4100/

The remote solver still failed. I noted that an informational message was given saying that PIXSIZE1 was not found in my FITS header. So, I went into Pixinsight, updated the header and added PIXSIZE1 and PIXSIZE2 values to match the pixel size of the camera used to take the image. Once I did that, the solver completed (although it took 45 seconds) and the simulator mount moved to the correct target. The solver also used the 4108.fits file to solve this image.

I then parked the simulator and loaded the same image, but now used ANSVR to solve it. It also completed successfully, and took 19 seconds to solve the image. That makes sense, since my desktop is much more powerful than the RPi3.

Then I loaded the same image (without PIXSIZE1 and PIXSIZE2 in the header) and tried it again. Remote failed, and ANSVR failed.

So I loaded the JPG into SGP, and ANSVR could blind solve it, but it took 100 seconds, and the command passed to ANSVR was identical in SGP and KStars.

Then I loaded the original FITS file into SGP, and ANSVR blind solved it in 6 seconds. Now, SGP read the fits header to get data (even for the blind solve):

exec /usr/bin/solve-field -p -O -U none -B none -R none -M none -N none -C cancel --crpix-center -z 2 -u arcsecperpix -L 4.0528092288503 -H 4.47942072662402 stars.fit

The strange thing is that my pixel scale is not 4 arc seconds per pixel. According to the FITS header of the same image, it is: 1.20455011136108.

SGP is using hints though, and you can see those here (again it is reading those from the FITS header)


In conclusion I think that the solver could be improved to extract more data from the header in order to make solving much easier and faster. How the folks at SGP knew to set app to that value, I have no idea but it sure worked lightning fast. Even though I had app selected in the Ekos options, it seemed to stick to AW (whatever that is).

2018-07-07T16:33:16 Using solver options: -O --no-plots --no-verify --resort --downsample 2 -L 51.3588 -H 94.0029 -u aw
Attachments:
The following user(s) said Thank You: pug916

Please Log in or Create an account to join the conversation.

remote solver | unable to solve 2 months 1 week ago #27251

More on this...

So I added: -u arcsecperpix -L 4.0528092288503 -H 4.47942072662402 as a custom value in the solver options and disabled the auto update stuff. Then when I went to solve, this is what Ekos logged:

2018-07-07T16:42:12 Using solver options: -O --no-plots --no-verify --resort -u arcsecperpix -L 4.0528092288503 -H 4.47942072662402

Sounds good right? Here is what it sent to ANSVR:

exec /usr/bin/solve-field -p -O -U none -B none -R none -M none -N none -C cancel --crpix-center -z 2 stars.fit

Thats the same command it sends to blind solve. :(

Please Log in or Create an account to join the conversation.

remote solver | unable to solve 2 months 1 week ago #27258

Can you post a link to the FITS file without the PIXSIZE?

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

remote solver | unable to solve 2 months 1 week ago #27259

Sure thing:

1drv.ms/f/s!AtqRof7LftCbg6QNm6vrU4fWF2cMjg

Should be there in minute or so. The NEW file is the one with PIXSIZE added. The normal file is the one from SGP. You'll notice they use different header data for pixel size. Y and X.

Please Log in or Create an account to join the conversation.

remote solver | unable to solve 2 months 1 week ago #27264

rockstarbill wrote: Sure thing:

1drv.ms/f/s!AtqRof7LftCbg6QNm6vrU4fWF2cMjg

Should be there in minute or so. The NEW file is the one with PIXSIZE added. The normal file is the one from SGP. You'll notice they use different header data for pixel size. Y and X.


tests done on Ubuntu 16.04 with Astrometry 0.67
solve-field -z 2 -B none -P none -M none -S none -R none -U none -T -p -O IMAGE_NAME

Thanks for providing test images.
With the first image I'm unable to do anything with it. It crashes, seen below.

# ./verify.sh NGC7000_300sec_1x1_Ha_frame1.fit
Reading input file 1 of 1: "NGC7000_300sec_1x1_Ha_frame1.fit"...
Header has 49 cards
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 323, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 320, in main
mydir, fix_sdss=options.fix_sdss)
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 248, in convert_image
(imgtype, errstr) = image2pnm(infile, outfile, sanitized, force_ppm, no_fits2fits, extension, mydir, fix_sdss)
File "/usr/lib/python2.7/dist-packages/astrometry/util/image2pnm.py", line 184, in image2pnm
errstr = fits2fits(infile, sanitized, fix_idr=fix_sdss)
File "/usr/lib/python2.7/dist-packages/astrometry/util/fits2fits.py", line 86, in fits2fits
hdu.scale('int16', '', bscale, bzero)
File "/usr/lib/python2.7/dist-packages/pyfits/hdu/image.py", line 383, in scale
bzero=bzero, blank=None)
File "/usr/lib/python2.7/dist-packages/pyfits/hdu/image.py", line 441, in _scale_internal
self.data += -_zero
TypeError: Cannot cast ufunc add output from dtype('int32') to dtype('uint16') with casting rule 'same_kind'
augment-xylist.c:588:backtick Failed to run command: /usr/bin/python -m astrometry.util.image2pnm --sanitized-fits-outfile /tmp/tmp.sanitized.cdNETD --fix-sdss --infile NGC7000_300sec_1x1_Ha_frame1.fit --uncompressed-outfile /tmp/tmp.uncompressed.0YNaYo --outfile none
ioutils.c:567:run_command_get_outputs Command failed: return value 1


Trying to parse SIP/TAN header from NGC7000_300sec_1x1_Ha_frame1.wcs...
plot-constellations.c:378:main: No such file: "NGC7000_300sec_1x1_Ha_frame1.wcs"
rm: cannot remove '*.wcs': No such file or directory
rm: cannot remove '*.new': No such file or directory
rm: cannot remove '*.axy': No such file or directory
#



However with the second one, it works but never solves.

# ./verify.sh NEW_NGC7000_300sec_1x1_Ha_frame1.fit
Reading input file 1 of 1: "NEW_NGC7000_300sec_1x1_Ha_frame1.fit"...
Header has 57 cards
Extracting sources...
Downsampling by 2...
simplexy: found 2744 sources.
Solving...
Reading file "./NEW_NGC7000_300sec_1x1_Ha_frame1.axy"...
Field 1 did not solve (index index-4219.fits, field objects 1-10).
Field 1 did not solve (index index-4218.fits, field objects 1-10).
Field 1 did not solve (index index-4217.fits, field objects 1-10).
Field 1 did not solve (index index-4216.fits, field objects 1-10).
Field 1 did not solve (index index-4215.fits, field objects 1-10).
Field 1 did not solve (index index-4214.fits, field objects 1-10).
Field 1 did not solve (index index-4213.fits, field objects 1-10).
Field 1 did not solve (index index-4212.fits, field objects 1-10).
Field 1 did not solve (index index-4211.fits, field objects 1-10).
Field 1 did not solve (index index-4210.fits, field objects 1-10).
Field 1 did not solve (index index-4209.fits, field objects 1-10).
Field 1 did not solve (index index-4208.fits, field objects 1-10).
Field 1 did not solve (index index-4207-11.fits, field objects 1-10).
Field 1 did not solve (index index-4207-10.fits, field objects 1-10).
Field 1 did not solve (index index-4207-09.fits, field objects 1-10).
Field 1 did not solve (index index-4207-08.fits, field objects 1-10).
Field 1 did not solve (index index-4207-07.fits, field objects 1-10).
Field 1 did not solve (index index-4207-06.fits, field objects 1-10).
Field 1 did not solve (index index-4207-05.fits, field objects 1-10).
Field 1 did not solve (index index-4207-04.fits, field objects 1-10).

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

remote solver | unable to solve 2 months 1 week ago #27265

Now if I fire up Ekos on my Mac and use the simulators (local), I hit the 'Load and Slew' in the Align module.

first picture: OK NGC7000_300sec_1x1_Ha_frame1.fit

2018-07-08T11:45:53 Target is within acceptable range. Astrometric solver is successful.
2018-07-08T11:45:53 Target is within 0° 00' 08" degrees of solution coordinates.
2018-07-08T11:45:53 Solution coordinates: RA (21h 00m 38s) DEC ( 43° 41' 25") Telescope Coordinates: RA (21h 00m 38s) DEC ( 43° 41' 33")
2018-07-08T11:45:53 Solver completed in 3 seconds.
2018-07-08T11:45:51 Starting solver...
2018-07-08T11:45:51 Solver iteration #1
2018-07-08T11:45:51 Image received.
2018-07-08T11:45:49 Capturing image...
2018-07-08T11:45:24 Slewing to target coordinates: RA (21h 00m 38s) DEC ( 43° 41' 33").
2018-07-08T11:45:24 Solution coordinates: RA (21h 00m 38s) DEC ( 43° 41' 33") Telescope Coordinates: RA (06h 22m 32s) DEC ( 90° 00' 00")
2018-07-08T11:45:24 WCS information updated. Images captured from this point forward shall have valid WCS.
2018-07-08T11:45:24 Solver completed in 24 seconds.
2018-07-08T11:45:01 Starting solver...
2018-07-08T11:45:00 Solver iteration #1
2018-07-08T11:45:00 Index files index-4200 to index-4206 are missing. Astrometry.net would not be able to adequately solve plates until you install the missing index files. Download the index files from www.astrometry.net
2018-07-08T11:45:00 Using solver options: -O --no-plots --no-verify --resort --downsample 2 -3 314.991 -4 43.6215 -5 15
2018-07-08T11:45:00 FITS header: Cannot find PIXSIZE1 (keyword not found in header).
2018-07-08T11:44:40 World Coordinate System (WCS) is enabled. CCD rotation must be set either manually in the CCD driver or by solving an image before proceeding to capture any further images, otherwise the WCS information may be invalid.
2018-07-08T11:44:39 Detected Astrometry.net version 0.73
2018-07-08T11:44:39 Idle.



And with the second picture: OK NEW_NGC7000_300sec_1x1_Ha_frame1.fit

2018-07-08T11:48:31 Target is within acceptable range. Astrometric solver is successful.
2018-07-08T11:48:31 Target is within 0° 00' 07" degrees of solution coordinates.
2018-07-08T11:48:31 Solution coordinates: RA (21h 00m 38s) DEC ( 43° 41' 26") Telescope Coordinates: RA (21h 00m 38s) DEC ( 43° 41' 33")
2018-07-08T11:48:31 Solver completed in 2 seconds.
2018-07-08T11:48:29 Starting solver...
2018-07-08T11:48:29 Solver iteration #1
2018-07-08T11:48:29 Image received.
2018-07-08T11:48:28 Capturing image...
2018-07-08T11:48:16 Slewing to target coordinates: RA (21h 00m 38s) DEC ( 43° 41' 33").
2018-07-08T11:48:16 Solution coordinates: RA (21h 00m 38s) DEC ( 43° 41' 33") Telescope Coordinates: RA (00h 41m 34s) DEC ( 56° 37' 57")
2018-07-08T11:48:16 Solver completed in 17 seconds.
2018-07-08T11:47:59 Starting solver...
2018-07-08T11:47:59 Solver iteration #1
2018-07-08T11:47:59 Using solver options: -O --no-plots --no-verify --resort --downsample 2 -3 314.991 -4 43.6215 -5 15 -L 51.3588 -H 94.0029 -u aw



Both solved with index index-4205-03.fits.

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

remote solver | unable to solve 2 months 1 week ago #27266

Ran the same solve-field command on the remote:

# solve-field -O --no-plots --no-verify --resort --downsample 2 -3 314.991 -4 43.6215 -5 15 -L 51.3588 -H 94.0029 -u aw NEW_NGC7000_300sec_1x1_Ha_frame1.fit
Reading input file 1 of 1: "NEW_NGC7000_300sec_1x1_Ha_frame1.fit"...
Header has 57 cards
Extracting sources...
Downsampling by 2...
simplexy: found 2744 sources.
Reading sort column "FLUX"
Sorting sort column
mmapping input file
Copying table header.
Writing row 0
Done
Solving...
Reading file "./NEW_NGC7000_300sec_1x1_Ha_frame1.axy"...
Only searching for solutions within 15 degrees of RA,Dec (314.991,43.6215)
Field 1 did not solve (index index-4211.fits, field objects 1-10).
Field 1 did not solve (index index-4210.fits, field objects 1-10).
Field 1 did not solve (index index-4209.fits, field objects 1-10).
Field 1 did not solve (index index-4208.fits, field objects 1-10).
Field 1 did not solve (index index-4207-03.fits, field objects 1-10).
Field 1 did not solve (index index-4206-03.fits, field objects 1-10).
Field 1 did not solve (index index-4205-03.fits, field objects 1-10).
Field 1 did not solve (index index-4204-15.fits, field objects 1-10).
Field 1 did not solve (index index-4204-14.fits, field objects 1-10).
Field 1 did not solve (index index-4204-13.fits, field objects 1-10).


unable to solve :(
I've CTRL+C as it goes on for ever.

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

remote solver | unable to solve 2 months 1 week ago #27267

update, I ran the previous command again and let it run... against the picture NEW_NGC7000_300sec_1x1_Ha_frame1.fit
It was able to solve at the end, but it took over 2 minutes for it.

# date
Sun 8 Jul 13:07:25 CEST 2018
root@heidenrod-obs:/Astro/Astrometry/solves# solve-field -O --no-plots --no-verify --resort --downsample 2 -3 314.991 -4 43.6215 -5 15 -L 51.3588 -H 94.0029 -u aw NEW_NGC7000_300sec_1x1_Ha_frame1.fit
Reading input file 1 of 1: "NEW_NGC7000_300sec_1x1_Ha_frame1.fit"...
Header has 57 cards
32Extracting sources...
Downsampling by 2...
simplexy: found 2744 sources.
Reading sort column "FLUX"
Sorting sort column
mmapping input file
Copying table header.
Writing row 0
Done
Solving...
Reading file "./NEW_NGC7000_300sec_1x1_Ha_frame1.axy"...
Only searching for solutions within 15 degrees of RA,Dec (314.991,43.6215)
Field 1 did not solve (index index-4211.fits, field objects 1-10).
Field 1 did not solve (index index-4210.fits, field objects 1-10).
Field 1 did not solve (index index-4209.fits, field objects 1-10).
Field 1 did not solve (index index-4208.fits, field objects 1-10).
Field 1 did not solve (index index-4207-03.fits, field objects 1-10).
Field 1 did not solve (index index-4206-03.fits, field objects 1-10).
Field 1 did not solve (index index-4205-03.fits, field objects 1-10).
Field 1 did not solve (index index-4204-15.fits, field objects 1-10).
Field 1 did not solve (index index-4204-14.fits, field objects 1-10).
Field 1 did not solve (index index-4204-13.fits, field objects 1-10).
Field 1 did not solve (index index-4204-12.fits, field objects 1-10).
Field 1 did not solve (index index-4203-15.fits, field objects 1-10).
Field 1 did not solve (index index-4203-14.fits, field objects 1-10).
Field 1 did not solve (index index-4203-13.fits, field objects 1-10).
Field 1 did not solve (index index-4203-12.fits, field objects 1-10).
Field 1 did not solve (index index-4202-15.fits, field objects 1-10).
Field 1 did not solve (index index-4202-14.fits, field objects 1-10).
Field 1 did not solve (index index-4202-13.fits, field objects 1-10).
Field 1 did not solve (index index-4202-12.fits, field objects 1-10).
Field 1 did not solve (index index-4211.fits, field objects 11-20).
Field 1 did not solve (index index-4210.fits, field objects 11-20).
Field 1 did not solve (index index-4209.fits, field objects 11-20).
Field 1 did not solve (index index-4208.fits, field objects 11-20).
Field 1 did not solve (index index-4207-03.fits, field objects 11-20).
Field 1 did not solve (index index-4206-03.fits, field objects 11-20).
Field 1 did not solve (index index-4205-03.fits, field objects 11-20).
Field 1 did not solve (index index-4204-15.fits, field objects 11-20).
Field 1 did not solve (index index-4204-14.fits, field objects 11-20).
Field 1 did not solve (index index-4204-13.fits, field objects 11-20).
Field 1 did not solve (index index-4204-12.fits, field objects 11-20).
Field 1 did not solve (index index-4203-15.fits, field objects 11-20).
Field 1 did not solve (index index-4203-14.fits, field objects 11-20).
Field 1 did not solve (index index-4203-13.fits, field objects 11-20).
Field 1 did not solve (index index-4203-12.fits, field objects 11-20).
Field 1 did not solve (index index-4202-15.fits, field objects 11-20).
Field 1 did not solve (index index-4202-14.fits, field objects 11-20).
Field 1 did not solve (index index-4202-13.fits, field objects 11-20).
Field 1 did not solve (index index-4202-12.fits, field objects 11-20).
Field 1 did not solve (index index-4211.fits, field objects 21-30).
Field 1 did not solve (index index-4210.fits, field objects 21-30).
Field 1 did not solve (index index-4209.fits, field objects 21-30).
Field 1 did not solve (index index-4208.fits, field objects 21-30).
Field 1 did not solve (index index-4207-03.fits, field objects 21-30).
Field 1 did not solve (index index-4206-03.fits, field objects 21-30).
Field 1 did not solve (index index-4205-03.fits, field objects 21-30).
Field 1 did not solve (index index-4204-15.fits, field objects 21-30).
Field 1 did not solve (index index-4204-14.fits, field objects 21-30).
Field 1 did not solve (index index-4204-13.fits, field objects 21-30).
Field 1 did not solve (index index-4204-12.fits, field objects 21-30).
Field 1 did not solve (index index-4203-15.fits, field objects 21-30).
Field 1 did not solve (index index-4203-14.fits, field objects 21-30).
Field 1 did not solve (index index-4203-13.fits, field objects 21-30).
Field 1 did not solve (index index-4203-12.fits, field objects 21-30).
Field 1 did not solve (index index-4202-15.fits, field objects 21-30).
Field 1 did not solve (index index-4202-14.fits, field objects 21-30).
Field 1 did not solve (index index-4202-13.fits, field objects 21-30).
Field 1 did not solve (index index-4202-12.fits, field objects 21-30).
Field 1 did not solve (index index-4211.fits, field objects 31-40).
Field 1 did not solve (index index-4210.fits, field objects 31-40).
Field 1 did not solve (index index-4209.fits, field objects 31-40).
log-odds ratio 97.0462 (1.40161e+42), 16 match, 0 conflict, 50 distractors, 41 index.
RA,Dec = (314.992,43.6219), pixel scale 1.20457 arcsec/pix.
Hit/miss: Hit/miss: ++++---++-+


+--+
+---+--+
++
+----+(best)
+----
Field 1: solved with index index-4208.fits.
Field 1 solved: writing to file ./NEW_NGC7000_300sec_1x1_Ha_frame1.solved to indicate this.
Field: NEW_NGC7000_300sec_1x1_Ha_frame1.fit
Field center: (RA,Dec) = (314.991619, 43.621719) deg.
Field center: (RA H:M:S, Dec D:M:S) = (20:59:57.989, +43:37:18.190).
Field size: 85.3286 x 56.9721 arcminutes
Field rotation angle: up is 179.509 degrees E of N
Creating new FITS file "./NEW_NGC7000_300sec_1x1_Ha_frame1.new"...

root@heidenrod-obs:/Astro/Astrometry/solves# date
Sun 8 Jul 13:09:29 CEST 2018
#

Please Log in or Create an account to join the conversation.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+
Time to create page: 0.226 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica