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/catch-up-nlcd #489

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
025de3e
Merge pull request #187 from NASA-IMPACT/develop
hanbyul-here Jan 20, 2023
68a0b15
Version 0.6.0
danielfdsilva Feb 9, 2023
5196092
Merge pull request #200 from NASA-IMPACT/develop
hanbyul-here Feb 27, 2023
3dfc1cb
Merge pull request #203 from NASA-IMPACT/develop
hanbyul-here Feb 27, 2023
fc08999
Merge pull request #220 from NASA-IMPACT/develop
slesaad Mar 8, 2023
be3d7ef
Version 0.6.1
danielfdsilva Mar 15, 2023
bde3c84
Version 0.7.0
danielfdsilva Apr 14, 2023
68bb078
Version 0.8.0
danielfdsilva May 12, 2023
fc85ecd
Merge pull request #273 from NASA-IMPACT/develop
hanbyul-here Jun 6, 2023
e961601
Merge pull request #280 from NASA-IMPACT/develop
danielfdsilva Jun 29, 2023
7d76136
Production deploy v0.10.0
danielfdsilva Aug 4, 2023
13c40d5
Production deploy v0.11.0
danielfdsilva Aug 18, 2023
f57fd31
Merge pull request #311 from NASA-IMPACT/develop
danielfdsilva Sep 8, 2023
d858eae
Merge pull request #331 from NASA-IMPACT/develop
hanbyul-here Oct 31, 2023
31e7158
Merge pull request #337 from NASA-IMPACT/develop
hanbyul-here Nov 14, 2023
dbd9287
Merge pull request #343 from NASA-IMPACT/develop
sandrahoang686 Dec 8, 2023
5052c5b
Merge pull request #378 from NASA-IMPACT/develop
hanbyul-here Mar 21, 2024
8e81715
Merge pull request #393 from NASA-IMPACT/develop
hanbyul-here May 13, 2024
0964796
Merge pull request #400 from NASA-IMPACT/develop
dzole0311 May 22, 2024
0aa9a98
Merge pull request #421 from NASA-IMPACT/develop
hanbyul-here Jul 22, 2024
64c0d28
Merge pull request #429 from NASA-IMPACT/develop
sandrahoang686 Aug 7, 2024
062e4ff
Merge pull request #457 from NASA-IMPACT/develop
dzole0311 Oct 21, 2024
a15594e
Add GPM IMERG dataset and version
abarciauskas-bgse Oct 21, 2024
ca2af01
Update GPM_3IMERGDF.data.mdx
abarciauskas-bgse Oct 29, 2024
30e3a9f
add tile scale
abarciauskas-bgse Oct 30, 2024
e0f85a6
Update GPM_3IMERGDF.data.mdx
abarciauskas-bgse Oct 30, 2024
14d89f3
updated to veda-ui v5.9.0
snmln Oct 30, 2024
24cc9dd
Correcting selected commit
snmln Oct 30, 2024
a605f41
Merge pull request #471 from NASA-IMPACT/update/veda-ui-v5.9.0
sandrahoang686 Oct 30, 2024
05d1bc8
use tile scale 3
abarciauskas-bgse Oct 30, 2024
17dd6ed
turning on cookie consent form
snmln Oct 30, 2024
d3f2422
Merge pull request #475 from NASA-IMPACT/fix/cookie-consent-ON
snmln Oct 30, 2024
52ce73d
updated publication date
acblackford Oct 31, 2024
705bb4d
Merge pull request #476 from NASA-IMPACT/nc-hogs2
sandrahoang686 Oct 31, 2024
b857559
Merge pull request #474 from NASA-IMPACT/add-gpmimerg-dataset-ts3
abarciauskas-bgse Oct 31, 2024
c04e530
Merge pull request #462 from NASA-IMPACT/add-gpmimerg-dataset
abarciauskas-bgse Oct 31, 2024
9c28376
The Node.js version in `docs/SETUP.md` is not in sync with the conten…
vgeorge Nov 4, 2024
4c3556e
Update docs/SETUP.md
vgeorge Nov 4, 2024
c4ce1c3
Merge pull request #478 from NASA-IMPACT/fix/setup-docs
vgeorge Nov 4, 2024
5b6e806
Fix date format
j08lue Nov 6, 2024
2566f91
Merge pull request #481 from NASA-IMPACT/fix/story-date-format
dzole0311 Nov 6, 2024
edbc21c
update package version
acblackford Nov 7, 2024
01cf0a3
Merge pull request #484 from NASA-IMPACT/bug-fix-issue479
acblackford Nov 7, 2024
033c966
Update PULL_REQUEST_TEMPLATE.md
aboydnw Nov 7, 2024
b93346b
Update Pr template and dev doc re: updating ui
hanbyul-here Nov 11, 2024
2342140
Typo
dzole0311 Nov 11, 2024
dd2e80c
Merge pull request #486 from NASA-IMPACT/update-pr-template
aboydnw Nov 11, 2024
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
25 changes: 20 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
<!-- -----------^ Click "Preview" for a functional view! -->
## PR Checklists
(Select the checklist that applies to your PR)

