You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using r.mapcalc.tiled with the default patch option patch_backend="RasterRow" rows of no-data occur at tile borders.
When using patch_backend="r.patch" non of these no-data rows occur.
To Reproduce
Steps to reproduce the behavior:
create GRASS location with EPSG:25832
import provided test data: r.import input=/path/to/testmap_zeros.tif output=testmap_zeros
set region: g.region raster=testmap_zeros
use r.mapcalc.tiled with default patch option: r.mapcalc.tiled expression="patch_RasterRow=testmap_zeros+1" nprocs=10 patch_backend="RasterRow"
for comparison: use r.mapcalc.tiled with r.patch option: r.mapcalc.tiled expression="patch_rpatch=testmap_zeros+1" nprocs=10 patch_backend="r.patch"
zoom to & check tile borders: patch_RasterRow include data-gap rows at tile borders; patch_rpatch does not include data-gap rows at tile borders
Expected behavior
Default patch option should not create no-data rows at tile borders
Screenshots
On the screenshots, you can see a zoomed section of the maps produced in step 4. and 5. The map created with default patch option (patch_RasterRow) contains the no-data rows.
System description (please complete the following information):
Name of the addon
r.mapcalc.tiled
Describe the bug
When using r.mapcalc.tiled with the default patch option
patch_backend="RasterRow"
rows of no-data occur at tile borders.When using
patch_backend="r.patch"
non of these no-data rows occur.To Reproduce
Steps to reproduce the behavior:
r.import input=/path/to/testmap_zeros.tif output=testmap_zeros
g.region raster=testmap_zeros
r.mapcalc.tiled expression="patch_RasterRow=testmap_zeros+1" nprocs=10 patch_backend="RasterRow"
r.patch
option:r.mapcalc.tiled expression="patch_rpatch=testmap_zeros+1" nprocs=10 patch_backend="r.patch"
patch_RasterRow
include data-gap rows at tile borders;patch_rpatch
does not include data-gap rows at tile bordersExpected behavior
Default patch option should not create no-data rows at tile borders
Screenshots
![patch_RasterRow__data_gap_zoomed](https://user-images.githubusercontent.com/106728040/205257906-b3deca2b-8aac-40fa-96ea-9eaccb915fd0.png)
![patch_rpatch__no_data_gaps_zoomed](https://user-images.githubusercontent.com/106728040/205257921-c2d8ce9a-eeda-4007-b9b0-084a77f4bd29.png)
On the screenshots, you can see a zoomed section of the maps produced in step 4. and 5. The map created with default patch option (patch_RasterRow) contains the no-data rows.
System description (please complete the following information):
Additional context
grass_example.zip
The text was updated successfully, but these errors were encountered: