Blame view

content.yml 35 KB
50cbf64e   Goutte   Add the YAML cont...
1
2
# This YAML file holds some of the content of the website, for convenience.
# Learn YAML, it's worth it: http://sweetohm.net/article/introduction-yaml.html
28f7c8ff   Goutte   Add more content....
3
# /!. IF YOU BREAK THIS FILE YOU BREAK THE WEBSITE.  TREAD CAREFULLY.
50cbf64e   Goutte   Add the YAML cont...
4
5
6
7

# Metadata about this website
meta:
  title: Travel Carbon Footprint Calculator
1f7dc110   Antoine Goutenoir   Provide sample fi...
8
9
  description: |
    A travel carbon footprint calculator for researchers and event organizers.
50cbf64e   Goutte   Add the YAML cont...
10
11
12
  authors:
    - name:  Didier Barret
      email: dbarret@irap.omp.eu
63eca56b   Antoine Goutenoir   Continue structur...
13
      role:  Principal Investigator
50cbf64e   Goutte   Add the YAML cont...
14
    - name:  Antoine Goutenoir
a3e9d0fc   Antoine Goutenoir   Fix home plot leg...
15
      email: antoine@goutenoir.com
63eca56b   Antoine Goutenoir   Continue structur...
16
      role:  Software Ninja
a3e9d0fc   Antoine Goutenoir   Fix home plot leg...
17
18
19
    - name:  Jean-Michel Glorian
      email: Jean-Michel.Glorian@irap.omp.eu
      role:  Benevolent Wizard
63eca56b   Antoine Goutenoir   Continue structur...
20
21
22
23


# Aka. Laws
models:
8e98eb07   Didier BARRET   Uploaded the whol...
24
  - name: Atmosfair (RFI=3 for altitude > 9 km)
8a74d49c   Antoine Goutenoir   Add the model usi...
25
26
27
28
    # Slugged version of the display name above
    # Only lowercase alphanumeric, starting with a letter, using - as liaison
    # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
    # MUST be unique, two models MUST NOT have the same slug.
1ae3ccd1   Antoine Goutenoir   Review and fix th...
29
    slug: atmosfair-rfi
8e98eb07   Didier BARRET   Uploaded the whol...
30
31
32
33
34
    # There MUST exist a python file named like this in `flaskr/laws`
    # And it MUST contain a class named EmissionModel
    # Please keep this lowercased, letters-only (or I will breathe fire)
    file: travel_emission_lerp_fit
    # Color MUST be in the hex form, without alpha
1ae3ccd1   Antoine Goutenoir   Review and fix th...
35
    color: "#9933ff"
b0b76147   Antoine Goutenoir   Prepare the futur...
36
37
    # Whether this model is selected by default in the list.
    selected: true
8e98eb07   Didier BARRET   Uploaded the whol...
38
39
40
41
42
43
44
45
46
47
48
49
50
51
    # The configuration that will be fed to the model.
    # May be anything, really.  Go bonkers!
    config:
      plane_emission_linear_fit:
        # A coefficient applied to the distance
        connecting_flights_scale: 1.05
        # Radiative Forcing Index
        # Multiplier after scaling
        rfi: 1.0
        # Flat scalar to add before scaling with laws
        offset_before: 0
        # Flat scalar to multiply before scaling with laws
        scale_before: 1
        # The travel_emission_lerp_fit uses points instead of intervals
c691f98f   Antoine Goutenoir   Pretty sure these...
52
        # List of (distance in km, footprint in kg)
8e98eb07   Didier BARRET   Uploaded the whol...
53
        points:
a0e15de2   Antoine Goutenoir   Prepare the form ...
54
55
56
57
58
59
60
          - [     0.0,    0.0            ]
          - [   299.9,    0.0            ]
          - [   300.0,  100.771075677223 ]
          - [  3999.9,  866.237395584634 ]
          - [  4000.0,  844.203401814933 ]
          - [ 19999.9, 5606.129335551792 ]
          - [ 25000.0, 7094.270252762378 ]
8c12ca38   Antoine Goutenoir   Comment or remove...
61

c7b2980b   Didier BARRET   Update emission c...
62
 
8e98eb07   Didier BARRET   Uploaded the whol...
63
64
65
66
67
  - name: MyClimate (RFI=2)
    # Slugged version of the display name above
    # Only lowercase alphanumeric, starting with a letter, using - as liaison
    # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
    # MUST be unique, two models MUST NOT have the same slug.
1ae3ccd1   Antoine Goutenoir   Review and fix th...
68
    slug: my-climate-rfi
8a74d49c   Antoine Goutenoir   Add the model usi...
69
    # There MUST exist a python file named like this in `flaskr/laws`
