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 offrame.data
in the context of methods that use._apply()
. [#6561]Creating a new
SkyCoord
from a list of multipleSkyCoord
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
whenhdf5
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 nodata
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 aunit
attribute (such asColumn
). [#6123]
astropy.utils ^
download_files_in_parallel
now respects the giventimeout
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 infind_current_module
to properly deal with submodules. [#6767]๐ Fixed
pyreadline
import inutils.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]