Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces a comprehensive regression test suite for the
i.rectify
module in GRASS. The tests cover the core rectification workflows, including affine and polynomial transformations, flag-specific behaviors, and region/resolution control.Tests Included
test_affine_rectification
cubic
interpolation.test_polynomial_order2_rectification
linear
interpolation.test_polynomial_order3_rectification
lanczos
interpolation.test_region_restriction
-c
flag which restricts the output to the current computational region.r.info
).test_c_flag_with_resolution_override
-c
flag takes precedence over theresolution=
parameter.test_automatic_rectification
-a
flag to automatically rectify all maps in the group.test_thin_plate_spline
-t
flag for thin plate spline (TPS) interpolation.test_resolution_parameter
resolution=
parameter sets the desired output resolution when-c
is not used.The suite validates correctness using raster inputs and univariate statistics on rectified outputs. Looking forward to feedback and improvements!