prep_poly_posto: Prepares the station's polygon to determine the spatial...

View source: R/station-polygon.R View source: R/station-polygon (Cópia em conflito de statverse 2020-12-05).R

prep_poly_postoR Documentation

Prepares the station's polygon to determine the spatial average of a meterological variable.

Description

Sets appropriate CRS to station's polygon and apply buffer.

Usage

prep_poly_posto(
  poly_station,
  dis.buf = 0.25,
  ref_crs = "+proj=longlat +datum=WGS84"
)

Arguments

poly_station

a polygon of class sf

dis.buf

numeric, default: 0.25 (degrees). When dis.buf = 0, the only action over the poly_station is the conversion of coordinates to ref_crs.

ref_crs

character, the base coordinate reference system. Default: '+proj=longlat +datum=WGS84'.

Value

object of class sf

See Also

Other station polygon functions: extract_poly()


lhmet-ped/HEgis documentation built on July 23, 2022, 2:59 a.m.