Skip to content

Commit

Permalink
Merge branch 'process_cells' into fetch_precip
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan S Read committed Oct 30, 2017
2 parents 7b5f78d + b074f4e commit c6ab21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/process/grid_from_mask.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ process.grid_from_mask <- function(viz){
cell_grid_clipped <- sf::st_intersection(cell_grid, clip_mask)

# add an id to be used for adding data later:
cell_grid_clipped$id <- paste('cell_', 1:length(cell_grid_clipped), sep= '')
cell_grid_clipped <- st_sf(cell_grid_clipped, id = paste('cell_', 1:length(cell_grid_clipped), sep= ''))
saveRDS(cell_grid_clipped, file = viz[['location']])
}

0 comments on commit c6ab21a

Please sign in to comment.