Skip to content

Commit

Permalink
support more cdse storage locations
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Nov 7, 2024
1 parent aaf95dc commit 284603a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MultiClientRangeReaderProvider extends S3RangeReaderProvider {
override def rangeReader(uri: URI): S3RangeReader = {
val s3Uri = new AmazonS3URI(uri)
val isCloudFerro = s3Endpoint != null &&
(s3Endpoint.toLowerCase.contains("cloudferro") || s3Endpoint.toLowerCase == "eodata.dataspace.copernicus.eu")
(s3Endpoint.toLowerCase.contains("cloudferro") || s3Endpoint.toLowerCase.endsWith(".dataspace.copernicus.eu"))

val theClient: S3Client =
if (isCloudFerro)
Expand Down

0 comments on commit 284603a

Please sign in to comment.