Skip to content

Commit fbe92bd

Browse files
authored
Merge pull request #5 from rstoneback/develop
Develop
2 parents 2e3620d + deffc4f commit fbe92bd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pysatMagVect/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def calculate_mag_drift_unit_vectors_ecef(latitude, longitude, altitude, datetim
503503
south_z = south_z - ecef_z
504504
south_x, south_y, south_z = normalize_vector(south_x, south_y, south_z)
505505
# calculate magnetic unit vector
506-
bx, by, bz = enu_to_ecef_vector(be, bn, -bd, geo_long, geo_lat)
506+
bx, by, bz = enu_to_ecef_vector(be, bn, -bd, geo_lat, geo_long)
507507
bx, by, bz = normalize_vector(bx, by, bz)
508508

509509
# take cross product of southward and northward vectors to get the zonal vector

pysatMagVect/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.3.1

0 commit comments

Comments
 (0)