pangeo-data/cog-best-practices

requester pays on a dask gateway cluster?

rsignell-usgs opened this issue · 2 comments

Does anyone have a working example of using requester_pays=True on a dask gateway cluster?

The requester pays notebook works, but doesn't really use a gateway cluster. The cell at the end purports to show how to pass the env to the dask workers, but the env is not a dict -- I don't think it works?

I eventually figured this out, and I didn't need to use the rasterio Env object. Here's a notebook showing a Dask Gateway cluster running on Qhub, accessing requester-pays Landsat data, extending the Landsat example from the Element84 Geo-Notebooks repo