-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugReports a bug or other unexpected behaviourReports a bug or other unexpected behaviour
Description
Describe the bug
If you take a climatology with a single time step, it will explode.
Failing Test
Doing this in a hurry, but basically:
- create a climatology file (or any file, but in practice only climatology files can have a single time step), but only include one time step
- try and validate it
Expected behavior
File should be able to pass validation if written correctly. Probably, we just have to accept whatever frequency value is given as there is no way to validate it.
Screenshots
System
- OS: [e.g. Windows, Linux, macOS]
- Python version [e.g. Python 3.11]
Additional context
Might also want to add a check that we can write climatologies with a single time step (and raise an error if the frequency is not specified, as there is no way to infer it).
Metadata
Metadata
Assignees
Labels
bugReports a bug or other unexpected behaviourReports a bug or other unexpected behaviour