Skip to content

Commit 1f19330

Browse files
authored
Merge pull request #13 from waterskier2007/master
thoughts on reorganizing payload weights
2 parents 89ab310 + ccb90c2 commit 1f19330

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

data/falcon9.rb

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
stages: 2,
66
cost_per_launch: 62000000,
77
success_rate_pct: 94,
8-
first_flight: '06-04-2010',
8+
first_flight: '2010-06-04',
99
country: 'United States',
1010
company: 'SpaceX',
1111
height: {
@@ -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)