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

fix colormaps texts and maps #82

Merged
merged 1 commit into from
Jul 21, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
Binary file removed datasets/.surf-temp.data.mdx.swp
Binary file not shown.
43 changes: 31 additions & 12 deletions datasets/twsanomaly.data.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: tws-anomaly
name: 'Terrestrial Water Storage Anomalies'
description: "TWS anomalies from LIS outputs"
description: "TWS anomalies modeled using data assimilation within Land Information System framework"
media:
src: ::file ./twsanomaly-globe.png
alt: TWS anomalies from LIS outputs.
Expand All @@ -15,14 +15,14 @@ layers:
stacCol: lis-tws-anomaly
name: 'TWS Anomaly'
type: raster
description: 'TWS anomalies from LIS outputs'
description: 'TWS anomalies modeled using data assimilation within Land Information System framework'
zoomExtent:
- 0
- 11
sourceParams:
resampling_method: bilinear
bidx: 1
colormap_name: rdylbu_r
colormap_name: rdylbu
rescale:
- -200
- 200
Expand All @@ -31,26 +31,43 @@ layers:
layerId: lis-tws-anomaly
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'yyyy')} VS ${dateFns.format(compareDatetime, 'yyyy')}`;
return `${dateFns.format(datetime, 'DD LLL yyyy')} VS ${dateFns.format(compareDatetime, 'DD LLL yyyy')}`;
}
legend:
type: gradient
label: TWS Anomaly
min: "-200"
max: "200"
stops:
- "#313695"
- "#74add1"
- "#e0f3f8"
- "#fee090"
- "#f46d43"
- "#a50026"
- "#f46d43"
- "#fee090"
- "#e0f3f8"
- "#74add1"
- "#313695"
---
<Block>
<Block type='full'>
<Prose>
## Overview
Terrestrial water storage (TWS) is defined as the summation of all water on the land surface and in the subsurface. It includes surface soil moisture, root zone soil moisture, groundwater, snow, ice, water stored in the vegetation, river and lake water.
</Prose>
<Figure>
<Map
datasetId='tws-anomaly'
layerId='lis-tws-anomaly'
dateTime='2002-12-01'
zoom={4}
center={[-116,36]}
compareDateTime='2021-12-01'
/>
<Caption
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
Depleting TWS over CA between 2002 (left) and 2021 (right), captured by LIS modeled TWS anomalies
</Caption>
</Figure>

</Block>


Expand All @@ -69,13 +86,13 @@ TWS is modeled using Noah-MP land surface model (LSM) within LIS framework by as
dateTime='2002-12-01'
zoom={4}
center={[77.63,24.27]}
compareDateTime='2002-12-30'
compareDateTime='2021-12-01'
/>
<Caption
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
TWS anomalies over India
TWS anomalies over India compared between Dec 2002 (left) and Dec 2021 (right)
</Caption>
</Figure>
<Prose>
Expand All @@ -87,6 +104,8 @@ The TWS anomalies are calculated as differences of raw TWS with the climatology
<Block>
<Prose>
## Additional resources
* [EIS Freshwater](https://freshwater.eis.smce.nasa.gov/)

* [Land Information System](https://lis.gsfc.nasa.gov/)

### Explore the Missions
Expand Down
32 changes: 25 additions & 7 deletions datasets/twstrend.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,40 @@ layers:
rescale:
- -1
- 1
nodata: -9999
legend:
type: gradient
label: Trend in TWS Anomaly
min: "-1"
max: "1"
stops:
- "#313695"
- "#74add1"
- "#e0f3f8"
- "#fee090"
- "#f46d43"
- "#a50026"
- "#f46d43"
- "#fee090"
- "#e0f3f8"
- "#74add1"
- "#313695"
---
<Block>
<Block type='full'>
<Prose>
## Overview
Terrestrial water storage (TWS) is defined as the summation of all water on the land surface and in the subsurface. It includes surface soil moisture, root zone soil moisture, groundwater, snow, ice, water stored in the vegetation, river and lake water.
</Prose>
<Figure>
<Map
datasetId='tws-trend'
layerId='lis-tws-trend'
dateTime='2001-01-01'
zoom={4}
center={[-116,36]}
/>
<Caption
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
Depleting TWS over CA captured by negative TWS anomaly trends
</Caption>
</Figure>
</Block>

<Block>
Expand All @@ -65,7 +81,7 @@ TWS is modeled using Noah-MP land surface model (LSM) within LIS framework by as
attrAuthor='NASA'
attrUrl='https://nasa.gov/'
>
Trend in TWS anomalies over India
Trend in TWS anomalies over India showing large groundwater extraction leading to depleting TWS
</Caption>
</Figure>
<Prose>
Expand All @@ -78,6 +94,8 @@ The TWS anomalies are calculated as differences of raw TWS with the climatology
<Block>
<Prose>
## Additional resources
* [EIS Freshwater](https://freshwater.eis.smce.nasa.gov/)

* [Land Information System](https://lis.gsfc.nasa.gov/)

### Explore the Missions
Expand Down