Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mini updates day1 #82

Merged
merged 2 commits into from
Nov 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ site:
- cloud-paradigm.md
- section: "Logistics"
contents:
- logistics/for-participants-helpers.md
- logistics/index.md
- logistics/schedule.md
- logistics/prerequisites.md
- logistics/github-workflows.md
- section: "Tutorials"
contents:
- tutorials/index.md
- tutorials/00_Setup.md ## tutorial 0
- tutorials/01_Data_Discovery_CMR.ipynb ## tutorial 1
- tutorials/02_Data_Discovery_CMR-STAC_API.ipynb ## tutorial 2
Expand All @@ -49,8 +50,7 @@ site:
- tutorials-templates/index.md
- section: "Projects"
contents:
- projects/projects-overview.md
- projects/workflow.md
- projects/index.md
- projects/hackathon-projects.md
- section: "Further Resources"
contents:
Expand Down
2 changes: 1 addition & 1 deletion logistics/_schedule-day1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
| 9:25 am | Cloud Paradigm Overview | Catalina Oaida, PO.DAAC |
| 9:45 am | Tutorial 0: Getting set up and connected | Luis Lopez, NSIDC and Makhan Virdi, ASDC |
| 10:45 am | Q&A and Break| |
| 11:00 am | Tutorial 1: Data discovery with CMR | Andy Barrett, NSIDC |
| 11:00 am | Tutorial 1: Data discovery with CMR | Andy Barrett and Luis Lopez, NSIDC |
| 11:30 am | Tutorial 2: Data discovery with CMR-STAC API | Aaron Friesz, LP DAAC |
| 12:00 pm | Q&A and Break| |
| 12:15 pm | Projects Pitchfest | Catalina Oaida, PO.DAAC |
Expand Down
16 changes: 12 additions & 4 deletions logistics/github-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ git clone https://github.com/YOUR-USERNAME/2021-Cloud-Hackathon

## Daily Setup

If you have any conflicts with the following steps, you will likely need to commit your work, or clear your work if you don't want to keep anything you've done. See below for [Git update, revert, etc](#git-update-revert-etc)


#### GitHub: Get the latest

This has 2 steps:
Expand All @@ -38,10 +41,13 @@ This has 2 steps:

2. From the terminal in Jupyterhub: `git pull`

<https://openscapes.2i2c.cloud/hub/>
Go to <https://openscapes.2i2c.cloud/hub/>

Go to your terminal and make sure you are in the `2021-Cloud-Hackathon` directory (double check with `pwd` and move with `cd`)

Then git pull the repository:

```{.bash}
cd 2021-Cloud-Hackathon
git pull
```

Expand All @@ -57,16 +63,18 @@ There are several ways to delete your local changes if you were playing around a

If you've got changes saved, but not yet staged, committed, or pushed, you'll delete unstaged changes in the working directory with clean:

You'll need to make sure you're in the github repository (use `pwd` to check your present working directory and `cd` to change directory)

```{.bash}
cd YOUR-REPO
git clean -df
git checkout -- .
```

**Burn it all down** - delete the whole repo that you have locally, and then reclone.

You'll need to make sure you're in the github repository (use `pwd` to check your present working directory and `cd` to change directory)

```{.bash}
cd YOUR-REPO
rm -rf YOUR-REPO
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: For participants & helpers
title: Logistics overview
---

## For Hackathon Participants
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions tutorials/00_Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Go to <https://github.com/nasa-openscapes/2021-Cloud-Hackathon> and fork the rep

![](../clinic/img/fork-tutorials.png)

**Note:** if you've already done this in the Pre-Hackathon Clinic, you'll need to make sure you have the latest, following the [daily setup](https://nasa-openscapes.github.io/2021-Cloud-Hackathon/logistics/github-workflows.html#daily-setup) instructions.

## Discussion: Python and Conda environments

[**Why Python?**](https://foundations.projectpythia.org/foundations/why-python.html)
Expand Down
9 changes: 9 additions & 0 deletions tutorials/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Tutorials Overview
---

These tutorials are a combination of narrative, links, code, and outputs. They have been developed for live-coding during the Hackathon, and are available for self-paced learning.

Tutorials are markdown (`.md`) and Jupyter (`.ipynb`) notebooks, and are available on GitHub:

<https://github.com/NASA-Openscapes/2021-Cloud-Hackathon/tree/main/tutorials>.