salem.read_shapefile_to_grid

salem.read_shapefile_to_grid(fpath, grid)[source]

Same as read_shapefile but directly transformed to a grid.

The whole thing is cached so that the second call will will be much faster.

Parameters:
fpath: path to the file
grid: the arrival grid