Improve resampler x/y coordinate metadata
@djhoese is already working on this.
Since Aug 18, 2026.
- Dominant language
- Python
- Stars
- 385
- Forks
- 102
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 9
Description
In Satpy extra information is copied to the X and Y coordinates that are added by the resamplers. See:
https://github.com/pytroll/satpy/blob/0b2be453b412f74db7b4c39ee9ac21372d87ff39/satpy/coords.py#L77
With the KDTree/nearest resampler however it sees that coordinate variables were already added by the upstream pyresample resampler and does nothing further. However, pyresample is missing some important information that is easy to obtain like the "units" of the coordinates. This can be taken from the CRS object as it is done in the satpy versions of these functions linked above.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.