Skip to content

Commit

Permalink
Increase fire threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
garamond authored Oct 2, 2024
1 parent f56073e commit e660f45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/000-autoupdater.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ cat("\n.... Running tests....\n")
old <- read_csv('output-data/ukraine_fires.csv')
new_fires <- sum(fires$war_fire) - sum(old$war_fire)
cat(paste0('\n Recorded ', new_fires, ' new war fires in this update.\n'))
if(new_fires > 2000){
stop('Over 2000 new war fires detected in this update - please inspect manually.')
if(new_fires > 2500){
stop('Over 2500 new war fires detected in this update - please inspect manually.')
}

# Test: fighting in new area of the country?
Expand Down

0 comments on commit e660f45

Please sign in to comment.