alan-turing-institute / alan-turing-institute/cloudcasting

Remove dependency on netcdf

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

The only place in the library where we use netcdf is in the tests [here](https://github.com/ClimeTrend/cloudcasting/blob/main/tests/conftest.py#L19-L21). We rely on netcdf to load x and y coordinates which are used to create some sample satellite data for testing.

We could remove this dependency if we converted the test data to another format such as a zipped zarr

Contributor guide

Open the contributing guide

Research direction

Start with tests/conftest.py lines 19-21 to understand how netcdf loads the x and y coordinates for sample satellite data. Evaluate the proposed alternative test-data format and verify that the test suite passes without the netcdf dependency; done means the dependency is no longer required for these tests.

Written by the indexing model from the issue text.

Assessment

Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.