77ffadab   Antoine Goutenoir   Add a second (dum...
70
71
72
73
    # And it MUST contain a class named EmissionModel
    # Please keep this lowercased, letters-only (or I will breathe fire)
    file: travel_emission_lerp_fit
    # Color MUST be in the hex form, without alpha
1bdf58eb   Antoine Goutenoir   Review the new IC...
74
    color: "#99ff33"
b0b76147   Antoine Goutenoir   Prepare the futur...
75
76
    # Whether this model is selected by default in the list.
    selected: true
77ffadab   Antoine Goutenoir   Add a second (dum...
77
78
79
80
81
82
83
84
    # The configuration that will be fed to the model.
    # May be anything, really.  Go bonkers!
    config:
      plane_emission_linear_fit:
        # A coefficient applied to the distance
        connecting_flights_scale: 1.05
        # Radiative Forcing Index
        # Multiplier after scaling
a0e15de2   Antoine Goutenoir   Prepare the form ...
85
        # DEPRECATED
77ffadab   Antoine Goutenoir   Add a second (dum...
86
87
        rfi: 1.0
        # Flat scalar to add before scaling with laws
65a46ff3   Didier BARRET   Added the offset ...
88
        offset_before: 95
77ffadab   Antoine Goutenoir   Add a second (dum...
89
90
91
        # Flat scalar to multiply before scaling with laws
        scale_before: 1
        # The travel_emission_lerp_fit uses points instead of intervals
c691f98f   Antoine Goutenoir   Pretty sure these...
92
        # List of (distance in km, footprint in kg)
77ffadab   Antoine Goutenoir   Add a second (dum...
93
        points:
06cdead8   Didier BARRET   Updated the myCli...
94
95
96
97
98
99
100
101
102
          - [0.0, 0.0 ]
          - [299.9, 0.0 ]
          - [300.0, 120.42928309599999 ]
          - [1499.9, 278.86980907246215 ]
          - [1500.0, 278.8830135500002 ]
          - [2499.9, 438.3026953954595 ]
          - [2500, 438.3186389580005 ]
          - [19999.9, 3335.611941663665 ]
          - [25000.0, 4163.431314509144 ]
1bdf58eb   Antoine Goutenoir   Review the new IC...
103

da55ef2d   Didier BARRET   Update the text o...
104
  - name: ADEME (RFI=2.0)
77ffadab   Antoine Goutenoir   Add a second (dum...
105
106
107
108
    # Slugged version of the display name above
    # Only lowercase alphanumeric, starting with a letter, using - as liaison
    # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
    # MUST be unique, two models MUST NOT have the same slug.
1ae3ccd1   Antoine Goutenoir   Review and fix th...
109
    slug: ademe-rfi
77ffadab   Antoine Goutenoir   Add a second (dum...
110
    # There MUST exist a python file named like this in `flaskr/laws`
8a74d49c   Antoine Goutenoir   Add the model usi...
111
112
113
    # And it MUST contain a class named EmissionModel
    # Please keep this lowercased, letters-only (or I will breathe fire)
    file: travel_emission_lerp_fit
4c862b54   Antoine Goutenoir   Add a grouped bar...
114
    # Color MUST be in the hex form, without alpha
1ae3ccd1   Antoine Goutenoir   Review and fix th...
115
    color: "#33ff99"
b0b76147   Antoine Goutenoir   Prepare the futur...
116
117
    # Whether this model is selected by default in the list.
    selected: true
8a74d49c   Antoine Goutenoir   Add the model usi...
118
119
120
121
122
123
124
125
    # The configuration that will be fed to the model.
    # May be anything, really.  Go bonkers!
    config:
      plane_emission_linear_fit:
        # A coefficient applied to the distance
        connecting_flights_scale: 1.05
        # Radiative Forcing Index
        # Multiplier after scaling
a0e15de2   Antoine Goutenoir   Prepare the form ...
126
        # DEPRECATED
8e98eb07   Didier BARRET   Uploaded the whol...
127
        rfi: 1.0
aab8077d   Antoine Goutenoir   Document the new ...
128
        # Flat scalar to add before scaling with laws
8a74d49c   Antoine Goutenoir   Add the model usi...
129
        offset_before: 0
aab8077d   Antoine Goutenoir   Document the new ...
130
        # Flat scalar to multiply before scaling with laws
8a74d49c   Antoine Goutenoir   Add the model usi...
131
        scale_before: 1
aab8077d   Antoine Goutenoir   Document the new ...
132
        # The travel_emission_lerp_fit uses points instead of intervals
c691f98f   Antoine Goutenoir   Pretty sure these...
133
        # List of (distance in km, footprint in kg)
8a74d49c   Antoine Goutenoir   Add the model usi...
134
        points:
da55ef2d   Didier BARRET   Update the text o...
135

384c8535   Didier BARRET   Updated coefficie...
136
137
          - [0.0, 0.0 ]
          - [299.9, 0.0 ]
da55ef2d   Didier BARRET   Update the text o...
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
          - [300.0, 279.25625 ]
          - [999.9, 429.60351875000003 ]
          - [1000.0, 429.6249999999999 ]
          - [1999.9, 887.2042375 ]
          - [2000, 887.2499999999999 ]
          - [2999.9, 1051.1086125 ]
          - [3000, 1051.1249999999993 ]
          - [3999.9, 1046.0005125000005 ]
          - [4000, 1046.0 ]
          - [4999.9, 1330.8048499999998 ]
          - [5000, 1330.833333333333 ]
          - [5999.9, 1386.994383333333 ]
          - [6000, 1387.0000000000005 ]
          - [6999.9, 1475.241175 ]
          - [7000, 1475.2499999999998 ]
          - [7999.9, 1727.9747249999996 ]
          - [8000, 1728.0000000000014 ]
          - [8999.9, 2006.9721000000009 ]
          - [9000, 2007.0000000000005 ]
          - [9999.9, 2177.4829500000005 ]
          - [10000, 2177.499999999999 ]
          - [10999.9, 2414.476299999998 ]
          - [11000, 2414.4999999999995 ]
          - [19999.9, 4459.977272222222 ]
          - [25000.0, 5596.388888888889 ]
8e98eb07   Didier BARRET   Uploaded the whol...
163
164


787ebee4   Didier BARRET   Fixed RF by RFI
165
  - name: DEFRA (RFI=1.9)
8e98eb07   Didier BARRET   Uploaded the whol...
166
167
168
169
    # Slugged version of the display name above
    # Only lowercase alphanumeric, starting with a letter, using - as liaison
    # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
    # MUST be unique, two models MUST NOT have the same slug.
1ae3ccd1   Antoine Goutenoir   Review and fix th...
170
    slug: defra-rfi
8e98eb07   Didier BARRET   Uploaded the whol...
171
172
173
174
175
    # There MUST exist a python file named like this in `flaskr/laws`
    # And it MUST contain a class named EmissionModel
    # Please keep this lowercased, letters-only (or I will breathe fire)
    file: travel_emission_lerp_fit
    # Color MUST be in the hex form, without alpha
1ae3ccd1   Antoine Goutenoir   Review and fix th...
176
    color: "#3399ff"
b0b76147   Antoine Goutenoir   Prepare the futur...
177
178
    # Whether this model is selected by default in the list.
    selected: true
8e98eb07   Didier BARRET   Uploaded the whol...
179
180
181
182
183
184
185
186
    # The configuration that will be fed to the model.
    # May be anything, really.  Go bonkers!
    config:
      plane_emission_linear_fit:
        # A coefficient applied to the distance
        connecting_flights_scale: 1.05
        # Radiative Forcing Index
        # Multiplier after scaling
a0e15de2   Antoine Goutenoir   Prepare the form ...
187
        # DEPRECATED
8e98eb07   Didier BARRET   Uploaded the whol...
188
189
190
191
192
193
        rfi: 1.0
        # Flat scalar to add before scaling with laws
        offset_before: 0
        # Flat scalar to multiply before scaling with laws
        scale_before: 1
        # The travel_emission_lerp_fit uses points instead of intervals
c691f98f   Antoine Goutenoir   Pretty sure these...
194
        # List of (distance in km, footprint in kg)
8e98eb07   Didier BARRET   Uploaded the whol...
195
        points:
384c8535   Didier BARRET   Updated coefficie...
196
197
198
199
200
201
202
203
204
          - [0.0, 0.0 ]
          - [299.9, 0.0 ]
          - [300.0, 47.496000000000016 ]
          - [499.9, 79.14416800000002 ]
          - [500.0, 78.03232675954409 ]
          - [3699.9, 576.0667775328388 ]
          - [3700.0, 541.2334271596557 ]
          - [19999.9, 2878.9047733493503 ]
          - [25000.0, 3596.0006143105275 ]
8e98eb07   Didier BARRET   Uploaded the whol...
205

575b2a94   Didier BARRET   Update text.
206
  - name: KLM data (no RF, not recommended)
8e98eb07   Didier BARRET   Uploaded the whol...
207
208
209
210
    # Slugged version of the display name above
    # Only lowercase alphanumeric, starting with a letter, using - as liaison
    # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
    # MUST be unique, two models MUST NOT have the same slug.
1ae3ccd1   Antoine Goutenoir   Review and fix th...
211
    slug: klm-data-no-rfi
8e98eb07   Didier BARRET   Uploaded the whol...
212
213
214
215
216
    # There MUST exist a python file named like this in `flaskr/laws`
    # And it MUST contain a class named EmissionModel
    # Please keep this lowercased, letters-only (or I will breathe fire)
    file: travel_emission_lerp_fit
    # Color MUST be in the hex form, without alpha
1ae3ccd1   Antoine Goutenoir   Review and fix th...
217
    color: "#ff3399"
b0b76147   Antoine Goutenoir   Prepare the futur...
218
219
    # Whether this model is selected by default in the list.
    selected: false
8e98eb07   Didier BARRET   Uploaded the whol...
220
221
222
223
224
225
226
227
    # The configuration that will be fed to the model.
    # May be anything, really.  Go bonkers!
    config:
      plane_emission_linear_fit:
        # A coefficient applied to the distance
        connecting_flights_scale: 1.05
        # Radiative Forcing Index
        # Multiplier after scaling
a0e15de2   Antoine Goutenoir   Prepare the form ...
228
        # DEPRECATED
8e98eb07   Didier BARRET   Uploaded the whol...
229
230
231
232
233
234
        rfi: 1.0
        # Flat scalar to add before scaling with laws
        offset_before: 0
        # Flat scalar to multiply before scaling with laws
        scale_before: 1
        # The travel_emission_lerp_fit uses points instead of intervals
c691f98f   Antoine Goutenoir   Pretty sure these...
235
        # List of (distance in km, footprint in kg)
8e98eb07   Didier BARRET   Uploaded the whol...
236
        points:
384c8535   Didier BARRET   Updated coefficie...
237
238
239
240
241
242
243
          - [0.0, 0.0 ]
          - [299.9, 0.0 ]
          - [300.0, 41.883578628476144 ]
          - [2499.9, 214.70184186944394 ]
          - [2500.0, 261.6807087092951 ]
          - [14999.9, 962.2587735768744 ]
          - [25000.0, 1522.7313138757793 ]
50cbf64e   Goutte   Add the YAML cont...
244

575b2a94   Didier BARRET   Update text.
245
  - name: ICAO (no RF, not recommended)
c0e54666   Didier BARRET   Just update the I...
246
247
248
249
    # Slugged version of the display name above
    # Only lowercase alphanumeric, starting with a letter, using - as liaison
    # In other words, MUST match ^[a-z]([a-z0-9-]*[a-z0-9])?$ eg: icao-with-rfi
    # MUST be unique, two models MUST NOT have the same slug.
97aa79f7   Didier BARRET   Update content.
250
    slug: icao-no-rfi
c0e54666   Didier BARRET   Just update the I...
251
252
253
254
255
    # There MUST exist a python file named like this in `flaskr/laws`
    # And it MUST contain a class named EmissionModel
    # Please keep this lowercased, letters-only (or I will breathe fire)
    file: travel_emission_lerp_fit
    # Color MUST be in the hex form, without alpha
1ae3ccd1   Antoine Goutenoir   Review and fix th...
256
    color: "#ff9933"
b0b76147   Antoine Goutenoir   Prepare the futur...
257
258
    # Whether this model is selected by default in the list.
    selected: false
c0e54666   Didier BARRET   Just update the I...
259
260
261
262
263
264
265
266
    # The configuration that will be fed to the model.
    # May be anything, really.  Go bonkers!
    config:
      plane_emission_linear_fit:
        # A coefficient applied to the distance
        connecting_flights_scale: 1.05
        # Radiative Forcing Index
        # Multiplier after scaling
a0e15de2   Antoine Goutenoir   Prepare the form ...
267
        # DEPRECATED
c0e54666   Didier BARRET   Just update the I...
268
269
270
271
272
273
        rfi: 1.0
        # Flat scalar to add before scaling with laws
        offset_before: 0
        # Flat scalar to multiply before scaling with laws
        scale_before: 1
        # The travel_emission_lerp_fit uses points instead of intervals
1bdf58eb   Antoine Goutenoir   Review the new IC...
274
        # List of (distance in km, footprint in kg)
c0e54666   Didier BARRET   Just update the I...
275
        points:
1a7fc044   Didier BARRET   Updated ICAO data.
276
277
278
279
280
281
282
          - [0.0, 0.0 ]
          - [299.9, 0.0 ]
          - [300.0, 67.00585705041823 ]
          - [2499.9, 211.09825928042045 ]
          - [2500.0, 206.528816915788 ]
          - [14999.9, 663.8204584246745 ]
          - [25000.0, 1029.6603566841018 ]
50cbf64e   Goutte   Add the YAML cont...
283

b0b76147   Antoine Goutenoir   Prepare the futur...
284

a728e600   Antoine Goutenoir   Allow configurati...
285
286
287
# The grouped barchart displayed on the home page.
laws_plot:
  distances:
a728e600   Antoine Goutenoir   Allow configurati...
288
289
290
291
292
293
294
295
296
297
298
    - 350.0
    - 500.0
    - 1000.0
    - 1500.0
    - 2500.0
    - 3000.0
    - 4500.0
    - 5000.0
    - 8000.0
    - 10000.0
    - 12000.0
da55ef2d   Didier BARRET   Update the text o...
299
300
301
    - 15000.0
    - 20000.0
    - 25000.0
a728e600   Antoine Goutenoir   Allow configurati...
302
303


28f7c8ff   Goutte   Add more content....
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# The content is Markdown.  HTML is also allowed.
# If you also want Markdown in the titles, just ask.
home:
  # The hero block (aka. jumbotron) is the top-level, salient block
  # It's like a welcoming mat :)
  hero:
    title: Estimate your travel carbon footprint
    # Using a pipe (|) allows you to set multiline content
    # Careful, indentation matters.
    description: |
      Travel footpint calculator provided by Didier Barret
      <br>
      <span class="glyphicon glyphicon-globe" aria-hidden="true"></span>
      CNRS,
      <span class="glyphicon glyphicon-home" aria-hidden="true"></span>
      [IRAP](http://www.irap.omp.eu),
      <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
      [@DidierBarret](https://twitter.com/DidierBarret),
      <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
      [didier.barret@gmail.com](mailto:didier.barret@gmail.com)

77d3f656   Antoine Goutenoir   Support any numbe...
325
326
327
328
329
  # Three blocks per section.
#  sections:

  # You can also use columns.
  columns:
28f7c8ff   Goutte   Add more content....
330
331
    - blocks:

9f68bde0   Didier BARRET   Update content fi...
332
      - title: What does the tool do?
28f7c8ff   Goutte   Add more content....
333
        content: |
a0e15de2   Antoine Goutenoir   Prepare the form ...
334
          The tool computes the carbon footprint associated with round
da55ef2d   Didier BARRET   Update the text o...
335
336
          trip flights, considering only the emission associated with the flight. 
          It does so for a set of trips from a given city of origin
7334c89a   Didier BARRET   Update the format...
337
338
339
          to a set of destinations. Similarly, the tool allows to compute 
          the carbon footprint of a larger set of trips, corresponding to a 
          conference, a meeting and so on. For this, the city of departure 
4b99f7ee   Didier BARRET   Update content file.
340
          for each participant to the event has first to be provided. 
7334c89a   Didier BARRET   Update the format...
341
342
          If multiple destination cities are provided, the tool ranks those 
          cities according to the associated carbon footprint. 
77d3f656   Antoine Goutenoir   Support any numbe...
343

7334c89a   Didier BARRET   Update the format...
344
345
346
          While online calculators enable to compute the footprint of a 
          limited number of trips, this tool enables to compute the 
          footprint of a larger number of trips in an automated way. 
77d3f656   Antoine Goutenoir   Support any numbe...
347

7334c89a   Didier BARRET   Update the format...
348
349
350
          Furthermore, it provides an estimate based on data from six 
          different methods, whose estimates can differ significantly. If 
          more than one method is selected by the user, the tool returns 
4b99f7ee   Didier BARRET   Update content file.
351
          the mean of the estimates of all selected methods.  
28f7c8ff   Goutte   Add more content....
352

c3c98851   Didier BARRET   Major update of c...
353
      - title: How does the tool work?
28f7c8ff   Goutte   Add more content....
354
        content: |
7334c89a   Didier BARRET   Update the format...
355
356
357
358
359
360
361
362
363
364
365
366
367
          A round trip is defined by a city pair. The two cities are 
          geolocated and from their longitude and latitude, the great 
          circle distance is computed. This is the shortest path a plane 
          can follow. Some methods thus consider uplift correction 
          factors in computing the carbon dioxide emission of a flight. In 
          addition, two cities may not be connected by a direct flight. 
          This is accounted for by increasing by 5% the great circle 
          distance. Each method provides the carbon dioxide emission 
          in kg as a function of the flight distance in km. Thus from the 
          increased great circle distance, the carbon dioxide emission of 
          a flight associated with a trip between a city pair is computed 
          and multiplied by two to account for a round trip. 

28f7c8ff   Goutte   Add more content....
368

c3c98851   Didier BARRET   Major update of c...
369
      - title: Which methods are used? 
28f7c8ff   Goutte   Add more content....
370
        content: |
7334c89a   Didier BARRET   Update the format...
371
372
          The tool incorporates six different methods, among the most 
          widely used, and for which the methodology used is 
4b99f7ee   Didier BARRET   Update content file.
373
374
          documented (see additional resources later). 
          Providing more than one method enables to get 
7334c89a   Didier BARRET   Update the format...
375
376
377
378
379
380
381
382
383
          a mean value, while illustrating the significant differences in 
          their estimates. In alphabetic order, the data considered are 
          from ADEME: the French Environment & Energy Management 
          Agency, atmosfair: a German carbon offsetting company, 
          DEFRA: the UK Department for Environment, Food & Rural 
          Affairs, ICAO: International Civil Aviation Organization, from the 
          KLM carbon compensation service data and finally from 
          myclimate. 
          
a24ca744   Antoine Goutenoir   Add the scaling l...
384
385
          _This list is obviously not exhaustive but represents
          a variety of estimates from lower to higher values._
77d3f656   Antoine Goutenoir   Support any numbe...
386

2131a2d1   Didier BARRET   Update content.yml
387

c3c98851   Didier BARRET   Major update of c...
388
389
      - title: How are the different methods built? 
        content: |
7334c89a   Didier BARRET   Update the format...
390
391
392
393
394
395
396
397
398
399
400
401
402
          What is needed for each method is a function giving the 
          carbon dioxide emission as a function of the flight distance. 
          ADEME and DEFRA provide mean emission factors, as a 
          function of flight distance. Myclimate provides an analytical 
          formula. For ICAO and atmosfair, the on-line calculators have 
          been run for a wide range of flights of varying distances (~100 
          flights spanning from 300 km to 12000 km) and the estimates 
          have been fitted with linear functions, covering adjacent 
          distance intervals. For its carbon compensation service, KLM 
          provides on its web site a table of emissions for a large range 
          of flights. The KLM data have been also been fitted with linear 
          functions. 

1e7e25a7   Antoine Goutenoir   Fix the internal ...
403
404
405
      - title: What about radiative forcing?
        slug: rfi
        content: |
77d3f656   Antoine Goutenoir   Support any numbe...
406
407
408
409
410
          Radiative forcing accounts for the fact that aviation contributes
          to climate change more than just with the emission of carbon dioxide
          from burning fuels, by releasing gases and particles directly
          into the upper troposphere and lower stratosphere
          where they have an impact on atmospheric composition.
a0e15de2   Antoine Goutenoir   Prepare the form ...
411
412
413
414
          These gases and particles include
          carbon dioxide (CO<sub>2</sub>),
          ozone (O<sub>3</sub>),
          and methane (CH<sub>4</sub>);
77d3f656   Antoine Goutenoir   Support any numbe...
415
416
417
418
419
          trigger formation of condensation trails (contrails);
          and may increase cirrus cloudiness;
          all of which contribute to climate change.
          A Radiative Forcing Index (RFI) of 1.9–2 is used by DEFRA,
          myclimate and recommended by ADEME
a24ca744   Antoine Goutenoir   Add the scaling l...
420
421
          (see discussion in [Jungbluth, N. & Meili,
          C. Int J Life Cycle Assess (2019) 24: 404](https://doi.org/10.1007/s11367-018-1556-3).).
77d3f656   Antoine Goutenoir   Support any numbe...
422
423
424
425
426
427
428
429
430
          ATMOSFAIR considers a multiplier of 3, for all emissions above 9 km,
          accounting for the profile of the flight.
          ICAO, on the other hand does not include a multiplier,
          arguing that the scientific community has not settle on a value!
          KLM data does not seem to account for radiative forcing either,
          as the estimates they provide are close, although a little higher,
          than the ones of ICAO.
          Therefore, the methods based on ICAO and KLM data are not recommended,
          but given as methods providing the lowest emissions.
28f7c8ff   Goutte   Add more content....
431

a24ca744   Antoine Goutenoir   Add the scaling l...
432
433
          [![Models used](static/img/recap_scaling_laws.jpg)](static/img/recap_scaling_laws.jpg)

c3c98851   Didier BARRET   Major update of c...
434
      - title: Seating category
28f7c8ff   Goutte   Add more content....
435
        content: |
7334c89a   Didier BARRET   Update the format...
436
437
438
439
440
441
442
443
          The tool assumes economy seats in computing the carbon 
          dioxide emission. For indication, DEFRA provides mean 
          emission factors for different seat classes considering 
          international flights. Related to the area occupied by the seat in 
          the plane, for Premium economy, the emission would be 1.6 
          times larger than flying an economy seat. It would be 2.9 and 4 
          times higher from flying Business class and First class 
          respectively. 
c3c98851   Didier BARRET   Major update of c...
444
445
446
          
      - title: Accounting for train emission
        content: |
da55ef2d   Didier BARRET   Update the text o...
447
448
          The minimum distance for flying (one leg of the round trip) 
          is an input to be selected by
1bd3f693   Didier BARRET   Update section on...
449
450
          the user (it is set to 300 km by default). Below the minimum 
          distance for flying, it is assumed that train is used. The tool 
7334c89a   Didier BARRET   Update the format...
451
452
453
          then computes the travel footprint associated with train. The 
          French emission factors provided by ADEME are 3.37 and 5.11 
          grams of carbon dioxide equivalent per km per passenger for 
1bd3f693   Didier BARRET   Update section on...
454
          high speed trains and normal trains respectively. This low value is 
7334c89a   Didier BARRET   Update the format...
455
456
457
458
459
          due to the fact that electricity is provided by nuclear plants. It 
          is larger by some factors across Europe. The tool thus assumes the 
          mean of the emission factors of national and international rails, 
          as provided by DEFRA (i.e. 23 grams per passenger km). This 
          makes the carbon dioxide emission of trains, typically one 
da55ef2d   Didier BARRET   Update the text o...
460
461
462
          tenth (1/10) of the one of aircrafts. Note that the average speed of trains 
          is assumed to be 100 km/hour, meaning that it takes 5 hours to travel 
          by trains between two cities with a great circle distance of 500 km.
fb979c67   Didier BARRET   Update content
463
464

    - blocks:
c3c98851   Didier BARRET   Major update of c...
465
          
cde261ef   Didier BARRET   Fixed minor bugs ...
466
      - title: Input and output data
c3c98851   Didier BARRET   Major update of c...
467
        content: |
7334c89a   Didier BARRET   Update the format...
468
469
          The inputs are provided in US English for the city and country 
          names, without diacritics. On each line, the city and country 
1f7dc110   Antoine Goutenoir   Provide sample fi...
470
          names must be separated by a comma. Pasting a CSV file in the
77ff53d6   Didier BARRET   Update content
471
472
473
          form is possible, provided that a comma separates
          the city and country names. 

1f7dc110   Antoine Goutenoir   Provide sample fi...
474
475
          A round trip is defined by a city pair. If the user enters _cityA_ as
          the origin city, and twice _cityB_ as destinations, the tool returns
77ff53d6   Didier BARRET   Update content
476
          the cumulative emission and distance from two round trips 
1f7dc110   Antoine Goutenoir   Provide sample fi...
477
478
479
          involving _cityA_ and _cityB_, and indicates that 2 round trips were involved.
          The same happens if the user enters twice _cityA_ as the city of origin
          and _cityB_ as the sole destination.
77ff53d6   Didier BARRET   Update content
480
481

          Three types of inputs can be considered 
7334c89a   Didier BARRET   Update the format...
482
483
484
          depending on whether the user wants an “individual” estimate 
          or an estimate for a conference, meeting and so on. In the 
          former case, the “origin” city is unique and the “destination” 
77ff53d6   Didier BARRET   Update content
485
          cities may be multiple. The tool returns the carbon dioxide 
4b99f7ee   Didier BARRET   Update content file.
486
487
488
489
          equivalent emission for each city of destination. The tool can thus
          be run also for an organization interested to know about its travel 
          footprint, in which case the "origin" city is the city from which
          employees travel. In the later case, the “origin” cities are multiple 
7334c89a   Didier BARRET   Update the format...
490
          (i.e. the cities from which the participants to the conference 
77ff53d6   Didier BARRET   Update content
491
          depart from), and the “destination” city may be a single host city 
7334c89a   Didier BARRET   Update the format...
492
          or multiple host cities if the user wants to compare their 
77ff53d6   Didier BARRET   Update content
493
494
495
496
          associated footprint. If there is one destination, the tool returns 
          the carbon dioxide equivalent for each city of origin. If multiple 
          destinations are provided the tool returns the carbon dioxide 
          equivalent emission summed over all cities of 
4b99f7ee   Didier BARRET   Update content file.
497
498
          origin and for each city of destination. The cumulative round trip 
          distance to each city of destination is also provided. 
77ff53d6   Didier BARRET   Update content
499

7334c89a   Didier BARRET   Update the format...
500
          The result pages provides a summary plot which can be 
4b99f7ee   Didier BARRET   Update content file.
501
502
503
          downloaded, as well as a csv and raw yaml file, which can be used for
          further processing. The csv file  lists the name of the 
          city as in the form, the address to which it 
7334c89a   Didier BARRET   Update the format...
504
505
506
507
508
509
          was geolocated, the carbon dioxide emission (in kg), the 
          distance travelled, the number of trips possible by train (i.e. 
          when the distance is less than the minimum flying distance, 
          e.g. 300 km) and the number of trips by plane. The plot and the 
          csv file rank the cities against the carbon dioxide emissions. 

cde261ef   Didier BARRET   Fixed minor bugs ...
510
511
      - title: Trouble shooting
        content: |
7334c89a   Didier BARRET   Update the format...
512
513
514
515
516
517
          The estimation can go wrong if a city is not properly 
          geolocated. This may happen because the name of the city is 
          wrongly spelled or the geolocator (OSM) is confused. An error 
          should be listed at the end of the result page. Don’t be 
          surprised, if the name recovered by the geolocator is not 
          exactly the one you had expected (e.g. a city is located at the 
da55ef2d   Didier BARRET   Update the text o...
518
519
520
          address of an embassy). An error may also occur if the input file 
          submitted does not comply with the requested format. 
          If nothing happens during a request, it 
7334c89a   Didier BARRET   Update the format...
521
522
          is most likely caused by the geolocator being unavailable. In 
          this case, try again a few minutes later.
cde261ef   Didier BARRET   Fixed minor bugs ...
523

c3c98851   Didier BARRET   Major update of c...
524
525
      - title: Caveats
        content: |
7334c89a   Didier BARRET   Update the format...
526
527
528
529
530
531
532
          The numbers provided by the tool do not come with 
          uncertainties. Therefore they must be considered as indicative 
          of the true values. Selecting more than one method is 
          recommended, because they may make the numbers closer to 
          their true values. In all cases however, the numbers can be 
          used for relative comparisons, e.g. when comparing two cities 
          for hosting a conference. 
c3c98851   Didier BARRET   Major update of c...
533
534
535
536
537
538
539
          
      - title: Confidentiality
        content: |
          The data provided in the form will remain confidential, as will be the results.
          
      - title: Disclaimer
        content: |
7334c89a   Didier BARRET   Update the format...
540
541
542
543
          This tool is provided on a best effort basis as a service to 
          members of the science community. The numbers provided 
          are informative and have obviously no legal value. 

c3c98851   Didier BARRET   Major update of c...
544
545
      - title: Reference
        content: |
4b99f7ee   Didier BARRET   Update content file.
546
547
548
          Results from the tool may reference to Barret (2019, The travel 
          footprint associated with the development of the Athena 
          X-ray Integral Field Unit, in preparation). 
c3c98851   Didier BARRET   Major update of c...
549
 
fb979c67   Didier BARRET   Update content
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
      - title: Original motivation
        content: |
          Global warming is a threat for life on our planet. Emissions of 
          carbon dioxide by aircrafts keeps increasing, as the world 
          economy keeps growing (it is about 3% of the anthropogenic 
          emissions nowadays). Carrying scientific research requires 
          traveling across the world, and thus air travel is likely to 
          dominate the carbon footprint of most scientists and is 
          likely to be large for developing international projects. This tool was 
          first developed to compute the travel footprint 
          associated with the development of the X-ray Integral 
          Field Unit to fly on board the Athena space observatory 
          in the early 2030s. The rather large number derived, 
          typically one hundred ton of carbon dioxide per bi-annual consortium meeting,
          imposed concrete actions to reduce the footprint 
          of the project, by re-considering the number of 
          large meetings, implementing different ways of interacting and 
          working collectively in a world-wide consortium. The tool was 
          further improved to easily compute the travel footprint associated 
          with individual traveling or with the organization of events, involving
          a large number of travels.  Finally, by comparing different, 
4b99f7ee   Didier BARRET   Update content file.
571
572
          widely used methods, providing so different estimates, the tool is
          expected to raise awareness within the scientific community 
fb979c67   Didier BARRET   Update content
573
574
575
576
          (and hopefully the authorities and medias) 
          about the lack of regulations or framework on the critical 
          matter of estimating aircraft emissions.

c3c98851   Didier BARRET   Major update of c...
577
578
      - title: Concluding note
        content: |
7334c89a   Didier BARRET   Update the format...
579
          As a personal note, I would like to stress that, as a scientist, I 
4b99f7ee   Didier BARRET   Update content file.
580
          find it very worrying that there are no standards 
7334c89a   Didier BARRET   Update the format...
581
582
583
584
585
586
587
588
589
590
591
592
593
594
          for computing the flight emissions, while we know that flight 
          travels, releasing carbon dioxide at high altitudes, contribute to 
          global warming. To take an example, the International Civil 
          Aviation Organization (ICAO) is a United Nations specialized 
          agency, established by States in 1944 to manage the 
          administration and governance of the Convention on 
          International Civil Aviation. ICAO has global responsibility for 
          the establishment of standards, recommended practices, and 
          guidance on various aspects of international civil aviation, 
          including environmental protection. How can ICAO ignore 
          radiative forcing in the results provided by its widely used on-
          line calculator? (which by the way is the calculator used by the 
          travel agency of my institute, being a public institution). The 
          IPCC in its 1999 report have defined the radiative forcing index 
da55ef2d   Didier BARRET   Update the text o...
595
596
          to be between 2 and 4. Why ICAO is using 1? I beleive I know the
          answer but this is just an 
7334c89a   Didier BARRET   Update the format...
597
598
          example, which clearly show the urgent need to agree on a 
          common methodology accepted by all parties in computing 
4b99f7ee   Didier BARRET   Update content file.
599
          flight emission. May this tool help to raise 
7334c89a   Didier BARRET   Update the format...
600
          awareness on this issue. 
c3c98851   Didier BARRET   Major update of c...
601
          
28f7c8ff   Goutte   Add more content....
602
603
604
      - title: Additional resources
        content: |
          - Offset your flight with [atmosfair](https://www.atmosfair.de/en/offset/flight)
da55ef2d   Didier BARRET   Update the text o...
605
          - [ADEME](http://www.bilans-ges.ademe.fr/en/accueil)
28f7c8ff   Goutte   Add more content....
606
607
608
            (French Environment & Energy Management Agency)
          - [DEFRA](https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019)
            emission conversion factors 2019
28f7c8ff   Goutte   Add more content....
609
610
          - [ICAO](https://www.icao.int/environmental-protection/carbonoffset/pages/default.aspx)
            Carbon Emissions Calculator
144482ea   Didier BARRET   Updated content
611
          - [KLM data](https://www.klm.com/travel/nl_en/prepare_for_travel/fly_co2_neutral/all_about_sustainable_travel/index.htm)
97aa79f7   Didier BARRET   Update content.
612
613
614
            KLM data
          - [MyClimate](https://www.myclimate.org) 
            MyClimate
28f7c8ff   Goutte   Add more content....
615
616
617
          - L. Hackel [travel footprint calculator](https://lhackel.shinyapps.io/travel_footprint/)
            based on DEFRA emission factors

28f7c8ff   Goutte   Add more content....
618
619
620
621
622
623


estimate:
  hero:
    title: Request an estimation
    description: |
c97ac886   Didier BARRET   Update content
624
      The results will be available <small>(almost)</small> immediately.
28f7c8ff   Goutte   Add more content....
625
      <br>
c97ac886   Didier BARRET   Update content
626
      It may take from a few seconds up to a few minutes,
28f7c8ff   Goutte   Add more content....
627
      depending on the amount of locations you provided.
8ee9f4a9   Antoine Goutenoir   Add additional co...
628

a1f12452   Antoine Goutenoir   Add the new conte...
629
630
631
632
633
  help:
    first_name: Fill these to say hello.
    last_name: We will never share your data with anyone.
    origin_addresses: |
      Use <code>en_US</code> city and country names, without diacritics.
9e44bb98   Antoine Goutenoir   Support file uplo...
634
      <br>
a1f12452   Antoine Goutenoir   Add the new conte...
635
636
637
638
      The comma matters.
      <br>
      This is either a home city and a country
      or the cities and countries of the participants to the conference, meeting…
9e44bb98   Antoine Goutenoir   Support file uplo...
639
640
641
642
643
    origin_addresses_file: |
      If you provide a file, we'll use it instead of the list on the left.
      <br>
      The spreadsheet's first sheet must have an <code>Address</code> column,
      or a <code>City</code> and <code>Country</code> columns.
1f7dc110   Antoine Goutenoir   Provide sample fi...
644
645
646
647
      <br>
      <a href="static/public/sample/sample_addresses.csv" target="_blank">Example CSV</a>
      ⋅
      <a href="static/public/sample/sample_addresses.xlsx" target="_blank">Example XLS</a>
a1f12452   Antoine Goutenoir   Add the new conte...
648
649
650
651
652
653
    destination_addresses: |
      This is either the cities and countries to travel to
      or the host city and country of the conference, meeting…
      <br>
      Please provide multiple cities and countries to compute the location
      of the minimum emission.
9e44bb98   Antoine Goutenoir   Support file uplo...
654
655
656
657
658
    destination_addresses_file: |
      If you provide a file, we'll use it instead of the list on the left.
      <br>
      The spreadsheet's first sheet must have an <code>Address</code> column,
      or a <code>City</code> and <code>Country</code> columns.
1f7dc110   Antoine Goutenoir   Provide sample fi...
659
660
661
    use_train_below_km: |
      For <small>(single)</small> trips below this distance,
      we'll ignore the plane models and use <code>23 g.km<sup>-1</sup></code>.
8ee9f4a9   Antoine Goutenoir   Add additional co...
662

28f7c8ff   Goutte   Add more content....
663
664
665
666
667
668
669
670
671
  # Labels accept HTML, but not markdown
  # Descriptions accept neither, since we use the HTML title attribute
  form:
    email:
      label: Email Address
      description: Make sure you provide a valid address or you won't receive the results!
    first_name:
      label: First Name
      description: Also known as given name, eg. `Didier`.
cae7d697   Antoine Goutenoir   Muse.
672
      placeholder: Adèle
28f7c8ff   Goutte   Add more content....
673
674
675
    last_name:
      label: Last Name
      description: Also known as family name, eg. `Barret`.
cae7d697   Antoine Goutenoir   Muse.
676
      placeholder: Bellego
28f7c8ff   Goutte   Add more content....
677
678
679
680
681
682
    institution:
      label: Institution / Enterprise
      description: If any?
    comment:
      label: Leave a comment
      description: Any input is appreciated.  Everyone's a critic.
a0e15de2   Antoine Goutenoir   Prepare the form ...
683
684
    use_train_below_km:
      label: Use train below
da55ef2d   Didier BARRET   Update the text o...
685
      description: We will use the train carbon dioxide equivalent emission factor below this distance (one leg of the round trip).
d25ff871   Antoine Goutenoir   Move train distan...
686
687
688
      values:
        - label: Do not consider train
          value: 0
da55ef2d   Didier BARRET   Update the text o...
689
        - label: 100 km (~ 1h by train)
d25ff871   Antoine Goutenoir   Move train distan...
690
          value: 100
da55ef2d   Didier BARRET   Update the text o...
691
        - label: 300 km (~ 3h by train)
d25ff871   Antoine Goutenoir   Move train distan...
692
          value: 300
da55ef2d   Didier BARRET   Update the text o...
693
        - label: 500 km (~ 5h by train)
d25ff871   Antoine Goutenoir   Move train distan...
694
          value: 500
da55ef2d   Didier BARRET   Update the text o...
695
        - label: 700 km (~ 7h by train)
d25ff871   Antoine Goutenoir   Move train distan...
696
          value: 700
da55ef2d   Didier BARRET   Update the text o...
697
        - label: 1000 km (~ 10h by train)
d25ff871   Antoine Goutenoir   Move train distan...
698
699
          value: 1000

28f7c8ff   Goutte   Add more content....
700
701
702
703
704
    origin_addresses:
      label: Origin Cities
      description: |
        One address per line, in the form `City, Country`.
        Make sure your addresses are correctly spelled.
9e44bb98   Antoine Goutenoir   Support file uplo...
705
      # We MUST use the dumb CRLF pair for dumb windows users
a745931f   Antoine Goutenoir   We MUST use the d...
706
707
708
709
      placeholder: "Paris, France\r\nBerlin, Germany"
#      placeholder: |
#        Paris, France
#        Berlin, Germany
28f7c8ff   Goutte   Add more content....
710
711
712
713
714
715
716
    destination_addresses:
      label: Destination Cities
      description: |
        One address per line, in the form `City, Country`.
        Make sure your addresses are correctly spelled.
      placeholder: |
        Washington, United States of America
9e44bb98   Antoine Goutenoir   Support file uplo...
717
718
719
720
721
    origin_addresses_file:
      label: Origin Cities
      description: |
        Accepted files: CSV, XLS, XLSX.
        We will use the Address column, or the City and Country columns.
1f7dc110   Antoine Goutenoir   Provide sample fi...
722
      error: Please only use spreadsheet files. (CSV, XLS, XLSX)
9e44bb98   Antoine Goutenoir   Support file uplo...
723
724
    destination_addresses_file:
      label: Destination Cities
28f7c8ff   Goutte   Add more content....
725
      description: |
9e44bb98   Antoine Goutenoir   Support file uplo...
726
727
        Accepted files: CSV, XLS, XLSX.
        We will use the Address column, or the City and Country columns.
1f7dc110   Antoine Goutenoir   Provide sample fi...
728
      error: Please only use spreadsheet files. (CSV, XLS, XLSX)
9e44bb98   Antoine Goutenoir   Support file uplo...
729
730
731
732
733
734
#    compute_optimal_destination:
#      label: |
#        Compute the destination city that will minimize emissions <br>
#        (useful when setting up a meeting/conference)
#      description: |
#        We will only look through Cities specified in the Destination Cities.
28f7c8ff   Goutte   Add more content....
735
736
737
738
739
740
741
742
743
744
745
    use_atmosfair_rfi:
      label: |
        Use the <acronym title="Radiative Forcing Index">RFI</acronym>
        multiplier recommended by <a href="https://www.atmosfair.de">atmosfair</a>
        (i.e. <code>3</code> for all emissions above <code>9km</code>)
        <br>
        For long flights, the multiplier may reach <code>2.8</code> or so.
        Otherwise, by default, <code>1.9</code> will be used.
      description: |
        We will only look through Cities specified in the Destination Cities.

8ee9f4a9   Antoine Goutenoir   Add additional co...
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
estimate_queue:
  hero:
    title: Please wait…
    description: |
      Your estimation is being computed.
      This may take several minutes.
      <br>
      This webpage will automatically update when it is done.

estimation:
  hero:
    title: Your estimation is now available!
    description: |
      Thank you for using our service.
      <br>
      Bookmark this webpage, it is private and unlisted.
  failure:
    hero:
      title: Your estimation has failed!
      description: |
        Sorry about that.  Please find the error message below.
        <br>
        Thank you for using our service.
a1f12452   Antoine Goutenoir   Add the new conte...
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
  lolliplot:
    one_to_one: |
      The carbon dioxide equivalent emission is provided for each city of destination.
      Identical trips (i.e. identical destinations) are summed
      and the cumulative distance is provided.
    one_to_many: |
      The carbon dioxide equivalent emission is provided for each city of destination.
      Identical trips (i.e. identical destinations) are summed
      and the cumulative distance is provided.
    many_to_one: |
      The carbon dioxide equivalent emission is provided for each city of origin.
      Identical trips (i.e. identical origins) are summed and the cumulative distance is provided.
    many_to_many: |
      The carbon dioxide equivalent emission is summed
      over all cities of origin and provided for each city of destination.
      The cumulative distance to each city of destination is provided.
      Duplicates in the destinations are removed.
2836764a   Antoine Goutenoir   Add customizable ...
786
787
788
  footer: |
    ### See also
    - [EPA's Equivalencies Calculator](https://www.epa.gov/sites/production/files/widgets/ghg-calc/calculator.html#emissions)
28f7c8ff   Goutte   Add more content....
789
790
791

footer:
  credits: |
c3c98851   Didier BARRET   Major update of c...
792
    Didier Barret (IRAP) © 2019