os-climate / hazard

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

Add envvar for OscZarr s3 endpoint. #117

Open xbarra opened 3 months ago

xbarra commented 3 months ago

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

xbarra commented 3 months 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.