When I try to solve-field my "own" images, I'm getting errors. The example-pictures provided with the software do seem to work. Included below is the error I'm getting.
Some things that may cause this (I have no idea if these are related, but Im just throwing around ideas here)
- The image is a .fits-file, which for some reason isn't handled well (astropy and cfitsio should both be installed!)
- The image is a mosaic (the fits file itself containing 144 different images)
- The image is very large (~25k x 25k / 1.2GB)
Thanks in advance!
Reading input file 1 of 1: "C_20230804_084042_E_0000302D.VIS.bin_01_01.fits"...
Base: "./C_20230804_084042_E_0000302D.VIS.bin_01_01", basefile "C_20230804_084042_E_0000302D.VIS.bin_01_01.fits", basedir ".", suffix "fits"
Checking if file "C_20230804_084042_E_0000302D.VIS.bin_01_01.fits" ext 0 is xylist or image: image
(not xyls because: Missing required columns: : FITS extension 1 in file C_20230804_084042_E_0000302D.VIS.bin_01_01.fits is not a table (or there was an error opening the file): error: [C_20230804_084042_E_0000302D.VIS.bin_01_01.fits]
extension 1 is not a table)
Running: /usr/bin/image2pnm --infile C_20230804_084042_E_0000302D.VIS.bin_01_01.fits --uncompressed-outfile /tmp/tmp.uncompressed.nIwRWo --outfile /tmp/tmp.ppm.gGsamv --ppm --mydir /usr/bin/solve-field
qfits: error: NAXIS = 0 in file C_20230804_084042_E_0000302D.VIS.bin_01_01.fits ext 0
an-fitstopnm.c:225:main: Failed to load pixels.
Command failed: /usr/bin/an-fitstopnm -i C_20230804_084042_E_0000302D.VIS.bin_01_01.fits > /tmp/tmp6nwayp2x.pnm
Traceback (most recent call last):
File "/usr/lib64/python3.11/site-packages/astrometry/util/image2pnm.py", line 298, in main
convert_image(options.infile, options.outfile,
File "/usr/lib64/python3.11/site-packages/astrometry/util/image2pnm.py", line 235, in convert_image
(imgtype, errstr) = image2pnm(infile, outfile, force_ppm=force_ppm,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/site-packages/astrometry/util/image2pnm.py", line 200, in image2pnm
do_command(cmd % (shell_escape(infile), shell_escape(outfile)))
File "/usr/lib64/python3.11/site-packages/astrometry/util/image2pnm.py", line 60, in do_command
sys.exit(-1)
SystemExit: -1
augment-xylist.c:591:backtick Failed to run command: /usr/bin/image2pnm --infile C_20230804_084042_E_0000302D.VIS.bin_01_01.fits --uncompressed-outfile /tmp/tmp.uncompressed.nIwRWo --outfile /tmp/tmp.ppm.gGsamv --ppm --mydir /usr/bin/so
lve-field
ioutils.c:568:run_command_get_outputs Command failed: return value 255