Description • Installation • Doumentation • Author • Acknowledgments
The goal is the development of Python GRASS modules for the automatic download, processing and analysis of Sentinel-1 data. All modules can be executed in GRASS or in a terminal. The aim of this work was that a user can process all data without much effort and import them directly into GRASS GIS for further analysis. By entering certain metadata you can use this module to search for newly processed files and import them into a database.
Here is an overview of the content:
- A simple module that import Scripts from a package to GRASS GIS script directory.
- Database management modules where one can create entire databases or mapsets.
- Data download including basic adjustments for Sentinel-1 with sentinelsat.
- A SAR pre-processing add-on for GRASS GIS based on SNAP processing workflow which uses pyroSAR.
- Modules to import all files in a directory with considering a certain pattern. Moreover, it is possible to import
these data in different
mapsets
. - Module that can import
pyroSAR
dataset in a directory based on their metadata. - Creation of space-time cube.
The package pyroSAR and sentinelsat is used for the pre-processing and download of sentinel data respectively.
This packages include the following modules:
- i.script: A simple module that import Scripts from a package to GRASS GIS script directory.
- g.database: Create a GRASS GIS Database.
- g.c.mapset: Create a mapset in a GRASS GIS Database if it is not existent.
- s1.download: Data download including basic adjustments for Sentinel-1 with sentinelsat.
- i.dr.import: Import data into a mapset from a file with considering a certain pattern.
- i.fr.import: Import pyroSAR dataset in a directory based on their metadata.
- pr.geocode: Wrapper function for geocoding SAR images using pyroSAR.
- t.c.register: Creation and registration of space-time cube.
After you have received the gscpy
package, you can install it with::
$ python setup.py install
After this process it is advantageous to use the script i_script
with GRASS GIS. This is necessary because some
modules from this package call other modules from this package that are only present if they are located in the
script folder of GRASS GIS. It is possible that some of these modules require administration rights. The reason for
this is that, for example, when downloading data to the hard disk, any write permissions must be present.
To launch a Python script from GUI, use File -> Launch Python script and select /path/to/gscpy/i_script.py.
You can find the full documentation here.
- Python 2.7 (But it works with Python 3.5 as well)
- Requirements: grass, pyroSAR, sentinelsat
- Ismail Baris - Initial work - ([email protected])
- Nils v. Norsinski
This project was developed as part of a Grass GIS Module which is part of the master's degree Geoinformatics at Friedrich-Schiller-Universität Jena.
ResearchGate @Ismail_Baris · Code::Stats @Ismail_Baris · GitHub @ibaris · Instagram @ism.baris