diff --git a/csst_dfs_api/facility/level0prc.py b/csst_dfs_api/facility/level0prc.py index b9e3f8e8b59254946136a66f30dd6749b3d120bf..d92bc39a02f1e4997d92c1822f924a47a9c1a18b 100644 --- a/csst_dfs_api/facility/level0prc.py +++ b/csst_dfs_api/facility/level0prc.py @@ -37,7 +37,7 @@ class Level0PrcApi(object): ''' insert a level0 procedure record into database :param kwargs: Parameter dictionary, key items support: - level0_id : [int] + level0_id : [str] pipeline_id : [str] prc_module : [str] run_id : [str] diff --git a/csst_dfs_api/facility/level1.py b/csst_dfs_api/facility/level1.py index 6c3bd2bea7faddaca1d63a6b6d3e9d4df331497f..c19670239c21c595266fbd84affb80a67c17ad0b 100644 --- a/csst_dfs_api/facility/level1.py +++ b/csst_dfs_api/facility/level1.py @@ -112,8 +112,9 @@ class Level1DataApi(object): :param kwargs: Parameter dictionary, key items support: level0_id: [str] + module_id: [str] detector_no: [str] - data_type : [str] + file_type : [str] filename : [str] file_path : [str] prc_status : [int] @@ -121,7 +122,7 @@ class Level1DataApi(object): pipeline_id : [str] pmapname : [str] build : [str], - refs : list[tuple] for example: [('dark', 'csst_msc_dark_001.rmap'), ('bias', 'csst_msc_bias_001.rmap'), ('flat', 'csst_msc_flat_001.rmap')] + refs : dict for example: {'dark': 'csst_msc_dark_001.rmap', 'bias': 'csst_msc_bias_001.rmap', 'flat': 'csst_msc_flat_001.rmap'} :returns: csst_dfs_common.models.Result ''' diff --git a/csst_dfs_api/facility/level2type.py b/csst_dfs_api/facility/level2type.py index 13b27d4d6f6a06e7ad1d9db06d1b47afe8ca0f5e..df59bda5b6a488e65153160f804dba705322e201 100644 --- a/csst_dfs_api/facility/level2type.py +++ b/csst_dfs_api/facility/level2type.py @@ -59,6 +59,7 @@ class Level2TypeApi(object): demo_file_path : [str] ra_column : [str] dec_column : [str] + need_import : [int] :returns: csst_dfs_common.models.Result '''