From 1b6ed48c9d0263b67bc68d7e98007a0b1c882c16 Mon Sep 17 00:00:00 2001 From: esea_info Date: Wed, 19 Apr 2023 19:00:44 +0800 Subject: [PATCH] =?UTF-8?q?get=5Foutput=5Fpath=20->=20data=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- awrams.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/awrams.py b/awrams.py index 73c94f2..d2557d4 100644 --- a/awrams.py +++ b/awrams.py @@ -587,10 +587,11 @@ class AWRAMS(object): + f"{self.info_dict['second']:02d}" def get_output_path(self, mode=0): - if mode == 0: - self.mydir.setBaseDir(DATA_DIR) - else: - self.mydir.setBaseDir(SERVER_DIR) + self.mydir.setBaseDir(DATA_DIR) + # if mode == 0: + # self.mydir.setBaseDir(DATA_DIR) + # else: + # self.mydir.setBaseDir(SERVER_DIR) # dir_tuple = ( "output", "20"+str(self.info_dict['year']),str(self.info_dict['month']),str(self.info_dict['day'])) self.output_path = self.mydir.current_dir.joinpath("output")