Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cartopy 0.19.0 for proj-bin compatibility #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ BibTeX citation:
## Getting started

1. System setup:
- Python version 3.7+
- Python version 3.7+ but less than python 3.10
- Recent Linux operating system (e.g., Ubuntu 18+)

2. Install dependencies:
Expand Down
2 changes: 1 addition & 1 deletion hypatia_install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sudo apt-get install libproj-dev proj-data proj-bin libgeos-dev || exit 1
# export CFLAGS=-stdlib=libc++
# MACOSX_DEPLOYMENT_TARGET=10.14
pip install git+https://github.com/snkas/[email protected] || exit 1
pip install cartopy || exit 1
pip install cartopy==0.19.0.post1 || exit 1

# ns3-sat-sim
echo "Installing dependencies for ns3-sat-sim..."
Expand Down
2 changes: 2 additions & 0 deletions ns3-sat-sim/simulator/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
!scratch
!src
!test_data
!my-test
!quick-demo.md
2 changes: 2 additions & 0 deletions ns3-sat-sim/simulator/my-test/end_to_end/run/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logs_ns3
temp
18 changes: 18 additions & 0 deletions ns3-sat-sim/simulator/my-test/end_to_end/run/config_ns3.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
simulation_end_time_ns=200000000000
simulation_seed=123456789

satellite_network_dir="../satellite_network_state"
satellite_network_routes_dir="../satellite_network_state/dynamic_state_100ms_for_200s"
dynamic_state_update_interval_ns=100000000

isl_data_rate_megabit_per_s=10.0
gsl_data_rate_megabit_per_s=10.0
isl_max_queue_size_pkts=100
gsl_max_queue_size_pkts=100

enable_isl_utilization_tracking=true
isl_utilization_tracking_interval_ns=1000000000

enable_udp_burst_scheduler=true
udp_burst_schedule_filename="udp_burst_schedule.csv"
udp_burst_enable_logging_for_udp_burst_ids=set(0)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0,17,18,10.0,0,190000000000,,
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dynamic_state_100ms_for_200s
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
max_gsl_length_m=1260000.0000000000
max_isl_length_m=5442958.2030362869
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0,Manila,14.604200,120.982200,0.000000,-3177879.424386,5292603.275242,1597759.166873
1,Dalian,38.913811,121.602322,0.000000,-2604036.495133,4232416.568615,3984875.526585
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
0,1,1.000000
1,1,1.000000
2,1,1.000000
3,1,1.000000
4,1,1.000000
5,1,1.000000
6,1,1.000000
7,1,1.000000
8,1,1.000000
9,1,1.000000
10,1,1.000000
11,1,1.000000
12,1,1.000000
13,1,1.000000
14,1,1.000000
15,1,1.000000
16,1,1.000000
17,1,1.000000
18,1,1.000000
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
0 1
0 4
1 5
2 3
2 6
3 4
3 7
4 5
6 7
8 9
8 12
9 13
10 11
11 12
11 14
12 13
12 15
13 16
14 15
15 16
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
1 17
Kuiper-630 0
1 00184U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 06
2 00184 51.9000 52.9412 0000001 0.0000 142.9412 14.80000000 00
Kuiper-630 1
1 00185U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 07
2 00185 51.9000 52.9412 0000001 0.0000 153.5294 14.80000000 07
Kuiper-630 2
1 00216U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 02
2 00216 51.9000 63.5294 0000001 0.0000 116.4706 14.80000000 04
Kuiper-630 3
1 00217U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 03
2 00217 51.9000 63.5294 0000001 0.0000 127.0588 14.80000000 01
Kuiper-630 4
1 00218U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 04
2 00218 51.9000 63.5294 0000001 0.0000 137.6471 14.80000000 00
Kuiper-630 5
1 00219U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 05
2 00219 51.9000 63.5294 0000001 0.0000 148.2353 14.80000000 08
Kuiper-630 6
1 00250U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 00
2 00250 51.9000 74.1176 0000001 0.0000 121.7647 14.80000000 02
Kuiper-630 7
1 00251U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 01
2 00251 51.9000 74.1176 0000001 0.0000 132.3529 14.80000000 00
Kuiper-630 8
1 00616U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 06
2 00616 51.9000 190.5882 0000001 0.0000 31.7647 14.80000000 05
Kuiper-630 9
1 00617U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 07
2 00617 51.9000 190.5882 0000001 0.0000 42.3529 14.80000000 03
Kuiper-630 10
1 00648U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 01
2 00648 51.9000 201.1765 0000001 0.0000 15.8824 14.80000000 09
Kuiper-630 11
1 00649U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 02
2 00649 51.9000 201.1765 0000001 0.0000 26.4706 14.80000000 07
Kuiper-630 12
1 00650U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 04
2 00650 51.9000 201.1765 0000001 0.0000 37.0588 14.80000000 05
Kuiper-630 13
1 00651U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 05
2 00651 51.9000 201.1765 0000001 0.0000 47.6471 14.80000000 04
Kuiper-630 14
1 00683U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 00
2 00683 51.9000 211.7647 0000001 0.0000 21.1765 14.80000000 08
Kuiper-630 15
1 00684U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 01
2 00684 51.9000 211.7647 0000001 0.0000 31.7647 14.80000000 05
Kuiper-630 16
1 00685U 00000ABC 00001.00000000 .00000000 00000-0 00000+0 0 02
2 00685 51.9000 211.7647 0000001 0.0000 42.3529 14.80000000 03
Binary file not shown.
2 changes: 2 additions & 0 deletions ns3-sat-sim/simulator/my-test/large-starlink/run/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logs_ns3
temp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
simulation_end_time_ns=200000000000
simulation_seed=123456789

