Skip to content
Prev 21919 / 29559 Next

Calculate the length of hail paths

Hi

Why not check your results with calculators for great-circle distance like http://www.movable-type.co.uk/scripts/latlong.html. There the haversine formula is used. Using
[[1]]
          [,1]    [,2]
[1,] -101.5000 32.2000
[2,] -101.4999 32.2001
[[1]]
          [,1]     [,2]
[1,] -89.68000 41.20000
[2,] -89.67987 41.20008

I get the distances 0.01457 km and 0.01405 km from that homepage.

Using the distHaversine() instead of distCosine() (see the above URL for the difference) then I get the distances 14.14557 and 14.21278 in meters. However the above homepage uses 6371 km as the radius of the earth whereas geosphere uses 6378137 m. There could be other subtleties having influence on the decimal precision. 

Yours sincerely / Med venlig hilsen


Frede Aakmann T?gersen
Specialist, M.Sc., Ph.D.
Plant Performance & Modeling

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
frtog at vestas.com
http://www.vestas.com

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender.