View source: R/cutRaster2Basin.R
cutRaster2Basin | R Documentation |
This function cuts a raster dataset to a specific basin shapefiles and project the raster according to the specified projection.
cutRaster2Basin(rasterIn, aoiRegion_latlon, aoiBasin_UTM, proj_UTM)
rasterIn |
Raster file (e.g. DEM) |
aoiRegion_latlon |
Extent object of the larger region (i.e. for Central Asia, a good choice is extent(c(65,80.05,35.95,44.05))). |
aoiBasin_UTM |
Extent object of the basin shapefile |
proj_UTM |
CRS of UTM projection (i.e. for 42N in Central Asia, use "+init=epsg:32642") |
Projected raster cut to basin
Other Helper functions:
%>%()
,
aggregate_to_monthly()
,
decadeMaker()
,
generateSeqDates()
,
hyear()
,
monDateSeq()
,
posixct2rsminerveChar()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.