Skip to content

Commit

Permalink
Version 0.7.0
Browse files Browse the repository at this point in the history
Production deploy of v0.7.0
  • Loading branch information
danielfdsilva authored Apr 14, 2023
2 parents be3d7ef + 31e5602 commit bde3c84
Show file tree
Hide file tree
Showing 38 changed files with 1,756 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .veda/ui
Submodule ui updated 58 files
+0 −5 .env
+1 −1 .npmrc
+ app/graphics/meta/android-chrome.png
+ app/graphics/meta/apple-touch-icon.png
+ app/graphics/meta/default-meta-image.png
+ app/graphics/meta/favicon.ico
+ app/graphics/meta/favicon.png
+ app/graphics/meta/icon-192.png
+ app/graphics/meta/icon-512.png
+51 −0 app/graphics/meta/icon.svg
+ app/graphics/meta/meta-image.png
+6 −0 app/graphics/meta/site.webmanifest
+7 −5 app/index.html
+3 −1 app/scripts/components/analysis/define/index.tsx
+2 −1 app/scripts/components/analysis/page-hero-media.tsx
+46 −5 app/scripts/components/analysis/saved-analysis-control.tsx
+1 −1 app/scripts/components/common/blocks/block-map.tsx
+103 −24 app/scripts/components/common/blocks/index.tsx
+1 −1 app/scripts/components/common/blocks/scrollytelling/chapter.tsx
+80 −42 app/scripts/components/common/blocks/scrollytelling/index.tsx
+10 −4 app/scripts/components/common/chart/block.tsx
+126 −0 app/scripts/components/common/chart/utils.test.ts
+31 −8 app/scripts/components/common/chart/utils.ts
+95 −65 app/scripts/components/common/mapbox/index.tsx
+95 −0 app/scripts/components/common/mapbox/layers/basemap.tsx
+161 −138 app/scripts/components/common/mapbox/layers/raster-timeseries.tsx
+139 −0 app/scripts/components/common/mapbox/layers/styles.tsx
+59 −11 app/scripts/components/common/mapbox/layers/utils.ts
+256 −0 app/scripts/components/common/mapbox/layers/vector-timeseries.tsx
+60 −0 app/scripts/components/common/mapbox/map-options/basemaps.ts
+266 −0 app/scripts/components/common/mapbox/map-options/index.tsx
+0 −0 app/scripts/components/common/mapbox/map-options/projection-items.tsx
+14 −8 app/scripts/components/common/mapbox/map-options/types.ts
+31 −0 app/scripts/components/common/mapbox/map-options/use-basemap.ts
+0 −0 app/scripts/components/common/mapbox/map-options/utils.ts
+41 −7 app/scripts/components/common/mapbox/map.tsx
+0 −121 app/scripts/components/common/mapbox/projection-selector/index.tsx
+1 −1 app/scripts/components/common/meta-tags.js
+96 −11 app/scripts/components/common/notebook-connect.tsx
+16 −0 app/scripts/components/common/page-header.js
+61 −0 app/scripts/components/data-catalog/index.tsx
+1 −1 app/scripts/components/datasets/s-explore/index.tsx
+68 −0 app/scripts/components/root-discoveries/index.tsx
+56 −0 app/scripts/components/sandbox/colors/index.js
+6 −0 app/scripts/components/sandbox/index.js
+1 −1 app/scripts/components/sandbox/map/index.js
+51 −0 app/scripts/components/sandbox/mdx-chart/aq.csv
+15 −2 app/scripts/components/sandbox/mdx-chart/chart.mdx
+30 −7 app/scripts/context/layer-data.tsx
+4 −0 app/scripts/main.tsx
+42 −10 app/scripts/utils/hinted-error.tsx
+20 −0 app/scripts/utils/use-async-error.ts
+93 −0 docs/adr/001-dashboard-v1-catalog-explore.md
+2 −1 jest.config.js
+30 −0 mock/datasets/fire.data.mdx
+3 −0 mock/datasets/no2.data.mdx
+15 −13 package.json
+1,747 −1,729 yarn.lock
90 changes: 90 additions & 0 deletions datasets/CMIP-winter-median-pr.data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
id: CMIP-winter-median-pr
name: 'Projections of changes to winter precipitation '
description: "CMIP6 projections of changes to winter cumulative precipitation"
media:
src: ::file ./CMIP-winter-median.jpeg
alt: Photo of Nisqually glacier
author:
name: Justin Pflug
url:
thematics:
- eis
layers:
- id: CMIP245-winter-median-pr
stacCol: CMIP245-winter-median-pr
name: 'Percent-change to winter cumulative precipitation, SSP2-4.5'
type: raster
description: 'Percent difference in projected winter (January, February, March) cumulative precipitation, relative to a historical timeframe between 1995 and 2014. Outputs represent the median of 23 member ensembles from CMIP6 (SSP 2-4.5) with downscaling performed by NASA Earth Exchange'
sourceParams:
resampling: bilinear
bidx: 1
nodata: nan
colormap_name: rdbu
rescale:
- -60
- 60
compare:
datasetId: CMIP-winter-median-pr
layerId: CMIP245-winter-median-pr
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
}
legend:
type: gradient
label: Precipitation percent-difference
min: "-60%"
max: "+60%"
stops:
- "#CA171C"
- "#DE6158"
- "#F2B089"
- "#F5D5C3"
- "#F8F8F8"
- "#CDE2EF"
- "#A0CBE4"
- "#5EA4D1"
- "#207BBD"
- id: CMIP585-winter-median-pr
stacCol: CMIP585-winter-median-pr
name: 'Percent-change to winter cumulative precipitation, SSP5-8.5'
type: raster
description: 'Percent difference in projected winter (January, February, March) cumulative precipitation, relative to a historical timeframe between 1995 and 2014. Outputs represent the median of 23 member ensembles from CMIP6 (SSP 5-8.5) with downscaling performed by NASA Earth Exchange'
sourceParams:
resampling: bilinear
bidx: 1
nodata: nan
colormap_name: rdbu
rescale:
- -60
- 60
compare:
datasetId: CMIP-winter-median-pr
layerId: CMIP585-winter-median-pr
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
}
legend:
type: gradient
label: Precipitation percent-difference
min: "-60%"
max: "+60%"
stops:
- "#CA171C"
- "#DE6158"
- "#F2B089"
- "#F5D5C3"
- "#F8F8F8"
- "#CDE2EF"
- "#A0CBE4"
- "#5EA4D1"
- "#207BBD"
---
<Block>
<Prose>
## Overview
Future changes to precipitation are expected to alter the volume and timing of snow water resources. Here, we present the projected percent-change to Western US cumulative winter precipitation at quarter-degree spatial resoutions across 20-year time periods between 2016 and 2095. Projections are averaged from an ensemble of 23 downscaled climate models from the [CMIP6 NASA Earth Exchange Global Daily Downscaled Projections](https://www.nccs.nasa.gov/services/data-collections/land-based-products/nex-gddp-cmip6).
</Prose>
</Block>
88 changes: 88 additions & 0 deletions datasets/CMIP-winter-median-ta.data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
id: CMIP-winter-median-ta
name: 'Projections of changes to winter temperature'
description: "CMIP6 projections of changes to winter average air temperature"
media:
src: ::file ./CMIP-winter-median.jpeg
alt: Photo of Nisqually glacier
author:
name: Justin Pflug
url:
thematics:
- eis
layers:
- id: CMIP245-winter-median-ta
stacCol: CMIP245-winter-median-ta
name: 'SSP2-4.5, Change to winter average air temperature'
type: raster
description: 'Difference in projected winter (January, February, March) average air temperature, relative to a historical timeframe between 1995 and 2014. Outputs represent the median of 23 member ensembles from CMIP6 (SSP 2-4.5) with downscaling performed by NASA Earth Exchange'
sourceParams:
resampling: bilinear
bidx: 1
colormap_name: rdbu_r
rescale:
- -5.5
- 5.5
compare:
datasetId: CMIP-winter-median-ta
layerId: CMIP245-winter-median-ta
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
}
legend:
type: gradient
label: Air temperature difference [C]
min: "-5.5"
max: "+5.5"
stops:
- "#207BBD"
- "#5EA4D1"
- "#A0CBE4"
- "#CDE2EF"
- "#F8F8F8"
- "#F5D5C3"
- "#F2B089"
- "#DE6158"
- "#CA171C"
- id: CMIP585-winter-median-ta
stacCol: CMIP585-winter-median-ta
name: 'SSP5-8.5, Change to winter average air temperature'
type: raster
description: 'Difference in projected winter (January, February, March) average air temperature, relative to a historical timeframe between 1995 and 2014. Outputs represent the median of 23 member ensembles from CMIP6 (SSP 5-8.5) with downscaling performed by NASA Earth Exchange'
sourceParams:
resampling: bilinear
bidx: 1
colormap_name: rdbu_r
rescale:
- -5.5
- 5.5
compare:
datasetId: CMIP-winter-median-ta
layerId: CMIP585-winter-median-ta
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
}
legend:
type: gradient
label: Air temperature difference [C]
min: "-5.5"
max: "+5.5"
stops:
- "#207BBD"
- "#5EA4D1"
- "#A0CBE4"
- "#CDE2EF"
- "#F8F8F8"
- "#F5D5C3"
- "#F2B089"
- "#DE6158"
- "#CA171C"
---
<Block>
<Prose>
## Overview
Future changes to air temperature are expected to influence the phase of winter precipitation (snowfall or rainfall) and the timing and amount of snowmelt and streamflow. Here, we present the projected percent-change to Western US average winter temperature at quarter-degree spatial resoutions across 20-year time periods between 2016 and 2095. Projections are averaged from an ensemble of 23 downscaled climate models from the [CMIP6 NASA Earth Exchange Global Daily Downscaled Projections](https://www.nccs.nasa.gov/services/data-collections/land-based-products/nex-gddp-cmip6).
</Prose>
</Block>
Binary file added datasets/CMIP-winter-median.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions datasets/co2.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ layers:
rescale:
- 0.000408
- 0.000419
compare:
datasetId: co2
layerId: co2-mean
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'LLL yyyy')} VS ${dateFns.format(compareDatetime, 'LLL yyyy')}`;
}
legend:
type: gradient
min: "< 408 ppm"
Expand Down
Loading

0 comments on commit bde3c84

Please sign in to comment.