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.
Currently the
landsatAsset
constructor populates the dictself.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 aget_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' intoself.meta
. https://github.com/Applied-GeoSolutions/gips/blob/a337833cd5c8eebddfca7bacd6592fd6bebad531/gips/data/landsat/landsat.py#L308-L347