-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Code Sample, a minimal, complete, and verifiable piece of code
tie_cols = np.arange(
1, image_data.shape[0], math.ceil(image_data.shape[0] / longitude.shape[1])
)
print(tie_cols.shape)
fine_cols = np.arange(image_data.shape[1])
tie_rows = np.arange(
1, image_data.shape[1], math.ceil(image_data.shape[1] / latitude.shape[0])
)
print(tie_rows.shape)
fine_rows = np.arange(image_data.shape[0])
interpolator = GeoInterpolator(
(longitude, latitude), (tie_rows, tie_cols), (fine_rows, fine_cols)
)
return interpolator.interpolate()
Problem description
I'm trying to interpolate a Tie Point Grid from a Sentinel SAR1A image but having issues with the results. The original tie grid is 10 x 21 and I'm trying to increase it to the same number of pixels as the image.
The code runs fine but visually checking the image location against the given pixel grid point gives the wrong coordinates. Is something I've doing obviously wrong?
I'd appreciate any guidance and thanks for spending time on the library.
Expected Output
Actual Result, Traceback if applicable
Versions of Python, package at hand and relevant dependencies
Thank you for reporting an issue !
Metadata
Metadata
Assignees
Labels
No labels