Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions astropy_xarray/coordinates/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,13 @@ def load_representation(
else:
# using frame component names
frame_type: BaseCoordinateFrame = frame_transform_graph.lookup_name(frame_name)
representation_info = frame_type().representation_info

diff_to_data = (
dict(
zip(
tuple(DifferentialClass.attr_classes),
frame_type._get_representation_info()[DifferentialClass]["names"],
representation_info[DifferentialClass]["names"],
)
)
if DifferentialClass is not None
Expand All @@ -310,7 +312,7 @@ def load_representation(
dict(
zip(
tuple(RepresentationClass.attr_classes),
frame_type._get_representation_info()[RepresentationClass]["names"],
representation_info[RepresentationClass]["names"],
)
)
if RepresentationClass is not None
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
astropy==7.1.0
astropy==7.2.0
xarray>=2022.06.0
pooch
netCDF4
Expand Down
11 changes: 9 additions & 2 deletions docs/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
What's new
==========

0.2.1 (TBD)
-----------

- Added support for `astropy==7.2.0` sky coordinates.

By `Callan Gray <https://github.com/calgray>`_.

0.2.0 (31 Mar 2026)
-------------------

Expand All @@ -19,7 +26,7 @@ What's new

- Added :py:meth:`Dataset.astropy.to_skycoord` accessor.

By `Callan Gray <https://github.com/calgray>`_.
By `Callan Gray <https://github.com/calgray>`_.

0.1.0 (17 Jul 2025)
-------------------
Expand All @@ -36,4 +43,4 @@ What's new
* ``Unit()`` is not an instance of :py:class:`astropy.units.Unit`, only :py:class:`astropy.units.UnitBase`.
* Different format literals, see `built-in formats <https://docs.astropy.org/en/stable/units/format.html#built-in-formats>`_.

By `Callan Gray <https://github.com/calgray>`_.
By `Callan Gray <https://github.com/calgray>`_.
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ requires-python = ">=3.10"
dependencies = [
"numpy>=1.23,<2.3.0",
"xarray>=2022.06.0,<=2025.4.0",
"astropy>=6.1.0,<7.2.0",
"astropy>=6.1.0",
"pandas>=2.3.0,<3.0.0",
]
dynamic = ["version"]

[project.urls]
Home = "https://github.com/calgray/astropy-xarray"
Documentation = "https://astropy-xarray.readthedocs.io/en/stable"
homepage = "https://github.com/calgray/astropy-xarray"
documentation = "https://astropy-xarray.readthedocs.io/en/stable"
repository = "https://github.com/calgray/astropy-xarray"
issues = "https://github.com/calgray/astropy-xarray/issues"

[project.optional-dependencies]
test = [
Expand Down
Loading