fix: fix some bugs

This commit is contained in:
Dustella 2025-05-07 23:17:08 +08:00
parent 285c273b01
commit db0cd90237
Signed by: Dustella
GPG Key ID: 35AA0AA3DC402D5C
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
cd ../frontend && pnpm build && cd ../backend
pyinstaller --add-data "./res/*:res" --add-data "./res/assets/*:res/assets" ./backend.py

View File

@ -103,6 +103,9 @@ def saber_planetw_plot(
# 对每一列生成独立的子图
col = k_to_a[f'k={k}']
# 清理上一次的图形
plt.clf()
plt.plot(x_values, fit_df[col].values)
plt.suptitle(f'k = {k} 振幅图')
plt.xlabel('')

View File

@ -80,7 +80,7 @@ class NcData:
return iter([self.dataset, self.tplatitude, self.tplongitude, self.tpaltitude, self.ktemp, self.time, self.date, self.date_time])
ENABLE_SABER_FILTERING = True # 是否启用SABER数据的过滤
ENABLE_SABER_FILTERING = False # 是否启用SABER数据的过滤
def data_nc_load(file_path):