xarray_eop.get_s3filesystem#
- xarray_eop.get_s3filesystem(url: EOPath | str, profile: str | None = None, anon: bool = False) S3FileSystem#
Get S3 File System from an url. Credentials are automatically retrieved from environment variables or profile name
- Parameters:
url – s3 path
profile – profile name to get the correct credentials, by default None.
optional – profile name to get the correct credentials, by default None.
anon – by default False
optional – by default False
- Return type:
s3fs.S3FileSystem object
- Raises:
ValueError – if url is not a S3 path