nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Wrap XIOS frequency splitting and fix timestep bug #632

Closed jwallwork23 closed 3 months ago

jwallwork23 commented 3 months ago

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