Skip to content

Commit

Permalink
Replace s3://snowex-data from tutorials with zenodo dataset (#160)
Browse files Browse the repository at this point in the history
* core-datasets updates

* geospatial mods

* mods to geospatial, lidar, nsidc

* remove s3 from thermal tutorial

* ML and microstructure updates

* sar updates

* camera tutorial update

* final zenodo paths

* fix zenodo download cells

* bump cache key

* fix sentinel1 data download cell

* remove jupyterhub instruction from readme
  • Loading branch information
scottyhq authored Oct 21, 2021
1 parent 5513cf6 commit 59d4438
Show file tree
Hide file tree
Showing 20 changed files with 902 additions and 1,034 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# NOTE: change key to "jupyterbook-N+1" to force rebuilding cache
with:
path: ./book/_build
key: jupyterbook-4
key: jupyterbook-5

- name: Pull Docker Image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# NOTE: change key "jupyterbook-N+1" to force rebuilding cache
with:
path: ./book/_build
key: jupyterbook-4
key: jupyterbook-5

# NOTE: download build-artifact (_build) folder to inspect cache locally
# - name: List Jupyter-Cache contents
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/netlifypreview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# NOTE: change key to "jupyterbook-N+1" to force rebuilding cache
with:
path: ./book/_build
key: jupyterbook-4
key: jupyterbook-5

- name: Pull SnowEX Docker Image
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# NOTE: change key to "jupyterbook-N+1" to force rebuilding cache
with:
path: ./book/_build
key: jupyterbook-4
key: jupyterbook-5

- name: Pull Docker Image
run: |
Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@

https://snowex-hackweek.github.io/website

## Run tutorials on JupyterHub

** NOTE: this is the preferred way to run tutorials, because you will have access to some external resources like s3://snowex-data **

1. Log onto http://snowex.hackweek.io (you need to be a member of https://github.com/snowex-hackweek)
2. Clone this repository `git clone https://github.com/snowex-hackweek/website`
3. Navigate to tutorial notebook you want to run: `cd website/book/tutorials/raster`

## Run tutorials on BinderHub
[![badge](https://img.shields.io/static/v1.svg?logo=Jupyter&label=PangeoBinderAWS&message=us-west-2&color=orange)](https://aws-uswest2-binder.pangeo.io/v2/gh/snowex-hackweek/website/main?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Fsnowex-hackweek%252Fwebsite%26urlpath%3Dlab%252Ftree%252Fwebsite/book/tutorials%252F%26branch%3Dmain)

Expand All @@ -27,6 +19,7 @@ docker compose up
## GitHub Deployment (changing book contents)
The repository comes with a preconfigured GitHub Actions script so that any commits to the `main` branch are deployed the the GitHub Pages hosted website.


## Local Development (adding tutorials)
To add a tutorial as a jupyter notebook under [./book/tutorials](./book/tutorials), you'll want to use a consistent environment. The best approach for this is to use a [Docker](https://docs.docker.com/get-docker/) Image (this ensures tutorials run in the same environment whether it is your laptop, the event JupyterHub, or some other server):
```
Expand Down
Loading

0 comments on commit 59d4438

Please sign in to comment.