Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit f1f3351

Browse files
committed
fix: add script
1 parent 91ff78b commit f1f3351

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

data/load-sentinel-2-l2a.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env sh
2+
3+
set -ex
4+
5+
for path in sentinel-2-l2a.parquet/*.parquet; do
6+
ndjson_path=${path%.parquet}.ndjson
7+
rustac translate $path $ndjson_path
8+
pypgstac --dsn=$1 load items $ndjson_path
9+
rm $ndjson_path
10+
done

0 commit comments

Comments
 (0)