Skip to content

Script to calculate Sentinel-2 (A-B) view_zenith, view_azimuth, sun_zenith and sun_azimuth

License

Notifications You must be signed in to change notification settings

brazil-data-cube/s2-angs

Repository files navigation

Python Client Library for Sentinel-2 Angle Bands

Software License Join us at Discord

About

A library in Python for generating Sentinel-2 Angle Bands.

Installation

See INSTALL.rst.

Usage

See USAGE.rst.

Results

Intermediary files (matrix 23x23)

Solar_azimuth_23

Solar_azimuth_resampled

Solar_zenith_23

Solar_zenith_23

View_azimuth_23

View_azimuth_23

View_zenith_23

View_zenith_23

Resampled

Solar_azimuth_resampled

Solar_azimuth

Solar_zenith_resample

Solar_zenith_resample

View_azimuth_resample

View_zenith_azimuth_resample

View_zenith_resample

View_zenith_resample

Details on the output products
  • the function s2angs.gen_s2_ang creates the output rasters based only on the angles from the band 4 (band Id 3).
  • the angles given in the output rasters are given in degrees but have been multiplied by 100 to be stored as integers in the rasters.
  • most of the data are derived from the L1C MTD_TL.xml metadata files (found in .../GRANULE/L1C_scenename/MTD_TL.xml)

License

Copyright (C) 2020 INPE.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/gpl-3.0.html>.

About

Script to calculate Sentinel-2 (A-B) view_zenith, view_azimuth, sun_zenith and sun_azimuth

Resources

License

Stars

Watchers

Forks

Packages

No packages published