-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 86e62f3
Showing
5 changed files
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Build, and deploy to either GitHub Pages (production) | ||
name: "Build and deploy" | ||
|
||
on: | ||
# "Production" deployments run on branch | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
|
||
# Sets permissions of the GITHUB_TOKEN | ||
permissions: | ||
# For GitHub Pages: | ||
contents: "read" | ||
pages: "write" | ||
id-token: "write" | ||
# For PR preview comments: | ||
pull-requests: "write" | ||
|
||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v3" | ||
|
||
- uses: "quarto-dev/quarto-actions/setup@v2" | ||
|
||
- name: "Render Quarto website" | ||
run: "quarto render ." | ||
|
||
- name: "Upload site artifact" | ||
uses: "actions/upload-pages-artifact@v1" | ||
with: | ||
path: "./_site" | ||
|
||
deploy: | ||
runs-on: "ubuntu-latest" | ||
needs: "build" | ||
environment: | ||
name: "github-pages" | ||
url: "${{ steps.deployment.outputs.page_url }}" | ||
steps: | ||
- name: "Deploy to GitHub Pages" | ||
id: "deployment" | ||
uses: "actions/deploy-pages@v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.quarto/ | ||
/_site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
project: | ||
type: website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
```{mermaid} | ||
flowchart TD | ||
ST_INCOMING[(ST incoming)] | ||
ST_INGEST[ST ingest] | ||
ST_DATA[(ST data)] | ||
ST_DATA_SERVER[ST data server] | ||
ST_WEB[ST web app] | ||
OPS_JENKINS[Ops Jenkins] | ||
SSP_PROC[Snow Surface Properties processing] | ||
SWE_PROC[Snow Water Equivalent processing] | ||
SSP_PROC -->|push| ST_INCOMING | ||
SWE_PROC -->|push| ST_INCOMING | ||
subgraph NSIDC_SYSTEM[NSIDC systems] | ||
ST_INCOMING -->|read| ST_INGEST | ||
ST_INGEST -->|write JSON| ST_DATA | ||
ST_DATA_SERVER -->|read JSON| ST_DATA | ||
ST_WEB -->|HTTP GET| ST_DATA_SERVER | ||
OPS_JENKINS -->|trigger| ST_INGEST | ||
end | ||
style NSIDC_SYSTEM fill:#FFFFFF; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
title: "Snow Today Viewer demo" | ||
subtitle: "2024 edition" | ||
date: "2024-04-10" | ||
format: revealjs | ||
author: | ||
- name: "Matt Fisher" | ||
--- | ||
|
||
## Overview | ||
|
||
1. Review of front- and back-end design | ||
2. New multi-region complexity: a specification to the rescue! | ||
3. What's new in the GUI? | ||
|
||
|
||
## Review of front- and back-end design | ||
|
||
[View diagram](diagram.qmd) | ||
|
||
|
||
## New multi-region complexity {.smaller} | ||
|
||
* Previously, the data provider -> webapp interface was under-specified | ||
* We weren't always on the same page | ||
* We often needed to post-process data from providers. Confusing! | ||
* 🦸♀️ **A specification to the rescue!** | ||
* Sebastien Lenard and I collaborated on GitHub to establish firm agreements about | ||
the interface. | ||
* Decisions and discussions result in specification changes. | ||
* Guided our development and issue resolution. | ||
|
||
[Visit the specifications page in our docs](https://snow-today-webapp-server.readthedocs.io/interfaces/) | ||
|
||
|
||
## What's new in the GUI? | ||
|
||
1. User is greeted by splash-style super-region selector | ||
* Many more regions to come! | ||
1. Recurse through sub-sub-regions indefinitely | ||
1. UI usability tweaks | ||
* Plot and map titles now more consistent and complete | ||
* Legends now motionless and out of the way | ||
* Darker default basemap | ||
|
||
[Visit the GUI](https://nsidc.org/snow-today/snow-viewer) |