Skip to content

Commit

Permalink
Use latest version of dea-tools with new tide paths
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Nov 3, 2022
1 parent b8040a7 commit 32b56e9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 30 deletions.
4 changes: 1 addition & 3 deletions coastlines/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,7 @@ def generate_rasters(
# Add this new data as a new variable in our satellite dataset to allow
# each satellite pixel to be analysed and filtered/masked based on the
# tide height at the exact moment of satellite image acquisition.
ds["tide_m"], tides_lowres = pixel_tides(
ds, resample=True, directory="/var/shared/tide_models"
)
ds["tide_m"], tides_lowres = pixel_tides(ds, resample=True)
log.info(f"Study area {study_area}: Finished modelling tide heights")

# Based on the entire time-series of tide heights, compute the max
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ services:
volumes:
- ./artifacts:/mnt/artifacts
- ./docker/coastline/wait-for-db:/usr/local/bin/wait-for-db
- ./tide_models/:/var/shared/tide_models
- ./tide_models/:/var/share/tide_models
restart: always
command: tail -f /dev/null
Loading

0 comments on commit 32b56e9

Please sign in to comment.