https://github.com/nuest/pre_processing
https://github.com/nuest/pre_processing
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nuest/pre_processing
- Owner: nuest
- Created: 2018-11-21T20:51:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T08:01:03.000Z (over 7 years ago)
- Last Synced: 2025-04-09T00:04:55.220Z (about 1 year ago)
- Language: Dockerfile
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pre-processing for Studyproject: „Monitoring conflict areas with satellite image time series“
## Aim:
This container aims to automate the pre-processing of Sentinel-2 data from L1C to L2A.
It uses sen2cor, see http://step.esa.int/main/third-party-plugins-2/sen2cor/.
## Usage:
To use this container run the script apply_sen2cor.bat.
```bash
cd pre_processing
docker build --tag monconfsat_pre .
cd ..
docker run --rm -v ${PWD}/data:/workspace/data -e imgfolder=/workspace/data monconfsat_pre
```
Debug within container:
```bash
docker run --rm -it -v ${PWD}/data:/workspace/data -e imgfolder=/workspace/data --entrypoint=/bin/bash monconfsat_pre
```
`LA2_Process` documentation:
```bash
docker run --rm -it --entrypoint=/bin/bash monconfsat_pre L2A_Process --help
```
## Required structure:
This container requires a specific folder structure to work:
```
.
|---data
| |---S2B_MSIL1C...
| |---S2B_MSIL1C[...].SAFE
|
|---pre_processing
| |---apply_sen2cor.bat
| |---apply_sen2cor.py
| |---Dockerfile
|
|---.gitignore
|
|---portainer.bat
|
|---README.md
```
Sentinel-2 data can be aquired at [ESA-Hub](https://scihub.copernicus.eu/dhus/#/home).
Direct download-link to example data: [example](https://scihub.copernicus.eu/dhus/odata/v1/Products('eff34131-ccbf-4c5e-a3d6-7caa320445d8')/$value)