-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index Error - Not readable #43
Comments
Hi, I would have expected the config file to get copied to /usr/local/astrometry/etc/astrometry.cfg It should contain something like, add_path /usr/local/astrometry/data and solve-field should just then try opening all files in /usr/local/astrometry/data . Could you please send the results of running: find /usr/local/astrometry Don't worry about the *.skdt.fits, *.code.fits complaints -- way back in the olden days, the index files were split into three files; now they're merged together in one file. There is no install-indexes command, it's just a makefile target to copy index files to /usr/local/astrometry/data. cheers, |
Hi, dustin Had a bit of a problem with netpbm earlier, but You are right, there is the file Thank you for the quick reply :) Cheers,
|
Apologies for dropping the ball on this issue! I'm going to close this issue, assuming that you have given up or solved the problem; please re-open it if not. (And please send exact contents of the config file /usr/local/astrometry//etc/astrometry.cfg . You should either set "autoindex" or list your index files, not both. One other thing to check is whether you can read those index files -- eg, what do you get if you run "liststruc /usr/local/astrometry/data/index-4201-29.fits"?) |
Hi, this is my question:
I am new to using the astrometry.net software. It has been installed in my /user/local/ directory, with the build directory astrometry.net-0.50 off my home directory. I downloaded several indexes (all labeled index-42XX-YY.fits) that say “are built from the 2MASS catalog,” and then moved them into my /user/local/astrometry/data directory. Here is what I get when I try to solve a field or perform astrometry from my home directory,
archos:~ mashbudj$ /usr/local/astrometry/bin/solve-field --scale-low 10 --overwrite ~/photometry/LFC/PSRJ1622/g_band/restart/dnpccd.068.1.fits
Reading input file 1 of 1: "/Users/mashbudj/photometry/LFC/PSRJ1622/g_band/restart/dnpccd.068.1.fits"...
Header has 107 cards
/usr/local/astrometry/lib/python/astrometry/util/fits2fits.py:49: PyfitsDeprecationWarning: The ascard function is deprecated as of version 3.1 and may be removed in a future version.
for c in hdr.ascard:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyfits/card.py:70: PyfitsDeprecationWarning: The CardList class has been deprecated; all its former functionality has been subsumed by the Header class, so CardList objects should not be directly created. See the PyFITS 3.1.0 CHANGELOG for more details.
PyfitsDeprecationWarning)
Extracting sources...
simplexy: found 648 sources.
Solving...
index.c:154:index_is_file_index: Index file /usr/local/astrometry/data/index-4107.quad.fits is not readable.
index.c:154:index_is_file_index: Index file /usr/local/astrometry/data/index-4107.quad.fits is not readable.
fitsbin.c:580:fitsbin_open: Failed to open file "/usr/local/astrometry/data/index-4107.skdt.fits"
starkd.c:257:my_open: Failed to open FITS file "/usr/local/astrometry/data/index-4107.skdt.fits"
index.c:414:index_reload: Failed to read star kdtree from file /usr/local/astrometry/data/index-4107.skdt.fits
engine.c:211:engine_add_index: Failed to load index from path /usr/local/astrometry/data/index-4107
Failed to add index "/usr/local/astrometry/data/index-4107".
index.c:154:index_is_file_index: Index file /usr/local/astrometry/data/index-4205-07.fits.quad.fits is not readable.
fitsbin.c:580:fitsbin_open: Failed to open file "/usr/local/astrometry/data/index-4205-07.fits.skdt.fits"
starkd.c:257:my_open: Failed to open FITS file "/usr/local/astrometry/data/index-4205-07.fits.skdt.fits"
index.c:414:index_reload: Failed to read star kdtree from file /usr/local/astrometry/data/index-4205-07.fits.skdt.fits
engine.c:211:engine_add_index: Failed to load index from path /usr/local/astrometry/data/index-4205-07.fits
Failed to add index "/usr/local/astrometry/data/index-4205-07.fits".
index.c:154:index_is_file_index: Index file /usr/local/astrometry/data/index-4204-29.fits.quad.fits is not readable.
fitsbin.c:580:fitsbin_open: Failed to open file "/usr/local/astrometry/data/index-4204-29.fits.skdt.fits"
starkd.c:257:my_open: Failed to open FITS file "/usr/local/astrometry/data/index-4204-29.fits.skdt.fits"
index.c:414:index_reload: Failed to read star kdtree from file /usr/local/astrometry/data/index-4204-29.fits.skdt.fits
engine.c:211:engine_add_index: Failed to load index from path /usr/local/astrometry/data/index-4204-29.fits
Failed to add index "/usr/local/astrometry/data/index-4204-29.fits".
index.c:154:index_is_file_index: Index file /usr/local/astrometry/data/index-4203-29.fits.quad.fits is not readable.
fitsbin.c:580:fitsbin_open: Failed to open file "/usr/local/astrometry/data/index-4203-29.fits.skdt.fits"
starkd.c:257:my_open: Failed to open FITS file "/usr/local/astrometry/data/index-4203-29.fits.skdt.fits"
index.c:414:index_reload: Failed to read star kdtree from file /usr/local/astrometry/data/index-4203-29.fits.skdt.fits
engine.c:211:engine_add_index: Failed to load index from path /usr/local/astrometry/data/index-4203-29.fits
Failed to add index "/usr/local/astrometry/data/index-4203-29.fits".
index.c:154:index_is_file_index: Index file /usr/local/astrometry/data/index-4202-29.fits.quad.fits is not readable.
fitsbin.c:580:fitsbin_open: Failed to open file "/usr/local/astrometry/data/index-4202-29.fits.skdt.fits"
starkd.c:257:my_open: Failed to open FITS file "/usr/local/astrometry/data/index-4202-29.fits.skdt.fits"
index.c:414:index_reload: Failed to read star kdtree from file /usr/local/astrometry/data/index-4202-29.fits.skdt.fits
engine.c:211:engine_add_index: Failed to load index from path /usr/local/astrometry/data/index-4202-29.fits
Failed to add index "/usr/local/astrometry/data/index-4202-29.fits".
index.c:154:index_is_file_index: Index file /usr/local/astrometry/data/index-4201-29.fits.quad.fits is not readable.
fitsbin.c:580:fitsbin_open: Failed to open file "/usr/local/astrometry/data/index-4201-29.fits.skdt.fits"
starkd.c:257:my_open: Failed to open FITS file "/usr/local/astrometry/data/index-4201-29.fits.skdt.fits"
index.c:414:index_reload: Failed to read star kdtree from file /usr/local/astrometry/data/index-4201-29.fits.skdt.fits
engine.c:211:engine_add_index: Failed to load index from path /usr/local/astrometry/data/index-4201-29.fits
Failed to add index "/usr/local/astrometry/data/index-4201-29.fits".
You must list at least one index in the config file (/usr/local/astrometry/bin/../etc/astrometry.cfg)
See http://astrometry.net/use.html about how to get some index files.
solve-field.c:529:run_engine engine failed. Command that failed was:
/usr/local/astrometry/bin/astrometry-engine /Users/mashbudj/photometry/LFC/PSRJ1622/g_band/restart/dnpccd.068.1.axy
ioutils.c:569:run_command_get_outputs Command failed: return value 255
Strangely, it continues to look for indexes that are no longer in /usr/local/astrometry/data/, (I have these below)
index-4203-29.fits
index-4201-29.fits index-4204-29.fits
index-4202-29.fits index-4205-07.fits
How do I get the program to recognize these files?
I only find astrometry.net-0.50/etc/astrometry.cfg in the build directory (adding names there did not work either). And there is no command called ‘install-indexes’ that I can find, does this mean I built it wrong?
I don't have any *skdt.fits or *quad.fits files; should these be downloaded, or am I supposed to create them? If so, how do I do that?
Thank you.
Daniel Mashburn
Physics Department
University WI-Milwaukee
The text was updated successfully, but these errors were encountered: