Skip to content

Commit

Permalink
fix local read auth requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
rwegener2 committed Dec 20, 2023
1 parent 861fb83 commit f3191a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion icepyx/core/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,10 @@ def __init__(
# If the path is an s3 path set the respective element of self.is_s3 to True
if file_.startswith('s3'):
self.is_s3[i] = True
product_dict[file_] = is2ref.extract_product(file_, auth=self.auth)
auth=self.auth
else:
auth=None
product_dict[file_] = is2ref.extract_product(file_, auth=auth)

# Raise an error if there are both s3 and non-s3 paths present
if len(set(self.is_s3)) > 1:
Expand Down

0 comments on commit f3191a2

Please sign in to comment.