pytroll / pytroll/pyresample

Improve resampler x/y coordinate metadata

Open
#739 0 comments 0 reactions 1 assignee View on GitHub

@djhoese is already working on this.

Since Aug 18, 2026.

bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.