Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with reading Kartverket using dnora v2 - constant depth values #38

Open
martevind opened this issue Oct 7, 2024 · 0 comments
Open

Comments

@martevind
Copy link

When using the code below I get constant depth values in my bot-file.
Screenshot_bathy

Grid definitions

grid = dn.grid.Kartverket(lon=(5.37, 6.25), lat=(62.30, 62.75), name="Sulafjorden2")

Spacing and boundary points

grid.set_spacing(dm=250)

grid.import_topo(
tile="B14*",
folder="/Home/siv32/yic015/Desktop/Github/bathy",
)

grid.mesh_grid()

Boundaries

grid.set_boundary_points(dn.grid.mask.Edges(edges=["W", "N"], step=10))
grid.set_output_points(dn.grid.mask.LonLat(lon=(5.93, 6.05, 6.08, 6.05), lat=(62.44, 62.43, 62.40, 62.39)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant