Skip to content

Commit

Permalink
Merge pull request #1 from PowerBroker2/main
Browse files Browse the repository at this point in the history
Small bug fix in example snippet
  • Loading branch information
klaundal authored Apr 30, 2022
2 parents 37d40bf + 9f544b7 commit a240eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lat = 60.39299 # degrees north
h = 0 # kilometers above sea level
date = datetime(2021, 3, 28)

Be, Bn, Bu = ppgirf.igrf(lon, lat, h, date) # returns east, north, up
Be, Bn, Bu = ppigrf.igrf(lon, lat, h, date) # returns east, north, up
```
Geodetic coordinates take the ellipsoidal shape of the Earth into account. The northward component returned by the igrf function is tangential to the ellipsoid, and in general not tangential to an Earth centered sphere. The upward component is perpendicular to the ellipsoid, and in general not perpendicular to the sphere.

Expand Down

0 comments on commit a240eb8

Please sign in to comment.