create_polygon_grid: Create a simple feature object that provides each pixel of...

Description Usage Arguments Value

View source: R/create_polygon_grid.R

Description

Create a simple feature object that provides each pixel of the var data as a polygon, that is used for intersecting with the subunits of the provided shape file.

Usage

1
create_polygon_grid(var_data, lat_lon, shape_file, crs_ncdf)

Arguments

var_data

Tibble holding the data of the variable extracted from the ncdf file

lat_lon

List that holds the lat/lon matrices

shape_file

The shape file used for later aggregation.

crs_ncdf

The reference system of the ncdf file provided as character string.

Value

Returns a tibble holding the pixels of the data set as simple feature polygons.


chrisschuerz/aRastoCAT documentation built on May 16, 2020, 1:33 a.m.