astropy v2.0.3 Release Notes

Release Date: 2017-12-13 // over 6 years ago
  • ๐Ÿ› Bug Fixes

    astropy.coordinates

    • Ecliptic frame classes now support attributes v_x, v_y, v_z when using with a Cartesian representation. [#6569]

    • โž• Added a nicer error message when accidentally calling frame.representation instead of frame.data in the context of methods that use ._apply(). [#6561]

    • Creating a new SkyCoord from a list of multiple SkyCoord objects now yield the correct type of frame, and works at all for non-equatorial frames. [#6612]

    • Improved accuracy of velocity calculation in EarthLocation.get_gcrs_posvel. [#6699]

    • ๐Ÿ‘Œ Improved accuracy of radial velocity corrections in SkyCoord.radial_velocity_correction`. [#6861]

    • ๐Ÿ‘ The precision of ecliptic frames is now much better, after removing the nutation from the rotation and fixing the computation of the position of the Sun. [#6508]

    astropy.extern ^

    • ๐Ÿ”– Version 0.2.1 of pytest-astropy is included as an external package. [#6918]

    astropy.io.fits ^

    • ๐Ÿ›  Fix writing the result of fitsdiff to file with --output-file. [#6621]

    • ๐Ÿ›  Fix a minor bug where FITS_rec instances can not be indexed with tuples and other sequences that end up with a scalar. [#6955, #6966]

    astropy.io.misc ^

    • ๐Ÿ›  Fix ImportError when hdf5 is imported first in a fresh Python interpreter in Python 3. [#6604, #6610]

    astropy.nddata ^

    • Suppress errors during WCS creation in CCDData.read(). [#6500]

    • ๐Ÿ›  Fixed a problem with CCDData.read when the extension wasn't given and the primary HDU contained no data but another HDU did. In that case the header were not correctly combined. [#6489]

    astropy.stats ^

    • ๐Ÿ›  Fixed an issue where the biweight statistics functions would sometimes cause runtime underflow/overflow errors for float32 input arrays. [#6905]

    astropy.table ^

    • ๐Ÿ›  Fixed a problem when printing a table when a column is deleted and garbage-collected, and the format function caching mechanism happens to re-use the same cache key. [#6714]

    • ๐Ÿ›  Fixed a problem when comparing a unicode masked column (on left side) to a bytes masked column (on right side). [#6899]

    • ๐Ÿ›  Fixed a problem in comparing masked columns in bytes and unicode when the unicode had masked entries. [#6899]

    โœ… astropy.tests ^

    • ๐Ÿ›  Fixed a bug that causes tests for rst files to not be run on certain platforms. [#6555, #6608]

    • ๐Ÿ›  Fixed a bug that caused the doctestplus plugin to not work nicely with the hypothesis package. [#6605, #6609]

    • ๐Ÿ›  Fixed a bug that meant that the data.astropy.org mirror could not be used when using --remote-data=astropy. [#6724]

    • ๐Ÿ‘Œ Support compatibility with new pytest-astropy plugins. [#6918]

    • ๐Ÿ“ฆ When testing, astropy (or the package being tested) is now installed to a temporary directory instead of copying the build. This allows entry points to work correctly. [#6890]

    astropy.time ^

    • ๐ŸŽ‰ Initialization of Time instances now is consistent for all formats to ensure that -0.5 <= jd2 < 0.5. [#6653]

    astropy.units ^

    • Ensure that Quantity slices can be set with objects that have a unit attribute (such as Column). [#6123]

    astropy.utils ^

    • download_files_in_parallel now respects the given timeout value. [#6658]

    • ๐Ÿ›  Fixed bugs in remote data handling and also in IERS unit test related to path URL, and URI normalization on Windows. [#6651]

    • Fixed a bug that caused get_pkg_data_fileobj to not work correctly when used with non-local data from inside packages. [#6724]

    • Make sure get_pkg_data_fileobj fails if the URL can not be read, and correctly falls back on the mirror if necessary. [#6767]

    • Fix the finddiff option in find_current_module to properly deal with submodules. [#6767]

    • ๐Ÿ›  Fixed pyreadline import in utils.console.isatty for older IPython versions on Windows. [#6800]

    astropy.visualization

    • ๐Ÿ›  Fixed the vertical orientation of the fits2bitmap output bitmap image to match that of the FITS image. [#6844, #6969]

    • โž• Added a workaround for a bug in matplotlib so that the fits2bitmap script generates the correct output file type. [#6969]

    Other Changes and Additions

    • ๐Ÿ“š No longer require LaTeX to build the documentation locally and use mathjax instead. [#6701]

    • โœ… Ensured that all tests use the Astropy data mirror if needed. [#6767]