-
Notifications
You must be signed in to change notification settings - Fork 20
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
Issues with interpolation on a Sentinel Tie Point Grid. #37
Comments
These are the tie point grids involved. Longitude:
Latitude
|
Thanks a lot for reaching to us about this issue! |
No, this should be fine. What I mean is that every tie point has an associated line and column number assigned to it. The way you build the grid, you assume that all the coordinates of the first column of your array are on the same column on the image, which in my experience is most of the times not the case for that type of data. For example, I have seen case like tuples of (line, col, lon, lat) would be like I'm not saying this is the case for you data, but it happened to me a lot with Sentinel 1 data. |
By the way, if you are reading Sentinel 1 GRD data, I can recommend the satpy package we are developing too. See an example usage here: |
I'll take a look at the package, thanks! From looking at the data, it does look like it is the same order as the image given how it increases and the corner points but I cannot be sure. Does the fact there is a offset from the edge of the image to the first grid point matter? According to the H5 dataset, there is a X and Y offset of 0.5. |
If you are using H5 data then it's probably not the same than I am using. Could you produce the line and column numbers for each lon lat points so we would have a full dataset to test? |
Code Sample, a minimal, complete, and verifiable piece of code
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 !
The text was updated successfully, but these errors were encountered: