Skip to content

Commit

Permalink
chore(storage): remove mp4s (#475)
Browse files Browse the repository at this point in the history
* fix(storage): fix story ids

* chore(storage): remove mp4 files

* fix(storage): fix excluding DS_Store files
  • Loading branch information
pwambach authored Aug 13, 2020
1 parent 4e13b8e commit fef1fd5
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 80 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"story-packages": "./scripts/create-story-packages.sh",
"clean:story-packages": "find ./storage -type f -name \"*.zip\" -delete",
"download-storage": "gsutil -m rsync -r gs://esa-cfs-storage/$npm_package_version ./storage && npm run clean:story-packages",
"upload-storage": "./scripts/confirm-storage-upload.sh && npm run story-packages && gsutil -m rsync -r -x \".DS_Store\" ./storage gs://esa-cfs-storage/$npm_package_version && gsutil -m setmeta -r -h \"Cache-Control: no-cache\" gs://esa-cfs-storage/$npm_package_version/ && npm run clean:story-packages",
"upload-storage": "./scripts/confirm-storage-upload.sh && npm run story-packages && find ./storage -type f -name \".DS_Store\" -delete && gsutil -m rsync -r ./storage gs://esa-cfs-storage/$npm_package_version && gsutil -m setmeta -r -h \"Cache-Control: no-cache\" gs://esa-cfs-storage/$npm_package_version/ && npm run clean:story-packages",
"optimize-story-images": "./scripts/optimize-story-images.sh"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion storage/stories/stories-en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"id": "stpry-16",
"id": "story-16",
"title": "Planetary Heat Pumps",
"description": "",
"image": "assets/sst_large_18.jpg",
Expand Down
Binary file removed storage/stories/story-16/assets/sealevel_20.mp4
Binary file not shown.
Binary file removed storage/stories/story-16/assets/sst_19.mp4
Binary file not shown.
Binary file removed storage/stories/story-16/assets/sst_interview.mp4
Binary file not shown.
25 changes: 7 additions & 18 deletions storage/stories/story-16/story-16-de.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
{
"id": "planetary-heat-pumps",
"id": "story-16",
"slides": [
{
"type": "splashscreen",
"text": "# Deutsch Is Ozone Good or Bad?\r\n\r\nThe ozone layer protects life on Earth from ultraviolet solar radiation, but ozone is also a powerful greenhouse gas and at ground level is extremely hazardous to health.",
"shortText": "# Is Ozone Good or Bad?\r\n\r\n(placeholder)",
"images": [
"assets/ozone.jpg"
]
"images": ["assets/ozone.jpg"]
},
{
"type": "image",
"text": "# How Low Can You Go? \r\n\r\nIn 1979, engineers received the first data from a new instrument on an American research satellite. The sensor measured so little ozone in the atmosphere over Antarctica that the readings were discounted as instrument error. But not long afterwards, a team of British researchers recorded similarly low amounts of ozone from their Antarctic research station. \r\n\r\nIt was only when the ground-based results were published in the scientific literature that the low values in the satellite data were taken seriously. They showed a wide area with very low amounts of ozone developing every spring over the South Pole. This ‘hole’ in Earth’s protective ozone layer quickly gained the attention of the media and policy-makers. And, with their data verified, scientists gained confidence in the emerging technology of Earth observation from space.\r\n\r\n## Protective Layer \r\n\r\nThe layer of ozone high up in the stratosphere is our main defence against the Sun’s ultraviolet (UV) radiation. Without it we’d suffer sunburn after a few minutes outdoors, followed by eye damage and skin cancer after prolonged exposure. Unfiltered, UV light would have a catastrophic effect on all life on Earth. \r\n\r\n![The Sun in visible and UV light](assets/story8_02.png) \r\n_The Sun in visible (left) and ultraviolet light (right), as viewed by the SOHO satellite on February 3, 2002. (ESA/NASA)_\r\n\r\nOzone is also a powerful greenhouse gas. Change in the distribution of ozone is the second largest human impact on the climate, after the increase in carbon dioxide. But, while ozone _loss_ has been the concern in the stratosphere, ozone has been _increasing_ at ground level. Here, ozone associated with transport and industrial pollution is a hazard to human health. Whether ozone is good or bad for you depends on where you find it.",
"shortText": "# How Low Can You Go?\r\n\r\n(placeholder)",
"images": [
"assets/ozone_large_11.jpg",
"assets/ozone_large_14.jpg"
]
"images": ["assets/ozone_large_11.jpg", "assets/ozone_large_14.jpg"]
},
{
"type": "globe",
Expand Down Expand Up @@ -51,9 +46,7 @@
"type": "image",
"text": "# Ground-level Ozone \r\n\r\nAlthough most ozone is found in the stratosphere – above about 15km in altitude – some is present lower down in the troposphere. Here it is formed when light interacts with combustion by-products from cars and industry, mainly nitrogen oxides (NOx) and volatile organic compounds (VOCs). At ground level, ozone is harmful to human health, causing breathing difficulties that contribute to about half a million premature deaths every year. It also has a detrimental impact on vegetation growth, reducing its ability to absorb carbon dioxide, leading to crop losses valued at tens of billions of euros per year.\r\n\r\nAs with stratospheric ozone, regulations have been introduced to limit the damage. Newly-manufactured vehicles must meet internationally-agreed emission controls. The use of unleaded petrol and catalytic converters has removed a lot of the ozone-forming pollutants from car exhausts over recent decades. Similar technology is applied to factory and power station smokestacks, while simpler steps like planting trees in urban areas can also help soak up ground-level ozone.",
"shortText": "# Ground-level Ozone \r\n\r\n(placeholder)",
"images": [
"assets/story8_03.jpg"
],
"images": ["assets/story8_03.jpg"],
"imageCaptions": [
"Nitrogen dioxide over Europe in January 2020 from the TROPOMI instrument on Sentinel-5P."
]
Expand All @@ -62,12 +55,8 @@
"type": "image",
"text": "# Ozone from Space \r\n\r\nSatellite observations are essential to track ozone distribution across the globe and at different levels in the atmosphere. They allow us to monitor the recovery of the ozone layer and calculate a UV exposure index as part of our daily weather forecasts. They also deepen our knowledge of the long-term evolution of atmospheric ozone and our understanding of how it affects the climate, and how it might respond to climate change. \r\n\r\nDifferent observation techniques allow us to distinguish between the “good” ozone in the stratosphere and the “bad” ozone in the troposphere. Satellites looking straight down produce maps of *total ozone* – the total amount of ozone in a column going from the surface to the top of the atmosphere. Total ozone is a good measure of stratospheric ozone, which accounts for about 90% of the total ozone column. \r\n\r\n![Ozone profile](assets/ozone_large_15.jpg) \r\n_Ozone profiles show the vertical distribution of ozone through the atmosphere._\r\n\r\nBy looking sideways into the atmosphere, satellites can also measure the *ozone profile* – the vertical distribution of ozone from sea level up to about 50 km high. Further information is obtained by seeing how light is absorbed by different chemicals in the atmosphere when looking towards a light source – the Sun or the Moon.",
"shortText": "# Ozone from Space \r\n\r\n(placeholder)",
"images": [
"assets/aerosol_large_10.jpg"
],
"imageCaptions": [
"Observing total ozone and ozone profile from space."
]
"images": ["assets/aerosol_large_10.jpg"],
"imageCaptions": ["Observing total ozone and ozone profile from space."]
},
{
"type": "video",
Expand All @@ -76,4 +65,4 @@
"videoId": "5s4rqA8D4fk"
}
]
}
}
12 changes: 4 additions & 8 deletions storage/stories/story-16/story-16-en.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
{
"id": "planetary-heat-pumps",
"id": "story-16",
"slides": [
{
"type": "splashscreen",
"text": "# Planetary Heat Pumps\r\n\r\nThe ocean and the atmosphere both redistribute heat energy around the planet, but the oceans have a much higher capacity to store heat, making them a more stable indicator of climate trends.",
"shortText": "# Planetary Heat Pumps\r\n\r\n(placeholder)",
"images": [
"assets/sst.jpg"
]
"images": ["assets/sst.jpg"]
},
{
"type": "image",
"text": "## High Capacity \r\n\r\nGo for a swim in the sea on midsummers day and the water may be surprisingly chilly. Although the sun is at its highest point in the sky and there are more hours of sunlight than on any other day of the year, the sea does not reach its maximum temperature until two or three months later. This lag shows that the sea has a high heat capacity – it takes a lot of energy to change its temperature, so it is slow to heat up and slow to cool down.\r\n \r\nThis makes the sea incredibly good at storing heat. So good, that just the top three metres of the ocean contains as much heat as the entire atmosphere. The ocean’s capacity to accumulate, transport and slowly release the energy it receives from the Sun is one of the key regulators of weather and climate on our planet.",
"shortText": "# High Capacity\r\n\r\n(placeholder)",
"images": [
"assets/sst_large_01.jpg"
],
"images": ["assets/sst_large_01.jpg"],
"imageCaptions": [
"The top three metres of the sea contain as much heat as the entire atmosphere. (christianvizl.com)"
]
Expand Down Expand Up @@ -112,4 +108,4 @@
"videoId": "alu0x_bgFrE"
}
]
}
}
Binary file removed storage/stories/story-20/assets/seaice_09.mp4
Binary file not shown.
Binary file removed storage/stories/story-20/assets/seaice_interview.mp4
Binary file not shown.
Binary file not shown.
25 changes: 7 additions & 18 deletions storage/stories/story-20/story-20-de.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
{
"id": "breaking-the-ice",
"id": "story-20",
"slides": [
{
"type": "splashscreen",
"text": "# Deutsch Is Ozone Good or Bad?\r\n\r\nThe ozone layer protects life on Earth from ultraviolet solar radiation, but ozone is also a powerful greenhouse gas and at ground level is extremely hazardous to health.",
"shortText": "# Is Ozone Good or Bad?\r\n\r\n(placeholder)",
"images": [
"assets/ozone.jpg"
]
"images": ["assets/ozone.jpg"]
},
{
"type": "image",
"text": "# How Low Can You Go? \r\n\r\nIn 1979, engineers received the first data from a new instrument on an American research satellite. The sensor measured so little ozone in the atmosphere over Antarctica that the readings were discounted as instrument error. But not long afterwards, a team of British researchers recorded similarly low amounts of ozone from their Antarctic research station. \r\n\r\nIt was only when the ground-based results were published in the scientific literature that the low values in the satellite data were taken seriously. They showed a wide area with very low amounts of ozone developing every spring over the South Pole. This ‘hole’ in Earth’s protective ozone layer quickly gained the attention of the media and policy-makers. And, with their data verified, scientists gained confidence in the emerging technology of Earth observation from space.\r\n\r\n## Protective Layer \r\n\r\nThe layer of ozone high up in the stratosphere is our main defence against the Sun’s ultraviolet (UV) radiation. Without it we’d suffer sunburn after a few minutes outdoors, followed by eye damage and skin cancer after prolonged exposure. Unfiltered, UV light would have a catastrophic effect on all life on Earth. \r\n\r\n![The Sun in visible and UV light](assets/story8_02.png) \r\n_The Sun in visible (left) and ultraviolet light (right), as viewed by the SOHO satellite on February 3, 2002. (ESA/NASA)_\r\n\r\nOzone is also a powerful greenhouse gas. Change in the distribution of ozone is the second largest human impact on the climate, after the increase in carbon dioxide. But, while ozone _loss_ has been the concern in the stratosphere, ozone has been _increasing_ at ground level. Here, ozone associated with transport and industrial pollution is a hazard to human health. Whether ozone is good or bad for you depends on where you find it.",
"shortText": "# How Low Can You Go?\r\n\r\n(placeholder)",
"images": [
"assets/ozone_large_11.jpg",
"assets/ozone_large_14.jpg"
]
"images": ["assets/ozone_large_11.jpg", "assets/ozone_large_14.jpg"]
},
{
"type": "globe",
Expand Down Expand Up @@ -51,9 +46,7 @@
"type": "image",
"text": "# Ground-level Ozone \r\n\r\nAlthough most ozone is found in the stratosphere – above about 15km in altitude – some is present lower down in the troposphere. Here it is formed when light interacts with combustion by-products from cars and industry, mainly nitrogen oxides (NOx) and volatile organic compounds (VOCs). At ground level, ozone is harmful to human health, causing breathing difficulties that contribute to about half a million premature deaths every year. It also has a detrimental impact on vegetation growth, reducing its ability to absorb carbon dioxide, leading to crop losses valued at tens of billions of euros per year.\r\n\r\nAs with stratospheric ozone, regulations have been introduced to limit the damage. Newly-manufactured vehicles must meet internationally-agreed emission controls. The use of unleaded petrol and catalytic converters has removed a lot of the ozone-forming pollutants from car exhausts over recent decades. Similar technology is applied to factory and power station smokestacks, while simpler steps like planting trees in urban areas can also help soak up ground-level ozone.",
"shortText": "# Ground-level Ozone \r\n\r\n(placeholder)",
"images": [
"assets/story8_03.jpg"
],
"images": ["assets/story8_03.jpg"],
"imageCaptions": [
"Nitrogen dioxide over Europe in January 2020 from the TROPOMI instrument on Sentinel-5P."
]
Expand All @@ -62,12 +55,8 @@
"type": "image",
"text": "# Ozone from Space \r\n\r\nSatellite observations are essential to track ozone distribution across the globe and at different levels in the atmosphere. They allow us to monitor the recovery of the ozone layer and calculate a UV exposure index as part of our daily weather forecasts. They also deepen our knowledge of the long-term evolution of atmospheric ozone and our understanding of how it affects the climate, and how it might respond to climate change. \r\n\r\nDifferent observation techniques allow us to distinguish between the “good” ozone in the stratosphere and the “bad” ozone in the troposphere. Satellites looking straight down produce maps of *total ozone* – the total amount of ozone in a column going from the surface to the top of the atmosphere. Total ozone is a good measure of stratospheric ozone, which accounts for about 90% of the total ozone column. \r\n\r\n![Ozone profile](assets/ozone_large_15.jpg) \r\n_Ozone profiles show the vertical distribution of ozone through the atmosphere._\r\n\r\nBy looking sideways into the atmosphere, satellites can also measure the *ozone profile* – the vertical distribution of ozone from sea level up to about 50 km high. Further information is obtained by seeing how light is absorbed by different chemicals in the atmosphere when looking towards a light source – the Sun or the Moon.",
"shortText": "# Ozone from Space \r\n\r\n(placeholder)",
"images": [
"assets/aerosol_large_10.jpg"
],
"imageCaptions": [
"Observing total ozone and ozone profile from space."
]
"images": ["assets/aerosol_large_10.jpg"],
"imageCaptions": ["Observing total ozone and ozone profile from space."]
},
{
"type": "video",
Expand All @@ -76,4 +65,4 @@
"videoId": "5s4rqA8D4fk"
}
]
}
}
12 changes: 4 additions & 8 deletions storage/stories/story-20/story-20-en.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"id": "breaking-the-ice",
"id": "story-20",
"slides": [
{
"type": "splashscreen",
"text": "# Breaking the Ice\r\n\r\nThe polar regions are among the most sensitive to variations in global climate, with the Arctic in particular experiencing rapid change on both sea and land.",
"shortText": "# Breaking the Ice\r\n\r\n(placeholder)",
"images": [
"assets/seaice.jpg"
]
"images": ["assets/seaice.jpg"]
},
{
"type": "image",
Expand All @@ -28,9 +26,7 @@
"type": "image",
"text": "## New Trade Routes \r\n\r\nThe loss of Arctic sea ice has been faster than was predicted, with the southern route of the Northwest Passage now navigable almost every year. The more direct, and commercially significant, northern route has opened during six of the last ten summers. In 2008, the first commercial ship passed through and in 2013 the first bulk carrier took cargo from Vancouver to Helsinki. \r\n\r\nThe shrinking icepack is also opening up to shipping the northern coast of Russia – the Northeast Passage. This route shaves more than one third off the sailing distance from Yokohama to Hamburg, compared with the current shortest route through the Suez Canal. There is even greater potential for savings in distance, time and fuel if the ice recedes enough for navigation across the centre of the Arctic Ocean – the Transpolar Sea Route.\r\n\r\n![Envisat ASAR mosaicl](assets/story15_02.jpg) \r\n_Envisat ASAR radar mosaic showing potential shipping routes through the Northwest Passage (yellow, left), the Northeast Passage (blue, right) and the Transpolar Sea Route (green, centre). (ESA/Planetary Visions)_\r\n\r\nShorter shipping routes will mean less fuel is burned, and less carbon pumped into the atmosphere, but the Arctic will see a local increase in pollutants. Soot particles could darken the remaining ice, adding to the warming, but could also cause more clouds to condense, which might have a cooling effect.\r\n\r\nAlthough good news for the shipping and tourism industries, the retreat of the ice edge is a stark warning that the Earth’s climate is rapidly heading into uncharted waters.",
"shortText": "# New Trade Routes\r\n\r\n(placeholder)",
"images": [
"assets/story15_03.jpg"
],
"images": ["assets/story15_03.jpg"],
"imageCaptions": [
"Icebreaker escorting a cargo vessel through sea ice in the Arctic Ocean. (Aker Arctic)"
]
Expand Down Expand Up @@ -110,4 +106,4 @@
"videoId": "G8bHslGpChg"
}
]
}
}
Loading

0 comments on commit fef1fd5

Please sign in to comment.