Skip to content
Snippets Groups Projects
Commit 7f7ab6d6 authored by Katrina Sharonin's avatar Katrina Sharonin
Browse files

update yml packages

parent 86e5ede0
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,29 @@ channels:
- anaconda
dependencies:
- rio-tiler >=3.1.0
- rio-mucho
- rio-color
- ipykernel
- ipython
- ipywidgets
- s3fs
- rtree
- shapely
- scipy
- scikit-learn
- pandas
- pystac-client
\ No newline at end of file
- geopandas
- pystac-client
- boto3
- botocore
- geotiff
- hdf4
- hdf5
- httpcore
- numpy
- s3fs
- rasterio
- zlib
- sqlite
- requests
- jedi
\ No newline at end of file
......@@ -4,6 +4,10 @@ set -eo pipefail
# base dir set
basedir=$( cd "$(dirname "$0")"; pwd -P )
# force set for interactive testing
# basedir="/projects"
echo "Basedir: $basedir"
echo "Initial working directory: $(pwd -P)"
......@@ -23,7 +27,6 @@ echo $MICROMAMBA_EXE
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
MY_MAMBA_ENV="$basedir/micromamba/envs/rio-tiler-new"
# MY_MAMBA_ENV="$MICROMAMBA_BIN_DIR/envs/rio-tiler-new"
echo $PATH
echo "micromamba version: $($MICROMAMBA_EXE --version)"
......@@ -32,20 +35,9 @@ echo "micromamba version: $($MICROMAMBA_EXE --version)"
"$MICROMAMBA_EXE" create -f "$basedir/rio-tiler-new.yml" -n "rio-tiler-new"
echo "Starting algorithm in subshell"
(
pushd "$basedir"
{ # try
echo "Running in directory: $(pwd -P)"
"$MICROMAMBA_EXE" run -n "rio-tiler-new" python -u -c "import FireRun; FireRun.CreekSamplerun()"
popd
echo "Copying log to special output dir"
cp "$basedir/running.log" ./output
} || { # catch
popd
echo "Copying log to special output dir"
cp "$basedir/running.log" ./output
}
)
echo "Running in directory: $(pwd -P)"
"$MICROMAMBA_EXE" run -n "rio-tiler-new" python -u -c "import FireRun; FireRun.CreekSamplerun()"
echo "Done!"
exit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment