Skip to content

Commit

Permalink
Merge pull request #457 from NASA-IMPACT/develop
Browse files Browse the repository at this point in the history
[PROD] Bump veda-ui to v5.8.0 and enable configurable colormap
  • Loading branch information
dzole0311 authored Oct 21, 2024
2 parents 64c0d28 + 91fe09c commit 062e4ff
Show file tree
Hide file tree
Showing 38 changed files with 567 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ GOOGLE_FORM = 'https://docs.google.com/forms/d/e/1FAIpQLSfGcd3FDsM3kQIOVKjzdPn4f
GOOGLE_ANALYTICS_ID='G-CQ3WLED121'

FEATURE_NEW_EXPLORATION = 'TRUE'

SHOW_CONFIGURABLE_COLOR_MAP = 'TRUE'
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# these will be requested for
# review when someone opens a pull request.
* @hanbyul-here @sandrahoang686 @dzole0311 @aboydnw @AliceR @snmln
2 changes: 1 addition & 1 deletion .veda/ui
Submodule ui updated 131 files
2 changes: 1 addition & 1 deletion datasets/global-reanalysis-da.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ 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 <Link to='/data-catalog/global-reanalysis-da/explore'>Explore the Data</Link> 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='/exploration?search=global-reanalysis-da'>Explore the Data</Link> to look at different dates and to compare variables.

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>
Expand Down
Binary file added datasets/nldas-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
88 changes: 88 additions & 0 deletions datasets/nldas2.data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
id: nldas2
name: "NLDAS-2 Precipitation Forcing Dataset"
description: "NLDAS-2 is a surface meteorological analysis and land-surface model dataset running in operations to produce outputs of soil moisture, snow, surface fluxes, streamflow, etc. for drought monitoring and other applications."
media:
src: ::file ./nldas-cover.png
alt: Landsat 8 — OLI image of the Mississippi River below Memphis, Tennessee on September 16, 2023 at near record low water levels, limiting barge shipments, threatening drinking water supplies, agriculture, and ecosystems.y.
author:
name: LDAS-NASA
url: https://eoimages.gsfc.nasa.gov/images/imagerecords/151000/151897/mississippi_oli_2023259_lrg.jpg
taxonomy:
- name: Topics
values:
- Water Resources
- Hydrology
- Precipitation
- Surface Meteorology
- Drought
- Agriculture
- Disasters
layers:
- id: nldas2
stacCol: nldas2
name: Precipitation
type: raster
description: "Precipitation Dataset"
initialDatetime: newest
zoomExtent:
- 0
- 20
sourceParams:
colormap_name: magma
rescale:
- 0
- 200
nodata: 0
compare:
datasetId: nldas3
layerId: nldas3
mapLabel: |
::js ({dateFns, datetime, compareDatetime}) => {
return `${dateFns.format(datetime, 'LLL yyyy')} VS ${dateFns.format(compareDatetime, 'LLL yyyy')}`;
}
legend:
unit:
label: mm/month
type: gradient
min: "0"
max: "200"
stops:
- "#000004"
- "#3B0F70"
- "#8C2981"
- "#F37C21"
- "#FCFFA4"
- "#fc8d59"
---
<Block>
<Prose>
**Temporal Extent:** Jan 2003 to Dec 2021 (January 1979 to present available from the NASA GES DISC)
**Temporal Resolution:** Monthly-averaged (Hourly data available from the NASA GES DISC)
**Spatial Extent:** CONUS (25 to 53 North and -125 to -67 West)
**Spatial Resolution:** 0.125° x 0.125°
**Data type:** Research <br />

The precipitation from NLDAS-2 over CONUS is derived from a daily gridded precipitation analysis at 0.125-degrees from NOAA CPC. The data is temporally disaggregated to hourly using a variety of data sources, primarily radar-estimated precipitation amounts from Doppler Stage II data. Outside of CONUS, but still in the 25 to 53 North domain, different datasets are used to generate NLDAS-2 precipitation. See https://ldas.gsfc.nasa.gov/nldas/v2/forcing for details.

## Source Data Product Citation
- https://doi.org/10.5067/THUF4J1RLSYG NLDAS Primary Forcing Data L4 Monthly 0.125 x 0.125 degree V2.0, Edited by David M. Mocko, NASA/GSFC/HSL, Greenbelt, Maryland, USA, Goddard Earth Sciences Data and Information Services Center (GES DISC), Accessed:[Data Access Date], 10.5067/2DPKB5B5N14O

## Version History
V2.0

</Prose>
</Block>
<Block>
<Prose>
## Key Publications
Xia, Y., Mitchell, K., Ek, M., Sheffield, J., Cosgrove, B., Wood, E., Luo, L., Alonge, C., Wei, H., Meng, J., Livneh, B., Lettenmaier, D., Koren, V., Duan, Q., Mo, K., Fan, Y., Mocko, D., 2012. Continental-scale water and energy flux analysis and validation for the North American Land Data Assimilation System project phase 2 (NLDAS-2): 1. Intercomparison and application of model products: WATER AND ENERGY FLUX ANALYSIS. Journal of Geophysical Research: Atmospheres. Vol. 117, No. D3. https://doi.org/10.1029/2011JD016048

## Learn More
- https://ldas.gsfc.nasa.gov/nldas/v2/forcing
- <Link to="/stories/nldas">Data Story: Mapping Water Availability over North America</Link>
## License
[Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/legalcode) (CC BY 4.0)

</Prose>
</Block>
105 changes: 105 additions & 0 deletions datasets/nldas3.data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
id: nldas3
name: "NLDAS-3 Precipitation Forcing Dataset"
description: "NASA is co-developing high-resolution retrospective and real-time data for water resources and agricultural applications"
media:
src: ::file ./nldas-cover.png
alt: Landsat 8 — OLI image of the Mississippi River below Memphis, Tennessee on September 16, 2023 at near record low water levels, limiting barge shipments, threatening drinking water supplies, agriculture, and ecosystems.y.
author:
name: LDAS-NASA
url: https://eoimages.gsfc.nasa.gov/images/imagerecords/151000/151897/mississippi_oli_2023259_lrg.jpg
taxonomy:
- name: Topics
values:
- Water Resources
- Hydrology
- Precipitation
- Surface Meteorology
- Drought
- Agriculture
- Disasters
layers:
- id: nldas3
stacCol: nldas3
name: Precipitation
type: raster
description: "Precipitation Dataset"
initialDatetime: newest
zoomExtent:
- 0
- 20
sourceParams:
colormap_name: magma
rescale:
- 0
- 200
nodata: 0
compare:
datasetId: nldas3
layerId: nldas3
mapLabel: |
::js ({dateFns, datetime, compareDatetime}) => {
return `${dateFns.format(datetime, 'LLL yyyy')} VS ${dateFns.format(compareDatetime, 'LLL yyyy')}`;
}
legend:
unit:
label: mm/month
type: gradient
min: "0"
max: "200"
stops:
- "#000004"
- "#3B0F70"
- "#8C2981"
- "#F37C21"
- "#FCFFA4"
- "#fc8d59"
---
<Block>
<Prose>
**Temporal Extent of sample NLDAS-3 data:** Jan 2001 to Dec 2021
**Temporal Resolution of sample NLDAS-3 data:** Monthly
**Spatial Extent:** North and Central America (7-72 North, 169-52 West)
**Spatial Resolution:** 0.01° x 0.01°
**Data type:** Research <br />

This sample dataset presents a fine scale precipitation analysis from the development of NLDAS-3. NLDAS-3 is currently under development and the final product will include precipitation fields (included here) as well as other surface meteorology such as temperature, radiation, surface pressure, and wind speed. NLDAS-3 represents the next generation (i.e., phase 3) of the North American Land Data Assimilation System phase 2 (NLDAS-2). NLDAS-3 precipitation has been derived by assimilating daily precipitation amounts at 4 km of the NASA Integrated Multi-SatellitE Retrievals for Global Precipitation Measurements GPM (IMERG) and the Environment and Climate Change Canada (ECCC) Canadian Precipitation Analysis (CaPA) into the NASA’s Modern-Era Retrospective analysis for Research and Application, Version 2 (MERRA-2). NLDAS-3 precipitation at 4 km and daily time steps was then downscaled to 1 km using a cloud-cover based algorithm based on datasets from the Moderate Resolution Imaging Spectroradiometer (MODIS) then converted to hourly using a temporal disaggregation which employs MERRA-2 and IMERG datasets. NLDAS-3 covers North and Central America (from latitude 7 to 72 North and longitude 169 to 52 West) at a resolution of 0.01. The sample data available from this page are monthly-averages and an initial version of the still-in-development of the NLDAS-3 precipitation.

