From 9f544b7cb4489a137450514ab0519418ca99b987 Mon Sep 17 00:00:00 2001 From: PB2 Date: Fri, 29 Apr 2022 13:28:44 -0400 Subject: [PATCH] Small bug fix in example snippet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 217b8c9..6af7425 100644 --- a/README.md +++ b/README.md @@ -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.