MetOffice / MetOffice/CSET

Add tests to ensure callbacks do not realize data

Open
#2,037 2 comments 0 reactions 0 assignees View on GitHub
cleanup
Dominant language
Python
Stars
33
Forks
19
Avg merge
1d 22h
Merged PRs (30d)
30

Description

Currently, we do not have tests that ensure the data is not realized. If we ensure the data is lazy this will help with memory.

Currently our test data is small so it is realised by iris with a simple load. Therefore, we need to consider the data we are using as well.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the callback-related tests and inspect how their current test data is loaded. Use data large enough that Iris cannot realize it through a simple load, then add checks that callbacks preserve laziness and do not realize the data; the tests are done when they would fail if realization occurred.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.