## Source Data Product Citation
Maina et al., (2024), NLDAS-3 surface meteorology 0.01 degree x 0.01 degree V1, Greenbelt, MD, USA, NASA Center for Climate Simulation (NCCS) DataPortal, Accessed: [Data Access Date]

## Version History
V2.0

</Prose>
</Block>
<Block>
<Prose>
## Key Publications
Maina et al., (2024), NLDAS-3 surface meteorology 0.01 degree x 0.01 degree V1, Greenbelt, MD, USA, NASA Center for Climate Simulation (NCCS) DataPortal, Accessed: July 24, 2024.

Bratseth. (1986). Statistical interpolation by means of successive corrections - BRATSETH - 1986 - Tellus A - Wiley Online Library. Retrieved October 12, 2022, from https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1600-0870.1986.tb00476.x

Cosgrove, B. A., Lohmann, D., Mitchell, K. E., Houser, P. R., Wood, E. F., Schaake, J. C., et al. (2003). Real-time and retrospective forcing in the North American Land Data Assimilation System (NLDAS) project. Journal of Geophysical Research: Atmospheres, 108(D22). https://doi.org/10.1029/2002JD003118

Gelaro, R., McCarty, W., Suárez, M. J., Todling, R., Molod, A., Takacs, L., et al. (2017). The Modern-Era Retrospective Analysis for Research and Applications, Version 2 (MERRA-2). Journal of Climate, 30(14), 5419–5454. https://doi.org/10.1175/JCLI-D-16-0758.1

Hersbach, H., Bell, B., Berrisford, P., Hirahara, S., Horányi, A., Muñoz‐Sabater, J., et al. (2020). The ERA5 global reanalysis. Quarterly Journal of the Royal Meteorological Society, 146(730), 1999–2049. https://doi.org/10.1002/qj.3803

Huffman, G. J., Bolvin, D. T., & Nelkin, E. J. (2015). Integrated Multi-satellitE Retrievals for GPM (IMERG) technical documentation. NASA/GSFC Code, 612(2015), 47.

Kemp, E. M., Wegiel, J. W., Kumar, S. V., Geiger, J. V., Mocko, D. M., Jacob, J. P., & Peters-Lidard, C. D. (2022). A NASA–Air Force Precipitation Analysis for Near-Real-Time Operations. Journal of Hydrometeorology, 23(6), 965–989. https://doi.org/10.1175/JHM-D-21-0228.1

Lespinas, F., Fortin, V., Roy, G., Rasmussen, P., & Stadnyk, T. (2015). Performance Evaluation of the Canadian Precipitation Analysis (CaPA). Journal of Hydrometeorology, 16(5), 2045–2064. https://doi.org/10.1175/JHM-D-14-0191.1

Maina et al., (2024), NLDAS-3 surface meteorology 0.01 degree x 0.01 degree V1, Greenbelt, MD, USA, NASA Center for Climate Simulation (NCCS) DataPortal, Accessed: July 24, 2024.

