diff --git a/csst_common/data_manager.py b/csst_common/data_manager.py index 6bb884f3245ab74daed1afb0bff722e011e05a81..a767c00764413e0d283723b0efba9181ba6ee7e8 100644 --- a/csst_common/data_manager.py +++ b/csst_common/data_manager.py @@ -1049,10 +1049,10 @@ class CsstMsFile(dict): def fpo(self, post=".fits"): if post.startswith("."): fn = f"{self.telescope}_{self.instrument}_{self.project}_{self.obs_type}_{self.exp_start}_{self.exp_stop}_" \ - f"{self.obs_id}_{self.detector}_L1_V{self.version}{post}" + f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}{post}" else: fn = f"{self.telescope}_{self.instrument}_{self.project}_{self.obs_type}_{self.exp_start}_{self.exp_stop}_" \ - f"{self.obs_id}_{self.detector}_L1_V{self.version}_{post}" + f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}_{post}" return os.path.join(self.dir_out, fn) def fpi(self):