astropy v0.2.1 Release Notes

Release Date: 2013-04-03 // about 11 years ago
  • ๐Ÿ› Bug Fixes

    astropy.coordinates

    • ๐Ÿ›  Fixed encoding errors that could occur when formatting coordinate objects in code using from __future__ import unicode_literals. [#817]

    • ๐Ÿ›  Fixed a bug where the minus sign was dropped when string formatting dms coordinates with -0 degrees. [#875]

    astropy.io.fits ^

    • ๐Ÿ‘ Properly supports the ZQUANTIZ keyword used to support quantization level--this includes working support for lossless GZIP compression of images.

    • ๐Ÿ›  Fixed support for opening gzipped FITS files in a writeable mode. [#256]

    • โž• Added a more helpful exception message when trying to read invalid values from a table when the required TNULLn keyword is missing. [#309]

    • ๐Ÿ”จ More refactoring of the tile compression handling to work around a potential memory access violation that was particularly prevalent on Windows. [#507]

    • ๐Ÿ›  Fixed an integer size mismatch in the compression module that could affect 32-bit systems. [#786]

    • ๐Ÿ›  Fixed malformatting of the TFORMn keywords when writing compressed image tables (they omitted the max array length parameter from the variable-length array format).

    • ๐Ÿ›  Fixed a crash that could occur when writing a table containing multi- dimensional array columns from an existing file into a new file.

    • ๐Ÿ›  Fixed a bug in fitsdiff that reported two header keywords containing NaN as having different values.

    astropy.io.votable

    • ๐Ÿ›  Fixed links to the astropy.io.votable documentation in the VOTable validator output. [#806]

    • When reading VOTables containing integers that are out of range for their column type, display a warning rather than raising an exception. [#825]

    • ๐Ÿ”„ Changed the default string format for floating point values for better round-tripping. [#856]

    • ๐Ÿ›  Fixed opening VOTables through the Table.read() interface for tables that have no names. [#927]

    • ๐Ÿ›  Fixed creation of VOTables from an Astropy table that does not have a data mask. [#928]

    • ๐Ÿ“š Minor documentation fixes. [#932]

    astropy.nddata.convolution

    • โž• Added better handling of inf values to the convolve_fft family of functions. [#893]

    astropy.table ^

    • ๐Ÿ›  Fixed silent failure to assign values to a row on multiple columns. [#764]

    • ๐Ÿ›  Fixed various buggy behavior when viewing a table after sorting by one of its columns. [#829]

    • ๐Ÿ›  Fixed using numpy.where() with table indexing. [#838]

    • ๐Ÿ›  Fixed a bug where opening a remote table with Table.read() could cause the entire table to be downloaded twice. [#845]

    • ๐Ÿ›  Fixed a bug where MaskedColumn no longer worked if the column being masked is renamed. [#916]

    astropy.units ^

    • โž• Added missing capability for array Quantity\s to be initializable by a list of Quantity\s. [#835]

    • ๐Ÿ›  Fixed the definition of year and lightyear to be in terms of Julian year per the IAU definition. [#861]

    • ๐Ÿšš "degree" was removed from the list of SI base units. [#863]

    astropy.wcs ^

    • Fixed TypeError when calling WCS.to_header_string(). [#822]

    • โž• Added new method WCS.all_world2pix for converting from world coordinates to pixel space, including inversion of the astrometric distortion correction. [#1066, #1281]

    Misc ^

    • ๐Ÿ›  Fixed a minor issue when installing with ./setup.py develop on a fresh git clone. This is likely only of interest to developers on Astropy. [#725]

    • ๐Ÿ›  Fixes a crash with ImportError: No module named 'astropy.version' when running setup.py from a source checkout for the first time on OSX with Python 3.3. [#820]

    • ๐Ÿ›  Fixed an installation issue where running ./setup.py install or when installing with pip the .astropy directory gets created in the home directory of the user running the command. The user's .astropy directory should only be created when they use Astropy, not when they install it. [#867]

    • ๐Ÿ›  Fixed an exception when creating a ProgressBar with a "total" of 0. [#752]

    • โž• Added better documentation of behavior that can occur when trying to import the astropy package from within a source checkout without first building the extension modules. [#795, #864]

    • โž• Added link to the installation instructions in the README. [#797]

    • ๐Ÿ‘• Catches segfaults in xmllint which can occur sometimes and is otherwise out of our control. [#803]

    • ๐Ÿ“š Minor changes to the documentation template. [#805]

    • ๐Ÿ›  Fixed a minor exception handling bug in download_file(). [#808]

    • โž• Added cleanup of any temporary files if an error occurs in download_file(). [#857]

    • ๐Ÿ†“ Filesystem free space is checked for before attempting to download a file with download_file(). [#858]

    • ๐Ÿ›  Fixed package data locating to work across symlinks--required to work with some OS packaging layouts. [#827]

    • ๐Ÿ›  Fixed a bug when building Cython extensions where hidden files containing .pyx extensions could cause the build to crash. This can be an issue with software and filesystems that autogenerate hidden files. [#834]

    • ๐Ÿ›  Fixed bug that could cause a "script" called README.rst to be installed in a bin directory. [#852]

    • ๐Ÿ›  Fixed some miscellaneous and mostly rare reference leaks caught by cpychecker. [#914]

    Other Changes and Additions

    • โž• Added logo and branding for Windows binary installers. [#741]

    • โฌ†๏ธ Upgraded included version libexpat to 2.1.0. [#781]

    • ๐ŸŽ ~25% performance improvement in unit composition/decomposition. [#836]

    • Added previously missing LaTeX formatting for L_sun and R_sun. [#841]

    • ConfigurationItem\s now have a more useful and informative repr and improved documentation for how to use them. [#855]

    • โž• Added a friendlier error message when trying to import astropy from a source checkout without first building the extension modules inplace. [#864]

    • โœ… py.test now outputs more system information for help in debugging issues from users. [#869]

    • โž• Added unit definitions "mas" and "uas" for "milliarcsecond" and "microarcsecond" respectively. [#892]