Repository with materials for the "Environmental analysis using satellite image time series in R" workshop on OpenGeoHub Summer School 2023.
The instructions for this workshop are here in html and here in .Rmd
Remember to install R, RStudio and required packages (you will find the list of packages at the beginning of the instruction)!
PS. This repository may be also useful for dealing with other time series, not only satellite imagery.
PS2. We will work on the already extracted pixel (indices) values from Sentinel-2 and Landsat in .csv files. Here is the example way to extract them using GEE: code You can also use other cloud-based platforms (also in R like openEO API), do that in R using specific packages (e.g. sits package), or alternatively using traditional way, by downloading the satellite imagery.
Satellite time series are a collection of repeated observations or measurements obtained by satellites over a specific geographical area over a period of time. Although these observations are typically captured at regular intervals, they are often irregular, particularly in the case of optical imagery, due to for example cloudiness. Still, they can be used in a wide range of applications, telling us how different objects or places have changed over time.
Like in the example below - showing forests in part of the Bieszczady mountains, Poland during they year 2018.
- phenology (seasonal patterns),
- abrubt changes, e.g. forest logging,
- gradual changes - increasing or decreasing trends,
- seasonal abrupt changes, e.g. meadow mowing
Satellite imagery requires pre-processing, such as cloud masking, removing outliers etc. Still, they can be noisy, therefore different methods of smoothing are used. Sometimes, they also require regularizing or interpolation. See the example below showing raw indcies values derived from satellite imagery and a simple method of smoothing them (simple moving average).