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-dfs
csst-dfs-api
Commits
bc9512e4
Commit
bc9512e4
authored
Jul 02, 2021
by
Wei Shoulin
Browse files
test
parent
9fc34bf6
Changes
2
Show whitespace changes
Inline
Side-by-side
examples/demo_facility_level0.py
View file @
bc9512e4
...
@@ -3,7 +3,7 @@ from csst_dfs_api.facility.level0 import Level0DataApi
...
@@ -3,7 +3,7 @@ from csst_dfs_api.facility.level0 import Level0DataApi
api
=
Level0DataApi
()
api
=
Level0DataApi
()
# find
# find
recs
=
api
.
find
(
obs_id
=
17
,
obs_type
=
'sci'
,
limit
=
0
)
recs
=
api
.
find
(
obs_id
=
17
,
obs_type
=
'sci'
,
limit
=
0
,
prc_status
=
-
1
)
print
(
'find:'
,
recs
)
print
(
'find:'
,
recs
)
# get
# get
...
...
examples/demo_facility_observation.py
View file @
bc9512e4
...
@@ -4,7 +4,7 @@ from csst_dfs_api.facility.observation import ObservationApi
...
@@ -4,7 +4,7 @@ from csst_dfs_api.facility.observation import ObservationApi
api
=
ObservationApi
()
api
=
ObservationApi
()
#find
#find
recs
=
api
.
find
(
module_id
=
"MSC"
,
limit
=
0
)
recs
=
api
.
find
(
module_id
=
"MSC"
,
limit
=
0
,
prc_status
=-
1
)
print
(
'find:'
,
recs
)
print
(
'find:'
,
recs
)
# get
# get
...
...
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