Update grid

update_grid(grid, thr)

Arguments

grid

An object of class 'grid'

thr

A value between 0 and 1, used as threshold to define an ocean cell.

Value

A grid object.