Skip to content

Commit

Permalink
Stage deploy v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfdsilva authored Jul 28, 2023
2 parents 68fd211 + b477c6e commit 7af2eaa
Show file tree
Hide file tree
Showing 155 changed files with 318 additions and 207 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

## Why are you creating this Pull Request?

- [Adding Datasets or Discoveries](?title=Content%3A%20%3Cname%3E&expand=1&template=content.md)
- [Adding Datasets or Stories](?title=Content%3A%20%3Cname%3E&expand=1&template=content.md)
- [Version Release](?title=Deploy%20vX.X.X&expand=1&template=version_release.md)
- [Other](?expand=1&template=default.md)
14 changes: 7 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ _Replace with brief description/list of the content being added_

## Content checklist

Check the [Content Documentation](https://github.com/NASA-IMPACT/veda-config/blob/main/docs/CONTENT.md) for more details.
Check the [Content Documentation](https://github.com/NASA-IMPACT/veda-ui/blob/main/docs/CONTENT.md) for more details.

### Any content
- [ ] Cover image with proper attribution (when relevant) is present.
- [ ] Cover images do not contain any text (they're used as a background and text may not be readable).
- [ ] All images are not too big/heavy. As a general rule of thumb, they should not weigh more than 500KB, or be larger than 2000px. See the [media guide](https://github.com/NASA-IMPACT/veda-config/blob/main/docs/frontmatter/media.md#media) for more info.
- [ ] Content was added using the available [MDX Blocks](https://github.com/NASA-IMPACT/veda-config/blob/main/docs/MDX_BLOCKS.md).
- [ ] All images are not too big/heavy. As a general rule of thumb, they should not weigh more than 500KB, or be larger than 2000px. See the [media guide](https://github.com/NASA-IMPACT/veda-ui/blob/main/docs/frontmatter/media.md#media) for more info.
- [ ] Content was added using the available [MDX Blocks](https://github.com/NASA-IMPACT/veda-ui/blob/main/docs/MDX_BLOCKS.md).

### Datasets
- [ ] [Layer description](https://github.com/NASA-IMPACT/veda-config/blob/main/docs/frontmatter/layer.md#properties) is defined.
- [ ] [Layer legend](https://github.com/NASA-IMPACT/veda-config/blob/main/docs/frontmatter/layer.md#legend) is setup.
- [ ] [Layer description](https://github.com/NASA-IMPACT/veda-ui/blob/main/docs/frontmatter/layer.md#properties) is defined.
- [ ] [Layer legend](https://github.com/NASA-IMPACT/veda-ui/blob/main/docs/frontmatter/layer.md#legend) is setup.
- [ ] The Dataset is showing up on the map correctly

### Discoveries
- [ ] [Publication date](https://github.com/NASA-IMPACT/veda-config/blob/main/docs/CONTENT.md#discoveries) value is set
### Stories
- [ ] [Publication date](https://github.com/NASA-IMPACT/veda-ui/blob/main/docs/CONTENT.md#stories) value is set
2 changes: 1 addition & 1 deletion .veda/ui
Submodule ui updated 72 files
+1 −0 .env
+ app/graphics/layout/vp-01-illu.png
+ app/graphics/layout/vp-02-illu.png
+ app/graphics/layout/vp-03-illu.png
+1 −1 app/index.html
+4 −7 app/scripts/components/analysis/define/index.tsx
+4 −4 app/scripts/components/analysis/define/use-stac-search.ts
+1 −1 app/scripts/components/analysis/page-hero-analysis.tsx
+9 −7 app/scripts/components/analysis/results/timeseries-data.ts
+1 −1 app/scripts/components/common/blocks/index.tsx
+1 −1 app/scripts/components/common/blocks/scrollytelling/index.tsx
+92 −110 app/scripts/components/common/browse-controls/index.tsx
+20 −31 app/scripts/components/common/browse-controls/use-browse-controls.ts
+5 −1 app/scripts/components/common/card-sources.tsx
+85 −0 app/scripts/components/common/content-taxonomy.tsx
+21 −13 app/scripts/components/common/featured-slider-section.tsx
+1 −1 app/scripts/components/common/mapbox/aoi/mb-aoi-draw.js
+33 −27 app/scripts/components/common/mapbox/index.tsx
+7 −2 app/scripts/components/common/mapbox/layer-legend.tsx
+14 −5 app/scripts/components/common/mapbox/layers/raster-timeseries.tsx
+22 −5 app/scripts/components/common/mapbox/layers/utils.ts
+5 −5 app/scripts/components/common/mapbox/layers/vector-timeseries.tsx
+157 −0 app/scripts/components/common/mapbox/layers/zarr-timeseries.tsx
+2 −2 app/scripts/components/common/mapbox/map-options/basemaps.ts
+24 −15 app/scripts/components/common/mapbox/use-mapbox-control.tsx
+4 −4 app/scripts/components/common/page-header.tsx
+11 −11 app/scripts/components/common/related-content.tsx
+1 −1 app/scripts/components/common/search-field.tsx
+136 −112 app/scripts/components/data-catalog/index.tsx
+6 −1 app/scripts/components/datasets/s-overview/index.tsx
+0 −54 app/scripts/components/discoveries/single/index.tsx
+15 −15 app/scripts/components/home/featured-stories.tsx
+2 −2 app/scripts/components/home/index.tsx
+2 −1 app/scripts/components/home/value-propostion.tsx
+2 −1 app/scripts/components/sandbox/cards/index.js
+6 −0 app/scripts/components/sandbox/index.js
+81 −0 app/scripts/components/sandbox/mdx-editor/index.tsx
+287 −0 app/scripts/components/sandbox/mdx-editor/mdx-editor.tsx
+90 −78 app/scripts/components/stories/hub/index.tsx
+60 −0 app/scripts/components/stories/single/index.tsx
+21 −19 app/scripts/context/layer-data.tsx
+13 −9 app/scripts/main.tsx
+17 −18 app/scripts/redirects.tsx
+0 −0 app/scripts/styles/constrainer.ts
+4 −4 app/scripts/utils/routes.ts
+9 −8 app/scripts/utils/use-sliding-sticky-header.ts
+30 −10 app/scripts/utils/veda-data.ts
+23 −11 docs/content/CONFIGURATION.md
+43 −55 docs/content/CONTENT.md
+2 −2 docs/content/MDX_BLOCKS.md
+4 −4 docs/content/PAGE_OVERRIDES.md
+22 −46 docs/content/TAXONOMY.md
+ docs/content/media/taxonomy-filters.png
+3 −3 docs/development/ARCHITECTURE.md
+14 −2 mock/datasets/fire.data.mdx
+14 −3 mock/datasets/nighttime-lights.data.mdx
+15 −4 mock/datasets/no2.data.mdx
+46 −0 mock/datasets/oco2-geos-l3-daily.data.mdx
+9 −8 mock/datasets/sandbox.data.mdx
+ mock/stories/air-quality-and-covid-19--story-cover.jpg
+6 −4 mock/stories/air-quality-and-covid-19.stories.mdx
+ mock/stories/img-placeholder-5.jpg
+ mock/stories/img-placeholder-6.jpg
+8 −5 mock/stories/life-of-water.stories.mdx
+0 −17 mock/taxonomies.yml
+8 −3 mock/veda.config.js
+14 −5 package.json
+20 −0 parcel-resolver-veda/defaults.js
+29 −18 parcel-resolver-veda/index.d.ts
+23 −30 parcel-resolver-veda/index.js
+36 −104 parcel-resolver-veda/taxonomies.js
+273 −63 yarn.lock
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

​VEDA is a dashboard to explore data.

VEDA is organized around datasets and discoveries.
VEDA is organized around datasets and data stories.
A Dataset represents a piece of geo-referenced data displayed as a set of related layers on a map.
Discoveries are long form pieces of content that tell a story about some interesting portion of the data.
Data Stories are long form pieces of content that tell a story about some interesting portion of the data.

## Getting started

Expand All @@ -19,7 +19,7 @@ If you plan to do development on `veda-config` or update the `veda-ui` version

The configuration and content options for VEDA will depend on the `veda-ui` (the actual interface code) version that `veda-config` is running.

**The documentation for the current version can be viewed at [169ea81 of veda-ui](https://github.com/NASA-IMPACT/veda-ui/tree/169ea81629ebae74c2d9e46a7b416f784b025fdf/README.md).
**The documentation for the current version can be viewed at [v2.0.0 of veda-ui](https://github.com/NASA-IMPACT/veda-ui/blob/v2.0.0/README.md).

## License
This project is licensed under **Apache 2**, see the [LICENSE](LICENSE) file for more details.
Expand Down
6 changes: 4 additions & 2 deletions datasets/CMIP-winter-median-pr.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ media:
author:
name: Justin Pflug
url:
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: CMIP245-winter-median-pr
stacCol: CMIP245-winter-median-pr
Expand Down
6 changes: 4 additions & 2 deletions datasets/CMIP-winter-median-ta.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ media:
author:
name: Justin Pflug
url:
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: CMIP245-winter-median-ta
stacCol: CMIP245-winter-median-ta
Expand Down
7 changes: 4 additions & 3 deletions datasets/bangladesh-landcover-2001-2020.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ id: bangladesh-landcover-2001-2020
name: 'Land Cover - Bangladesh'
description: 'Annual land cover maps for 2001 and 2020 (Bangladesh)'
media:

src: ::file ./bangladesh-landcover-2001-2020--dataset-cover.jpg
alt: 'Annual land cover maps for 2001 and 2020 (Bangladesh)'
author:
name: USGS
url: https://unsplash.com/photos/d59NHNtT_Ss
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: bangladesh-landcover-2001-2020
stacCol: bangladesh-landcover-2001-2020
Expand Down
6 changes: 4 additions & 2 deletions datasets/barc-thomasfire.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ media:
author:
name: Mike Newbry
url: https://unsplash.com/photos/DwtX9mMHBJ0
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: barc-thomasfire
stacCol: barc-thomasfire
Expand Down
6 changes: 4 additions & 2 deletions datasets/caldor-fire-characteristics-burn-severity.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ media:
author:
name: Marek Piwnicki
url: https://unsplash.com/photos/WiZOyYqzUss
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: caldor-fire-behavior
stacCol: caldor-fire-behavior
Expand Down
8 changes: 5 additions & 3 deletions datasets/co2.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ media:
author:
name: Marek Piwnicki
url: https://unsplash.com/photos/WiZOyYqzUss
thematics:
- air-quality
- eis
taxonomy:
- name: Topics
values:
- Air Quality
- EIS
layers:
- id: co2-mean
stacCol: co2-mean
Expand Down
6 changes: 4 additions & 2 deletions datasets/conus-reach.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ media:
name: NASA
url: https://www.nasa.gov
pubDate: 2023-03-03
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: conus-reach
stacCol: conus-reach
Expand Down
6 changes: 4 additions & 2 deletions datasets/disalexi-etsuppression.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ media:
author:
name: Mike Newbry
url: https://unsplash.com/photos/DwtX9mMHBJ0
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: disalexi-etsuppression
stacCol: disalexi-etsuppression
Expand Down
6 changes: 4 additions & 2 deletions datasets/ecco-surface-height-change.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ media:
author:
name: Lance Asper
url: https://unsplash.com/photos/3P3NHLZGCp8
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: ecco-surface-height-change
stacCol: ecco-surface-height-change
Expand Down
11 changes: 7 additions & 4 deletions datasets/epa-agriculture.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: James Baltz
url: https://unsplash.com/photos/jAt6cN6zl8M
thematics:
- eis
sources:
- epa-ghg
taxonomy:
- name: Topics
values:
- EIS
- name: Source
values:
- EPA GHG
layers:
- id: epa-annual-emissions_4b_manure_management
stacCol: EPA-annual-emissions_4B_Manure_Management
Expand Down
11 changes: 7 additions & 4 deletions datasets/epa-coal-mines.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: Dominik Vanyi
url: https://unsplash.com/photos/Mk2ls9UBO2E
thematics:
- eis
sources:
- epa-ghg
taxonomy:
- name: Topics
values:
- EIS
- name: Source
values:
- EPA GHG
layers:
- id: epa-annual-emissions_1b1a_coal_mining_underground
stacCol: EPA-annual-emissions_1B1a_Coal_Mining_Underground
Expand Down
11 changes: 7 additions & 4 deletions datasets/epa-natural-gas-systems.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: American Public Power Association
url: https://unsplash.com/photos/TF-DL_2L1JM
thematics:
- eis
sources:
- epa-ghg
taxonomy:
- name: Topics
values:
- EIS
- name: Source
values:
- EPA GHG
layers:
- id: epa-annual-emissions_1b2b_natural_gas_processing
stacCol: EPA-annual-emissions_1B2b_Natural_Gas_Processing
Expand Down
11 changes: 7 additions & 4 deletions datasets/epa-other.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: Harry Schaefer / Documerica
url: https://unsplash.com/photos/EjSw6WdnLRA
thematics:
- eis
sources:
- epa-ghg
taxonomy:
- name: Topics
values:
- EIS
- name: Source
values:
- EPA GHG
layers:
- id: epa-annual-emissions_2b5_petrochemical_production
stacCol: EPA-annual-emissions_2B5_Petrochemical_Production
Expand Down
11 changes: 7 additions & 4 deletions datasets/epa-petroleum-systems.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: Patrick Hendry
url: https://unsplash.com/photos/6xeDIZgoPaw
thematics:
- eis
sources:
- epa-ghg
taxonomy:
- name: Topics
values:
- EIS
- name: Source
values:
- EPA GHG
layers:
- id: epa-annual-emissions_1b2a_petroleum
stacCol: EPA-annual-emissions_1B2a_Petroleum
Expand Down
11 changes: 7 additions & 4 deletions datasets/epa-waste.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: Antoine GIRET
url: https://unsplash.com/photos/7_TSzqJms4w
thematics:
- eis
sources:
- epa-ghg
taxonomy:
- name: Topics
values:
- EIS
- name: Source
values:
- EPA GHG
layers:
- id: epa-annual-emissions_6b_wastewater_treatment_domestic
stacCol: EPA-annual-emissions_6B_Wastewater_Treatment_Domestic
Expand Down
11 changes: 7 additions & 4 deletions datasets/fb_population.ej.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: NASA
url:
thematics:
- environmental-justice
sources:
- meta-pop
taxonomy:
- name: Topics
values:
- Environmental Justice
- name: Source
values:
- Meta
layers:
- id: facebook_population_density
stacCol: facebook_population_density
Expand Down
9 changes: 5 additions & 4 deletions datasets/fire.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ media:
author:
name: Matt Howard
url: https://unsplash.com/photos/eAKDzK4lo4o
thematics:
- eis

taxonomy:
- name: Topics
values:
- EIS
layers:
- id: eis_fire_perimeter
stacCol: eis_fire_perimeter
Expand All @@ -37,7 +38,7 @@ layers:
<Block>
<Prose>
## Scientific Application Using FEDS Fire Perimeters
FEDS Fire Perimeters offer insight into pre-fire risk, fire behaviour, and post-fire effects. The Earth Information System - Fire team is using FEDs perimeters to <Link to='/discoveries/fire-life-cycle'>understand the full lifecycle of a fire</Link>
FEDS Fire Perimeters offer insight into pre-fire risk, fire behaviour, and post-fire effects. The Earth Information System - Fire team is using FEDs perimeters to <Link to='/stories/fire-life-cycle'>understand the full lifecycle of a fire</Link>.
</Prose>
</Block>
<Block>
Expand Down
6 changes: 4 additions & 2 deletions datasets/frp-max-thomasfire.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ media:
author:
name: Mike Newbry
url: https://unsplash.com/photos/DwtX9mMHBJ0
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: frp-max-thomasfire
stacCol: frp-max-thomasfire
Expand Down
11 changes: 7 additions & 4 deletions datasets/geoglam.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ media:
author:
name: Jean Wimmerlin
url: https://unsplash.com/photos/RUj5b4YXaHE
thematics:
- agriculture
sources:
- geoglam
taxonomy:
- name: Topics
values:
- Agriculture
- name: Source
values:
- GEOGLAM
layers:
- id: geoglam
stacCol: geoglam
Expand Down
10 changes: 6 additions & 4 deletions datasets/global-reanalysis-da.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ media:
name: NASA LIS
url:
pubDate: 2023-03-01
thematics:
- eis
taxonomy:
- name: Topics
values:
- EIS
layers:
- id: lis-global-da-evap
stacCol: lis-global-da-evap
Expand Down Expand Up @@ -366,9 +368,9 @@ The output variables available on VEDA include evapotranspiration (ET), gross pr
<Block>
<Prose>
## Explore the Data
The global reanalysis is a large dataset with nearly two decades of daily output. Here we show a comparison of two dates for a single variable. We encourage users to [Explore the Data](https://www.earthdata.nasa.gov/dashboard/eis/datasets/global-reanalysis-da/explore) to look at different dates and to compare variables.
The global reanalysis is a large dataset with nearly two decades of daily output. Here we show a comparison of two dates for a single variable. We encourage users to <Link to='/datasets/global-reanalysis-da/explore'>Explore the Data></Link> to look at different dates and to compare variables.

To see an example of how trends calculated from the global reanalysis model output can be used to understand changes in TWS, GPP, and ET, [click here](https://www.earthdata.nasa.gov/dashboard/eis/discoveries/tws-trends).
An example of how trends calculated from the global reanalysis model output can be used to understand changes in TWS, GPP, and ET, can be seen in the <Link to='/stories/tws-trends'>corresponding data story</Link>.
</Prose>
<Figure>
<Map
Expand Down
Loading

0 comments on commit 7af2eaa

Please sign in to comment.