We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2355d11 commit 9cb19efCopy full SHA for 9cb19ef
src/netcdf_writer.jl
@@ -141,7 +141,10 @@ function NetCDFWriter(
141
142
num_vpts = Meshes.nelements(Grids.vertical_topology(space).mesh)
143
144
- @warn "Disabling vertical interpolation, the provided number of points is ignored (using $num_vpts)"
+ # For any configuration, it is reasonable to assume that the last
145
+ # value of `num_pts` is the number of vertical points
146
+ last(num_points) != num_vpts &&
147
+ @warn "Disabling vertical interpolation, the provided number of points is ignored (using $num_vpts)"
148
num_points =
149
Tuple([num_points[1:num_horiz_dimensions]..., num_vpts])
150
end
0 commit comments