## Why are you creating this Pull Request?
### Adding a Dataset Overview:
- [ ] Dataset is available in the production VEDA STAC
- [ ] Production STAC url is referenced in the dataset overview
- [ ] All metadata, including those for the E&A page, is completed in the mdx file
- [ ] Any images are compressed, ideally <500 KB
- [ ] At least one code owner has reviewed the PR

- [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)
### Adding a Data Story:
- [ ] Any data referenced in the story is already published to VEDA STAC and referenced in a separate dataset overview page (prior to merging or as part of the same PR)
- [ ] All metadata is completed in the mdx file
- [ ] Any images are compressed, ideally <500 KB
- [ ] Published Date is as close to the actual release date as possible (work with veda-ui team to determine potential release date when story is close to ready)
- [ ] At least one code owner has reviewed the PR

### Updating VEDA-UI
- [ ] Confirmed that [updating the `veda-ui` submodule](https://github.com/NASA-IMPACT/veda-config/blob/main/docs/DEVELOPMENT.md#development) is needed.
- [ ] Ensured that the correct version of veda-ui is being used
- [ ] Reviewed the veda-ui changelogs for relevant updates
- [ ] Tested that the changes work as expected with the current instance configuration
2 changes: 1 addition & 1 deletion .veda/ui
Submodule ui updated 169 files
4 changes: 2 additions & 2 deletions datasets/CMIP-winter-median-pr.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ layers:
layerId: CMIP245-winter-median-pr
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
type: gradient
Expand Down Expand Up @@ -81,7 +81,7 @@ layers:
layerId: CMIP585-winter-median-pr
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
type: gradient
Expand Down
4 changes: 2 additions & 2 deletions datasets/CMIP-winter-median-ta.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ layers:
layerId: CMIP245-winter-median-ta
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -82,7 +82,7 @@ layers:
layerId: CMIP585-winter-median-ta
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down
2 changes: 1 addition & 1 deletion datasets/FLDAS-soilmoisture-anomalies.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ layers:
layerId: SoilMoi00_10cm_tavg
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down
75 changes: 75 additions & 0 deletions datasets/GPM_3IMERGDF.data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
id: GPM_3IMERGDF.v07
name: "GPM IMERG Daily Precipitation"
description: "GPM IMERG Final Precipitation L3 1 day 0.1 degree x 0.1 degree"
media:
src: ::file ./gpmimergdaily.png
alt: CMIP6 Near-Surface Air Temperature Screenshot
author:
name: NASA
url:
taxonomy:
- name: Topics
values:
- Climate
layers:
- id: GPM_3IMERGDF.v07
type: cmr
stacCol: GPM_3IMERGDF
tileApiEndpoint: "https://dev-titiler-cmr.delta-backend.com/WebMercatorQuad/tilejson.json"
name: GPM IMERG Final Precipitation L3 1 day 0.1 degree x 0.1 degree
description: "GPM Level 3 IMERG Final Daily 10 x 10 km (GPM_3IMERGDF) accumulated precipitation"
time_density: day
zoomExtent:
- 0
- 20
sourceParams:
tile_scale: 3
resampling: bilinear
variable: precipitation
colormap_name: gnbu
rescale:
- 0
- 46
maxzoom: 12
concept_id: C2723754864-GES_DISC
backend: xarray
legend:
unit:
label:
type: gradient
min: "0 mm/hr"
max: "46 mm/hr"
stops:
[
"#f7fcf0",
"#e6f5e1",
"#d7efd1",
"#c5e8c2",
"#abdeb6",
"#8bd2bf",
"#6bc3c9",
"#4bafd1",
"#3193c2",
"#1878b4",
"#085da0",
"#084081",
]
---

<Block>
<Prose>
# GPM IMERG Final Precipitation L3 1 day 0.1 degree x 0.1 degree V06 (GPM_3IMERGDF)

## Dataset Description

This dataset is the GPM Level 3 IMERG _Final_ Daily 10 x 10 km (GPM_3IMERGDF) derived from the half-hourly GPM_3IMERGHH. The derived result represents the Final estimate of the daily mean precipitation rate in mm/day. The dataset is produced by first computing the mean precipitation rate in (mm/hour) in every grid cell, and then multiplying the result by 24.

Source: [https://disc.gsfc.nasa.gov/datasets/GPM_3IMERGDF_07/summary](https://disc.gsfc.nasa.gov/datasets/GPM_3IMERGDF_07/summary)

## Data Source

The files represented are NetCDF files in GES DISC's Earthdata Cloud bucket and discovered and tiled via a dynamic tiling service using CMR.

</Prose>
</Block>
2 changes: 1 addition & 1 deletion datasets/darnah-flood.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ layers:
layerId: darnah-flood
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
metadata:
source: HLS
Expand Down
18 changes: 9 additions & 9 deletions datasets/global-reanalysis-da.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ layers:
layerId: lis-global-da-evap
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -85,7 +85,7 @@ layers:
layerId: lis-global-da-gpp
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -126,7 +126,7 @@ layers:
layerId: lis-global-da-gws
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -167,7 +167,7 @@ layers:
layerId: lis-global-da-swe
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -209,7 +209,7 @@ layers:
layerId: lis-global-da-streamflow
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -250,7 +250,7 @@ layers:
layerId: lis-global-da-qs
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -291,7 +291,7 @@ layers:
layerId: lis-global-da-qsb
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -332,7 +332,7 @@ layers:
layerId: lis-global-da-tws
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -373,7 +373,7 @@ layers:
layerId: lis-global-da-totalprecip
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down
Binary file added datasets/gpmimergdaily.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions datasets/lahaina-fire.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ layers:
layerId: landsat-nighttime-thermal
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
type: gradient
Expand Down Expand Up @@ -79,7 +79,7 @@ layers:
layerId: hls-swir-falsecolor-composite
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
info:
source: NASA
Expand Down Expand Up @@ -110,7 +110,7 @@ layers:
layerId: hls-bais2-v2
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}

legend:
Expand Down
4 changes: 2 additions & 2 deletions datasets/snow-projections-diff.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ layers:
layerId: snow-projections-diff-scenario-245
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
type: gradient
Expand Down Expand Up @@ -79,7 +79,7 @@ layers:
layerId: snow-projections-diff-scenario-585
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
type: gradient
Expand Down
4 changes: 2 additions & 2 deletions datasets/snow-projections-median.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ layers:
layerId: snow-projections-median-scenario-245
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down Expand Up @@ -79,7 +79,7 @@ layers:
layerId: snow-projections-median-scenario-585
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')}`;
}
legend:
unit:
Expand Down
2 changes: 1 addition & 1 deletion datasets/twsanomaly.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ layers:
layerId: lis-tws-anomaly
mapLabel: |
::js ({ dateFns, datetime, compareDatetime }) => {
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'DD LLL yyyy')} VS ${dateFns.format(compareDatetime, 'DD LLL yyyy')}`;
if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'dd LLL yyyy')} VS ${dateFns.format(compareDatetime, 'dd LLL yyyy')}`;
}
legend:
type: gradient
Expand Down
10 changes: 4 additions & 6 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@ You can see the version running:
./.veda/veda --info
```

The commit you may want to pin the `veda-ui` to will depend, but to get the latest changes from the `main` branch you could do:
The commit you may want to pin the `veda-ui` to will depend, but to update veda-ui you can do:
```
# Go into the submodule
cd .veda/ui

