This function cuts a raster dataset to a specific basin shapefiles and project the raster according to the specified projection.
Arguments
- 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")
See also
Other Helper functions:
%>%()
,
aggregate_to_monthly()
,
decadeMaker()
,
generateSeqDates()
,
hyear()
,
monDateSeq()
,
posixct2rsminerveChar()