Commit f263c7a0 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

update DFS api

parent e1f6d031
Pipeline #2770 passed with stage
...@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment