Commit 441ca2f7 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

data_type fix

parent 6bfceb29
......@@ -61,7 +61,7 @@ print(result) # result.data为list类型,包含2级数据文件记录列表
```python
from csst_dfs_client import level2
result = level2.update_qc2_status(level2_id='some_level2_id', data_type='SCI', qc2_status=1, batch_id='some_batch_id')
result = level2.update_qc2_status(level2_id='some_level2_id', data_type='csst-msc-l2-mbi', qc2_status=1, batch_id='some_batch_id')
print(result)
```
......@@ -69,7 +69,7 @@ print(result)
```python
from csst_dfs_client import level2
result = level2.update_prc_status(level2_id='some_level2_id', data_type='SCI', prc_status=1, batch_id='some_batch_id')
result = level2.update_prc_status(level2_id='some_level2_id', data_type='csst-msc-l2-mbi', prc_status=1, batch_id='some_batch_id')
print(result)
```
......@@ -82,7 +82,7 @@ from csst_dfs_client import level2
local_file_path = '/path/to/your/level2_data.fits'
module_id = 'MSC'
level2_id = 'some_level2_id'
file_type = 'SCI'
data_type = 'csst-msc-l2-mbi-cat'
file_name = 'level2_data.fits'
dag_id = 'some_dag_id'
build = 1
......@@ -92,7 +92,7 @@ dataset = 'default_dataset'
batch_id = 'default_batch_id'
qc2_status = 0
result = level2.write(local_file_path, module_id, level2_id, file_type, file_name, dag_id, build, level0_id, level1_id, dataset, batch_id, qc2_status)
result = level2.write(local_file_path, module_id, level2_id, data_type, file_name, dag_id, build, level0_id, level1_id, dataset, batch_id, qc2_status)
print(result)
```
......
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