Commit 35b1941b authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 41e46137
......@@ -12,8 +12,6 @@ python -m csst_dag.cli.inspect \
--instrument=MSC \
--obs-type=WIDE \
--obs-group=W2 \
--obs-id=10100232366 \
--detector=09 \
--prc-status=0
"""
......@@ -95,8 +93,8 @@ t_prc_status.pprint_all()
for stats_type, stats_keys in dict(
obs_type=["dataset", "instrument", "obs_type", "prc_status"],
obs_id=["dataset", "instrument", "obs_type", "obs_id", "prc_status"],
detector=["dataset", "instrument", "obs_type", "detector", "prc_status"],
obs_id=["dataset", "instrument", "obs_type", "obs_id", "prc_status"],
).items():
print("\n>>> STATS DIM: ", stats_type)
u_data, c_data = np.unique(data_basis[stats_keys], return_counts=True)
......@@ -106,4 +104,7 @@ for stats_type, stats_keys in dict(
if args.reset is not None:
print("Resetting prc_status to ", args.reset)
dfs.update_prc_status_by_ids(list(data_basis["_id"]), args.reset,)
\ No newline at end of file
dfs.update_prc_status_by_ids(
list(data_basis["_id"]),
args.reset,
)
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