So-YeonBae / Sentinel1-Biodiversity

Code, example dataset, and instructions of Sentinel-1 data pre-processing and pixel-based summary statistics used in "Radar vision for mapping forest biodiversity from space"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sentinel1-Biodiversity

Code, example dataset, and instructions of Sentinel-1 data pre-processing and pixel-based summary statistics used in "Radar vision for mapping forest biodiversity from space"

S3.1 and S3.2 were applied to "Tracking the temporal dynamics of insect defoliation by high-resolution radar satellite data" by Bae et al.

Supplementary Information

Bae, S. et al. Radar vision in the mapping of forest biodiversity from space. Nature Communications 10, 4757, doi:10.1038/s41467-019-12737-x (2019).

Method S3 Sentinel-1 data pre-processing and pixel-based summary statistics

S3.1 Download of the GRDH product from the ESA Sentinel Data Hub (DHuS)

All Sentinel data are available for free from the official ESA data portal (https:/scihub.copernicus.eu). User registration is required, but free. DHuS offers a user interface (Fig. S23) for interactive data discovery, or, alternatively an API for automated query and retrieval. This manuscript was based on the Sentinel-1 GRDH product derived from inferometric wide swath acquisition mode (IW), which is a high-level product requiring only little further processing steps. It could be derived manually from lower level “Single Look Complex” data (SLC), however, since only backscatter coefficients were utilized in this manuscript, this was not necessary. The GRDH product is provided in image coordinates (slant-range coordinates) as per original viewing geometry, including geometric and radiometric distortions and noise. The data are provided as uncalibrated digital numbers (DN). 

S3.2 Process Sentinel-1 GRDH data to gamma_0

1. Required software

Processing of Sentinel-1 SAR data as utilized in this manuscript can be replicated by applying the provided batch processing configuration file for the SNAP toolbox software. The SNAP software is distributed officially by the European Space Agency (ESA); it is open-source and available free of charge, including detailed installation instructions, at https://step.esa.int/main/download/snap-download/. Supported operating systems are Windows, Mac OS X and Unix (64bit).

2. The processing steps

All processing steps can be reproduced by means of the Graph Processing Tools (GPT), i.e. the command line interface included in the SNAP toolbox by applying the provided processing chain batch file (Sentinel1_GRDH_to_gamma0.xml). The batch file contains placeholders for input and output files, which will be automatically replaced when using the corresponding command line flags. The processing workflow as available in the xml batch file is as follows:

1) Apply precise orbit

This downloads the precise orbit state vectors at the time of data acquisition, which are needed for exact location of the satellite and hence the acquired SAR data. Precise orbit data are available approximately two weeks after data take. This module only adds metadata and does not change the input.

2) Remove border noise

Sentinel-1 GRDH data exhibit strong artefacts at the swath borders. This module attempts to remove these artefacts within a search distance of 700 pixels from each margin. The output of this module is in DN, without border noise.

3) Remove thermal noise

This module removes thermal detector noise. The output of this module is in DN, with thermal noise removed.

4) Radiometric calibration

Radiometric calibration is needed to convert the SAR data from digital numbers (DNs), to calibrated backscatter intensities, which are comparable across acquisitions and sensors. Radiometric calibration output is in beta_0 (radar brightness coefficient), which is the required input data-level for radiometric terrain flattening.

5) Radiometric terrain flattening

Differences in terrain introduce not only differences in geolocation of SAR data, but also of the backscatter intensity. The aim of radiometric terrain flattening is to normalize the signal intensity across differences in underlying terrain. To this end, it uses a digital elevation model (DEM), which in this study was the SRTM 1 sec DEM. The output of this module is gamma_0 in slant-range coordinates.

6) Range-doppler terrain correction

The Sentinel GRDH product is not provided in geographic coordinates, but in image coordinates directly resulting from the SAR acquisition mode (slant-range coordinates). In order to exactly geolocate each pixel, and correct for geometric differences due to the local terrain, on needs to apply this geometric terrain correction or orthorectification. As with radiometric terrain flattening, this module relies also on a DEM, in combination with the precise orbit determination applied in step 1. The output of this module is gamma_0 in geographic coordinates with 10 m pixel spacing. Another step often useful for SAR data processing is spatial speckle filtering. However, due to the approach taken in this manuscript, that is, calculating median backscatter over multiple acquisitions, smoothing of speckle effects takes place implicitly in the time, instead of in space, thus not causing any further loss of geometric detail.

S3.3 Derivation of pixel- and neighborhood-based summary statistics

This section builds on temporal stacks of Sentinel-1 gamma_0 data processed as described above. Like the rest of the manuscript it was performed using R.

1. Required software

Download and install R in following website depending on your operating system (Windows, Mac OS X, Linux) : https://cran.r-project.org/. Minimum required packages which need to be installed in addition are: rgeos, raster, rgdal, glcm

2. Demo workflow

  1. Define your input directory containing example input files. The list of example input files is as follows:
  1. Two temporal stacks of VH and VV gamma_0 data: ALB_gamma0_VH.tif and ALB_gamma0_VV.tif
  2. Sentinel-1 data acquisition dates: ALB_acquisition_dates.csv
  3. Shapefile of center of example plots: ALB_example_plots.*
  4. Calculated mean values of all our 1-ha plots: S1_mean.csv
  1. Source the R script. << Sentinel1_pixel_ neighborhood _statistics.r >>

About

Code, example dataset, and instructions of Sentinel-1 data pre-processing and pixel-based summary statistics used in "Radar vision for mapping forest biodiversity from space"


Languages

Language:R 100.0%