Skip to content

Commit

Permalink
Merge pull request #111 from dfriend21/master
Browse files Browse the repository at this point in the history
Fix WCS download failure for large rasters
  • Loading branch information
eblondel committed Nov 4, 2023
2 parents 0b3a193 + 8006bf7 commit 6d72b17
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions R/WCSCoverageSummary.R
Original file line number Diff line number Diff line change
Expand Up @@ -622,11 +622,6 @@ WCSCoverageSummary <- R6Class("WCSCoverageSummary",
if(!is.null(bbox)) title <- paste(title, "| BBOX:", paste(as(bbox,"character"), collapse=","))
if(!is.null(time)) title <- paste(title," | TIME:", time)
attr(coverage_data,"title") <- title
cov_values <- terra::values(coverage_data)
if(!all(is.na(cov_values))){
attr(coverage_data, "min") <- min(cov_values, na.rm = TRUE)
attr(coverage_data, "max") <- max(cov_values, na.rm = TRUE)
}

return(coverage_data)
},
Expand Down

0 comments on commit 6d72b17

Please sign in to comment.