liudawei 10 hónapja
szülő
commit
829ff18a31
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      db-light/getdata/inputData.py
  2. 1 1
      db-light/utils/Arg.py

+ 1 - 1
db-light/getdata/inputData.py

@@ -242,7 +242,7 @@ class DataBase(object):
         """
         # 环境监测仪数据处理
         for i in weatherloc:
-            weather = readData("/weather-{}.csv".format(i))
+            weather = utils.savedata.readData("/weather-{}.csv".format(i))
             weather = cleaning(weather, 'weather', cols=['C_GLOBALR', 'C_DIRECTR', 'C_DIFFUSER', 'C_RH', 'C_AIRT', 'C_P', 'C_WS', 'C_WD'])
             utils.savedata.saveData("/weather-{}-process.csv".format(i), weather)
 

+ 1 - 1
db-light/utils/Arg.py

@@ -8,7 +8,7 @@ class Arg:
         # 环境监测仪个数
         self.weatherloc = [1]
         # 归一化文件存放位置
-        self.normloc = '../data/629/norm.yaml'
+        self.normloc = '../data/526/norm.yaml'
 
         self.begin = '2024-01-01'
         self.end = '2024-05-31'