| land_geometry | R Documentation |
Returns geometric data to compute wind fields.
land_geometry(dem, inland_proximity, returnpoints = FALSE)
dem |
SpatRaster object, digital elevation model |
inland_proximity |
SpatRaster object, distance from the coast inland |
returnpoints |
Return SpatVector of points or SpatRaster |
SpatVector with attributes or SpatRaster
| Abbreviated attribute | description | units |
| dem | Digital Elevation Model | m |
| lat | Latitude | degs |
| lon | Longitude | degs |
| slope | slope of terrain | radians |
| aspect | DEM aspect | radians |
| inlandD | distance inland from coast | m |
| f | Coriolis parameter | hz |
| dzdx | land gradient in x direction | radians |
| dzdy | land gradient in y direction | radians |
require(terra)
dem <- rast(system.file("extdata/DEMs/YASI_dem.tif", package="TCHazaRds"))
land <- dem; land[land > 0] = 0
inland_proximity = distance(land,target = 0)
GEO_land = land_geometry(dem,inland_proximity)
plot(GEO_land)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.