Skip to content

Commit

Permalink
[DEV] add error message to destaggering routine.
Browse files Browse the repository at this point in the history
  • Loading branch information
eilifso committed Jun 24, 2024
1 parent 9193fb3 commit e8a40af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/read_params_snap_aux.jl
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,10 @@ function get_and_destagger_var(
data = yup(data, slicey, periodic, order)
data = xup(data, slicex, periodic, order)
end
else
error("Destaggering of varnnr $varnr is not implemented. "*
"Set the keyword-argument `destaggeroperation`"
)
end

end
Expand Down

0 comments on commit e8a40af

Please sign in to comment.