MetOffice / MetOffice/CSET

Not plotting due to a shapely.errors.GEOSException

Open
#672 6 comments 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

Again this is a fairly standard error that I get a lot for various different reasons including memory problems, particularly when plotting ensembles. Sometimes it happens, sometimes it doesn’t (without changing code or memory allowances) and I have never got to the bottom of it. It may also impact one time in the file.

Usually I would just mark this as “succeeded” in a workflow or skip the time that is causing the problem and move on to the next time.

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

Difficult to reproduce.

@jfrost-mo has never seen this.

### Expected behaviour

**QUESTION:** is it worth having a try/except with the plotting to print out a warning message that X time does not plot due to this error, and then continue plotting the other times.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the plotting entry point and reproducing the shapely.errors.GEOSException during ensemble or per-time plotting, if possible. Done means determining the expected behavior for a failing time and verifying that the agreed handling is covered by an appropriate test or documented reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
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.