-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'CIROH-UA:main' into dev
- Loading branch information
Showing
10 changed files
with
493 additions
and
22 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
21 changes: 21 additions & 0 deletions
21
...roducts/Community Hydrologic Modeling Framework/nextgeninaboxDocker/workflow.md
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,21 @@ | ||
--- | ||
sidebar_position: 4 | ||
title: "NGIAB Workflow Video" | ||
description: "NextGen In a Box (NGIAB) Workflow Video" | ||
tags: | ||
- NextGen In A Box | ||
- NGIAB | ||
- NGIAB Data Preprocess | ||
- Demonstration | ||
- Video | ||
- Workflow | ||
--- | ||
|
||
# NGIAB and NGIAB Data Preprocess: | ||
## End-to-End Workflow Demonstration | ||
|
||
This video demonstrates the complete end-to-end workflow of running the NextGen In A Box (NGIAB) with the NGIAB Data Preprocess. Watch as the Data Preprocess builds and validates input data, followed by NGIAB executing the NextGen model and handling the output. | ||
|
||
import VideoPlayer from '/src/components/VideoPlayer.js'; | ||
|
||
<VideoPlayer url="https://youtu.be/Z1iov-o23ug" /> |
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
44 changes: 44 additions & 0 deletions
44
docs/services/cloudservices/ciroh jupyterhub/documentation/conda/index.md
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,44 @@ | ||
--- | ||
sidebar_position: 5 | ||
title: "Persistent Conda Environment" | ||
description: "2i2c JupyterHub is a cloud-based JupyterHub environment specifically designed for hydrological researchers. It is powered by 2i2c JupyterHub, a cloud-based JupyterHub environment specifically on Google Cloud" | ||
tags: | ||
- 2i2c | ||
- JupyterHub | ||
- conda | ||
- persistent | ||
- tutorial | ||
--- | ||
|
||
# Persistent Conda Environments on CIROH 2i2c Server | ||
To ensure your Conda environments persist across server restarts on the CIROH 2i2c server, create them in your home directory. Follow these steps: | ||
|
||
### 1. Create a directory for Conda environments: | ||
You can set up a directory within your home folder to store all your Conda environments. This prevents them from being removed when the server is restarted. For example: | ||
|
||
```bash | ||
mkdir -p ~/conda_envs | ||
``` | ||
### 2. Create a new environment in that directory: | ||
Use the *--prefix* option with conda create to specify the location where you want to create your environment. For example, to create an environment called *my_env* in *~/conda_envs*: | ||
|
||
```bash | ||
conda create --prefix ~/conda_envs/my_env python=3.9 | ||
``` | ||
### 3. Activate the environment: | ||
You can activate the environment as usual, using the path to where you created it: | ||
|
||
```bash | ||
conda activate ~/conda_envs/my_env | ||
``` | ||
|
||
### 4. Autotomatically activate the environment on restart: | ||
If you want this environment to be activated every time you log in or the server restarts, you can add the following to your *.bashrc* or *.bash_profile* file: | ||
|
||
```bash | ||
conda activate ~/conda_envs/my_env | ||
``` | ||
|
||
By creating your environments in your home folder (e.g., *~/conda_envs/*), they will persist across server restarts, ensuring that you don't have to recreate them every time. | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,8 +1,18 @@ | ||
import React from 'react'; | ||
import ReactPlayer from 'react-player'; | ||
|
||
export default function VideoPlayer({ url }) { | ||
const ResponsivePlayer = ({ url }) => { | ||
return ( | ||
<ReactPlayer url={url} width="100%" height="400px" controls /> | ||
<div className="player-wrapper"> | ||
<ReactPlayer | ||
className="react-player" | ||
url={url} | ||
width="100%" | ||
height="100%" | ||
controls | ||
/> | ||
</div> | ||
); | ||
} | ||
}; | ||
|
||
export default ResponsivePlayer; |
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
Oops, something went wrong.