Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment process for the new storm raster tiles #277

Open
eatyourgreens opened this issue Mar 13, 2025 · 0 comments
Open

Deployment process for the new storm raster tiles #277

eatyourgreens opened this issue Mar 13, 2025 · 0 comments

Comments

@eatyourgreens
Copy link
Contributor

eatyourgreens commented Mar 13, 2025

  1. From the etl directory, run python/scripts/storm_layers_to_csv.py, to generate storm_layers.csv (you can skip this step if the file names and parameters haven't changed.)
  2. Copy the new TIFFs into etl/raw_data/processed_data/STORM_RP_rasters/.
  3. Run snakemake (you might need to comment out lines in the all workflow that load hazards and hotspots) to generate tiles in tileserver/raster/data.
  4. Run the terracotta tile ingester from the root directory of the repo:
docker compose -f docker-compose.dev.yml up raster-tile-ingester
  1. Copy the storm tiles to AWS:
scp -r ./tileserver/raster/data/storm* [email protected]:/var/www/tileserver/raster/data/
  1. Copy the terracotta database to AWS:
scp -r ./tileserver/raster/data/terracotta.sqlite [email protected]:/var/www/tileserver/raster/data/
  1. SSH to jamaica.infrastructureresilience.org, pull the latest frontend Docker image and restart the frontend service:
  cd /var/www
  docker pull ghcr.io/nismod/jsrat-frontend:canary
  docker compose -f docker-compose.stage.yml up -d frontend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant