spatialAverageSingleFile: Spatially average multiple climate records by zone

Description Usage Arguments

View source: R/spatialAverageSingleFile.R

Description

spatialAverageSingleFile is an internal function that returns the spatial average of climate records that fall inside the zones specified in the "spatialIndeces" input object (created by the determineSpatialRelationships function).

Usage

1
spatialAverageSingleFile(mosaicFilePath, spatialIndeces, zoneField)

Arguments

mosaicFilePath

Character string of the file path to the netCDF mosaic file containing the climate records.

spatialIndeces

List of 2 dataframes describing the spatial relationships between netCDFs and SpatialPolygonsDataFrame provided. This is the direct output from the internal determineSpatialRelationships function.

zoneField

Character string of the field name describing the unique ID values that define the zones.


Conte-Ecology/zonalDaymet documentation built on Aug. 11, 2021, 12:52 a.m.