Skip to content

Commit 510b3db

Browse files
committed
numberical and bool data for falcon 9 is now represented without strings
1 parent 5096441 commit 510b3db

File tree

2 files changed

+41
-41
lines changed

2 files changed

+41
-41
lines changed

data/falcon9.rb

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,98 @@
11
$falcon9 = {
22
name: 'Falcon 9',
3-
active: 'true',
4-
stages: '2',
5-
cost_per_launch: '62 million',
6-
success_rate: '94 percent',
3+
active: true,
4+
stages: 2,
5+
cost_per_launch: 62000000,
6+
success_rate_pct: 94,
77
first_flight: '06-04-2010',
88
country: 'United States',
99
company: 'SpaceX',
1010
height: {
1111
meters: 70,
12-
feet: '229.6'
12+
feet: 229.6
1313
},
1414
diameter: {
15-
meters: '3.7',
16-
feet: '12'
15+
meters: 3.7,
16+
feet: 12
1717
},
1818
mass: {
19-
kg: '549054',
20-
lb: '1207920'
19+
kg: 549054,
20+
lb: 1207920
2121
},
2222
payload_weights: {
2323
leo: {
2424
name: 'low earth orbit',
25-
kg: '22800',
26-
lb: '50265'
25+
kg: 22800,
26+
lb: 50265
2727
},
2828
gto: {
2929
name: 'geosynchronous transfer orbit',
30-
kg: '8300',
31-
lb: '18300'
30+
kg: 8300,
31+
lb: 18300
3232
},
3333
mars: {
3434
name: 'mars orbit',
35-
kg: '4020',
36-
lb: '8860'
35+
kg: 4020,
36+
lb: 8860
3737
}
3838
},
3939
first_stage: {
4040
reusable: 'true',
41-
engines: '9',
42-
fuel_amount_tons: '385',
43-
burn_time_sec: '180',
41+
engines: 9,
42+
fuel_amount_tons: 385,
43+
burn_time_sec: 180,
4444
thrust_sea_level: {
45-
kN: '7607',
46-
lbf: '1710000'
45+
kN: 7607,
46+
lbf: 1710000
4747
},
4848
thrust_vacuum: {
49-
kN: '8227',
50-
lbf: '1849500'
49+
kN: 8227,
50+
lbf: 1849500
5151
}
5252
},
5353
second_stage: {
54-
engines: '1',
55-
fuel_amount_tons: '90',
56-
burn_sec_sec: '397',
54+
engines: 1,
55+
fuel_amount_tons: 90,
56+
burn_time_sec: 397,
5757
thrust: {
58-
kN: '934',
59-
lbf: '210000'
58+
kN: 934,
59+
lbf: 210000
6060
},
6161
payloads: {
6262
option_1: 'dragon',
6363
option_2: 'composite fairing',
6464
composite_fairing: {
6565
height: {
66-
meters: '13.1',
67-
feet: '43'
66+
meters: 13.1,
67+
feet: 43
6868
},
6969
diameter: {
70-
meters: '5.2',
71-
feet: '17.1'
70+
meters: 5.2,
71+
feet: 17.1
7272
}
7373
}
7474
}
7575
},
7676
engines: {
77-
number: '9',
77+
number: 9,
7878
type: 'merlin',
7979
version: '1D+',
8080
layout: 'octaweb',
81-
engine_loss: '2',
81+
engine_loss_max: 2,
8282
propellant_1: 'oxygen',
8383
propellant_2: 'kerosene',
8484
thrust_sea_level: {
85-
kN: '845',
86-
lbf: '190000'
85+
kN: 845,
86+
lbf: 190000
8787
},
8888
thrust_vacuum: {
89-
kN: '914',
90-
lbf: '205500'
89+
kN: 914,
90+
lbf: 205500
9191
},
92-
thrust_to_weight: '180.1'
92+
thrust_to_weight: 180.1
9393
},
9494
landing_legs: {
95-
number: '4',
95+
number: 4,
9696
material: 'carbon fiber'
9797
},
9898
description: 'Falcon 9 is a two-stage rocket designed and manufactured by SpaceX for the reliable and safe transport of satellites and the Dragon spacecraft into orbit.'

data/falcon_heavy.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
second_stage: {
5959
engines: '1',
60-
burn_sec_sec: '397',
60+
burn_time_sec: '397',
6161
thrust: {
6262
kN: '934',
6363
lbf: '210000'
@@ -82,7 +82,7 @@
8282
type: 'merlin',
8383
version: '1D+',
8484
layout: 'octaweb',
85-
engine_loss: '6',
85+
engine_loss_max: '6',
8686
propellant_1: 'oxygen',
8787
propellant_2: 'kerosene',
8888
thrust_sea_level: {

0 commit comments

Comments
 (0)