Commit 73494ab2 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

update DFS L1 API

parent 9f071275
...@@ -21,14 +21,11 @@ from typing import Union ...@@ -21,14 +21,11 @@ from typing import Union
import numpy as np import numpy as np
from astropy.io import fits from astropy.io import fits
from astropy.table import Table 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.level0 import Level0DataApi
from csst_dfs_api.facility.level0prc import Level0PrcApi from csst_dfs_api.facility.level0prc import Level0PrcApi
from csst_dfs_api.mbi.level1 import Level1DataApi as MbiLevel1DataApi from csst_dfs_api.facility.level1 import Level1DataApi
from csst_dfs_api.mbi.level1prc import Level1PrcApi as MbiLevel1PrcApi from csst_dfs_api.facility.level1prc import Level1PrcApi
from csst_dfs_api.mbi.level2 import Level2DataApi as MbiLevel2DataApi 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.sls.level2spectra import Level2SpectraApi as SlsLevel2DataApi
from csst_dfs_api.common.catalog import CatalogApi from csst_dfs_api.common.catalog import CatalogApi
...@@ -266,33 +263,21 @@ class CsstMsDataManager: ...@@ -266,33 +263,21 @@ class CsstMsDataManager:
return Level0PrcApi() return Level0PrcApi()
@property @property
def dfs_MbiL1DataApi(self): def dfs_L1DataApi(self):
return MbiLevel1DataApi() return Level1DataApi()
@property @property
def dfs_MbiL1PrcApi(self): def dfs_L1PrcApi(self):
return MbiLevel1PrcApi() return Level1PrcApi()
@property @property
def dfs_MbiL2DataApi(self): def dfs_MbiL2DataApi(self):
return MbiLevel2DataApi() return MbiLevel2DataApi()
@property
def dfs_SlsL1DataApi(self):
return SlsLevel1DataApi()
@property
def dfs_SlsL1PrcApi(self):
return SlsLevel1PrcApi()
@property @property
def dfs_SlsL2DataApi(self): def dfs_SlsL2DataApi(self):
return SlsLevel2DataApi() return SlsLevel2DataApi()
@property
def dfs_CalApi(self):
return CalMergeApi()
@property @property
def dfs_CatApi(self): def dfs_CatApi(self):
return CatalogApi() return CatalogApi()
......
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