satellite_network_dir="../satellite_network_state"
satellite_network_routes_dir="../satellite_network_state/dynamic_state_100ms_for_500s"
dynamic_state_update_interval_ns=100000000

isl_data_rate_megabit_per_s=10.0
gsl_data_rate_megabit_per_s=10.0
isl_max_queue_size_pkts=100
gsl_max_queue_size_pkts=100

enable_isl_utilization_tracking=true
isl_utilization_tracking_interval_ns=1000000000

enable_udp_burst_scheduler=true
udp_burst_schedule_filename="udp_burst_schedule.csv"
udp_burst_enable_logging_for_udp_burst_ids=set(0)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0,1593,1590,10.0,0,200000000000,,
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dynamic_state_100ms_for_500s
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
max_gsl_length_m=1089686.4181956202
max_isl_length_m=5016591.2330984278
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
0,Tokyo,35.689500,139.691710,0.000000,-3954843.592378,3354935.154958,3700263.820217
1,Delhi,28.666670,77.216670,0.000000,1239227.233093,5461834.040626,3041536.573362
2,Shanghai,31.222220,121.458060,0.000000,-2849046.996683,4656870.262308,3286986.751947
3,São-Paulo,-23.547500,-46.636110,0.000000,4016884.413346,-4253102.280352,-2532418.944537
4,Mumbai-(Bombay),19.073975,72.880838,0.000000,1775024.409639,5762948.394748,2071089.571952
5,Ciudad-de-México-(Mexico-City),19.427318,-99.141869,0.000000,-956013.259084,-5940788.312317,2108015.826874
6,Beijing,39.907500,116.397230,0.000000,-2178189.628682,4388467.259356,4070111.420547
7,Kinki-M.M.A.-(Osaka),34.675834,135.553823,0.000000,-3748711.554631,3676932.782387,3608349.262864
8,Al-Qahirah-(Cairo),30.039173,31.239411,0.000000,4724843.145927,2865910.587720,3174132.831160
9,New-York-Newark,40.717042,-74.003663,0.000000,1334103.172127,-4653693.528901,4138656.197504
10,Dhaka,23.710400,90.407440,0.000000,-41549.625564,5842769.626778,2548947.975045
11,Karachi,24.905600,67.082200,0.000000,2254070.750009,5331511.452239,2669592.977412
12,Buenos-Aires,-34.605083,-58.400368,0.000000,2753742.582969,-4476209.103195,-3601891.870081
13,Kolkata-(Calcutta),22.533455,88.356045,0.000000,169092.840058,5891674.215633,2429078.655825
14,Istanbul,41.013800,28.949700,0.000000,4217352.684891,2332879.103760,4163578.605821
15,Chongqing,29.562780,106.552780,0.000000,-1581849.527589,5322225.908964,3128308.696599
16,Lagos,6.453060,3.395830,0.000000,6326864.177950,375422.898833,712064.787620
17,Manila,14.604200,120.982200,0.000000,-3177879.424386,5292603.275242,1597759.166873
18,Rio-de-Janeiro,-22.902780,-43.207500,0.000000,4284573.241489,-4024537.642061,-2466804.550393
19,Guangzhou--Guangdong,23.125457,113.257374,0.000000,-2317313.016439,5391778.733951,2489501.977608
20,Los-Angeles-Long-Beach-Santa-Ana,34.031656,-118.241716,0.000000,-2503798.769560,-4661412.425279,3549356.151964
21,Moskva-(Moscow),55.754996,37.621849,0.000000,2849364.249488,2196037.348543,5249138.475472
22,Kinshasa,-4.327580,15.313570,0.000000,6134256.671861,1679704.404461,-478073.165313
23,Tianjin,39.108842,117.188620,0.000000,-2264370.447528,4408141.730657,4001699.197281
24,Paris,48.853410,2.348800,0.000000,4201190.555426,172321.379909,4779846.644084
25,Shenzhen,22.541487,114.063427,0.000000,-2403166.789304,5381560.015595,2429900.172276
26,Jakarta,-6.211831,106.841646,0.000000,-1837143.664996,6068967.145506,-685550.598173
27,London,51.508530,-0.125740,0.000000,3977894.865463,-8729.810601,4968951.845089
28,Bangalore,12.971940,77.593690,0.000000,1335552.388629,6071252.439084,1422379.953394
29,Lima,-12.043180,-77.028240,0.000000,1400398.086889,-6079459.809817,-1322074.118986
30,Chennai-(Madras),13.053091,80.248750,0.000000,1052537.955389,6124609.513043,1431127.192297
31,Seoul,37.568260,126.977830,0.000000,-3044695.344273,4043701.687491,3867570.794742
32,Bogotá,4.609710,-74.081750,0.000000,1743681.827647,-6113850.813796,509176.510048
33,Chukyo-M.M.A.-(Nagoya),35.181470,136.906410,0.000000,-3811007.345744,3565477.965448,3654339.372135
34,Johannesburg,-26.202270,28.043630,0.000000,5054116.749558,2692260.259376,-2799185.281365
35,Krung-Thep-(Bangkok),13.721964,100.525248,0.000000,-1132045.841289,6092987.288584,1503115.898128
36,Hyderabad,17.375280,78.474440,0.000000,1216595.812180,5966134.892947,1892510.821705
37,Chicago,41.850030,-87.650050,0.000000,195096.855909,-4754125.753385,4233209.250228
38,Lahore,31.549722,74.343611,0.000000,1468173.614710,5238496.839736,3317985.617423
39,Tehran,35.694390,51.421510,0.000000,3233827.521754,4054066.363541,3700704.469968
40,Wuhan,30.583330,114.266670,0.000000,-2258619.529224,5010056.414002,3226210.113082
41,Chengdu,30.666670,104.066670,0.000000,-1334574.922496,5326277.039903,3234160.733404
42,Dongguan,23.021160,113.741411,0.000000,-2364602.229386,5376153.416252,2478875.588813
43,Nanjing--Jiangsu,32.048183,118.789812,0.000000,-2606033.477898,4742354.568215,3364960.387916
44,Ahmadabad,23.033330,72.616670,0.000000,1754535.433764,5604443.080389,2480115.956839
45,Hong-Kong,22.279588,114.188697,0.000000,-2419457.493209,5386378.752779,2403088.912615
46,Thành-Pho-Ho-Chí-Minh-(Ho-Chi-Minh-City),10.750000,106.666670,0.000000,-1797376.449356,6003654.168380,1181849.053055
47,Foshan,23.022778,113.119953,0.000000,-2306124.379924,5401419.856562,2479040.501933
48,Kuala-Lumpur,3.141200,101.686530,0.000000,-1290008.255785,6236597.529036,347165.345400
49,Baghdad,33.340580,44.400880,0.000000,3810801.668705,3731927.368190,3485575.399997
50,Santiago,-33.456940,-70.648270,0.000000,1765090.062721,-5025755.180048,-3496349.820519
51,Hangzhou,30.293650,120.161420,0.000000,-2769390.549189,4765667.674845,3198522.407862
52,Ar-Riyadh-(Riyadh),24.690466,46.709566,0.000000,3975957.341095,4220595.030186,2647959.980346
53,Shenyang,41.792220,123.432780,0.000000,-2623888.534892,3974386.229069,4228424.169125
54,Madrid,40.416500,-3.702560,0.000000,4852700.063425,-314027.764315,4113303.836106
55,Xi'an--Shaanxi,34.289413,108.940242,0.000000,-1712246.267754,4989623.720437,3573014.886695
56,Toronto,43.700110,-79.416300,0.000000,848298.519234,-4539985.849087,4384061.168230
57,Miami,25.789097,-80.204044,0.000000,977713.397182,-5662739.769947,2758041.949627
58,Pune-(Poona),18.516057,73.861578,0.000000,1681654.422454,5811598.539917,2012627.060892
59,Belo-Horizonte,-19.920830,-43.937780,0.000000,4319717.312851,-4162446.455155,-2159458.309489
60,Dallas-Fort-Worth,32.725410,-97.320850,0.000000,-684402.314298,-5327213.827636,3428378.417526
61,Surat,21.166670,72.833330,0.000000,1756281.650351,5685335.007847,2288612.514428
62,Houston,29.760193,-95.369390,0.000000,-518553.538280,-5517182.475598,3147323.844701
63,Singapore,1.289670,103.850070,0.000000,-1526426.708911,6191135.431550,142592.490742
64,Philadelphia,39.952340,-75.163790,0.000000,1253680.828626,-4732878.313270,4073929.261226
65,Kitakyushu-Fukuoka-M.M.A.,33.606400,130.418100,0.000000,-3447685.930190,4048425.402416,3510168.245123
66,Luanda,-8.836820,13.234320,0.000000,6135530.183815,1442953.502786,-973332.344974
67,Suzhou--Jiangsu,31.302068,120.585259,0.000000,-2775442.218972,4695773.385067,3294554.366518
68,Haerbin,45.756325,126.646688,0.000000,-2660743.499399,3576601.748587,4546390.676410
69,Barcelona,41.388790,2.158990,0.000000,4788749.940967,180532.658215,4194912.663711
70,Atlanta,33.760000,-84.400000,0.000000,517979.453140,-5282763.124122,3524344.845288
71,Al-Khartum-(Khartoum),15.551770,32.532410,0.000000,5181700.582420,3305229.521059,1698996.465682
72,Dar-es-Salaam,-6.823490,39.269510,0.000000,4903063.006045,4008755.345169,-752755.591312
73,Sankt-Peterburg-(Saint-Petersburg),59.929858,30.326228,0.000000,2765465.818184,1617706.410247,5496564.164974
74,Washington--D.C.,38.895110,-77.036370,0.000000,1115077.326892,-4843956.912642,3983259.944079
75,Abidjan,5.345339,-4.026789,0.000000,6334905.313477,-445956.237759,590216.959218
76,Guadalajara,20.666670,-103.333330,0.000000,-1376819.862278,-5809261.295506,2236902.772145
77,Yangon,16.805280,96.156110,0.000000,-654949.605300,6072232.910912,1832214.567293
78,Al-Iskandariyah-(Alexandria),31.192471,29.904596,0.000000,4733877.074951,2722605.361746,3284165.670937
79,Ankara,39.919870,32.854270,0.000000,4114933.206347,2657413.259345,4071164.894156
80,Kabul,34.528887,69.172460,0.000000,1870306.243973,4916495.830781,3594931.444457
81,Qingdao,36.098610,120.371940,0.000000,-2608730.853367,4451467.508186,3737037.226323
82,Chittagong,22.333060,91.836390,0.000000,-189151.138617,5899536.941969,2408567.006775
83,Monterrey,25.666670,-100.316670,0.000000,-1030190.682169,-5659412.855777,2745823.571687
84,Sydney,-33.867850,151.207320,0.000000,-4646012.998371,2553394.354988,-3534283.972607
85,Dalian,38.913811,121.602322,0.000000,-2604036.495133,4232416.568615,3984875.526585
86,Xiamen,24.479790,118.081870,0.000000,-2734075.677782,5124370.659385,2626739.638606
87,Zhengzhou,34.757780,113.648610,0.000000,-2104225.085559,4805264.241445,3615821.616573
88,Boston,42.347919,-71.064530,0.000000,1531995.558536,-4465570.029459,4274243.351971
89,Melbourne,-37.814000,144.963320,0.000000,-4130860.083993,2896402.244316,-3889153.848915
90,Brasília,-15.779720,-47.929720,0.000000,4113580.306742,-4557339.526311,-1723283.333407
91,Jiddah,21.516940,39.219170,0.000000,4599055.954142,3753461.491312,2324735.400544
92,Phoenix-Mesa,33.449454,-112.074743,0.000000,-2002030.901802,-4936649.332143,3495657.078422
93,Ji'nan--Shandong,36.676721,116.997142,0.000000,-2324885.209629,4563406.853589,3788679.751898
94,Montréal,45.508840,-73.587810,0.000000,1265076.478847,-4294987.215859,4527156.581594
95,Shantou,23.368140,116.714790,0.000000,-2633486.727911,5232740.073130,2514196.464030
96,Nairobi,-1.283330,36.816670,0.000000,5104788.767375,3821186.831259,-141891.623176
97,Medellín,6.251840,-75.563590,0.000000,1580709.307590,-6140254.591766,689948.941510
98,Fortaleza,-3.741170,-38.543575,0.000000,4977999.646785,-3965864.770186,-413389.059054
99,Kunming,25.038890,102.718330,0.000000,-1272997.103917,5640319.427885,2682977.502215
Loading