MetOffice / MetOffice/CSET

ValueError when cutting out Auckland domain

Open
#1,399 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
33
Forks
19
Avg merge
1d 22h
Merged PRs (30d)
30

Description

### Describe the bug

Doing a cutout of the Auckland domain gives the following error from iris's `cube.intersection`.

> ValueError: coordinate units with no modulus are not yet supported

I'd hazard that this is due to the domain crossing the date line.

### How to reproduce
Steps to reproduce the behaviour:

1.
2.
3.

### Expected behaviour

### Environment

- Version: [e.g. from `cset --version`]
- Browser (if UI issue): [e.g. Chrome, Firefox]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing an Auckland-domain cutout and trace the call into iris's cube.intersection, focusing on the reported coordinate-units-with-no-modulus error and possible date-line crossing. Done means the Auckland cutout completes without this ValueError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.