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

gc_* functions #31

Open
khallock opened this issue Sep 12, 2019 · 3 comments
Open

gc_* functions #31

khallock opened this issue Sep 12, 2019 · 3 comments
Assignees
Labels
feature a new feature that is going to be developed support Support request opened by outside user/collaborator

Comments

@khallock
Copy link
Contributor

Port the NCL gc_* family of functions, including: gc_aangle, gc_clkwise, gc_dangle, gc_inout, gc_latlon, gc_onarc, gc_pnt2gc, gc_qarea, gc_tarea. The gc_* functions perform great circle calculations, such as whether a given point is located on a specified great circle arc (gc_onarc) or if a point is located within a polygon bounded by a set of great circle arcs (gc_inout).

@khallock
Copy link
Contributor Author

I'm not sure where these functions rank in priority, but we received a bug report for the implementation of gc_inout provided by PyNGL. We may want to consider adding gc_inout (and other gc_ functions) here rather than fixing a version of it that we could instead deprecate from PyNGL.

@anissa111 anissa111 added support Support request opened by outside user/collaborator feature a new feature that is going to be developed and removed enhancement labels Sep 2, 2022
@erogluorhan erogluorhan added this to the New functionality milestone Sep 8, 2023
@anissa111 anissa111 removed this from the Functionality - New milestone Sep 12, 2023
@cyschneck
Copy link
Contributor

  • gc_aangle: Finds the acute angle between two great circles on the globe.
  • gc_clkwise: Tests clockwise/counterclockwise ordering of points on spherical polygon.
  • gc_dangle: Finds the directed angle between two great circles having a specified intersection point.
  • gc_inout: Determines if a list of lat/lon specified points are inside or outside of spherical lat/lon polygon(s).
  • gc_latlon: Finds the great circle distance (true surface distance) between two points on the globe and interpolates points along the great circle.
  • gc_onarc: Determines if a point on the globe lies on a specified great circle arc.
  • gc_pnt2gc: Finds the angular distance from a point to a great circle.
  • gc_qarea: Finds the area of a quadrilateral patch on the unit sphere.
  • gc_tarea: Finds the area of a triangular patch on the unit sphere.

@cyschneck
Copy link
Contributor

Closed by NCAR/geocat-applications#65 (additional information via Project Pythia)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a new feature that is going to be developed support Support request opened by outside user/collaborator
Projects
None yet
Development

No branches or pull requests

4 participants