项目作者: DHI-GRAS

项目描述 :
Satellite Meta Data
高级语言: Python
项目地址: git://github.com/DHI-GRAS/satmeta.git
创建时间: 2017-02-25T20:07:05Z
项目社区:https://github.com/DHI-GRAS/satmeta

开源协议:MIT License

下载


satmeta

Build Status
codecov

Extract meta data from satellite data products

Features

  1. Parse meta data files into Python types
  2. Extract and parse meta data from packed (zipped) or unpacked data products
  3. Currently supporting Sentinel 1 and Sentinel 2 (MSIL1C)
  4. Read metadata into Geopandas’ GeoDataFrames for quick filtering and grouping

Installation

  1. 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.

Additional requirements for S2 Sun and viewing incidence angles (2D)

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:

  1. conda install scipy pillow

or

  1. conda install rasterio -c conda-forge/label/dev