Skip to content

Commit

Permalink
Update to v4.33.0 upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace committed Jun 25, 2024
2 parents 9dc656d + 6703908 commit 03b7e0f
Show file tree
Hide file tree
Showing 3,603 changed files with 248,709 additions and 46 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
55 changes: 55 additions & 0 deletions .github/workflows/ci-cd-soto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

name: CI SOTO

on: [push]

jobs:

build:
runs-on: ${{matrix.os}}
name: ${{matrix.os}}, Node ${{matrix.node}}
strategy:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
node: [20]

steps:
- name: Checkout the code
uses: actions/checkout@v3

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node}}

- name: Install NPM Dependencies
run: |
npm ci
- name: Linting and Unit testing
run: |
npm test
- name: Build the application
run: |
npm run build:ci
- name: Run E2E tests - Chrome / MacOS
if: ${{ runner.os == 'macOS' }}
run: |
npm run start &
npx playwright install chromium &
sleep 10
SOTO=true npx playwright test --project=chromium --reporter=list
- name: Run E2E tests - Firefox / Windows
if: ${{ runner.os == 'Windows' }}
run: |
npm run start &
npx playwright install firefox &
sleep 10
set SOTO=true
npx playwright test --project=firefox --reporter=list
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
npm run start &
npx playwright install firefox &
sleep 10
npx playwright test --project=firefox --reporter=list
npx playwright test --project=firefox --reporter=list
2 changes: 1 addition & 1 deletion .github/workflows/secret-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
uses: trufflesecurity/[email protected]
with:
path: ./
base: main
base: master
head: ${{ github.ref_name }}
extra_args: --debug --only-verified
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,19 @@ playwright/.cache/
# Config
/config/*
!/config/default
!/config/active
config/default/release/gc
config/default/release/layer-metadata
# Jest
/coverage
/tasks/temp
/test-results/


/.cache/
/.config/
/.local/
/.npm/
/.idea
.bash_history
/junit.xml
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Added SOTO git action workflow
- Added SOTO npm e2e execution
- Updated test cases for SOTO compatibility
- Added parameter for assertDefaultLayers
- Disabled some test cases for SOTO due to issue #33 and #34

## [0.2.5]
- Updated to 4.4.0 upstream version
- Set initial start date back an extra day
- Enable blue marble base layer by default

## [0.2.4]
- Updated to 3.39.0 upstream version
- Set `urlShortening` to false in features.json to disable the shorten links feature

## [0.2.3]
- Updated Send Feedback service URL (PODAAC-4470)
- Removed Short Link button (PODAAC-4468)
- Updated date to be today-1 to display SST properly on startup
- Removed old layers no longer in GetCapabilities
- Security upgrade to pass Snyk (Upgrade moment lib)

## [0.2.2]
- Updated to 3.23.0 upstream version (PODAAC-4467)
- Removed worldview Dockerfile to pass Snyk (PODAAC-4495)

## [0.2.1]
- Updated to 3.17.0 upstream version
- Added SOTO by Worldview About page

## [0.2.0]
- Update to 3.13.3 upstream version
- Added SOTO by worldview branding
- Limited dataset selection to PODAAC datasets

## [0.1.0]
- Initial deployment of UI
9 changes: 9 additions & 0 deletions config/active/common/brand.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"packageName": "soto-by-worldview",
"officialName": "SOTO by Worldview",
"longName": "SOTO by Worldview",
"shortName": "SOTO",
"description": "Interactive State of the Ocean (SOTO) viewer",
"url": "https://soto.podaac.earthdatacloud.nasa.gov",
"email": "[email protected]"
}
122 changes: 122 additions & 0 deletions config/active/common/brand/about/acknowledgements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<h2>Acknowledgements</h2>
<p>With over 1000 imagery layers, Worldview acknowledges the data providers of the near real-time (NRT) and standard
quality imagery layers.</p>
<p>While Worldview provides the highest priority products/parameters as decided by the data providers and users, not
all NASA standard products (or all parameters within each product) are available via Worldview, see <a
href="https://search.earthdata.nasa.gov/">Earthdata Search</a> for a full listing of available data
products.</p>
<p>Near real-time imagery is courtesy of the<a href="https://earthdata.nasa.gov/earth-observation-data/near-real-time"
target="_blank" rel="noopener noreferrer"> Land, Atmosphere Near Real-Time Capability for EOS (LANCE)
</a>data providers:
</p>
<ul>
<li>AMSR2 and ISS LIS layers from <a
href="https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/lance/about-amsr2-sips"
target="_blank" rel="noopener noreferrer">AMSR SIPS</a> </li>
<li>VIIRS-Atmosphere layers from <a href="https://earthdata.nasa.gov/atmosphere-sips" target="_blank"
rel="noopener noreferrer">Atmosphere SIPS</a> </li>
<li>MISR layers from <a href="https://earthdata.nasa.gov/eosdis/daacs/asdc" target="_blank"
rel="noopener noreferrer">ASDC</a> </li>
<li>AIRS and MLS layers from <a
href="https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/lance/about-ges-disc"
target="_blank" rel="noopener noreferrer">GES DISC</a> </li>
<li>MODIS and VIIRS-Land layers from <a
href="https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/lance/about-modaps"
target="_blank" rel="noopener noreferrer">MODAPS</a> </li>
<li>MOPITT layer from <a href="https://earthdata.nasa.gov/eosdis/sips/sips-mopitt" target="_blank"
rel="noopener noreferrer">MOPITT SIPS</a> </li>
<li>OMI and OMPS layers from <a
href="https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/lance/about-omi-sips"
target="_blank" rel="noopener noreferrer">OMI SIPS</a> and <a
href="https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/lance/about-ozone-sips"
target="_blank" rel="noopener noreferrer">Ozone SIPS</a> </li>
<li>MODIS and VIIRS Fires and Thermal Anomalies layers from <a
href="https://earthdata.nasa.gov/earth-observation-data/near-real-time/firms" target="_blank"
rel="noopener noreferrer">FIRMS</a> </li>
</ul>
<p>Standard quality/ Science quality imagery is courtesy of the <a href="https://earthdata.nasa.gov/eosdis/daacs"
target="_blank" rel="noopener noreferrer">EOSDIS Distributed Active Archive Centers (DAACs)</a>:</p>
<ul>
<li>Atmospheric layers from <a href="https://earthdata.nasa.gov/eosdis/daacs/asdc" target="_blank"
rel="noopener noreferrer">ASDC DAAC</a></li>
<li>Atmospheric layers, modeled atmospheric layers and soil moisture layers from <a
href="https://earthdata.nasa.gov/eosdis/daacs/gesdisc" target="_blank"
rel="noopener noreferrer">GES
DISC</a></li>
<li>Hydrology related layers and Lightning layers from <a href="https://earthdata.nasa.gov/eosdis/daacs/ghrc"
target="_blank" rel="noopener noreferrer">GHRC DAAC</a></li>
<li>Level 1 MODIS and VIIRS Atmosphere and Land layers from <a
href="https://earthdata.nasa.gov/eosdis/daacs/laads" target="_blank"
rel="noopener noreferrer">LAADS
DAAC</a></li>
<li>Web Enabled Landsat Data (WELD) layers and Digital Elevation Models (DEMs) layers from <a
href="https://earthdata.nasa.gov/eosdis/daacs/lpdaac" target="_blank"
rel="noopener noreferrer">LP
DAAC</a></li>
<li>Snow and Ice layers, Freeze/Thaw and Soil Moisture layers from <a
href="https://earthdata.nasa.gov/eosdis/daacs/nsidc" target="_blank"
rel="noopener noreferrer">NSIDC
DAAC</a></li>
<li>Chlorophyll-a layers from <a href="https://earthdata.nasa.gov/eosdis/daacs/obdaac" target="_blank"
rel="noopener noreferrer">OB.DAAC</a></li>
<li>Daymet layers from <a href="https://earthdata.nasa.gov/eosdis/daacs/ornl" target="_blank"
rel="noopener noreferrer">ORNL DAAC</a></li>
<li>Ocean related layers like Sea Surface Temperature, Sea Surface Height and Sea Surface Salinity from <a
href="https://earthdata.nasa.gov/eosdis/daacs/podaac" target="_blank"
rel="noopener noreferrer">PO.DAAC</a></li>
<li>Socioeconomic layers from <a href="https://earthdata.nasa.gov/eosdis/daacs/sedac" target="_blank"
rel="noopener noreferrer">SEDAC</a></li>
</ul>
<p>There are also many DAAC-specific tools for working directly with the data as listed here.</p>
<p>Please also note that Worldview provides the “best available” layer information to users; this often means
providing a “best” layer that prioritizes the composition of imagery products as follows: 1) Latest Version
Standard Product; 2) Latest Version NRT; 3) Previous Version Standard Product; 4) Previous Version NRT. <a
href="https://nasa-gibs.github.io/gibs-api-docs/access-advanced-topics/#best-available-layers"
target="_blank" rel="noopener noreferrer">Learn more about “Best Available” Layers from GIBS</a>.</p>
<p>Other layers and information are provided by:</p>
<ul>
<li>GeoColor imagery layers from GOES-East and GOES-West are provided by <a
href="https://www.star.nesdis.noaa.gov/goes/" target="_blank"
rel="noopener noreferrer">NOAA/NESDIS/STAR</a> .</li>
<li>Geostationary imagery layers from GOES-East, GOES-West and Himawari-8 (Red Visible, Clean Infrared, and Air
Mass) are provided by the <a href="https://weather.msfc.nasa.gov/sport/" target="_blank"
rel="noopener noreferrer">Short-term Prediction Research and Transition Center (SPoRT)</a> at
NASA
Marshall Space Flight Center.</li>
<li>Precipitation products provided by <a href="https://pps.gsfc.nasa.gov/" target="_blank"
rel="noopener noreferrer">Precipitation Processing System (PPS)</a> and <a
href="https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/lance/about-amsr2-sips"
target="_blank" rel="noopener noreferrer">AMSR SIPS</a>.</li>
<li>Orbit tracks provided by <a href="https://www.space-track.org" target="_blank"
rel="noopener noreferrer">space-track.org</a>.</li>
<li>Polar coastlines and graticules courtesy of <a href="https://www.add.scar.org/" target="_blank"
rel="noopener noreferrer">SCAR Antarctic Digital Database</a>, <a
href="https://www.openstreetmap.org/" target="_blank"
rel="noopener noreferrer">OpenStreetMap</a>, and <a href="https://www.polarview.aq/"
target="_blank" rel="noopener noreferrer">PolarView</a>.</li>
<li>Coastlines, borders, roads, and place labels courtesy of <a href="https://www.openstreetmap.org/"
target="_blank" rel="noopener noreferrer">OpenStreetMap</a> and <a
href="https://www.naturalearthdata.com/" target="_blank" rel="noopener noreferrer">Natural
Earth</a>.
This data is available under the <a href="https://www.openstreetmap.org/copyright" target="_blank"
rel="noopener noreferrer">Open Database License</a>. © OpenStreetMap contributors.</li>
<li>Natural events database is provided by the <a href="https://eonet.gsfc.nasa.gov/" target="_blank"
rel="noopener noreferrer">Earth Observatory Natural Event Tracker (EONET)</a>.</li>
<li>User-selectable color palettes are primarily derived from:<ul>
<li><a href="https://neo.gsfc.nasa.gov/" target="_blank" rel="noopener noreferrer">NEO</a>
</li>
<li><a href="https://arxiv.org/abs/1509.03700" target="_blank" rel="noopener noreferrer">Peter
Kovesi.
Good Colour Maps: How to Design Them</a></li>
</ul>
</li>
<li>Location Search feature uses the <a href="https://developers.arcgis.com/rest/geocode/api-reference/overview-world-geocoding-service.htm" target="_blank" rel="noopener noreferrer">ArcGIS Geocoding service</a>.</li>
<li>The imagery ingest and serving system (GIBS) is built by NASA/JPL and operated by NASA/GSFC.</li>
<li>Worldview is built by the NASA/GSFC <a href="https://earthdata.nasa.gov/esdis" target="_blank"
rel="noopener noreferrer">Earth Science Data and Information System (ESDIS) Project</a>. We are
grateful
for the many third-party projects we depend on which are listed in <a
href="https://github.com/nasa-gibs/worldview/blob/main/package.json" target="_blank"
rel="noopener noreferrer">our package.json file</a> under "dependencies".</li>
</ul>
<hr>
4 changes: 4 additions & 0 deletions config/active/common/brand/about/disclaimer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Disclaimer
The information presented through this interface is provided "as is" and users bear all responsibility and liability for their use of the data. Please read the [full disclaimer](https://earthdata.nasa.gov/earth-observation-data/near-real-time/citation#ed-lance-disclaimer).

---
13 changes: 13 additions & 0 deletions config/active/common/brand/about/imagery.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<h2>Imagery Use</h2>
<p>NASA supports an <a
href="https://earthdata.nasa.gov/collaborate/open-data-services-and-software/data-information-policy"
target="_blank" rel="noopener noreferrer">open data policy</a> and we encourage publication of imagery
from
Worldview; when doing so for image captions, please cite it as "NASA Worldview " and also consider including a
direct link to the imagery in Worldview to allow others to explore the imagery.</p>
<p>For acknowledgment in scientific journals, please use: "We acknowledge the use of imagery from the NASA Worldview
application (<a href="https://worldview.earthdata.nasa.gov" target="_blank"
rel="noopener noreferrer">https://worldview.earthdata.nasa.gov</a>), part of the NASA Earth Observing
System
Data and Information System (EOSDIS)."</p>
<hr>
46 changes: 46 additions & 0 deletions config/active/common/brand/about/keyboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<section class="keyboard-shortcuts-section">
<h2>Keyboard Shortcuts</h2>
<table class="keyboard-shortcuts-table">
<thead>
<tr>
<th>Key</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>↑</code></td>
<td>Change date to a greater interval (e.g., days to months)</td>
</tr>
<tr>
<td><code>↓</code></td>
<td>Change date to a smaller interval (e.g., months to days</td>
</tr>
<tr>
<td><code>←</code></td>
<td>Move backward one time interval</td>
</tr>
<tr>
<td><code>→</code></td>
<td>Move forward one time interval</td>
</tr>
<tr>
<td><code>Shift</code> + <code>T</code></td>
<td>Jump to today/now on the timeline</td>
</tr>
<tr>
<td><code>Shift</code> + <code>D</code></td>
<td>Toggle distraction free mode</td>
</tr>
<tr>
<td><code>Space</code></td>
<td>Animation play/pause</td>
</tr>
<tr>
<td><code>Esc</code></td>
<td>Stop animation/close modal</td>
</tr>
</tbody>
</table>
<hr>
</section>
12 changes: 12 additions & 0 deletions config/active/common/brand/about/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<h2>License</h2>
<p>Copyright © 2013 - 2024 United States Government as represented by the Administrator of the National Aeronautics
and Space Administration. All Rights Reserved. This software is licensed under the <a
href="https://opensource.gsfc.nasa.gov/nosa.php" target="_blank" rel="noopener noreferrer">NASA Open Source
Software Agreement, Version 1.3</a>. Source code is available on the <a
href="https://github.com/nasa-gibs/worldview" target="_blank" rel="noopener noreferrer">NASA GIBS
GitHub</a>.</p>
<hr>
<p>@BUILD_TIMESTAMP@<br> Responsible NASA Official: <a href="mailto:[email protected]">Ryan
Boller</a><br>
<a href="https://www.nasa.gov/privacy/#privacy-policy" target="_blank">Web Privacy Policy</a>
<br><a href="https://www.nasa.gov/accessibility/" target="_blank">Accessibility</a></p>
Loading

0 comments on commit 03b7e0f

Please sign in to comment.