Skip to content

Commit

Permalink
Merge pull request #5512 from nasa-gibs/release
Browse files Browse the repository at this point in the history
Release to Main v4.50.0
  • Loading branch information
christof-wittreich authored Oct 17, 2024
2 parents fa9cd09 + 01ce19a commit cfdc4d6
Show file tree
Hide file tree
Showing 56 changed files with 1,451 additions and 909 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.16.1
20.18.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN dnf install -y epel-release && \
xz
RUN mkdir -p /usr/local/nvm
ENV NVM_DIR=/usr/local/nvm
ENV NODE_VERSION=20.16.0
ENV NODE_VERSION=20.18.0
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash && \
. "$NVM_DIR/nvm.sh" && \
nvm install v${NODE_VERSION} && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true
"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"type": "granule",
"period": "subdaily",
"count": 1,
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:41:03Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Cloud Fraction",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true
"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Cloud Pressure",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Formaldehyde",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Nitrogen Dioxide",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Nitrogen Dioxide",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Ozone",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Ozone",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"tags": "",
"group": "overlays",
"layergroup": "Aerosol Index",
"cmrAvailability": true,
"dataAvailability": "dd",
"startDate": "2024-05-13T10:30:00Z",
"disableSnapshot": true

"disableSnapshot": true,
"shiftadjacentdays": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"group": "overlays",
"layergroup": "Granules",
"type": "granule",
"cmrAvailability": true,
"dataAvailability": "dd",
"period": "subdaily",
"associatedLayers": ["VIIRS_NOAA20_CorrectedReflectance_BandsM11-I2-I1"],
"availability": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"group": "overlays",
"layergroup": "Granules",
"type": "granule",
"cmrAvailability": true,
"dataAvailability": "dd",
"period": "subdaily",
"associatedLayers": ["VIIRS_NOAA20_CorrectedReflectance_BandsM3-I3-M11"],
"availability": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"group": "overlays",
"layergroup": "Granules",
"type": "granule",
"cmrAvailability": true,
"dataAvailability": "dd",
"period": "subdaily",
"associatedLayers": ["VIIRS_NOAA20_CorrectedReflectance_TrueColor"],
"availability": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"group": "overlays",
"layergroup": "Granules",
"type": "granule",
"cmrAvailability": true,
"dataAvailability": "dd",
"period": "subdaily",
"associatedLayers": ["VIIRS_SNPP_CorrectedReflectance_BandsM11-I2-I1"],
"availability": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"group": "overlays",
"layergroup": "Granules",
"type": "granule",
"cmrAvailability": true,
"dataAvailability": "dd",
"period": "subdaily",
"associatedLayers": ["VIIRS_SNPP_CorrectedReflectance_BandsM3-I3-M11"],
"availability": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"group": "overlays",
"layergroup": "Granules",
"type": "granule",
"cmrAvailability": true,
"dataAvailability": "dd",
"period": "subdaily",
"associatedLayers": ["VIIRS_SNPP_CorrectedReflectance_TrueColor"],
"availability": {
Expand Down
7 changes: 4 additions & 3 deletions doc/config/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ Example:
* dateInterval - Number of days (or minutes for subdaily layers)
* **temporal**: Used to override the layer temporal availability declared in the capabilities document. Note: Changing the temporal availability can cause missing layer coverage within the interface for layers tiles that aren't available from the source at the revised temporal range. This option can be added as a string with the new availability range. For example, `"1981-10-13/2019-10-11/P1M"`.
* **count**: Used to override the default number of granules displayed on the map and in the granule count slider component for granule layers.
* **cmrAvailability**: Boolean - Whether or not to use the CMR API for data availability.
* **dataAvailability**: String - `cmr` or `dd`. Get the layer's data availability from either the CMR API or GIBS DescribeDomains request.
* **shiftadjacentdays**: Boolean - Whether or not to shift granules across the dateline when they're for an adjacent day. Defaults to `true` when `null` or `undefined`.

## Full Example

Expand All @@ -136,7 +137,7 @@ Example:
"id": "AIRS_RH400_A"
},
"temporal": "1981-10-13/2019-10-11/P1M",
"cmrAvailability": false
"dataAvailability": "dd"
}
}
}
Expand Down Expand Up @@ -164,7 +165,7 @@ Granule layers will require specific configuration options within the `config/wv
],
"ongoing": true,
"type": "granule",
"cmrAvailability": true,
"dataAvailability": "dd",
"period": "subdaily",
"count": 1
}
Expand Down
16 changes: 7 additions & 9 deletions e2e/features/charting/charting-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,10 @@ test('Select an Area of Interest works appropriately', async () => {
const isChartingEnabled = await page.$('#chart-toggle-button')
if (isChartingEnabled) {
await page.locator('#chart-toggle-button').click()
const aoiIcon = page.locator('#wv-charting-mode-container > div.charting-aoi-container > h3')
await expect(aoiIcon).toHaveText('Select Area of Interest')
await page.locator('#wv-charting-mode-container > div.charting-aoi-container > svg').click()
await page.mouse.click(300, 300)
await page.mouse.click(400, 400)
await expect(aoiIcon).toHaveText('Area of Interest Selected')
const aoiBtn = page.locator('#wv-charting-mode-container > div.charting-aoi-container > .edit-coordinates')
await expect(aoiBtn).toHaveText('Entire Screen')
await aoiBtn.click()
await expect(aoiBtn).toHaveText('Area Selected')
}
})

Expand All @@ -96,12 +94,12 @@ test('Confirm defaults for time span selection', async () => {
}
})

test('Calendar icon opens datepicker modal', async () => {
test('Date selector opens datepicker modal', async () => {
await page.goto(multipleDataLayers)
const isChartingEnabled = await page.$('#chart-toggle-button')
if (isChartingEnabled) {
await page.locator('#chart-toggle-button').click()
await page.locator('#charting-calendar-container > svg').click()
await page.locator('#charting-date-button').click()
const chartingDateModal = page.locator('#charting_date_modal > div > div > div.modal-header > h5')
await expect(chartingDateModal).toHaveText('Charting Mode Date Selection')
}
Expand All @@ -116,7 +114,7 @@ test('Info modal opens on mode start & on icon click', async () => {
await expect(infoModal).toHaveText('Charting Tool')
await page.locator('#charting_info_modal > div > div > div.modal-header > button').click()
await expect(infoModal).toHaveCount(0)
await page.locator('#charting-info-container > svg').click()
await page.locator('#charting-info-container svg').click()
await expect(infoModal).toHaveText('Charting Tool')
}
})
Expand Down
Loading

0 comments on commit cfdc4d6

Please sign in to comment.