Hi Dustin,
After giving solve-field command, I got this error message:
Reading input file 1 of 1: "Haumea_r.9195.0.fits"...Traceback (most recent call last): File "/usr/local/astrometry/bin/image2pnm.py", line 317, in <module> sys.exit(main()) File "/usr/local/astrometry/bin/image2pnm.py", line 314, in main mydir, fix_sdss=options.fix_sdss) File "/usr/local/astrometry/bin/image2pnm.py", line 242, in convert_image (imgtype, errstr) = image2pnm(infile, outfile, sanitized, force_ppm, no_fits2fits, extension, mydir, fix_sdss) File "/usr/local/astrometry/bin/image2pnm.py", line 182, in image2pnm errstr = fits2fits(infile, sanitized, fix_idr=fix_sdss) File "/usr/local/astrometry/python/astrometry/util/fits2fits.py", line 44, in fits2fits cards = hdr.ascardlist()AttributeError: 'Header' object has no attribute 'ascardlist'augment-xylist.c:586:backtick Failed to run command: /usr/local/astrometry/bin/image2pnm.py --sanitized-fits-outfile /tmp/tmp.sanitized.Em6Q2v --fix-sdss --infile Haumea_r.9195.0.fits --uncompressed-outfile /tmp/tmp.uncompressed.QOHQMt --outfile /tmp/tmp.ppm.Dm5Qwr --ppm ioutils.c:669:run_command_get_outputs Command failed: return value 1Please help . Did I install
astrometry.net correctly ?
Let me tell you what I have done/ what I have as follows:
---------------------------------------------------------------------------------------
I have installed anaconda on my machine, which includes Python2.7.
Some lines from my .bashrc file reads like this:
PATH="/home/swapnil/anaconda/bin:/usr/share/sextractor:${PATH}"
export PATH
ASTROMETRY_PYTHON_PATH=/usr/local/astrometry/python
export ASTROMETRY_PYTHON_PATH
----------------------------------------------------------------------------------------------
output of the command :
python -c "import pyfits; print pyfits.__file__; print pyfits.__version__" is
/home/swapnil/anaconda/lib/python2.7/site-packages/pyfits-3.2-py2.7-linux-x86_64.egg/pyfits/__init__.pyc3.2.dev-------------------------------------------------------------------------------------------------
I am using file
http://astrometry.net/svn/trunk/src/astrometry/util/fits.py(after renaming it as pyfits_utils.py)
its location is:
/usr/local/astrometry/python/astrometry/util/pyfits_utils.py-----------------------------------------------------------------------------------------------------------------
Regards,
Swapnil