sea and coastline processing

This commit is contained in:
randogoth 2025-03-03 22:04:29 +00:00
parent 20859f3c7d
commit 17fd60677a
3 changed files with 176 additions and 2 deletions

View file

@ -7,6 +7,12 @@ download region output:
convert input output export_flags='--parquet':
python3 slice.py --input {{input}} --output {{output}} {{export_flags}}
water input output export_flags='--parquet':
python3 water.py -i {{input}} -o {{output}} -c coastline.parquet {{export_flags}}
shp input output:
ogr2ogr -of 'Parquet' {{output}} {{input}}
plot file:
#!/usr/bin/env bash
stem=$(basename {{file}} .parquet)
@ -28,4 +34,4 @@ lookup lat lon:
python3 lookup.py $lat {{lon}}
serve:
uvicorn api:app --host 0.0.0.0 --port 8000 --reload
uvicorn api:app --host 0.0.0.0 --port 8000 --reload