tidy_MOD13 {phenofit}R Documentation

tidy_MOD13

Description

Tidy MODIS 'MOD13' VI products' (e.g. MOD13A1, MOD13A2, ...) raw data exported from Google Earth Engine. Tidy contents include:

  1. add exact compositing date, see getRealDate().

  2. Init weigths according SummaryQA, see qc_summary().

Usage

tidy_MOD13(infile, outfile, wmin = 0.2)

Arguments

infile

A character csv file path or a data.table

outfile

Output file name. If missing, will not be written to file.

wmin

Double, minimum weight of bad points, which could be smaller the weight of snow, ice and cloud.

Value

A tidied data.table, with columns of 'site', 'y', 't', 'w', 'date' and 'SummaryQA'.

Examples

library(phenofit)
data("MOD13A1")
dt <- tidy_MOD13(MOD13A1$dt)

[Package phenofit version 0.3.10 Index]