Skip to content

Remove bounds from merge_arrays, and use a slice before#484

Merged
dbrakenhoff merged 1 commit intodevfrom
remove_bounds_to_merge_arrays
Jun 19, 2025
Merged

Remove bounds from merge_arrays, and use a slice before#484
dbrakenhoff merged 1 commit intodevfrom
remove_bounds_to_merge_arrays

Conversation

@rubencalje
Copy link
Collaborator

@rubencalje rubencalje commented Jun 18, 2025

As @OnnoEbbens found out, using the bounds argument in rioxarray.merge.merge_arrays produces strange results. This can also be see in https://nlmod.readthedocs.io/en/latest/examples/11_grid_rotation.html#Add-AHN:
image

Therefore, we revert back to the way we used to merge the ahn-tiles (which is still in the main-branch), where we use a slice just after downloading.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in NHFLO Jun 19, 2025
@dbrakenhoff dbrakenhoff merged commit 7c70c7f into dev Jun 19, 2025
2 of 4 checks passed
@dbrakenhoff dbrakenhoff deleted the remove_bounds_to_merge_arrays branch June 19, 2025 15:08
@github-project-automation github-project-automation bot moved this from In Progress to Done in NHFLO Jun 19, 2025
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

Successfully merging this pull request may close these issues.

2 participants