Performance Issue: Unnecessary Re-conversion of Coordinates in point_within_gca
#936
Labels
improvement
Improvements on existing features or infrastructure
Milestone
Proposed new feature or change:
The current implementation of point_within_gca unnecessarily re-converts lat/lon coordinates from Cartesian coordinates, which negatively impacts performance.
The following lines re-compute lat/lon from Cartesian coordinates:
python
However, Uxarray already stores lat/lon coordinates, which can be passed directly to avoid redundant computation. This approach reduces both time and space complexity while aligning better with the overall architecture.
Proposed Solution:
point_within_gca
The text was updated successfully, but these errors were encountered: