MetOffice / MetOffice/ANTS

Retire TwoStage regridder?

Open
#57 1 comment 0 reactions 0 assignees View on GitHub
✨ enhancement
Dominant language
Python
Stars
7
Forks
10
Avg merge
1d 19h
Merged PRs (30d)
5

Description

# ✨ Feature Request

## Requirements
Iris-esmf-regrid now has [​support for non-degree](https://github.com/SciTools-incubator/iris-esmf-regrid/pull/178) coordinate reference systems. This gives us a path to retire the TwoStage regridder.

This would mean replacing existing regridding calls to the TwoStage regridder with calls to the iris-esmf-regrid conservative regridder.

It would be good to take the opportunity to replace the existing calls to the iris linear and area weighted regridders with calls to the iris-esmf-regrid equivalents at the same time. This would align regular ANTS with UG-ANTS too.

A big advantage is that this would imply that a lot of our existing coordinate reference system could be retired - the only parts we would need would be the definitions of equivalent CRSs (e.g. treating WGS84 and UM_SPHERE interchangeably).

This feels like a sufficiently breaking change that it should be part of ANTS 4.x?
## Context

Care will need to be taken to check how this interacts with the decomposition.

Contributor guide

Open the contributing guide

Research direction

Start by locating existing calls to the TwoStage, Iris linear, and area-weighted regridders, then trace how those calls interact with decomposition. Review the iris-esmf-regrid non-degree CRS support and determine the scope of the breaking change; done means the relevant calls use the equivalent iris-esmf-regrid regridders and unnecessary CRS definitions are retired.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.