sunpy / ndcube

A base package for multi-dimensional contiguous and non-contiguous coordinate-aware arrays. "Maintainers": @danryanirish & @Cadair
http://docs.sunpy.org/projects/ndcube/
BSD 2-Clause "Simplified" License
44 stars 47 forks source link

Expose celestial coordinate frame as attribute on NDCube #421

Open wtbarnes opened 3 years ago

wtbarnes commented 3 years ago

It is often useful to know the celestial coordinate frame corresponding to a particular WCS, e.g. when overplotting a coordinate on a single slice of 3D data cube, where that slice corresponds to a particular dimension in time. It would be useful to expose this coordinate frame as an attribute on an NDCube. This can presumably be derived from the WCS using wcs_to_celestial_frame.

Cadair commented 3 years ago

I agree this would be really useful but some things to consider are:

wtbarnes commented 3 years ago