From 5de8115fced907b9eec5da874d02a011b088d330 Mon Sep 17 00:00:00 2001 From: Alex Rojas <a.rojas8907@gmail.com> Date: Wed, 13 Sep 2023 04:42:24 +0000 Subject: [PATCH] updated build-env.sh and run.sh --- build-env.sh | 5 ++--- notebooks/run-gedi-biomass.ipynb | 6 +++--- run.sh | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/build-env.sh b/build-env.sh index b41f2ff..cbb877f 100644 --- a/build-env.sh +++ b/build-env.sh @@ -2,12 +2,11 @@ # source activate base basedir=$( cd "$(dirname "$0")" ; pwd -P) -conda env list echo installing environment... -conda env create -f ${basedir}/environment.yml +mamba env create -f ${basedir}/environment.yml # Install the maap.py environment -conda activate osgeo-env +source activate osgeo-env git clone --single-branch --branch v3.0.1 https://github.com/MAAP-Project/maap-py.git ${basedir} cd ${basedir}/maap-py pip install -e . diff --git a/notebooks/run-gedi-biomass.ipynb b/notebooks/run-gedi-biomass.ipynb index 662b2db..750f834 100644 --- a/notebooks/run-gedi-biomass.ipynb +++ b/notebooks/run-gedi-biomass.ipynb @@ -197,9 +197,9 @@ ], "metadata": { "kernelspec": { - "display_name": "osgeo-env-v1", + "display_name": "Python 3 (ipykernel)", "language": "python", - "name": "osgeo-env-v1" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -211,7 +211,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.4" + "version": "3.10.8" } }, "nbformat": 4, diff --git a/run.sh b/run.sh index 265d70b..623a043 100644 --- a/run.sh +++ b/run.sh @@ -4,7 +4,7 @@ basedir=$( cd "$(dirname "$0")" ; pwd -P) # Activate environment that was created in the builed-env.sh file -source activate osgeo-env-v1 +source activate osgeo-env # Create output dir OUTPUTDIR="${PWD}/output" -- GitLab