Create landsat/README.md
Browse files- landsat/README.md +8 -0
landsat/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
```bash
|
| 3 |
+
for tif in *.tif; do
|
| 4 |
+
filename=$(basename "$tif" .tif)
|
| 5 |
+
gdal_translate "$tif" "cog/${filename}.tif" \
|
| 6 |
+
-of COG -co COMPRESS=DEFLATE
|
| 7 |
+
done
|
| 8 |
+
```
|