Skip to content

Commit aa8e174

Browse files
authored
Merge pull request #915 from NASA-IMPACT/develop
Deploy veda UI v6.10.3, deploy Fire Event Explorer 0.6.2 to prod, nlcd mdx updates
2 parents 01645a9 + 1f8b45d commit aa8e174

File tree

5 files changed

+29
-23
lines changed

5 files changed

+29
-23
lines changed

.veda/ui

custom-pages/wildfire-explorer/atoms/toolStateAtom.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// @ts-ignore
22
import { atomWithUrlValueStability } from '$veda-ui-scripts/utils/params-location-atom/atom-with-url-value-stability';
33

4+
const HOUR = 60 * 60 * 1000;
5+
const DAY = 24 * HOUR;
6+
const MONTH = 30 * DAY;
7+
48
const defaultToolState = {
59
selectedEventId: null,
610
windLayerType: null,
@@ -10,9 +14,10 @@ const defaultToolState = {
1014
showNewFirepix: false,
1115
viewMode: 'explorer',
1216
timeRange: {
13-
start: new Date(Date.now() - 60 * 24 * 60 * 60 * 1000),
17+
start: new Date(Date.now() - MONTH),
1418
end: new Date(),
1519
},
20+
selectedDuration: { label: '1 month', value: MONTH },
1621
viewState: {
1722
longitude: -95.7129,
1823
latitude: 37.0902,
@@ -40,6 +45,7 @@ export const toolStateAtom = atomWithUrlValueStability<any>({
4045
start: new Date(parsed.timeRange?.start || defaultToolState.timeRange.start),
4146
end: new Date(parsed.timeRange?.end || defaultToolState.timeRange.end),
4247
},
48+
selectedDuration: parsed.selectedDuration || defaultToolState.selectedDuration,
4349
viewState: {
4450
longitude: parsed.viewState?.longitude ?? defaultToolState.viewState.longitude,
4551
latitude: parsed.viewState?.latitude ?? defaultToolState.viewState.latitude,
@@ -67,6 +73,7 @@ export const toolStateAtom = atomWithUrlValueStability<any>({
6773
start: value.timeRange.start.toISOString(),
6874
end: value.timeRange.end.toISOString(),
6975
},
76+
selectedDuration: value.selectedDuration,
7077
viewState: {
7178
longitude: value.viewState?.longitude,
7279
latitude: value.viewState?.latitude,
@@ -76,7 +83,6 @@ export const toolStateAtom = atomWithUrlValueStability<any>({
7683
padding: value.viewState?.padding,
7784
},
7885
};
79-
8086
return JSON.stringify(serializable);
8187
} catch (error) {
8288
console.warn('Failed to serialize tool state:', error);

datasets/nlcd.data.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: nlcd-annual-conus
33
name: 'National Land Cover Database LULC Classifications'
4-
description: "National Land Cover Database Land Use - Land Cover classifications for CONUS, 2001-2021 at 30 m resolution."
4+
description: "National Land Cover Database Land Use - Land Cover classifications for CONUS, 2001-2023 at 30 m resolution."
55

66
media:
77
src: ::file media/nlcd_land_cover_identification_2016_2019.thumbnail.jpg
@@ -23,20 +23,20 @@ taxonomy:
2323
- MRLC
2424
layers:
2525
- id: nlcd-annual-conus
26-
stacCol: nlcd-annual-conus
26+
stacApiEndpoint: https://dev.ghg.center/api/stac/
27+
tileApiEndpoint: https://dev.ghg.center/api/raster
28+
stacCol: nlcd-annual-conus-v2
2729
name: NLCD Land Use - Land Cover Classification
28-
type: raster
30+
type: wms
2931
description: "30 meter LULC classification provided by the NLCD."
3032
initialDatetime: newest
3133
zoomExtent:
3234
- 0
3335
- 20
3436
sourceParams:
35-
assets: landcover
36-
bidx: [1]
37-
nodata: 0
38-
resampling: nearest
39-
colormap_name: nlcd
37+
layers: mrlc_Land-Cover_conus_year_data:Land-Cover_conus_year_data
38+
version: 1.3.0
39+
srs: EPSG:3857
4040
legend:
4141
type: categorical
4242
min: "0"
@@ -68,7 +68,7 @@ layers:
6868
- color: "#D1BB82"
6969
label: "Shrub/Scrub"
7070
- color: "#EDECCD"
71-
label : "Grassland/Herbaceous"
71+
label: "Grassland/Herbaceous"
7272
- color: "#D0D181"
7373
label: "Sedge/Herbaceous"
7474
- color: "#A4CC51"
@@ -94,7 +94,7 @@ layers:
9494
info:
9595
source: MRLC
9696
spatialExtent: United States
97-
temporalResolution: Bi- to Tri-Annual
97+
temporalResolution: Annual
9898
unit: N/A
9999

100100
- id: nlcd-new-urbanization
@@ -128,8 +128,8 @@ layers:
128128
<Block>
129129
<Prose>
130130
## Dataset Details
131-
- **Temporal Extent:** 2001-2021
132-
- **Temporal Resolution:** Inconsistent (every 2-3 years)
131+
- **Temporal Extent:** 2001-2023
132+
- **Temporal Resolution:** Annual
133133
- **Spatial Extent:** CONUS
134134
- **Spatial Resolution:** 30 m
135135
- **Data Type:** Research
@@ -157,11 +157,11 @@ layers:
157157

158158
### About
159159

160-
The National Land Cover Database (NLCD) stands as a paramount dataset offering an in-depth overview of the land cover characteristics in the United States. Spearheaded by the Earth Resources Observation and Science (EROS) Center, this database is renewed every two to three years to provide updated and accurate data for the nation.
160+
The National Land Cover Database (NLCD) stands as a paramount dataset offering an in-depth overview of the land cover characteristics in the United States. Spearheaded by the Earth Resources Observation and Science (EROS) Center, this database is renewed every year to provide updated and accurate data for the nation.
161161

162162
This is a collective effort between the U.S. Geological Survey (USGS) and the Multi-Resolution Land Characteristics (MRLC) Consortium. The MRLC, composed of various federal agencies, has a rich legacy spanning over 30 years of generating consistent and pertinent land cover information on a national scale. The NLCD is a testament to their dedication and has emerged as one of the most frequently utilized geospatial datasets within the U.S., catering to an extensive audience ranging from scientists, land managers, city planners, to students.
163163

164-
As of its latest release, the NLCD showcases land cover data and related changes across nine specific epochs, starting from 2001 and culminating in 2021. These datasets are meticulously crafted, ensuring continuity and consistency with the past releases (from 2001-2019). This methodological consistency ensures that the datasets from the different epochs are directly comparable and well-suited for mult-temporal analyses.
164+
As of its latest release, the NLCD showcases land cover data and related changes starting from 2001 and culminating in 2023. These datasets are meticulously crafted, ensuring continuity and consistency with the past releases. This methodological consistency ensures that the datasets from the different epochs are directly comparable and well-suited for mult-temporal analyses.
165165

166166
</Prose>
167167
</Block>
@@ -289,4 +289,4 @@ layers:
289289
[Creative Commons Attribution 1.0 International](https://creativecommons.org/publicdomain/zero/1.0/legalcode) (CC BY 1.0)
290290

291291
</Prose>
292-
</Block>
292+
</Block>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"stream-browserify": "^3.0.0"
3636
},
3737
"dependencies": {
38-
"@dsio/wildfire-explorer": "0.5.1",
38+
"@dsio/wildfire-explorer": "0.6.2",
3939
"@parcel/transformer-sass": "^2.13.3",
4040
"@trussworks/react-uswds": "^9.1.0",
4141
"@uswds/uswds": "^3.8.1",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
dependencies:
7474
tslib "^2.0.0"
7575

76-
"@dsio/wildfire-explorer@0.5.0":
77-
version "0.5.0"
78-
resolved "https://registry.yarnpkg.com/@dsio/wildfire-explorer/-/wildfire-explorer-0.5.0.tgz#d8c1432587127d80114237c1af2409e95d329d5b"
79-
integrity sha512-zqvTEJAclHo5V0pkyfdY5Z2/oNkMCVOr9h9grNNVnw19ThcQejSrcsKHY870a3Nz7LCtyM/hXWVWZsSYgOcMFQ==
76+
"@dsio/wildfire-explorer@0.6.2":
77+
version "0.6.2"
78+
resolved "https://registry.yarnpkg.com/@dsio/wildfire-explorer/-/wildfire-explorer-0.6.2.tgz#5ce110e485171427817f8cd349a31393423b96c5"
79+
integrity sha512-Ne46L2ADhiSDGpTHeuseBZ6jVAJxnZIiFG1+4YHEb3imgYJLYixfGIsPn8t3VsGxQk0GlWoWf8kmV/BKt4ojSA==
8080
dependencies:
8181
"@deck.gl/extensions" "^9.1.4"
8282
"@deck.gl/react" "^9.1.4"

0 commit comments

Comments
 (0)