From 6000a8d9022d8d162603ff8aa4ca1919061fa3b0 Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Wed, 27 Apr 2022 15:12:08 +0100 Subject: [PATCH 1/5] Add documentation about compare related props for MDX map --- docs/MDX_BLOCKS.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/MDX_BLOCKS.md b/docs/MDX_BLOCKS.md index 707438caa..09b1017c5 100644 --- a/docs/MDX_BLOCKS.md +++ b/docs/MDX_BLOCKS.md @@ -36,7 +36,7 @@ Understanding of MDX is not required to write contents for Delta dashboard, but -We currently (2022, March) have 8 types of Blocks for layout. Mind that only `Prose` and `Figure` can be direct children of Block. Any raw markdown contents can be wrapped with `Prose`. Any media contents or custom components (`Image`, `Map`, `Chart` ...) should be wrapped with `Figure`. +We currently (2022, May) have 8 different `Block` combinations to construct a layout and a standalone `ScrollytellingBlock`. Mind that only `Prose` and `Figure` can be direct children of Block. Any raw markdown contents can be wrapped with `Prose`. Any media contents or custom components (`Image`, `Map`, `Chart` ...) should be wrapped with `Figure`. > If you are using a `Block` with more than one child element, mind that the order of children decides which one goes where. For example, in `FigureProse` Block, `
` comes before `` in the syntax. In result, `Figure` shows up on the left, and `Prose` shows up on the right. @@ -368,13 +368,20 @@ Syntax for Chart used in Wide Figure Block looks like this | layerId | string | `''` | `id` for layer to display. The layer should be a part of the dataset above. | | dateTime | string | `''` | Optional. This string should follow `yyyy-mm-dd` format. When omitted, the very first available dateTime for the dataset will be displayed | | isComparing | boolean | `false` | Optional. If the compare layer in the dataset needs to be turned on, pass `true`. | +| compareDateTime | string | `''` | Optional. This string should follow `yyyy-mm-dd` format. The compare date is only relevant if `isComparing` is `true`. If not provided it will default to the value specified in the [dataset layer configuration](./frontmatter/layer.md#compare). | +| compareLabel | string | `''` | Text to display over the map when the comparison is active. If is for example used to indicate what dates are being compared. If not provided it will default to the value specified in the [dataset layer configuration](./frontmatter/layer.md#compare) | Syntax for Map, which displays `nightlights-hd-monthly` layer from `sandbox` dataset in full figure block looks like this: ```jsx
- + The caption displays below the map. From 3ca451fac208a83208819d014d1201b30829bcf1 Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Fri, 29 Apr 2022 15:47:59 +0100 Subject: [PATCH 2/5] Update air quality story --- .../air-quality-and-covid-19.discoveries.mdx | 208 +++++++++++++++++- 1 file changed, 206 insertions(+), 2 deletions(-) diff --git a/discoveries/air-quality-and-covid-19.discoveries.mdx b/discoveries/air-quality-and-covid-19.discoveries.mdx index 5420da369..f87838242 100644 --- a/discoveries/air-quality-and-covid-19.discoveries.mdx +++ b/discoveries/air-quality-and-covid-19.discoveries.mdx @@ -63,6 +63,130 @@ thematics: > Today, air quality levels are beginning to approach pre-pandemic levels, and scientists are just beginning to dive into the new measurements collected throughout this unprecedented time. + + ## What Makes Air Quality Good or Bad? + + Cities are easy to spot from space. Choose any large, urban area around the world, and you’re likely to see similar things: dense population centers, complex webs of highways and, more often than not, smog. + + + Smog is the hazy curtain of air that often hangs over cities. It occurs when nitrogen dioxide produced from fossil fuel emissions from gasoline in cars or coal in powerplants chemically reacts with sunlight and other pollutants like carbon monoxide (CO). Thick smog is harmful to breathe and can significantly reduce visibility. + + + During lockdowns, satellites observed sharp reductions in nitrogen dioxide emissions in cities around the world, and smog began to vanish. Skies were bluer, air was cleaner, and, in some places, views previously obscured by air pollution were suddenly revealed. + + + In Los Angeles, NASA scientists detected that nitrogen dioxide levels fell by more than 30% during the height of COVID-related shutdowns. Other large cities around the world experienced similar reductions. + + + ## Cities Experiencing Clearer Air During Lockdowns + + When Chinese authorities suspended travel and closed businesses in late January 2020 in response to the novel coronavirus, Beijing’s local nitrogen dioxide levels fell dramatically. In February 2020, concentrations fell by nearly 30% compared to the previous five-year average. + + + Cities across South America experienced similar declines in nitrogen dioxide. Lima, Peru had some of the most substantial reductions, with nitrogen dioxide levels falling approximately 70% below normal levels. + + + ## Like Flipping a Switch: Lockdowns and NO2 + + Nitrogen dioxide is only one component of air quality: sulfur dioxide (SO2), ozone (O3), formaldehyde (CH2O), and carbon monoxide, along with a host of other atmospheric constituents, also influence the quality of the air we breathe. The difference in nitrogen dioxide is that it has a relatively short lifetime in the atmosphere; once it’s emitted, it only lasts a few hours before it disappears. + + Therefore, once communities entered shutdowns, and people’s mobility was severely restricted, the effect on nitrogen dioxide concentrations was the equivalent of flipping a switch. That is not, however, the case with all air pollutants. + + + ## Seasonal Changes in NO2 + + Even with the strong correlation between nitrogen dioxide and the combustion of fossil fuels, atmospheric concentrations of nitrogen dioxide naturally fluctuate throughout the year, and weather patterns also influence its concentrations. + + + For example, nitrogen dioxide typically falls dramatically during spring and summer months, and rain and wind increase its dispersion, lowering local concentrations. During the COVID-19 pandemic, NASA scientists have been able to attribute the observed changes in nitrogen dioxide to changes in our behavior, and they have been careful to account for any impacts on air pollution that are the result of natural weather variations. + + + ## Seeing Air Pollution from Space + + NASA has used the [Ozone Monitoring Instrument (OMI)](https://aura.gsfc.nasa.gov/omi.html "Explore the OMI product") aboard the Aura satellite to observe global nitrogen dioxide levels since 2004. A joint endeavor between NASA, the Royal Netherlands Meteorological Institute (KNMI) and the Finnish Meteorological Institute (FMI), OMI's longer data record provides important context with which to compare any changes observed during the pandemic. + + NASA scientists are also leveraging other space-based instruments from international partners to study changes in nitrogen dioxide during the pandemic. These include the [TROPOspheric Monitoring Instrument (TROPOMI)](http://www.tropomi.eu/ "Explore the TROPOMI product") aboard the European Commission’s Copernicus Sentinel-5P satellite. Launched in 2016, TROPOMI provides higher resolution observations than OMI. + + + ## Reinforcing Measurements: Nighttime Lights + + Changes in nighttime lights during the pandemic can also be tied to changes in nitrogen dioxide levels if the data are properly processed and interpreted. This is because nitrogen dioxide is primarily emitted from burning fossil fuels, and highways light up on nighttime satellite imagery when vehicles are present. + + Here we see the illuminated web of highways connecting the Los Angeles metropolitan region. + + Researchers are using night light observations to track variations in energy use, migration, and transportation in response to social distancing and shutdown measures during the pandemic. + + + These data, collected by the [Visible Infrared Imaging Radiometer Suite (VIIRS)](https://www.jpss.noaa.gov/viirs.html "Explore the VIIRS product") instrument aboard the joint NASA-National Oceanic and Atmospheric Administration (NOAA) Suomi-National Polar-orbiting Partnership (NPP) satellite, correlate with changes seen in car traffic on the ground – and, therefore, nitrogen dioxide reductions. + + While this research is still ongoing, the 31% reduction in nitrogen dioxide levels in Los Angeles during the height of pandemic-related lockdowns compared to recent years seems to correspond with a 15% reduction in nighttime lights over highways during the same period. + @@ -70,14 +194,83 @@ thematics: ## Measuring Air Pollution on the Ground at Airports New research during the pandemic is also looking at how COVID-related travel bans are impacting air quality around airports. Current conditions create a unique opportunity to study airport-related pollutants, especially nitrogen dioxide and formaldehyde. While travel bans and strict regulations around air travel have been in place, air traffic has yet to return to previous levels, and many planes remain grounded. - Scientists have installed two sensors at the Baltimore-Washington International Airport and two sensors at the Hartsfield-Jackson Atlanta International Airport to better characterize how airplanes contribute to air pollution. They are comparing the on-the-ground sensor information from NASA's [Pandora Project](https://pandora.gsfc.nasa.gov/ "Explore the Pandora Project") with satellite information from TROPOMI. So far, they have found that nitrogen dioxide hotspots in Atlanta shifted from the airport, shown here, to the city center from April-June 2020. By September, however, satellites revealed the airport had reemerged as a dominant nitrogen dioxide emission source. + They are comparing the on-the-ground sensor information from NASA's [Pandora Project](https://pandora.gsfc.nasa.gov/ "Explore the Pandora Project") with satellite information from TROPOMI. So far, they have found that nitrogen dioxide hotspots in Atlanta shifted from the airport, shown here, to the city center from April-June 2020. By September, however, satellites revealed the airport had reemerged as a dominant nitrogen dioxide emission source. + +
+ + + Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity. + +
+
+ + +
+ + + Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity. + +
+ + They are comparing the on-the-ground sensor information from NASA's [Pandora Project](https://pandora.gsfc.nasa.gov/ "Explore the Pandora Project") with satellite information from TROPOMI. So far, they have found that nitrogen dioxide hotspots in Atlanta shifted from the airport, shown here, to the city center from April-June 2020. + +
+ + + + By September, however, satellites revealed the airport had reemerged as a dominant nitrogen dioxide emission source.
+ + Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity. + +
+
+ + +
+
+ + ## Seeing Rebounds in NO2 + + After the initial shock of COVID-related shutdowns in the spring, communities worldwide began to reopen and gradually increase mobility. Cars returned to the road, and travel restrictions slowly eased. These resumptions corresponded with relative increases in nitrogen dioxide levels and other air pollutants, as air quality levels began to return to pre-pandemic levels. + + This demonstrates how quickly atmospheric nitrogen dioxide responds to reductions in emissions. They will persist as long as emissions persist and decline rapidly if emissions are reduced. + + NASA scientists will continue to monitor nitrogen dioxide levels and long-term trends around the world. NASA is expected to launch its [Tropospheric Emissions: Monitoring of Pollution (TEMPO)](http://tempo.si.edu/overview.html "Explore the TEMPO instrument") instrument in 2022, which will provide hourly, high-resolution measurements of nitrogen dioxide, ozone, and other air pollutants across North America, improving future air quality forecasts. + + [Explore How COVID-19 Is Affecting Earth's Climate](/covid19/discoveries/climate/climate-change-and-covid "Explore How COVID-19 Is Affecting Earth's Climate") +
\ No newline at end of file From 96061bc217daf5411c2293b0f196da13dcf668eb Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Fri, 29 Apr 2022 15:48:07 +0100 Subject: [PATCH 3/5] Update delta-ui --- .delta/ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.delta/ui b/.delta/ui index 45a37d469..08abf8702 160000 --- a/.delta/ui +++ b/.delta/ui @@ -1 +1 @@ -Subproject commit 45a37d469a51b22a52bd52370661c4a913a50e81 +Subproject commit 08abf8702df68267234f55436389540de8ac977f From b7019f4f78417c25ae60e26f2355c6816edc36d0 Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Fri, 29 Apr 2022 10:55:52 -0400 Subject: [PATCH 4/5] Add docs for showBaseMap --- docs/MDX_BLOCKS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MDX_BLOCKS.md b/docs/MDX_BLOCKS.md index 09b1017c5..f2238a831 100644 --- a/docs/MDX_BLOCKS.md +++ b/docs/MDX_BLOCKS.md @@ -434,7 +434,7 @@ The scrollytelling is defined as a series os `Chapters` inside the `Scrollytelli | datasetId | string | `id` of the Dataset to which the layer to to display belongs | | layerId | boolean | `id` of the dataset layer to display | | datetime | boolean | Optional. If the layer to display has a temporal extent, specify the datetime | - +| showBaseMap | boolean | Optional. If there is a need to show basemap without any additional layers ontop, pass `true`. (datasetId, layerId can be omitted when `showBaseMap` is `true`) | ## Some gotchas - Do not use h1(`# heading 1`) for your header. `h1` is reserved for page title. From 640ea3bb6e8c673357044385636be9a84e3d37a9 Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Fri, 29 Apr 2022 16:23:18 +0100 Subject: [PATCH 5/5] Update delta-ui --- .delta/ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.delta/ui b/.delta/ui index 08abf8702..aced8e763 160000 --- a/.delta/ui +++ b/.delta/ui @@ -1 +1 @@ -Subproject commit 08abf8702df68267234f55436389540de8ac977f +Subproject commit aced8e763959556502d6a53bfc6f40f8553aed30