diff --git a/csst_dfs_api/facility/level1.py b/csst_dfs_api/facility/level1.py index c764a44dcf3a7e4eeba8cf4dfd14d2e1860683cf..f2bdd1619b32f0d49a946b1d22cba86596a0485a 100644 --- a/csst_dfs_api/facility/level1.py +++ b/csst_dfs_api/facility/level1.py @@ -26,6 +26,7 @@ class Level1DataApi(object): pipeline_id: [str], detector_no: [str], filter: [str], + object_name: [str], limit: limits returns the number of records,default 0:no-limit :returns: csst_dfs_common.models.Result diff --git a/csst_dfs_api/functional/msc.py b/csst_dfs_api/functional/mbi.py similarity index 100% rename from csst_dfs_api/functional/msc.py rename to csst_dfs_api/functional/mbi.py diff --git a/tests/mbi/test_mbi_level2.py b/tests/mbi/test_mbi_level2.py index 3ce9127070ec47282e9b489a3e0e675fc66329a9..8f62fb4480bed26b2b5948afb3098e1eef6b9ab8 100644 --- a/tests/mbi/test_mbi_level2.py +++ b/tests/mbi/test_mbi_level2.py @@ -15,6 +15,10 @@ class MBILevel2DataTestCase(unittest.TestCase): create_time = ("2022-06-15 11:12:13","2022-06-16 11:12:13")) print('find:', recs) + def test_find_existed_brick_ids(self): + recs = self.api.find_existed_brick_ids() + print('find_existed_brick_ids:', recs) + def test_catalog_query(self): result = self.api.catalog_query( obs_id = '100000133', diff --git a/tools/csst-dfs-api-install.sh b/tools/csst-dfs-api-install.sh index 79d703e32015407bb177b27785f2a1f5a5ed2f40..6fd6b2ed5947d314700008c746606f6d81641579 100755 --- a/tools/csst-dfs-api-install.sh +++ b/tools/csst-dfs-api-install.sh @@ -12,15 +12,15 @@ pip uninstall csst-dfs-api -y echo "Installing CSST DFS API with Version:$version" echo "➑===============================================" -echo " πŸ›° 1️⃣/5️⃣" +echo " πŸ›° 1️⃣ /5️⃣" pip install$user git+https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-commons.git$version -echo " πŸ›° 2️⃣/5️⃣" +echo " πŸ›° 2️⃣ /5️⃣" pip install$user git+https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-proto-py.git$version -echo " πŸ›° 3️⃣/5️⃣" +echo " πŸ›° 3️⃣ /5️⃣" pip install$user git+https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-api-local.git$version -echo " πŸ›° 4️⃣/5️⃣" +echo " πŸ›° 4️⃣ /5️⃣" pip install$user git+https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-api-cluster.git$version -echo " πŸ›° 5️⃣/5️⃣" +echo " πŸ›° 5️⃣ /5️⃣" pip install$user git+https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-api.git$version echo "➑===============================================" -echo "πŸ‡¨πŸ‡³πŸ‡¨πŸ‡³πŸ‡¨πŸ‡³πŸš€πŸš€πŸš€Done!" \ No newline at end of file +echo "πŸ‡¨πŸ‡³ πŸ‡¨πŸ‡³ πŸ‡¨πŸ‡³ πŸš€ πŸš€ πŸš€ Done!" \ No newline at end of file