Commit 7424294e authored by Zheng Gaoshan's avatar Zheng Gaoshan
Browse files

update readme

parent ed18ff4b
...@@ -12,15 +12,7 @@ Supported are two distinct ways of reading from s3 storage. ...@@ -12,15 +12,7 @@ Supported are two distinct ways of reading from s3 storage.
## Configuration ## Configuration
**astropy 需升级至 5.3** **astropy 需升级至 5.3**
**老写法同时兼容本地nas和云上s3,只要读路径以s3:// 协议开头会自动识别** **老写法同时兼容本地nas和云上s3,只要读路径以s3:// 协议开头会自动识别**
如果需要读S3时,需要传入s3的密钥和endpoint等配置,有两种方法可选
S3 credentials and options are set to working default values. They can be overwritten if needed, e.g.
S3_KEY=dummy_key
S3_SECRET=dummy_secret
S3_ENDPOINT_URL=http://oss-cn-hangzhou-zjy-d01-a.ops.cloud.zhejianglab.com
S3_BUCKET=data-and-computing
## 从s3下载到本地 ## 从s3下载到本地
```python ```python
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment