AeroViz 0.1.8__py3-none-any.whl → 0.1.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of AeroViz might be problematic. Click here for more details.
- AeroViz/plot/hysplit/hysplit.py +5 -2
- {AeroViz-0.1.8.dist-info → AeroViz-0.1.9.0.dist-info}/METADATA +2 -1
- {AeroViz-0.1.8.dist-info → AeroViz-0.1.9.0.dist-info}/RECORD +6 -6
- {AeroViz-0.1.8.dist-info → AeroViz-0.1.9.0.dist-info}/LICENSE +0 -0
- {AeroViz-0.1.8.dist-info → AeroViz-0.1.9.0.dist-info}/WHEEL +0 -0
- {AeroViz-0.1.8.dist-info → AeroViz-0.1.9.0.dist-info}/top_level.txt +0 -0
AeroViz/plot/hysplit/hysplit.py
CHANGED
|
@@ -12,6 +12,9 @@ from AeroViz.plot.utils import set_figure
|
|
|
12
12
|
|
|
13
13
|
__all__ = ['hysplit']
|
|
14
14
|
|
|
15
|
+
# 設置默認文件路徑
|
|
16
|
+
DEFAULT_FILE = Path(__file__).parent.parent.parent / 'data' / '240228_00.txt'
|
|
17
|
+
|
|
15
18
|
|
|
16
19
|
def read_hysplit_data(file: Path):
|
|
17
20
|
data = pd.read_csv(file, skiprows=8, sep=r'\s+', names=range(0, 12), engine='python')
|
|
@@ -23,7 +26,7 @@ def read_hysplit_data(file: Path):
|
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
@set_figure
|
|
26
|
-
def hysplit(file: Path):
|
|
29
|
+
def hysplit(file: Path = DEFAULT_FILE):
|
|
27
30
|
data = read_hysplit_data(file)
|
|
28
31
|
|
|
29
32
|
# 創建地圖
|
|
@@ -76,4 +79,4 @@ def hysplit(file: Path):
|
|
|
76
79
|
|
|
77
80
|
|
|
78
81
|
if __name__ == "__main__":
|
|
79
|
-
hysplit(
|
|
82
|
+
hysplit() # 請替換為您的實際檔案路徑
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: AeroViz
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9.0
|
|
4
4
|
Summary: Aerosol science
|
|
5
5
|
Home-page: https://github.com/Alex870521/AeroViz
|
|
6
6
|
Author: alex
|
|
@@ -18,6 +18,7 @@ Requires-Dist: scipy ==1.14.0
|
|
|
18
18
|
Requires-Dist: seaborn ==0.13.2
|
|
19
19
|
Requires-Dist: scikit-learn ==1.5.1
|
|
20
20
|
Requires-Dist: windrose ==1.9.2
|
|
21
|
+
Requires-Dist: cartopy ==0.24.1
|
|
21
22
|
Requires-Dist: tabulate ==0.9.0
|
|
22
23
|
Requires-Dist: rich ~=13.7.1
|
|
23
24
|
|
|
@@ -44,7 +44,7 @@ AeroViz/plot/violin.py,sha256=pU2Z2yTWocEtImmCAmbtn0WvXtUOrnCGOdDOrLxjooU,2689
|
|
|
44
44
|
AeroViz/plot/distribution/__init__.py,sha256=nhbIegWczkuEfWsE7-2jfF0dnpmPDzJJzjq8Fuh6q5k,28
|
|
45
45
|
AeroViz/plot/distribution/distribution.py,sha256=sAjqtqKavFwQqI8PGPFnpvZFSU-w2UKjcTTC5L91f4E,20595
|
|
46
46
|
AeroViz/plot/hysplit/__init__.py,sha256=VrEkha2OEFp_00Xj9R98C96niZ7fYqJzGPeYsbojtzA,23
|
|
47
|
-
AeroViz/plot/hysplit/hysplit.py,sha256=
|
|
47
|
+
AeroViz/plot/hysplit/hysplit.py,sha256=yDIQuhlP3IPXRy0BCRkzqyJ_PfYPqIF-S1lpksW1dFk,2504
|
|
48
48
|
AeroViz/plot/meteorology/__init__.py,sha256=hhGfQE3IUzS3Eaju_nO7LomPPHJnd-zAAZZweXOXs2M,27
|
|
49
49
|
AeroViz/plot/meteorology/meteorology.py,sha256=6hk-5olgQTw2SB-GhEizLN19vRVBztgiXoruh8Q6Zns,11282
|
|
50
50
|
AeroViz/plot/optical/PyMieScatt_update.py,sha256=g3vlzATjzYSYZd3LwmwxEmdkpo4cHJ3KY4rePY4jwZk,21065
|
|
@@ -94,8 +94,8 @@ AeroViz/tools/database.py,sha256=05VzjJyhlRrhsZdhfFQ__7CxGm4MdFekLjz3_Is5h9U,343
|
|
|
94
94
|
AeroViz/tools/dataclassifier.py,sha256=_wpv0PlZ5EGkcNqHxfFtdEsYvHP5FVE8sMZXikhm_YE,4492
|
|
95
95
|
AeroViz/tools/dataprinter.py,sha256=Jq2Yztpa9YCOeLDVTrRs7PhSdNIPhEAexVj1YSuJ7hY,2249
|
|
96
96
|
AeroViz/tools/datareader.py,sha256=iTQ0U8hdNMjCdbiH7EiKW10UEoxzxXRHc4s5_1IikJo,1933
|
|
97
|
-
AeroViz-0.1.
|
|
98
|
-
AeroViz-0.1.
|
|
99
|
-
AeroViz-0.1.
|
|
100
|
-
AeroViz-0.1.
|
|
101
|
-
AeroViz-0.1.
|
|
97
|
+
AeroViz-0.1.9.0.dist-info/LICENSE,sha256=E-679GpGGkp3irmtuJXiT7R4cNUA4cmsH6Q7QUgPf5U,1069
|
|
98
|
+
AeroViz-0.1.9.0.dist-info/METADATA,sha256=Zl55acxCrzwi4z_s5W3PwjY4LEzrbHv3O-gtZZae0T4,6253
|
|
99
|
+
AeroViz-0.1.9.0.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
|
100
|
+
AeroViz-0.1.9.0.dist-info/top_level.txt,sha256=BYsmTst_o4FZOKRP1XIvIMlN6mMTTXNfnSToL2_nVbQ,8
|
|
101
|
+
AeroViz-0.1.9.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|