Beispiel #1
0
 def _make_dataset(labels, sources):
     return make_dataset(product=output_type,
                         sources=sources,
                         extent=tile.geobox.extent,
                         center_time=labels['time'],
                         uri=file_path.absolute().as_uri(),
                         app_info=get_app_metadata(config, config['filename']),
                         valid_data=GeoPolygon.from_sources_extents(sources, tile.geobox))
 def _make_dataset(labels, sources_):
     return make_dataset(product=stat.product,
                         sources=sources_,
                         extent=geobox.extent,
                         center_time=labels['time'],
                         uri=uri,
                         app_info=app_info,
                         valid_data=GeoPolygon.from_sources_extents(
                             sources_, geobox))
Beispiel #3
0
 def _make_dataset(labels, sources):
     assert sources
     dataset = make_dataset(product=output_product,
                            sources=sources,
                            extent=nbar.geobox.extent,
                            center_time=labels['time'],
                            uri=file_path.absolute().as_uri(),
                            app_info=get_app_metadata(config),
                            valid_data=GeoPolygon.from_sources_extents(sources, nbar.geobox))
     return dataset