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_common
Commits
f263c7a0
Commit
f263c7a0
authored
Dec 26, 2023
by
BO ZHANG
🏀
Browse files
update DFS api
parent
e1f6d031
Pipeline
#2770
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_common/dfs.py
View file @
f263c7a0
...
...
@@ -12,14 +12,15 @@ Modified-History:
"""
from
csst_dfs_api.common.catalog
import
CatalogApi
from
csst_dfs_api.facility.level0
import
Level0DataApi
from
csst_dfs_api.facility.level0prc
import
Level0PrcApi
from
csst_dfs_api.facility.level1
import
Level1DataApi
from
csst_dfs_api.facility.level1prc
import
Level1PrcApi
from
csst_dfs_api.facility.otherdata
import
OtherDataApi
from
csst_dfs_api.mbi
import
Level2CoApi
from
csst_dfs_api.mbi.level2
import
Level2DataApi
as
MbiLevel2DataApi
from
csst_dfs_api.sls.level2spectra
import
Level2SpectraApi
as
SlsLevel2DataApi
from
csst_dfs_api.facility
import
(
Level0DataApi
,
Level0PrcApi
,
Level1DataApi
,
Level1PrcApi
,
Level2DataApi
,
Level2TypeApi
,
OtherDataApi
,
)
class
DFS
:
...
...
@@ -44,16 +45,8 @@ class DFS:
return
Level1PrcApi
()
@
property
def
L2MbiDataApi
(
self
):
return
MbiLevel2DataApi
()
@
property
def
L2MbiCoDataApi
(
self
):
return
Level2CoApi
()
@
property
def
L2SlsDataApi
(
self
):
return
SlsLevel2DataApi
()
def
L2DataApi
(
self
):
return
Level2DataApi
()
@
property
def
OtherDataApi
(
self
):
...
...
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