numpy/pyfits version of wcs2kml/python code

0 views
Skip to first unread message

Chris

unread,
Sep 24, 2007, 2:28:03 PM9/24/07
to wcs2kml
Hi,

I've finished the initial port of the wcs2kml/python code to numpy and
pyfits. This removes the dependence on the fitslib.py module. This
includes modification of the scripts in the wcs2kml/python/scripts
directory. Everything worked with numpy and pyfits in my limited
testing. I've posted a tarball with the new python directory on the
group page.

I am still working to get the changes that Jeremy requested into
PyFITS. I think I have fixed the problem with the import time. It
had to do with the horribly complex logic that was put in place to
support either numarray or numpy as the default array package.
Essentially there were multiple imports of packages you would never
use. Depending on your system and packages previously loaded you
should probably see a factor of 2 to 6 improvement in import time.
I'm in the process of removing the blind except/pass statements. I
will then fix the error message on invalid fits file input.

Chris

Reply all
Reply to author
Forward
0 new messages