get_sep_dist_calpost_grd: Calculate separation distances

View source: R/get_sep_dist_calpost_grd.R

get_sep_dist_calpost_grdR Documentation

Calculate separation distances

Description

Get a a simple feature data frame of separation distances from the source (origin) point to some predefined concentration contour lines

Usage

get_sep_dist_calpost_grd(
  file_grd,
  epsg = 32632,
  x_source,
  y_source,
  levels = NULL,
  degree_step = 5,
  trans_factor = 1
)

Arguments

file_grd

string path to the CALPOST grid file

epsg

number epsg to set crs in the raster object

x_source

x coordinates of the source (origin) point

y_source

y coordinates of the source (origin) point

levels

vector of defined levels for the contour lines

degree_step

angle degree to scan directions where calculate distances from source (origin) point

trans_factor

number, transformation factor to be applied to calculated values, leave it as default = 1

Value

a simple feature data frame


maxbre/rcalpuff documentation built on June 19, 2022, 9:41 a.m.