Skip to content

Commit cdd545e

Browse files
Fix bathyemtry example (#382)
* this works * compat for OffsetArrays * Z -> zb * bugfix * bugfux --------- Co-authored-by: Navid C. Constantinou <[email protected]>
1 parent 167eb72 commit cdd545e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bathymetry.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ function interpolate_bathymetry_in_passes(native_z, target_grid;
207207
end
208208

209209
# Interpolate in passes
210-
latitude = y_domain(target_grid)
211-
longitude = x_domain(target_grid)
210+
latitude = y_domain(native_z.grid)
211+
longitude = x_domain(native_z.grid)
212212

213213
ΔNλ = floor((Nλn - Nλt) / passes)
214214
ΔNφ = floor((Nφn - Nφt) / passes)

0 commit comments

Comments
 (0)