message_ix_models.tools.bilateralize.calculate_distance
Calculate distances between pairs of ports
Functions
|
Run distance calculation. |
Read CSV file with port data and calculate distances between all port combinations. |
|
|
Calculate the great circle distance between two points on the earth (specified in decimal degrees) using the Haversine formula. |