Create unit test for StructuredDataset.variable_time_axis
- Dominant language
- Python
- Stars
- 8
- Forks
- 7
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 23
Description
In cdds/qc/dataset/dataset.py, some changes to facilitate CMIP7 production were made to the function `variable_time_axis` to allow bounds to be grabbed from the time variable `climatology_bnds` (required in CMIP7 for some datasets). A unittest should be written to test this function and ensure the ability to get bounds from `climatology_bnds` is maintained.
For further clarity see PR #936
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in cdds/qc/dataset/dataset.py by reading variable_time_axis, then review PR #936 for the CMIP7-related change. Add a unittest covering retrieval of bounds from climatology_bnds and run the relevant dataset tests to confirm this behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100