fix: fix some bugs
This commit is contained in:
parent
285c273b01
commit
db0cd90237
2
build.sh
2
build.sh
@ -1,3 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd ../frontend && pnpm build && cd ../backend
|
||||||
|
|
||||||
pyinstaller --add-data "./res/*:res" --add-data "./res/assets/*:res/assets" ./backend.py
|
pyinstaller --add-data "./res/*:res" --add-data "./res/assets/*:res/assets" ./backend.py
|
||||||
|
|||||||
@ -103,6 +103,9 @@ def saber_planetw_plot(
|
|||||||
|
|
||||||
# 对每一列生成独立的子图
|
# 对每一列生成独立的子图
|
||||||
col = k_to_a[f'k={k}']
|
col = k_to_a[f'k={k}']
|
||||||
|
# 清理上一次的图形
|
||||||
|
plt.clf()
|
||||||
|
|
||||||
plt.plot(x_values, fit_df[col].values)
|
plt.plot(x_values, fit_df[col].values)
|
||||||
plt.suptitle(f'k = {k} 振幅图')
|
plt.suptitle(f'k = {k} 振幅图')
|
||||||
plt.xlabel('天')
|
plt.xlabel('天')
|
||||||
|
|||||||
@ -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])
|
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):
|
def data_nc_load(file_path):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user