xarray-contrib / xarray-contrib/xdggs
allow choosing the center meridian for `cell_centers` and `cell_boundaries`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 138
- Forks
- 25
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 11
Description
For the cell boundaries the longitude is currently always returned in a range of -180°-180°, while for the cell centers this depends on the dggs implementation library.
I think the defaults should match, and it should be possible to choose a different range when necessary. For now I would limit that choice to 0° and 180°, as those are the most common, and having a discrete set of meridians makes it much easier to implement.
Contributor guide
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.
Research direction
Start by locating the implementations of cell_centers and cell_boundaries and inspect how each currently determines longitude ranges. Define how the 0° and 180° choices should apply to both entry points, then verify that their defaults match and that each supported range is returned consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100