Description Usage Arguments Value Note See Also Examples
This function is based on the similar function in the raster package. It creates a spatial subset of a scidbst array and returns the subset scidbst object. Internally, this function will calculate the spatial indices of the extent object and will use this as boundaries for the spatial dimensions. 'crop' will delegate the subset creation to the 'subarray' method.
1 2 |
x |
scidbst object |
y |
Extent object, or any object from which an Extent object can be extracted |
snap |
Character. One of 'near', 'in', or 'out', for use with alignExtent |
... |
Additional arguments as for writeRaster |
between |
(logical) whether or not to use 'between' or 'subarray' as scidb operation |
scidbst object with refined spatial extent
For proper use the new extent has to contain coordinates that have the same reference system as the scidbst object.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.