forked from opendatacube/datacube-stac-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (28 loc) · 744 Bytes
/
Makefile
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
# Get elevation example
examples/srtm_66_21.zip:
wget http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/tiff/srtm_66_21.zip \
-O examples/srtm_66_21.zip
examples/srtm/srtm_66_21.tif:
make examples/srtm_66_21.zip
unzip examples/srtm_66_21.zip -d examples/srtm
test-srtm:
python3 stac-simple.py \
--extension=".tif" \
--default-date="2020-06-30T12:00Z" \
--platform=srtm \
--band-name=elevation \
--band-type=int16 \
--band-nodata=-32768.0 \
--create-product \
--no-cog-convert \
examples/srtm
test-linescan:
python3 stac-simple.py \
--extension=".bsq" \
--platform=linescan \
--band-name=thermal \
--band-type=uint8 \
--band-nodata=0 \
--create-product \
--cog-convert \
examples/test_input