{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/astropy/astropy/pull/47.diff","html_url":"https://github.com/astropy/astropy/pull/47","patch_url":"https://github.com/astropy/astropy/pull/47.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/c7d341e2b002754f2b21fbab3a3fd072?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c7d341e2b002754f2b21fbab3a3fd072","url":"https://api.github.com/users/iguananaut","login":"iguananaut","id":676149},"milestone":null,"assignee":null,"updated_at":"2011-11-07T16:01:04Z","labels":[],"closed_at":null,"comments":18,"url":"https://api.github.com/repos/astropy/astropy/issues/47","body":"This branch isn't quite ready for merging, for a number of reasons.  But since it will happen eventually I figured I would open the pull request.  Now is a good time to do so since this branch has astropy.io.fits fully functioning, at least in that all the tests run/pass.\r\n\r\nTo give some background on this pull request, this branch is based off of a different branch (https://github.com/iguananaut/astropy/tree/fits) which contains the entire history from PyFITS's SVN repository.  However, for inclusion into Astropy all the previous SVN history (up to the last revision merged into Astropy from PyFITS which was r1202) was squashed into a single commit, and rebased on top of Astropy's master.  I then applied my additional changes from the fits that get astropy.io.fits fully functioning on top of that.  Sorry if that makes no sense--if anyone's really interested I can try drawing a graph of what happened.\r\n\r\nSome things I need to do before this is merged:\r\n\r\n * Bring up to date with the latest changes from PyFITS's trunk.  There are also some changes in development branches that are coming down the line pretty soon and I would like to get those merged in too as some of them are fairly important.\r\n\r\n * The documentation still needs work--I've yet to clean up most of it.\r\n\r\nAnd some other open questions that need discussing:\r\n\r\n * PyFITS includes a module called py3kcompat (now at astropy.io.fits.py3kcompat) containing various hacks to support Python 2/3 cross-compatibility.  A lot of these hacks may or may not be desirable to have in Astropy at all.  Others, I think would be useful.  Most of the hacks are actually monkey-patches to Numpy that fix a few bugs it has in Python 3.  At any rate I'd appreciate if this module were looked at and discussed.\r\n\r\n * Likewise, the pyfits.util/astropy.io.fits.util module contains a number of generally useful utility functions and classes.  Some of them are FITS-specific, but most, I believe, are not.  It might be worth moving a lot of it into someplace under astropy.utils, but the details are up in the air.  I also need to see if there are any redundancies between pyfits and pywcs where utility functions/python 3 hacks are concerned.","html_url":"https://github.com/astropy/astropy/issues/47","title":"Add PyFITS as astropy.io.fits","number":47,"id":2137535,"created_at":"2011-11-03T20:56:25Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/f586e2a9879fe0a55fd1e3ea529c664f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f586e2a9879fe0a55fd1e3ea529c664f","url":"https://api.github.com/users/astrofrog","login":"astrofrog","id":314716},"updated_at":"2011-11-07T16:01:04Z","url":"https://api.github.com/repos/astropy/astropy/issues/comments/2655248","body":"I don't think I'm running Python with warnings turned off (or at least I've never set it up that way). Let me know if you want me to run any snippet to diagnose the issue.","id":2655248,"created_at":"2011-11-07T16:01:04Z"}}