Skip to content

Commit

Permalink
Merge pull request #19 from nasa/agu_dev
Browse files Browse the repository at this point in the history
Pre-workshop PR
  • Loading branch information
ebolch authored Dec 10, 2023
2 parents c285c78 + b20baa7 commit a56a2a0
Show file tree
Hide file tree
Showing 11 changed files with 3,825 additions and 539 deletions.
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ website:
href: python/02_Working_with_EMIT_Reflectance_and_ECOSTRESS_LST.ipynb
- text: "3 Canopy Water Content"
href: python/03_EMIT_CWC_from_Reflectance.ipynb
- text: "4 Dangermond Land Cover"
href: python/04_Dangermond_Land_Cover.ipynb
- section: "Contributing"
contents:
- href: CONTRIBUTING.md
Expand Down
475 changes: 475 additions & 0 deletions data/SB_ROI_ag.geojson

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions data/vineyard_polygons_filtered.geojson

Large diffs are not rendered by default.

Binary file added img/vineyard_stock_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
360 changes: 180 additions & 180 deletions python/01_Finding_Concurrent_Data.ipynb

Large diffs are not rendered by default.

1,437 changes: 1,088 additions & 349 deletions python/04_Dangermond_Land_Cover.ipynb

Large diffs are not rendered by default.

2,047 changes: 2,047 additions & 0 deletions python/05_SB_Vineyards.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions setup/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

To follow along during the workshop, or to run through the notebooks contained within the repository using the Openscapes 2i2c Cloud JupyterHub (cloud workspace), the following are required. All software or accounts are free.

1. **GitHub username**
- Create a GitHub account (if you don’t already have one) at <https://github.com>. Follow optional [advice on choosing your username](https://happygitwithr.com/github-acct.html)
1. **Earthdata Login account**
- Create an Earthdata Login account (if you don't already have one) at <https://urs.earthdata.nasa.gov/users/new>
- Remember your username and password; you will need them to download or access data during the workshop and beyond.
2. **GitHub username**
- Create a GitHub account (if you don’t already have one) at <https://github.com/join>. Follow optional [advice on choosing your username](https://happygitwithr.com/github-acct.html)
- Your GitHub username is used to enable you access to a cloud environment during the workshop. To gain access, please request access to the NASA Openscapes JupyterHub using [this form](https://forms.gle/Su2p7BQhwnf9Fufb8). You will receive an email invitation to join the organization on GitHub. You must join to gain access to the workspace.
2. **Earthdata Login account**
- Create an Earthdata Login account (if you don't already have one) at <https://urs.earthdata.nasa.gov>
- Remember your username and password; you will need to download or access cloud data during the workshop and beyond.
3. **Netrc file**
- This file is needed to access NASA Earthdata assets from a scripting environment like Python.
- There are multiple methods to create a .netrc file. For this workshop, `earthaccess` package is used to automatically create a netrc file using your Earthdata login credentials if one does not exist. There are detailed instruction available for creating a .netrc file using other methods [here](https://nasa-openscapes.github.io/2022-Fall-ECOSTRESS-Cloud-Workshop/how-tos/authentication/NASA_Earthdata_Authentication.html).
Expand Down
4 changes: 1 addition & 3 deletions setup/workshop_setup.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ title: Cloud Workspace Setup

> If you plan to use this repository with the **Openscapes 2i2c JupyterHub Cloud Workspace** there are no additonal setup requirements for the Python environment. All packages needed are included unless specified within a notebook, in which case a cell will be dedicated to installing the necessary Python libraries using the appropriate package manager.
After completing the [prerequisistes](prerequisites.md) you will have access to the [Openscapes 2i2c JupyterHub cloud workspace](https://openscapes.2i2c.cloud/). Follow the link and sign in using your GitHub username and password. After signing in you will be prompted for some server options:
After completing the [prerequisistes](prerequisites.md) you will have access to the Openscapes 2i2c JupyterHub cloud workspace. [Click here to start JupyterLab](https://tinyurl.com/yckery74). Use your GitHub username and password to sign in. After signing in you will be prompted for some server options:

<p align="left">
<img src="../img/2i2c_server_selection.png" width=100%/>
</p>

Be sure to select the radio button for **Python** and a size of **14.8 GB RAM and up to 3.75 CPUs**.

To open the JupyterHub and clone the VITALS repository automatically you can use the following link: [https://tinyurl.com/yckery74](https://tinyurl.com/yckery74).

## Troubleshooting

We recommend *Shutting down all kernels* after running each notebook. This will clear the memory used by the previous notebook, and is necessary to run some of the more memory intensive notebooks.
Expand Down
2 changes: 1 addition & 1 deletion theme-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $body-bg: #181818;
$body-color: white;
$link-color: #75AADB;
$sidebar-bg: #303030;
$code-background-alpha: -.8;
$code-background-alpha: -0.8;
$popover-bg: #242424;
$input-bg: #242424;

Expand Down
2 changes: 1 addition & 1 deletion vitals.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "VITALS"
---

> Please view the [web-book](https://github.com/nasa/VITALS) for workshop details. **Resources in the VITALS repository have been developed using the Openscapes 2i2c JupyterHub cloud workspace. These resources will not work as-is from a local python environment without modification.**
> Please view the [AGU Workshop Page](https://nasa.github.io/VITALS/) for workshop details. **Resources in the VITALS repository have been developed using the Openscapes 2i2c JupyterHub cloud workspace. These resources will not work as-is from a local python environment without modification.**
Welcome to the **VSWIR Imaging and Thermal Applications, Learning, and Science** Repository! This repository provides Python Jupyter notebooks to help users work with visibile to short-wave infrared imaging spectroscopy data, thermal infrared data, and other products from the Earth Surface Mineral Dust Source Investigation (EMIT) and ECOsystem Spaceborne Thermal Radiometer Experiment on Space Station (ECOSTRESS) missions. The instruments overlapping fields of view provide an unprecedented opportunity to demonstrate the compounded benefits of working with both datasets.

Expand Down

0 comments on commit a56a2a0

Please sign in to comment.