Skip to content
Mateusz Żółtak edited this page Oct 16, 2019 · 6 revisions

Full documentation

See other pages in the menu on the right.

Quick start guide

  • Register an account in the https://s2.boku.eodc.eu/ service, define your processing regions there and wait for the Sentinel 2 L2A to be ready. (more on that in the init.R script documentation)
    • If you want to test the package as quickly and seamlessly as possible, please define a small region, preferably spanning only a single Sentinel 2 UTM tile.
  • Follow installation instructions.
  • Clone this repository (https://github.com/IVFL-BOKU/landsupport.git). (all paths below are relative to the repository location on your computer)
  • (optional) Make a copy of scripts/config/configGiuliano.R and fill in the configuration properties with the ADJUST value.
    • If you don't understand configuration properties consult the documentation.
  • Create source data index for a given config, region of interest and time period by running scripts/init.R from a command line, e.g. (apiLogin and apiPassword are your https://s2.boku.eodc.eu/ service credentials)
    Rscript scripts/init.R scripts/config/myConfig.R myRegionName 2018-05-01 2018-05-31 apiLogin apiPassword
    
  • Run next processing steps, e.g. (see also vignettes/scratchpad.R):
    Rscript scripts/dwnld.R     myConfig.R myRegionOfInterest 2018-05-01 2018-05-31
    Rscript scripts/mask.R      myConfig.R myRegionOfInterest 2018-05-01 2018-05-31
    Rscript scripts/indicator.R myConfig.R myRegionOfInterest 2018-05-01 2018-05-31
    Rscript scripts/which.R     myConfig.R myRegionOfInterest 2018-05-01 2018-05-31 '1 month'
    Rscript scripts/composite.R myConfig.R myRegionOfInterest 2018-05-01 2018-05-31 '1 month'
    Rscript scripts/aggregate.R myConfig.R myRegionOfInterest 2018-05-01 2018-05-31 '1 year'
    Rscript scripts/tile.R      myConfig.R myRegionOfInterest 2018-05-01 2018-05-31
    
  • Look at the data generated in the rawDir, periodsDir and tilesDir.
Clone this wiki locally