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
73494ab2
Commit
73494ab2
authored
Feb 14, 2023
by
BO ZHANG
🏀
Browse files
update DFS L1 API
parent
9f071275
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
73494ab2
...
...
@@ -21,14 +21,11 @@ from typing import Union
import
numpy
as
np
from
astropy.io
import
fits
from
astropy.table
import
Table
from
csst_dfs_api.facility.calmerge
import
CalMergeApi
from
csst_dfs_api.facility.level0
import
Level0DataApi
from
csst_dfs_api.facility.level0prc
import
Level0PrcApi
from
csst_dfs_api.
mbi
.level1
import
Level1DataApi
as
MbiLevel1DataApi
from
csst_dfs_api.
mbi
.level1prc
import
Level1PrcApi
as
MbiLevel1PrcApi
from
csst_dfs_api.
facility
.level1
import
Level1DataApi
from
csst_dfs_api.
facility
.level1prc
import
Level1PrcApi
from
csst_dfs_api.mbi.level2
import
Level2DataApi
as
MbiLevel2DataApi
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
...
...
@@ -266,33 +263,21 @@ class CsstMsDataManager:
return
Level0PrcApi
()
@
property
def
dfs_
Mbi
L1DataApi
(
self
):
return
Mbi
Level1DataApi
()
def
dfs_L1DataApi
(
self
):
return
Level1DataApi
()
@
property
def
dfs_
Mbi
L1PrcApi
(
self
):
return
Mbi
Level1PrcApi
()
def
dfs_L1PrcApi
(
self
):
return
Level1PrcApi
()
@
property
def
dfs_MbiL2DataApi
(
self
):
return
MbiLevel2DataApi
()
@
property
def
dfs_SlsL1DataApi
(
self
):
return
SlsLevel1DataApi
()
@
property
def
dfs_SlsL1PrcApi
(
self
):
return
SlsLevel1PrcApi
()
@
property
def
dfs_SlsL2DataApi
(
self
):
return
SlsLevel2DataApi
()
@
property
def
dfs_CalApi
(
self
):
return
CalMergeApi
()
@
property
def
dfs_CatApi
(
self
):
return
CatalogApi
()
...
...
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