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

Test if xugrid's and iMOD Python's Regridder behave similar enough #1372

Open
JoerivanEngelen opened this issue Jan 8, 2025 · 1 comment
Assignees
Milestone

Comments

@JoerivanEngelen
Copy link
Contributor

It would be good to test iMOD Python's regridder and xugrid's behave similar enough.
If there are any noticeable differences these should be documented.

@Huite
Copy link
Contributor

Huite commented Jan 13, 2025

The most important thing is that the xugrid one is missing the Voxelizer and LayerRegridder, essentially.

This requires top and bottom data, or bounds on a z coordinate. I've implemented the logic for computing the weights: https://github.com/Deltares/xugrid/blob/fc0bdcb0eaeff62887f1e62fadd61957629dff61/xugrid/regrid/overlap_1d.py#L158

But it's not exposed yet here (class exists: https://github.com/Deltares/xugrid/blob/fc0bdcb0eaeff62887f1e62fadd61957629dff61/xugrid/regrid/structured.py#L736)

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

No branches or pull requests

3 participants