if (FALSE) {
# These examples require external data files not included with the package
# Time series NDVI with date matching
ndvi_series <- calculate_ndvi_enhanced(
red_data = "/path/to/red/time_series/",
nir_data = "/path/to/nir/time_series/",
match_by_date = TRUE,
quality_filter = TRUE,
temporal_smoothing = TRUE
)
# Simple NDVI (single date with quality control)
ndvi_clean <- calculate_ndvi_enhanced(
red_data = red_raster,
nir_data = nir_raster,
quality_filter = TRUE
)
}
Run the code above in your browser using DataLab