[x] Implemented the source code change that satisfies the tests
[x] Documented the feature by providing worked example
[x] Updated the README or other documentation
[x] Completed the pre-Request checklist below
Change Description
Closes #554. Wraps the split_freq option for XIOS Files, so that output files can be separated according to some frequency.
While working on this, I spotted a bug: the timestep is interpreted as minutes rather than seconds. This is now fixed.
Test Description
A test for the frequency splitting option is added, which checks a frequency of 2 timesteps works.
Another test is added to verify that the timestep is set up correctly.
Pre-Request Checklist
[x] The requirements of this pull request are fully captured in an issue or design specification and are linked and summarised in the description of this PR
[x] No new warnings are generated
[x] The documentation has been updated (or an issue has been created to track the corresponding change)
[x] Methods and Tests are commented such that they can be understood without having to obtain additional context
[x] This PR/Issue is labelled as a bug/feature/enhancement/breaking change
[x] File dates have been updated to reflect modification date
[x] This change conforms to the conventions described in the README
Wrap XIOS frequency splitting and fix timestep bug
Fixes #554
Task List
Change Description
Closes #554. Wraps the
split_freq
option for XIOS Files, so that output files can be separated according to some frequency.While working on this, I spotted a bug: the timestep is interpreted as minutes rather than seconds. This is now fixed.
Test Description
A test for the frequency splitting option is added, which checks a frequency of 2 timesteps works.
Another test is added to verify that the timestep is set up correctly.
Pre-Request Checklist