-
Notifications
You must be signed in to change notification settings - Fork 7
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
a1f1f1d
commit 38e2e17
Showing
5 changed files
with
76 additions
and
1 deletion.
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
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,39 @@ | ||
#!/bin/bash | ||
|
||
################################################################################################################################################################ | ||
|
||
# @project Open Space Toolkit | ||
# @file binder/postBuild | ||
# @author Lucas Brémond <lucas@loftorbital.com> | ||
# @license Apache License 2.0 | ||
|
||
################################################################################################################################################################ | ||
|
||
# Install Jupyter widgets extension | ||
|
||
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build | ||
|
||
# Install Matplotlib for JupyterLab | ||
|
||
jupyter labextension install jupyter-matplotlib --no-build | ||
|
||
# Install Plotly for JupyterLab | ||
|
||
## FigureWidget support | ||
|
||
jupyter labextension install plotlywidget --no-build | ||
|
||
## JupyterLab renderer support | ||
|
||
jupyter labextension install jupyterlab-plotly --no-build | ||
|
||
## Build extensions (must be done to activate extensions since --no-build is used above) | ||
|
||
jupyter lab build | ||
|
||
# Install Open Space Toolkit default datasets | ||
|
||
mkdir -p /home/jovyan/open-space-toolkit/physics | ||
gsutil -m cp -r gs://open-space-toolkit/physics /home/jovyan/open-space-toolkit/ | ||
|
||
################################################################################################################################################################ |
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,14 @@ | ||
# Apache License 2.0 | ||
|
||
gsutil~=4.47 | ||
|
||
jupyterlab_launcher>=0.5 | ||
|
||
ipywidgets~=7.5 | ||
ipympl~=0.4 | ||
plotly~=5.5 | ||
plotly-geo~=1.0 | ||
|
||
pandas~=2.1 | ||
|
||
open-space-toolkit-astrodynamics~=5.1 |
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,3 @@ | ||
# Apache License 2.0 | ||
|
||
python-3.10 |
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,19 @@ | ||
#!/bin/bash | ||
# Apache License 2.0 | ||
|
||
export LD_LIBRARY_PATH=/srv/conda/lib/ | ||
|
||
export OSTK_PHYSICS_COORDINATE_FRAME_PROVIDERS_IERS_MANAGER_MODE="Automatic" | ||
export OSTK_PHYSICS_COORDINATE_FRAME_PROVIDERS_IERS_MANAGER_LOCAL_REPOSITORY="/home/jovyan/open-space-toolkit/physics/coordinate/frame/providers/iers" | ||
export OSTK_PHYSICS_COORDINATE_FRAME_PROVIDERS_IERS_MANAGER_REMOTE_URL="https://storage.googleapis.com/loft-orbital-open-space-toolkit/physics/coordinate/frame/providers/iers/latest/" | ||
export OSTK_PHYSICS_ENVIRONMENT_EPHEMERIDES_SPICE_ENGINE_MODE="Automatic" | ||
export OSTK_PHYSICS_ENVIRONMENT_EPHEMERIDES_SPICE_MANAGER_LOCAL_REPOSITORY="/home/jovyan/open-space-toolkit/physics/environment/ephemerides/spice" | ||
ENV OSTK_PHYSICS_ENVIRONMENT_EPHEMERIDES_SPICE_MANAGER_REMOTE_URL "https://storage.googleapis.com/loft-orbital-open-space-toolkit/physics/environment/ephemerides/spice/" | ||
export OSTK_PHYSICS_ENVIRONMENT_GRAVITATIONAL_EARTH_MANAGER_ENABLED=true | ||
export OSTK_PHYSICS_ENVIRONMENT_GRAVITATIONAL_EARTH_MANAGER_LOCAL_REPOSITORY="/home/jovyan/open-space-toolkit/physics/environment/gravitational/earth" | ||
export OSTK_PHYSICS_ENVIRONMENT_GRAVITATIONAL_EARTH_MANAGER_REMOTE_URL="https://storage.googleapis.com/loft-orbital-open-space-toolkit/physics/environment/gravitational/earth/" | ||
export OSTK_PHYSICS_ENVIRONMENT_MAGNETIC_EARTH_MANAGER_ENABLED=true | ||
export OSTK_PHYSICS_ENVIRONMENT_MAGNETIC_EARTH_MANAGER_LOCAL_REPOSITORY="/home/jovyan/open-space-toolkit/physics/environment/gravitational/earth" | ||
export OSTK_PHYSICS_ENVIRONMENT_MAGNETIC_EARTH_MANAGER_REMOTE_URL="https://storage.googleapis.com/loft-orbital-open-space-toolkit/physics/environment/magnetic/earth/" | ||
|
||
exec "$@" |