Skip to content

Commit 138c15f

Browse files
just some thoughts on reorganizing payload weights
1 parent e3ba38d commit 138c15f

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

data/falcon9.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@
2121
lb: 1207920
2222
},
2323
payload_weights: {
24-
leo: {
24+
{
25+
id: 'leo',
2526
name: 'low earth orbit',
2627
kg: 22800,
2728
lb: 50265
2829
},
29-
gto: {
30+
{
31+
id: 'gto',
3032
name: 'geosynchronous transfer orbit',
3133
kg: 8300,
3234
lb: 18300
3335
},
34-
mars: {
36+
{
37+
id: 'mars',
3538
name: 'mars orbit',
3639
kg: 4020,
3740
lb: 8860

data/falcon_heavy.rb

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,27 @@
2020
kg: 1420788,
2121
lb: 3125735
2222
},
23-
payload_weights: {
24-
leo: {
23+
payload_weights: [
24+
{
25+
id: 'leo',
2526
name: 'low earth orbit',
2627
kg: 63800,
2728
lb: 140660
2829
},
29-
gto: {
30+
{
31+
id: 'gto',
3032
name: 'geosynchronous transfer orbit',
3133
kg: 26700,
3234
lb: 58860
3335
},
34-
mars: {
36+
{
37+
id: 'mars',
3538
name: 'mars orbit',
3639
kg: 16800,
3740
lb: 37040
3841
},
39-
pluto: {
42+
{
43+
id: 'pluto',
4044
name: 'pluto orbit',
4145
kg: 3500,
4246
lb: 7720

0 commit comments

Comments
 (0)