Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_fs
Commits
3891ad2c
Commit
3891ad2c
authored
May 29, 2024
by
qi pan
Browse files
update readme and setup
parent
30e497dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3891ad2c
...
...
@@ -84,7 +84,7 @@ fsspec_fits.getheader(filename=in_image_path, ext=1, s3_options=s3_options)
#### 老写法
```python
fits.getdata(in_ref_flat)
fits.getdata( in_ref_shutter, 1)
fits.getdata( in_ref_shutter,
ext=
1)
```
usage reference:
[
https://docs.astropy.org/en/stable/io/fits/api/files.html#getdata
](
https://docs.astropy.org/en/stable/io/fits/api/files.html#getdata
)
...
...
@@ -94,8 +94,8 @@ usage reference:
from
csst_fs
import
fsspec_fits
fsspec_fits
.
getdata
(
in_ref_flat
)
fsspec_fits
.
getdata
(
in_ref_flat
,
s3_options
=
s3_options
)
fsspec_fits
.
getdata
(
in_ref_shutter
,
1
)
fsspec_fits
.
getdata
(
in_ref_shutter
,
1
,
s3_options
=
s3_options
)
fsspec_fits
.
getdata
(
in_ref_shutter
,
ext
=
1
)
fsspec_fits
.
getdata
(
in_ref_shutter
,
s3_options
=
s3_options
,
ext
=
1
)
```
### header.tofile
...
...
setup.py
View file @
3891ad2c
...
...
@@ -5,9 +5,9 @@ setup(
version
=
'0.1.0'
,
packages
=
find_packages
(),
install_requires
=
[
'astropy
=
=5.3'
,
'fsspec
=
=2024.5.0'
,
's3fs
=
=2024.5.0'
'astropy
>
=5.3'
,
'fsspec
>
=2024.5.0'
,
's3fs
>
=2024.5.0'
],
python_requires
=
'>=3.9'
,
description
=
'csst pipeline handle file in local file system and remote s3 file system'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment