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

Add geo.py module for geospatial operations #69

Merged
merged 17 commits into from
May 3, 2023
Merged

Add geo.py module for geospatial operations #69

merged 17 commits into from
May 3, 2023

Conversation

lsetiawan
Copy link
Member

@lsetiawan lsetiawan commented Apr 11, 2023

Overview

This PR adds a geo utility module to perform geospatial transformations. Currently it has the capability to perform the following conversions:

  • lon,lat,alt -> x,y,z
  • x,y,z -> lon,lat,alt
  • x,y,z -> east,north,up
  • east,north,up -> x,y,z

It resolves the following issues:

@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +9.49 🎉

Comparison is base (eda0f43) 63.15% compared to head (dd0b99a) 72.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   63.15%   72.65%   +9.49%     
==========================================
  Files           6        7       +1     
  Lines          95      128      +33     
==========================================
+ Hits           60       93      +33     
  Misses         35       35              
Impacted Files Coverage Δ
src/seagap/utilities/geo.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@lsetiawan
Copy link
Member Author

Check out plh2xyz. This will take geodetic to geocentric.

@lsetiawan lsetiawan marked this pull request as ready for review April 27, 2023 18:35
@lsetiawan lsetiawan requested a review from carlosgjs April 27, 2023 19:04
src/seagap/utilities/geo.py Outdated Show resolved Hide resolved
src/seagap/utilities/geo.py Outdated Show resolved Hide resolved
@lsetiawan lsetiawan merged commit bb8649d into seafloor-geodesy:main May 3, 2023
@lsetiawan lsetiawan deleted the geo branch May 3, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants