Skip to content

Commit

Permalink
update docker link and slides
Browse files Browse the repository at this point in the history
  • Loading branch information
levuvietphong committed Nov 12, 2024
1 parent e63c32c commit 33f3150
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 29 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ The tutorial will be run in a `docker` container. The container includes the `te
1. **Pull the `docker` image:**
Make sure to pull the Docker container for this tutorial:
```bash
docker pull --platform linux/amd64 metsi/ideas-watersheds-all-hands-2024:v0
docker pull --platform linux/amd64 metsi/ideas-watersheds-all-hands-2024:latest
```

2. **Run the container:**
Start the container and open the Jupyter Notebook interface:
```bash
docker run --rm -it -p 8888:8888 metsi/ideas-watersheds-all-hands-2024:v0
docker run -p 8888:8888 metsi/ideas-watersheds-all-hands-2024:latest
```

3. **Access Jupyter notebooks:**
Expand Down
31 changes: 27 additions & 4 deletions docs/slides.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ output:
- Pull the `docker` `r fontawesome::fa("docker")` image

```{bash, eval=FALSE}
docker pull --platform linux/amd64 metsi/ideas-watersheds-all-hands-2024:v0
docker pull --platform linux/amd64 metsi/ideas-watersheds-all-hands-2024:latest
```

<br>

- Run the `docker` container to start the `JupyterLab` server

```{bash, eval=FALSE}
docker run -p 8888:8888 metsi/ideas-watersheds-all-hands-2024:v0
docker run -p 8888:8888 metsi/ideas-watersheds-all-hands-2024:latest
```

---
Expand All @@ -87,6 +87,16 @@ docker run -p 8888:8888 metsi/ideas-watersheds-all-hands-2024:v0

- .content-box-purple[`jupyter`] to edit/run notebooks inside the container with VSCode.

---
# Outlines
<br>

.large[
- Integrated hydrology model (2D & 3D)
- Transport model over the entire domain (2D & 3D)
- Transport model over the river network (1D)
]

---
class: phong-dark
# .brand-orange[Integrated hydrology model]
Expand Down Expand Up @@ -186,11 +196,14 @@ $$ \frac{\partial \Theta_g}{\partial t} + \nabla \cdot \vec{\mathbf{q}_g} = Q_g$
<iframe src="imgs/dependency.html" width="700" height="600" frameborder="0"></iframe>
]

.font70[
- **PK:** [`Process kernels`](https://amanzi.github.io/ats/stable/input_spec/process_kernels/index.html)
- **MPC:** [`Multi-process-couplers`](https://amanzi.github.io/ats/stable/input_spec/process_kernels/mpcs/index.html)
]

--

.pull-right-12[
<br> <br>

.font70[
```xml
<ParameterList name="PK tree">
Expand All @@ -204,6 +217,16 @@ $$ \frac{\partial \Theta_g}{\partial t} + \nabla \cdot \vec{\mathbf{q}_g} = Q_g$
</ParameterList>
</ParameterList>
</ParameterList>

OTHER CODES...

<ParameterList name="PKs">
<ParameterList name="flow coupler">
<Parameter name="PK type" type="string" value="coupled water" />
<Parameter name="PKs order" type="Array(string)" value="{flow, overland flow}" />
</ParameterList>
OTHER CODES...
</ParameterList>
```
]]

Expand Down
31 changes: 27 additions & 4 deletions docs/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@


```bash
docker pull --platform linux/amd64 metsi/ideas-watersheds-all-hands-2024:v0
docker pull --platform linux/amd64 metsi/ideas-watersheds-all-hands-2024:latest
```

&lt;br&gt;
Expand All @@ -95,7 +95,7 @@


```bash
docker run -p 8888:8888 metsi/ideas-watersheds-all-hands-2024:v0
docker run -p 8888:8888 metsi/ideas-watersheds-all-hands-2024:latest
```

---
Expand All @@ -111,6 +111,16 @@

- .content-box-purple[`jupyter`] to edit/run notebooks inside the container with VSCode.

---
# Outlines
&lt;br&gt;

.large[
- Integrated hydrology model (2D &amp; 3D)
- Transport model over the entire domain (2D &amp; 3D)
- Transport model over the river network (1D)
]

---
class: phong-dark
# .brand-orange[Integrated hydrology model]
Expand Down Expand Up @@ -210,11 +220,14 @@
&lt;iframe src="imgs/dependency.html" width="700" height="600" frameborder="0"&gt;&lt;/iframe&gt;
]

.font70[
- **PK:** [`Process kernels`](https://amanzi.github.io/ats/stable/input_spec/process_kernels/index.html)
- **MPC:** [`Multi-process-couplers`](https://amanzi.github.io/ats/stable/input_spec/process_kernels/mpcs/index.html)
]

--

.pull-right-12[
&lt;br&gt; &lt;br&gt;

.font70[
```xml
&lt;ParameterList name="PK tree"&gt;
Expand All @@ -228,6 +241,16 @@
&lt;/ParameterList&gt;
&lt;/ParameterList&gt;
&lt;/ParameterList&gt;

OTHER CODES...

&lt;ParameterList name="PKs"&gt;
&lt;ParameterList name="flow coupler"&gt;
&lt;Parameter name="PK type" type="string" value="coupled water" /&gt;
&lt;Parameter name="PKs order" type="Array(string)" value="{flow, overland flow}" /&gt;
&lt;/ParameterList&gt;
OTHER CODES...
&lt;/ParameterList&gt;
```
]]

Expand Down
19 changes: 0 additions & 19 deletions notebooks/domain.html

This file was deleted.

0 comments on commit 33f3150

Please sign in to comment.