From 40edbc4a70c1ab6c680f4ab1601a77d36c736827 Mon Sep 17 00:00:00 2001 From: Sherwin Varghese <141290943+Sherwin-14@users.noreply.github.com> Date: Wed, 24 Jul 2024 16:08:16 +0530 Subject: [PATCH] Update earthaccess/store.py as per suggestion Co-authored-by: Chuck Daniels --- earthaccess/__init__.py | 2 ++ earthaccess/store.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/earthaccess/__init__.py b/earthaccess/__init__.py index 8d399945..09e7d75d 100644 --- a/earthaccess/__init__.py +++ b/earthaccess/__init__.py @@ -11,6 +11,7 @@ get_requests_https_session, get_s3_credentials, get_s3fs_session, + get_s3_filesystem, granule_query, login, open, @@ -34,6 +35,7 @@ "get_fsspec_https_session", "get_s3fs_session", "get_s3_credentials", + "get_s3_filesystem", "get_edl_token", "granule_query", "collection_query", diff --git a/earthaccess/store.py b/earthaccess/store.py index 80c9f82b..a97f8188 100644 --- a/earthaccess/store.py +++ b/earthaccess/store.py @@ -214,7 +214,7 @@ def get_s3fs_session( endpoint: pass the URL for the credentials directly Returns: - a s3fs file instance + An `s3fs.S3FileSystem` authenticated for reading in-region in us-west-2 for 1 hour. """ return self.get_s3_filesystem(daac, concept_id, provider, endpoint)