Applied-GeoSolutions / gips

Geospatial Image Processing System
GNU General Public License v3.0
17 stars 5 forks source link

landsat scene-specific metadata #436

Closed ircwaves closed 6 years ago

ircwaves commented 6 years ago

Currently the landsatAsset constructor populates the dict self.meta with lots of sensor specific metadata. For cloud filtering, we've added code to get scene specific metadata, and I propose that we move that to a get_scene_metadata method. We may even want the asset constructor to call that.

To start down that path, I propose we move the below code out of landsatAsset.filter and into an instance method that puts 'scene_cloud_cover' into self.meta. https://github.com/Applied-GeoSolutions/gips/blob/a337833cd5c8eebddfca7bacd6592fd6bebad531/gips/data/landsat/landsat.py#L308-L347