Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare date docs and update #17

Merged
merged 5 commits into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .delta/ui
Submodule ui updated from 45a37d to 08abf8
208 changes: 206 additions & 2 deletions discoveries/air-quality-and-covid-19.discoveries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,214 @@ 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.
</Chapter>
<Chapter
center={[-74.0236, 40.7234]}
zoom={12}
showBaseMap={true}
>
## 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.
</Chapter>
<Chapter
center={[116.2573785, 39.9387995]}
zoom={11}
showBaseMap={true}
>
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.
</Chapter>
<Chapter
center={[-118.2797798, 33.8236594]}
zoom={10}
showBaseMap={true}
>
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.
</Chapter>
<Chapter
center={[-118.2797798, 33.8236594]}
zoom={10}
datasetId='no2'
layerId='no2-monthly-diff'
datetime='2021-03-01'
>
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.
</Chapter>
<Chapter
center={[119.7456, 36.3007]}
zoom={5.5}
datasetId='no2'
layerId='no2-monthly-diff'
datetime='2021-03-01'
>
## 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.
</Chapter>
<Chapter
center={[-77.0436, -12.0366]}
zoom={7.25}
datasetId='no2'
layerId='no2-monthly-diff'
datetime='2021-03-01'
>
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.
</Chapter>
<Chapter
center={[0, 0]}
zoom={2}
datasetId='no2'
layerId='no2-monthly-diff'
datetime='2021-03-01'
>
## 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.
</Chapter>
<Chapter
center={[1.2918, 53.0754]}
zoom={3.25}
datasetId='no2'
layerId='no2-monthly'
datetime='2019-01-01'
>
## 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.
</Chapter>
<Chapter
center={[1.2918, 53.0754]}
zoom={3.25}
datasetId='no2'
layerId='no2-monthly'
datetime='2019-06-01'
>
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.
</Chapter>
<Chapter
center={[0, 0]}
zoom={2}
datasetId='no2'
layerId='no2-monthly'
datetime='2019-06-01'
>
## 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.
</Chapter>
<Chapter
center={[-117.9304, 33.7801]}
zoom={9}
datasetId='nighttime-lights'
layerId='nightlights-hd-monthly'
datetime='2020-02-01'
>
## 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.
</Chapter>
<Chapter
center={[-117.9304, 33.7801]}
zoom={9}
datasetId='nighttime-lights'
layerId='nightlights-hd-monthly'
datetime='2020-02-01'
>
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.
</Chapter>
</ScrollytellingBlock>

<Block type='full'>
<Prose>
## 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.
</Prose>
<Figure>
<Map
datasetId='no2'
layerId='no2-monthly'
center={[-84.39, 33.75]}
zoom={9.5}
dateTime='2019-04-01'
isComparing
compareDateTime='2020-04-01'
/>
<Caption
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
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.
</Caption>
</Figure>
</Block>

<Block type='full'>
<Figure>
<Map
datasetId='no2'
layerId='no2-monthly'
center={[-84.39, 33.75]}
zoom={9.5}
dateTime='2019-06-01'
isComparing
compareDateTime='2020-06-01'
/>
<Caption
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
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.
</Caption>
</Figure>
<Prose>
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.
</Prose>
</Block>

<Block type='full'>
<Prose>
By September, however, satellites revealed the airport had reemerged as a dominant nitrogen dioxide emission source.
</Prose>
<Figure>
<Map
datasetId='no2'
layerId='no2-monthly'
dateTime='2021-03-01'
center={[-84.39, 33.75]}
zoom={9.5}
dateTime='2019-09-01'
isComparing
compareDateTime='2020-09-01'
/>
<Caption
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
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.
</Caption>
</Figure>
</Block>

<Block type='full'>
<Figure>
<Map
datasetId='no2'
layerId='no2-monthly'
center={[120.11, 34.95]}
zoom={4.5}
dateTime='2020-02-01'
isComparing
compareDateTime='2022-02-01'
/>
<Caption
attrAuthor='NASA'
Expand All @@ -86,4 +279,15 @@ thematics:
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.
</Caption>
</Figure>
<Prose>
## 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")
</Prose>
</Block>
13 changes: 10 additions & 3 deletions docs/MDX_BLOCKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Understanding of MDX is not required to write contents for Delta dashboard, but
</table>


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, `<Figure>` comes before `<Prose>` in the syntax. In result, `Figure` shows up on the left, and `Prose` shows up on the right.

Expand Down Expand Up @@ -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
<Block type='full'>
<Figure>
<Map datasetId='sandbox' layerId='nightlights-hd-monthly' dateTime='2020-03-01' isComparing={false} />
<Map
datasetId='sandbox'
layerId='nightlights-hd-monthly'
dateTime='2020-03-01'
isComparing={false}
/>
<Caption>
The caption displays below the map.
</Caption>
Expand Down Expand Up @@ -427,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.