Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
disable making map function for SSD
Browse files Browse the repository at this point in the history
  • Loading branch information
p-phung committed Aug 19, 2024
1 parent 66bcb17 commit 2fe7bd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pipeline/lib/flood_model/dynamicDataDb.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def upload(self):
self.uploadTriggerPerStation()
self.uploadCalculatedAffected()
self.uploadRasterFile()
if self.countryCodeISO3=='SSD':
self.uploadImage()
# if self.countryCodeISO3=='SSD':
# self.uploadImage()

def sendNotification(self):
leadTimes = SETTINGS[self.countryCodeISO3]['lead_times']
Expand Down
6 changes: 3 additions & 3 deletions pipeline/lib/flood_model/runPipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def main():
logger.info('--------Finished flood extent')
fc.exposure.callAllExposure()
logger.info('--------Finished exposure')
if COUNTRY_CODE =='SSD':
fc.exposure.makeMaps()
logger.info('--------Finished make maps')
# if COUNTRY_CODE =='SSD':
# fc.exposure.makeMaps()
# logger.info('--------Finished make maps')
fc.db.upload()
logger.info('--------Finished upload')
fc.db.sendNotification()
Expand Down

0 comments on commit 2fe7bd2

Please sign in to comment.