Skip to content

Commit

Permalink
Update argo_index_proto.py
Browse files Browse the repository at this point in the history
fix bug when using the http url of the s3 gdac with the index
  • Loading branch information
gmaze committed Oct 22, 2024
1 parent d2b6d3a commit e6f57f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions argopy/stores/argo_index_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ def __init__(
cache=cache, cachedir=cachedir, timeout=timeout, size_policy="head"
)

if host == "https://argo-gdac-sandbox.s3-eu-west-3.amazonaws.com/pub/idx":
self.skip_rows = 10

elif "ftp" in split_protocol(host)[0]:
if "ifremer" not in host:
log.info(
Expand Down

0 comments on commit e6f57f3

Please sign in to comment.