Learn R Programming

bfastSpatial

    _      __          _   _____             _   _       _ 
   | |    / _|        | | /  ___|           | | (_)     | |
   | |__ | |_ __ _ ___| |_\ `--. _ __   __ _| |_ _  __ _| |
   | '_ \|  _/ _` / __| __|`--. \ '_ \ / _` | __| |/ _` | |
   | |_) | || (_| \__ \ |_/\__/ / |_) | (_| | |_| | (_| | |
   |_.__/|_| \__,_|___/\__\____/| .__/ \__,_|\__|_|\__,_|_|
                                | |                        
                                |_|            

Package to pre-process gridded time-series data in order for them to be analyzed with change detection algorithms such as bfast. Uses classes from the raster package and includes utilities to run the algorithms and post-process the results.

The package can be installed directly from github using devtools

library(devtools)
install_github('dutri001/bfastSpatial')

Full tutorial available to guide you through data pre-processing and analysis.

If you are already familiar with R, the raster package and Landsat/MODIS data, you may skip the detailed tutorial and go directly to the quick start guide.

Feedback on the package is very much welcome. Send your feedback to Ben or Loic

For external contributors

External contributions are welcome. If you would like to contribute additional features and improvements to the package; fork the repository on gitHub, commit your changes and make a pull request. Always use the develop branch as a starting point for your work. Your contribution will be reviewed for quality, relevance and consistency with the rest of the package before being merged.

Copy Link

Version

Version

0.6.2

License

GPL-3

Maintainer

Last Published

May 10th, 2018

Functions in bfastSpatial (0.6.2)

annualSummary

Annual summary of a time series RasterBrick
changeMonth

Extract month of change from bfmChange RasterLayer
bfmZoo

Runs bfastmonitor on a zoo object
bfastSpatial-package

Utilities for change monitoring on spatio-temporal data
cleanBrick

Clean the history period of a raster time series
areaSieve

Apply a sieve to a raster layer
bfmSpOver

Runs bfastmonitor for a spatial subset with aggregation
cleanMODIS

Clean MODIS
bfmPixel

Apply bfmastmonitor on a single pixel
bfmSpatial

Function to run bfastmonitor on any kind of raster brick, with parallel support
processLandsatBatch

Process Landsat data in batch mode
processMODISbatch

Wrapper/batcher to pre-process MODIS data in batch mode
getSceneinfo

Retrieve Landsat info from filenames
LE70230282011250EDC00_sub.zip-LE70230282015250EDC00_sub_fake.zip

Landsat-like zip archives
countObs

Valid observations per pixel
mc.calc

clumpSize

Calculate size of pixel clumps in a RasterLayer
processLandsat

Wrapper function to process Landsat data
flattenBrick

Convert a RasterBrick or RasterStack to a RasterLayer based on the first encountered value
subsetRasterTS

Trim raster time series
zooExtract

Utility to extract a zoo object from a raster time-series
sr2vi

Calculate Vegetation Index from Landsat surface reflectance data file
timeStack

Creates a time stack of Landsat layers
timeStackMODIS

Creates a time stack of Landsat layers
summaryBrick

Summarize a RasterBrick
turaSp

SpatialPolygons object
tura

NDVI time series raster brick
getMODISinfo

Get MODIS infos
saveExtent

Draw an extent on a raster plot and print command to console