wphyojpl commented on a change in pull request #37: URL: https://github.com/apache/incubator-sdap-ingester/pull/37#discussion_r687225915
########## File path: granule_ingester/granule_ingester/processors/TileSummarizingProcessor.py ########## @@ -69,29 +79,40 @@ def process(self, tile, dataset, *args, **kwargs): elif tile_type == 'grid_tile': # Grid tiles need to repeat the weight for every longitude # TODO This assumes data axis' are ordered as latitude x longitude - tile_summary.stats.mean = type(self).calculate_mean_for_grid_tile(data, latitudes, longitudes) + logger.debug(f'set grid mean. tile_summary.data_var_name: {tile_summary.data_var_name}') + + try: + tile_summary.stats.mean = type(self).calculate_mean_for_grid_tile(data, latitudes, longitudes, len(data_var_name)) Review comment: Need to store mean, min, max for multiple variable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@sdap.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org