os-climate / hazard

Onboarding, creation and transformation of climate hazard models for OS-Climate
Apache License 2.0
6 stars 13 forks source link

Add envvar for OscZarr s3 endpoint. #117

Open xbarra opened 1 month ago

xbarra commented 1 month ago

Co-authored-by: Arfima Dev dev@arfima.com

xbarra commented 1 month ago

By default token and the url_point are None (both in the function if you don't have the proper env var defined and in S3FileSystem), so you can always pass both parameters to S3FileSystem. If they have a value it will be used by S3FileSystem.

And I add the endpoint_url so that you can test hazard using your own s3 storage.