Skip to content
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

Account for stake measurements that are located outside the glacier outlines provided by RGI #51

Open
JulianBiesheuvel opened this issue Aug 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working medium priority

Comments

@JulianBiesheuvel
Copy link
Collaborator

Some stake measurements might be so outdated that they no longer intersect with the recorded RGI glacier outlines due to glacier retreat. As a result, these stakes cannot be matched with a specific glacier or assigned an RGI code. However, to make these historical data usable, it's important to find a way to still associate these measurements with a glacier and obtain an RGI code.

One possible solution is to group or cluster nearby stakes and identify those with a similar RGI. Another approach could involve using a graphical user interface (GUI) that allows users to select points and manually assign them to a glacier.

@JulianBiesheuvel JulianBiesheuvel added bug Something isn't working medium priority labels Aug 12, 2024
@marvande marvande self-assigned this Aug 13, 2024
@khsjursen
Copy link
Collaborator

We could possibly use geopandas.sjoin_nearest to do this: https://geopandas.org/en/stable/docs/reference/api/geopandas.sjoin_nearest.html

I think this would work if the problem is generally that these points are associated with retreating glacier tongues such that we can expect that the nearest geometry is the correct one.

If we use this we might set a default max_distance such that in case of incorrect POINT_LAT and POINT_LON we do not connect the point with an arbitrary RGIId.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium priority
Projects
None yet
Development

No branches or pull requests

3 participants