Commit 3bdf00d1 authored by Matthias Weidenthaler's avatar Matthias Weidenthaler
Browse files

Updated readme file

parent a12a660d
......@@ -62,6 +62,15 @@ with s3_fs.open('s3://csst-prod/gaia/test/requirements.txt', s3_options=s3_optio
file.write("CSST")
```
### Check if the given file path exists
```python
from csst_fs import fs
# local or on s3, depending on the given path
fs.isfile('requirements.txt')
fs.isfile('s3://csst-prod/test.txt')
fs.isfile('s3://csst-prod/test.txt', s3_options=s3_options)
```
## astropy直接读写s3的写法适配
### fits.open
#### 老写法
......
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