@@ -6,11 +6,11 @@ import "math"
66// The calculation is performed for two sets of coeffs for a single location,
77// thus it returns two sets of X, Y, Z.
88//
9- // X - northward component
9+ // # X - northward component
1010//
11- // Y - eastward component
11+ // # Y - eastward component
1212//
13- // Z - vertically-downward component
13+ // # Z - vertically-downward component
1414func Shval3 (flat , flon , elev float64 , nmax int , gha , ghb * []float64 ) (float64 , float64 , float64 , float64 , float64 , float64 ) {
1515 // similar to shval3 from C implementation
1616 var earths_radius float64 = 6371.2
@@ -157,13 +157,13 @@ func Shval3(flat, flon, elev float64, nmax int, gha, ghb *[]float64) (float64, f
157157
158158// Computes the geomagnetic D, I, H, and F from X, Y, and Z.
159159//
160- // D - declination
160+ // # D - declination
161161//
162- // I - inclination
162+ // # I - inclination
163163//
164- // H - horizontal intensity
164+ // # H - horizontal intensity
165165//
166- // F - total intensity
166+ // # F - total intensity
167167func Dihf (x , y , z float64 ) (float64 , float64 , float64 , float64 ) {
168168 var d , i , h , f float64
169169 sn := 0.0001
0 commit comments