Commit 265b525e authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweak dfs

parent 5d274f01
Loading
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
"""
Identifier:     csst_common/dfs.py
Name:           dfs.py
Description:    csst_common package
Author:         Bo Zhang
Created:        2023-07-08
Modified-History:
    2023-07-08, Bo Zhang, implemented DFS
    2023-07-11, Bo Zhang, updated DFS
    2023-12-08, Bo Zhang, tweaks
"""

from csst_dfs_api.common.catalog import CatalogApi
from csst_dfs_api.facility.level0 import Level0DataApi
from csst_dfs_api.facility.level0prc import Level0PrcApi
@@ -8,11 +20,6 @@ from csst_dfs_api.mbi import Level2CoApi
from csst_dfs_api.mbi.level2 import Level2DataApi as MbiLevel2DataApi
from csst_dfs_api.sls.level2spectra import Level2SpectraApi as SlsLevel2DataApi

"""
1. DFS 配置
2. 接口retry功能
"""


class DFS:
    def __init__(self, n_try=5):