dilimap.s3.read
- dilimap.s3.read(filename, package_name='public/data', registry='s3://dilimap', **kwargs)
Read a file from an S3 registry.
- Parameters:
filename (str) – The name of the file within the package.
package_name (str, optional) – The name of the package, e.g., ‘public/data’, ‘public/model’ or ‘propietary/data’
registry (str, optional) – The S3 registry where the package is stored. Defaults to ‘s3://dilimap’.
**kwargs – Additional arguments passed to the
load_filemethod.
- Returns:
File contents loaded from the specified filename.