From c02763fbc34debef4a7d11d8077819082a82afae Mon Sep 17 00:00:00 2001 From: Joseph H Kennedy Date: Sat, 14 Dec 2024 17:13:14 -0500 Subject: [PATCH] rollback: report hists not count --- earthaccess/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earthaccess/api.py b/earthaccess/api.py index 741f06cc..992cb357 100644 --- a/earthaccess/api.py +++ b/earthaccess/api.py @@ -126,8 +126,8 @@ def search_data(count: int = -1, **kwargs: Any) -> DataGranules: else: results = DataGranules().parameters(**kwargs) + logger.info(f"Granules found: {results.hits()}") results.load(count) - logger.info(f"Granules found: {len(results)}") return results