ioos / ioos/xarray-subset-grid

Support for Global curvilinear grid models?

Open
#127 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9
Forks
11
Avg merge
3d 7h
Merged PRs (30d)
4

Description

What should we add?

The trick with global models is that a subset could cross the dateline (or prime meridian, depending on the coordinate system) -- darn that round earth!

For instance, if a model is using 0-360 longitude coordinates, then a subset that crosses 0 degrees can be wonky.

But: Do we have any examples of a global model that uses a curvilinear grid (i.e. quads and 2D lat and lon) ?

If not then maybe we don't have to do anything, but it would good if it raised an error someone tried to subset a model across the 'backside" of its coordinates.

Reference

No response

Contributor guide

Open the contributing guide

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.

Research direction

Start by examining the repository's existing spatial subsetting behavior for global models using 0–360 longitude coordinates and curvilinear grids with 2D latitude and longitude. Determine whether a subset crossing the coordinate backside is supported; done means either handling that case correctly or raising a clear error, with a representative example if available.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.