Extract meta data from satellite data products
- Parse meta data files into Python types
- Extract and parse meta data from packed (zipped) or unpacked data products
- Currently supporting Sentinel 1 and Sentinel 2 (MSIL1C)
- Read metadata into Geopandas'
GeoDataFrames
for quick filtering and grouping
python setup.py install
Minimum requirements are pyton-dateutil lxml shapely affine
.
To use Geopandas, you obviously need geopandas
, too.
For parallel extraction of metadata from many files, you need to have joblib
.
The satmeta.s2.angles_2d
module has functions for parsing Sentinel 2
Sun and Viewing Incidence angles in 2D. These come on 5000 m resolution grids.
There are functions to resample these grids to any other resolution,
either using scipy
and PIL
(from the scipy.misc.imresize
function) or
rasterio.warp.reproject
.
If you want to resample angles, you need to install either of these dependencies,
preferably with conda
:
conda install scipy pillow
or
conda install rasterio -c conda-forge/label/dev