# Update the submodule info
git fetch

# Switch to the branch you want.
# You can also choose a specific tag.
git switch main
# Switch to the release you want.
# You can see the list of releases on https://github.com/NASA-IMPACT/veda-ui/releases

# Get the latest changes
git pull
git checkout vx.x.x

# Get back to the root directory
cd -
Expand Down
9 changes: 7 additions & 2 deletions docs/SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ This repo contains all the content and configuration needed to setup your own in

The `veda-config` relies on the `veda-ui` submodule.
Use `--recursive` flag when cloning `veda-config`, or initialize the submodules with:

```
git submodule update --init --recursive
```

## Requirements

To set up the development environment for this website, you'll need to install the following on your system:

- [Node](http://nodejs.org/) v16 (To manage multiple node versions we recommend [nvm](https://github.com/creationix/nvm))
- [Node](http://nodejs.org/) (see version in [.nvmrc](../.nvmrc)) (To manage multiple node versions we recommend [nvm](https://github.com/creationix/nvm))
- [Yarn](https://yarnpkg.com/) Package manager

If you use [`nvm`](https://github.com/creationix/nvm), activate the desired Node version:
Expand All @@ -34,11 +36,13 @@ Then, setup the project by running the command below.
## Usage

### Config files

Configuration is done using [dot.env](https://parceljs.org/features/node-emulation/#.env-files) files.

These files are used to simplify the configuration of the app and should not contain sensitive information.

Copy the `.env.local-sample` to `.env.local` to add your configuration variables.

```sh
cp .env.local-sample .env.local
```
Expand All @@ -50,11 +54,12 @@ Get your Mapbox access token from Mapbox Dashboard. Put the key in `.env.local`
## Running the app

To preview the app use:

```
yarn serve
```

This will start the app and make it available at http://localhost:9000.
This will start the app and make it available at <http://localhost:9000>.

If the application is not working properly or erroring when it starts, try cleaning the cache with `yarn clean`.
If the errors persist [open an issue](https://github.com/NASA-IMPACT/veda-config/issues/new) with the problem description.
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.17.0",
"version": "0.18.0",
"source": "./.veda/ui/app/index.html",
"license": "Apache-2.0",
"scripts": {
Expand Down
Loading
Loading