Read seasonality phenological metrics in TIMESAT .tpa binary format file to dataframe.

read_tpa(file, t = NULL)

Arguments

file

A string giving the location of a .tpa file output by TIMESAT

Value

A data.frame containing 14 columns: "row", "col", "season", "time_start", "time_end", "len", "val_base", "time_peak", "val_peak", "ampl", "der_l", "der_r", "integ_large", "integ_small", "val_start", "val_end".

Examples

file <- system.file("example/ascii/TSM_TS.tpa", package = "rTIMESAT") d_tpa <- read_tpa(file)