## Learn More
- https://ldas.gsfc.nasa.gov/nldas/v3
- [Data Story: Mapping Water Availability over North America](https://deploy-preview-403--visex.netlify.app/stories/nldas)

## License
[Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/legalcode) (CC BY 4.0)

</Prose>
</Block>
Binary file added datasets/soil-texture-background.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added datasets/soil-texture-triangle.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "veda-config",
"description": "Configuration for Veda",
"version": "0.16.0",
"version": "0.17.0",
"source": "./.veda/ui/app/index.html",
"license": "Apache-2.0",
"scripts": {
Expand Down
Binary file added stories/BB_AgeOperators_Sumter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_DecreasingCoolDays.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_DecreasingCoolNights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_Estab_AL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_Estab_Choctaw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_IncreasingWarmDays.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_IncreasingWarmNights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_OlderPopulation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_Youngerpopulation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_alabamasoil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_trends_Butler.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_trends_Choctaw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_trends_Marengo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/BB_trends_Pickens.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/Black_cotton_farming_family.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/Employees_Sector_County.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/black-belt-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/black_belt_cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/blackbelt_tmo_2015-2018_lrg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 3 additions & 7 deletions stories/camp-fire-burn-scar.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,9 @@ taxonomy:
<Chart
dataPath={new URL('./camp-fire-ndvi.csv', import.meta.url).href}
dateFormat="%m/%d/%Y"
idKey='Source'
xKey='Date'
yKey='NDVI'
yAxisLabel='NDVI'
highlightStart = '11/8/2018'
highlightEnd = '11/25/2018'
highlightLabel = 'Camp Fire'
xKey='YEAR'
yKey='EMP_numeric'
yAxisLabel='EMP_numeric'
/>
<Caption>
Monthly-averaged MODIS-derived NDVI values over the Camp Fire domain from 2002 to 2022. The highlighted portion of the time series indicates when the Camp Fire was active.
Expand Down
10 changes: 10 additions & 0 deletions stories/census_bureua_Butler.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
index,GEO_ID,NAME,NAICS2012,SECTOR,INDLEVEL,INDGROUP,SUBSECTOR,NAICS2012_LABEL,LFO,LFO_LABEL,EMPSZES,EMPSZES_LABEL,YEAR,ESTAB,EMP,EMP_N,PAYQTR1,PAYQTR1_N,PAYANN,PAYANN_N,Unnamed: 20,NAICS2017,NAICS2017_LABEL,Unnamed: 16,EMP_numeric
2700,0500000US01013,"Butler County, Alabama",11,11.0,2.0,,,"Agriculture, forestry, fishing and hunting",1,All establishments,1,All establishments,2012-01-01,19,144,G,1262,G,5575,G,,,,,144.0
2720,0500000US01013,"Butler County, Alabama",23,23.0,2.0,,,Construction,1,All establishments,1,All establishments,2012-01-01,29,195,G,1881,H,9213,H,,,,,195.0
2760,0500000US01013,"Butler County, Alabama",48-49,48.0,2.0,,,Transportation and warehousing,1,All establishments,1,All establishments,2012-01-01,9,270,H,2171,H,10235,H,,,,,270.0
2710,0500000US01013,"Butler County, Alabama",11,11.0,2.0,,,"Agriculture, forestry, fishing and hunting",1,All establishments,1,All establishments,2014-01-01,20,100 to 249 employees,S,1932,H,8364,H,,,,,174.5
2730,0500000US01013,"Butler County, Alabama",23,23.0,2.0,,,Construction,1,All establishments,1,All establishments,2014-01-01,29,254,G,2556,H,14636,H,,,,,254.0
2770,0500000US01013,"Butler County, Alabama",48-49,48.0,2.0,,,Transportation and warehousing,1,All establishments,1,All establishments,2014-01-01,9,339,H,2899,H,12262,H,,,,,339.0
2670,0500000US01013,"Butler County, Alabama",11,11.0,2.0,,,"Agriculture, forestry, fishing and hunting",1,All establishments,1,All establishments,2016-01-01,20,230,H,1978,H,7972,G,,,,,230.0
2690,0500000US01013,"Butler County, Alabama",23,23.0,2.0,,,Construction,1,All establishments,1,All establishments,2016-01-01,26,276,H,3402,H,15743,H,,,,,276.0
2730,0500000US01013,"Butler County, Alabama",48-49,48.0,2.0,,,Transportation and warehousing,1,All establishments,1,All establishments,2016-01-01,6,387,H,3564,H,15164,H,,,,,387.0
Binary file added stories/lis-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/nldas-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/nldas-fig1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stories/nldas-fig7.png
Binary file added stories/nldas3-fig1b.png
Loading

0 comments on commit 062e4ff

Please sign in to comment.