Package: astrometry-data-2mass Version: 1.1 After having installed the astrometry-data-2mass data on my raspi 4, solve-field gives errors on some of the examples provided by astrometry.net (as part of their git repository):
$ solve-field demo/sdss.jpg reports: kdtree_fits_io.c:274:kdtree_fits_read_tree: Kdtree header was not found in file /usr/share/astrometry/index-2mass-00-30.fits starkd.c:259:my_open: Failed to read kdtree from file "/usr/share/astrometry/index-2mass-00-30.fits" index.c:401:index_reload: Failed to read star kdtree from file /usr/share/astrometry/index-2mass-00-30.fits engine.c:196:engine_add_index: Failed to load index from path /usr/share/astrometry/index-2mass-00-30.fits Failed to add index "/usr/share/astrometry/index-2mass-00-30.fits". fitsbin.c:449:read_chunk: Couldn't find table "kdtree_data_codes" in file "/usr/share/astrometry/index-2mass-00-20.fits" index.c:401:index_reload: Failed to read star kdtree from file /usr/share/astrometry/index-2mass-00-20.fits engine.c:196:engine_add_index: Failed to load index from path /usr/share/astrometry/index-2mass-00-20.fits Failed to add index "/usr/share/astrometry/index-2mass-00-20.fits". kdtree_fits_io.c:274:kdtree_fits_read_tree: Kdtree header was not found in file /usr/share/astrometry/index-2mass-00-15.fits starkd.c:259:my_open: Failed to read kdtree from file "/usr/share/astrometry/index-2mass-00-15.fits" index.c:401:index_reload: Failed to read star kdtree from file /usr/share/astrometry/index-2mass-00-15.fits engine.c:196:engine_add_index: Failed to load index from path /usr/share/astrometry/index-2mass-00-15.fits Failed to add index "/usr/share/astrometry/index-2mass-00-15.fits". kdtree_fits_io.c:274:kdtree_fits_read_tree: Kdtree header was not found in file /usr/share/astrometry/index-2mass-00-12.fits starkd.c:259:my_open: Failed to read kdtree from file "/usr/share/astrometry/index-2mass-00-12.fits" index.c:401:index_reload: Failed to read star kdtree from file /usr/share/astrometry/index-2mass-00-12.fits engine.c:196:engine_add_index: Failed to load index from path /usr/share/astrometry/index-2mass-00-12.fits Failed to add index "/usr/share/astrometry/index-2mass-00-12.fits". It seems that after the package downloaded the fits-files, some of the files are corrupted. Removing and then reinstalling the package did download the files again, but then some other files were then corrupted (not shown). Only after manually downloading the given files using wget, I was able to solve sdss.jpg. As an improvement, please consider checking downloaded files against the md5sums.txt file, that is available from http://data.astrometry.net/4200/md5sums.txt. It would even be better, if a dpkg-reconfigure or a command (or some such), would download only corrupted files as this is a 3 GB download. Thanks in advance, Jens