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
899a0d48
Commit
899a0d48
authored
Jan 15, 2023
by
BO ZHANG
🏀
Browse files
add DFS SLS api in dm
parent
d796a9ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
899a0d48
...
@@ -26,6 +26,9 @@ from csst_dfs_api.facility.level0 import Level0DataApi
...
@@ -26,6 +26,9 @@ from csst_dfs_api.facility.level0 import Level0DataApi
from
csst_dfs_api.facility.level0prc
import
Level0PrcApi
from
csst_dfs_api.facility.level0prc
import
Level0PrcApi
from
csst_dfs_api.msc.level1
import
Level1DataApi
from
csst_dfs_api.msc.level1
import
Level1DataApi
from
csst_dfs_api.msc.level2
import
Level2DataApi
from
csst_dfs_api.msc.level2
import
Level2DataApi
from
csst_dfs_api.sls.level1
import
Level1DataApi
as
SlsLevel1DataApi
from
csst_dfs_api.sls.level1prc
import
Level1PrcApi
as
SlsLevel1PrcApi
from
csst_dfs_api.sls.level2spectra
import
Level2SpectraApi
as
SlsLevel2DataApi
from
csst_dfs_api.common.catalog
import
CatalogApi
from
csst_dfs_api.common.catalog
import
CatalogApi
from
.logger
import
get_logger
from
.logger
import
get_logger
...
@@ -262,6 +265,18 @@ class CsstMsDataManager:
...
@@ -262,6 +265,18 @@ class CsstMsDataManager:
def
dfs_L0PrcApi
(
self
):
def
dfs_L0PrcApi
(
self
):
return
Level0PrcApi
()
return
Level0PrcApi
()
@
property
def
dfs_SlsL1DataApi
(
self
):
return
SlsLevel1DataApi
()
@
property
def
dfs_SlsL1PrcApi
(
self
):
return
SlsLevel1PrcApi
()
@
property
def
dfs_SlsL2DataApi
(
self
):
return
SlsLevel2DataApi
()
@
property
@
property
def
dfs_CalApi
(
self
):
def
dfs_CalApi
(
self
):
return
CalMergeApi
()
return
CalMergeApi
()
...
...
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