Skip to content

Sen2Water Sentinel-2 MSI pixel idientification and atmospheric correction over ocean and inland water

License

Notifications You must be signed in to change notification settings

bcdev/sen2water

Repository files navigation

Sen2Water

Sentinel-2 MSI pixel identification and atmospheric correction over ocean and inland water

Input and output

Sen2Water processes Sentinel-2 MSI L1C granules with top-of-atmosphere reflectances. The input is expected in SAFE format, unpacked in a directory. The 13 input bands of resolutions of 10m, 20m and 60m are processed into water-leaving reflectances over water areas at 60m resolution. In addition, flags are provided in three flag mask variables. The output data format is NetCDF4 with internal compression.

Running the processor

The processor is called with

. <path-to-mys2w>
sen2water.sh <path-to-MSIL1C-SAFE-dir>

e.g.

. /opt/sen2water-0.6.4-linux/bin/mys2w
sen2water.sh S2A_MSIL1C_20230611T103631_N0509_R008_T32UME_20230611T142059.SAFE

It will generate an output with the actual time stamp at the end of the file name:

S2A_MSIL2W_20230611T103631_N0509_R008_T32UME_20240213T113100.nc

The runtime structure of the installation package is

sen2water-0.6.4-linux
├── bin
│   ├── mys2w
│   └── sen2water.sh
│   └── sen2water.bat
├── etc
├── lib
│   ├── acolite
│   ├── c2rcc
│   ├── conda
│   ├── idepix
│   ├── jre
│   ├── msiresampling
│   ├── polymer
│   └── snap
├── auxdata
├── licenses
└── README.md

Installation

Sen2Water can be installed as stand-alone data processor or as tool extension module in SNAP.

Ancillary data is provided as part of the package and installed either during installation or at runtime when needed.

There is an installer for Linux and a zip for Windows. The Windows version is experimental because POLYMER does not support Windows out-of-the-box. It requires that the Microsoft C++ compiler runtime is installed.

The installers will be made available on an ESA website.

Licenses

Sen2Water Code

This project is licensed under the MIT License - see the LICENSE file for details.

Third-Party Components

The distributed package includes several third-party components, each with their own license. All component licenses are included in the licenses/ subfolder of the distribution package. Hygeos has granted the distribution of POLYMER with the stand-alone version of Sen2Water. All licenses apply.

About

Sen2Water Sentinel-2 MSI pixel idientification and atmospheric correction over ocean and inland water

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •