Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gts2
gts2_client
Commits
70bce61a
Commit
70bce61a
authored
Feb 07, 2018
by
Hannes Diedrich
Browse files
Test_install.
parent
92468bd6
Pipeline
#2549
passed with stages
in 18 minutes and 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gts2_client/gts2_client.py
View file @
70bce61a
...
...
@@ -804,7 +804,6 @@ def client(outpath="", out_prefix="", out_mode="json", geo_ll=(), geo_ur=(), sen
merge_tiles
(
tif_list
,
out_mode
=
"stack"
,
target_tile
=
merge_tile
)
mk_rgb
(
tmp_dir
,
tmp_dir
,
rgb_comb
=
band_setting
,
extension
=
rgb_extension
,
logger
=
logger
)
logger
.
info
(
"fertig mit mk_rgb"
)
rgb_files
=
glob
(
os
.
path
.
join
(
tmp_dir
,
"*RGB*.{ext}"
.
format
(
ext
=
rgb_extension
)))
_
=
[
shutil
.
move
(
fi
,
os
.
path
.
join
(
outpath
,
os
.
path
.
basename
(
fi
)))
for
fi
in
rgb_files
]
...
...
install_py_gts2_client.sh
View file @
70bce61a
...
...
@@ -6,16 +6,17 @@ read -p "Please enter path for python installation: " inst_path
cd
${
inst_path
}
echo
"#### Downloading Miniconda.... ####"
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod
755 Miniconda3-latest-Linux-x86_64.sh
echo
"#### Installing Miniconda.... ####"
./Miniconda3-latest-Linux-x86_64.sh
-p
${
inst_path
}
/miniconda3
-b
rm
-f
Miniconda3-latest-Linux-x86_64.sh
#
echo "#### Downloading Miniconda.... ####"
#
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
#
chmod 755 Miniconda3-latest-Linux-x86_64.sh
#
echo "#### Installing Miniconda.... ####"
#
./Miniconda3-latest-Linux-x86_64.sh -p ${inst_path}/miniconda3 -b
#
rm -f Miniconda3-latest-Linux-x86_64.sh
echo
"#### Installing additional packages.... ####"
source
${
inst_path
}
/miniconda3/bin/activate
conda update
-y
conda
echo
$(
which python
)
conda
env
update
-f
${
current_path
}
/gts2_client_conda_install.yml
echo
"#### Installing gts2_client.... ####"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment