diff --git a/build-env.sh b/build-env.sh index 8d5419283a4257c8fd20ef2d4a49bcfd5a2b0c4b..588c8907b9f6f8e6f02327ae9ea9af5253e11964 100644 --- a/build-env.sh +++ b/build-env.sh @@ -1,5 +1,5 @@ #!/bin/bash -source activate base +source activate python basedir=$( cd "$(dirname "$0")" ; pwd -P ) conda install ${basedir}/environment.yml diff --git a/environment.yml b/environment.yml index c913d93912ee532e0f2c8209f56060f15ee50666..9765b399ffa25245b05efeb478d850e23946851d 100644 --- a/environment.yml +++ b/environment.yml @@ -1,6 +1,6 @@ -name: base +name: python channels: - conda-forge - - defaults dependencies: - pandas + - gdal diff --git a/run.sh b/run.sh index 9fd74371e2f52ae55deaceec643b1d4b14c2ad0e..1fdeb2e7477c3a266597e632e51bfadc0e4f1e4c 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,7 @@ #!/bin/bash +source activate python + INPUT_FILENAME=$(ls -d input/*) OUTPUT_FILENAME=$1 REDUCTION_SIZE=$2