Description Usage Arguments Examples
Clips the flow direction file to the basinmask
1 | clip_flowdir(fd, basinmask, savename, out_format = "ascii")
|
fd |
flow direction map |
basinmask |
mask to which to clip the fd file |
savename |
output name to save the clipped flow direction file |
out_format |
format to output the flow direction file. Can be GTiff or ascii. |
1 2 3 4 | flowdir <- raster("/Volumes/HD3/SWOTDA/FDT/v10282019/flow_direction_vic_d4_00.asc")
basinmask <- raster("/Volumes/HD3/SWOTDA/FDT/v10282019/mangla_basinmask_coarse.tif")
savename <- "/Volumes/HD3/SWOTDA/Calibration/Mangla/mangla_flowdir_vic"
fd <- clip_flowdir(flowdir, basinmask, savename, out_format = "ascii")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.