pytroll / pytroll-collectors

Collector modules for Pytroll
GNU General Public License v3.0
3 stars 18 forks source link

Add S3 configuration to documentation #119

Open pnuu opened 2 years ago

pnuu commented 2 years ago

The configuration of S3 connection should be added to documentation. This requires #110, #114 and #117 to be merged first.

For segment gatherer and checking which segments exist after startup and first message, this might be adaptable:

    All the connection configurations and such are done using the `fsspec` configuration system:

    https://filesystem-spec.readthedocs.io/en/latest/features.html#configuration

    An example configuration could be for example placed in `~/.config/fsspec/s3.json`::

        {
            "s3": {
                "client_kwargs": {"endpoint_url": "https://s3.server.foo.com"},
                "secret": "VERYBIGSECRET",
                "key": "ACCESSKEY"
            }
        }

Depending on how #114 is finalized, this might need some adjustment.

Originally posted by @pnuu in https://github.com/pytroll/pytroll-collectors/issues/117#issuecomment-1236944426