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
Show whitespace changes
Inline
Side-by-side
csst_common/dfs.py
View file @
f263c7a0
...
@@ -12,14 +12,15 @@ Modified-History:
...
@@ -12,14 +12,15 @@ Modified-History:
"""
"""
from
csst_dfs_api.common.catalog
import
CatalogApi
from
csst_dfs_api.common.catalog
import
CatalogApi
from
csst_dfs_api.facility.level0
import
Level0DataApi
from
csst_dfs_api.facility
import
(
from
csst_dfs_api.facility.level0prc
import
Level0PrcApi
Level0DataApi
,
from
csst_dfs_api.facility.level1
import
Level1DataApi
Level0PrcApi
,
from
csst_dfs_api.facility.level1prc
import
Level1PrcApi
Level1DataApi
,
from
csst_dfs_api.facility.otherdata
import
OtherDataApi
Level1PrcApi
,
from
csst_dfs_api.mbi
import
Level2CoApi
Level2DataApi
,
from
csst_dfs_api.mbi.level2
import
Level2DataApi
as
MbiLevel2DataApi
Level2TypeApi
,
from
csst_dfs_api.sls.level2spectra
import
Level2SpectraApi
as
SlsLevel2DataApi
OtherDataApi
,
)
class
DFS
:
class
DFS
:
...
@@ -44,16 +45,8 @@ class DFS:
...
@@ -44,16 +45,8 @@ class DFS:
return
Level1PrcApi
()
return
Level1PrcApi
()
@
property
@
property
def
L2MbiDataApi
(
self
):
def
L2DataApi
(
self
):
return
MbiLevel2DataApi
()
return
Level2DataApi
()
@
property
def
L2MbiCoDataApi
(
self
):
return
Level2CoApi
()
@
property
def
L2SlsDataApi
(
self
):
return
SlsLevel2DataApi
()
@
property
@
property
def
OtherDataApi
(
self
):
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