Skip to content

Commit

Permalink
Merge pull request #167 from wri/hotfix/bigger_viirs
Browse files Browse the repository at this point in the history
Increase size of cluster for VIIRS analysis
  • Loading branch information
jterry64 authored Dec 12, 2024
2 parents 262a86a + c1bd26d commit e825ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN pip install . -t python
# to change the hash of the file and get TF to realize it needs to be
# redeployed. Ticket for a better solution:
# https://gfw.atlassian.net/browse/GTC-1250
# change 16
# change 17

RUN yum install -y zip geos-devel

Expand Down
2 changes: 1 addition & 1 deletion src/datapump/jobs/geotrellis.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def _calculate_worker_count(self, limiting_src) -> int:
# if using a wildcard for a folder, just use hardcoded value
if "*" in limiting_src:
if GLOBALS.env == "production":
if self.table.analysis == Analysis.tcl:
if self.table.analysis == Analysis.tcl or self.table.analysis == Analysis.viirs:
return 200
else:
return 100
Expand Down

0 comments on commit e825ac9

Please sign in to comment.