We just add another Exception for the case a user is trying to destagger an unstaggered variable. Adding this additional elif only leaves the remaining condition len(stagger_dim) == 1 continuing to execute.
Related issue number
Closes #147
Checklist
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
Change Summary
We just add another Exception for the case a user is trying to destagger an unstaggered variable. Adding this additional
elif
only leaves the remaining conditionlen(stagger_dim) == 1
continuing to execute.Related issue number
Closes #147
Checklist