eWaterCycle / eWaterCycle/ewatercycle

Use better geometry package for distance calculations etc.

Open
#155 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41
Forks
6
Avg merge
8d 23h
Merged PRs (30d)
2

Description

E.g. in `ewatercycle.util.py` we have `find_closest_point`, which computes a rough estimate of distance between point and grid. However, this distance is not accurate (e.g. could also use haversine or vincenty distance), and it doesn't handle edge cases such as grids that wrap around the prime meridian, or conventions like (-180, 180) vs (0, 360). Instead of reinventing the wheel, maybe we can use something like `geopy` or another package that is tailored to this kind of problems.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.