forked from russelhowe/espa-dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example-run-espa-cmd.sh
executable file
·32 lines (32 loc) · 1.06 KB
/
example-run-espa-cmd.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
docker run --rm --tty \
--cap-add LINUX_IMMUTABLE \
--hostname $USER-cli \
--name $USER-cli \
--volume <HOST>/work-dir:/home/espa/work-dir:rw \
--volume <HOST>/output-data:/home/espa/output-data:rw \
--volume <HOST>/auxiliaries:/usr/local/auxiliaries:ro \
--volume <HOST>/input-data:/home/espa/input-data:ro \
--volume $HOME/.usgs:/home/espa/.usgs:ro \
--workdir /home/espa \
espa.centos.science:0.2.0 `id -g` `id -u` \
cli.py \
--order-id frog \
--input-product-id LE70390372003148EDC00 \
--product-type landsat \
--output-format envi \
--input-url file:///home/espa/input-data/LE7/LE70390372003148EDC00.tar.gz \
--include-top-of-atmosphere \
--include-brightness-temperature \
--include-sr-ndvi \
--include-cfmask \
--include-surface-water-extent \
--include-statistics \
--pixel-size 60 \
--extent-minx 557300.0 \
--extent-maxx 642200.0 \
--extent-miny 3596000.0 \
--extent-maxy 3708200.0 \
--resample-method cubic \
--target-projection utm \
--utm-north-south north \
--utm-zone 10