-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f667f1c
commit 002182a
Showing
23 changed files
with
1,254 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ jupyterhub | |
values.yaml | ||
config.yml | ||
config-generator | ||
skaffold.yaml |
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ values.yaml | |
build | ||
_README.md | ||
dist | ||
.env-config-generator |
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
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,5 @@ | ||
## ApplicationHub configuration generator | ||
|
||
This folder contains a notebook and the python modules to support the generation of ApplicationHub configurations. | ||
|
||
Create a Python environment with the dependencies listed in the file `requirements.txt` and open the notebook `config-generator.ipynb` |
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
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,31 @@ | ||
set -x | ||
|
||
cd /workspace | ||
|
||
git clone 'https://github.com/eoap/stac-eoap.git' | ||
|
||
code-server --install-extension ms-python.python | ||
code-server --install-extension redhat.vscode-yaml | ||
code-server --install-extension sbg-rabix.benten-cwl | ||
code-server --install-extension ms-toolsai.jupyter | ||
|
||
ln -s /workspace/.local/share/code-server/extensions /workspace/extensions | ||
|
||
mkdir -p /workspace/User/ | ||
|
||
echo '{"workbench.colorTheme": "Visual Studio Dark"}' > /workspace/User/settings.json | ||
|
||
python -m venv /workspace/.venv | ||
source /workspace/.venv/bin/activate | ||
/workspace/.venv/bin/python -m pip install --no-cache-dir stactools rasterio requests stac-asset click-logging tabulate tqdm pystac-client ipykernel loguru scikit-image rio_stac boto3==1.35.23 | ||
|
||
/workspace/.venv/bin/python -m pip install --index-url https://test.pypi.org/simple cwl-wrapper | ||
|
||
/workspace/.venv/bin/python -m ipykernel install --user --name stac_env --display-name "Python (STAC)" | ||
|
||
export AWS_DEFAULT_REGION="us-east-1" | ||
export AWS_ACCESS_KEY_ID="test" | ||
export AWS_SECRET_ACCESS_KEY="test" | ||
aws s3 mb s3://results --endpoint-url=http://localstack:4566 | ||
|
||
exit 0 |
Oops, something went wrong.