merge_pos_file: Merges perviously downloaded remote sensing data with it's...

Description Usage Arguments Value Examples

View source: R/merge_pos_file.R

Description

Merges perviously downloaded remote sensing data with it's original *.pos position tracking data currently this function focusses on vegetation indices as derived from MODIS reflectance (MCD43A4) data and matching land cover type data (MCD12Q1). More so, altitude data is rescaled to relative flight hight if a Google Maps API key is provided.

Usage

1
2
3
4
merge_pos_file(position_file = NULL, tag = NULL, window_size = 30,
  stat = "mean",
  remote_sensing_path = "~/google_earth_engine_subsets/data",
  api_key = "~/google_elevation_api.txt", out_path = NULL)

Arguments

position_file

a *.pos data logger / tracker file location

tag

a tag number (default = unknown)

window_size

number of trailing or leading days over which to integrate remote sensing (vegetation index) data

stat

statistic to apply when aggregating traling and leading remote sensing data (default = mean)

remote_sensing_path

location of the remote sensing files

api_key

location of the Google Maps API key file (default = NULL)

out_path

path where to save the merged data structure as a serialized R file (default = NULL)

Value

returns merged data structure for the given position file

Examples

1
2
3
4
## Not run: 
merged_pos_data = merge_pos_file(position_file = "test.pos")

## End(Not run)

khufkens/swiftr documentation built on Feb. 24, 2020, 12:56 a.m.