AeroViz 0.1.9.3__py3-none-any.whl → 0.1.9.5__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.

@@ -38,7 +38,7 @@ class Reader(AbstractReader):
38
38
  _df = _df.loc[(_df['B'] > _df['G']) & (_df['G'] > _df['R'])]
39
39
 
40
40
  # use IQR_QC
41
- _df = self.time_aware_IQR_QC(_df)
41
+ _df = self.time_aware_IQR_QC(_df, time_window='1h')
42
42
 
43
43
  # make sure all columns have values, otherwise set to nan
44
44
  return _df.dropna(how='any').reindex(_index)
@@ -74,7 +74,7 @@ class Reader(AbstractReader):
74
74
  # _df = _df.loc[(_df['B'] > _df['G']) & (_df['G'] > _df['R'])]
75
75
 
76
76
  # use IQR_QC
77
- _df = self.time_aware_IQR_QC(_df)
77
+ _df = self.time_aware_IQR_QC(_df, time_window='1h')
78
78
 
79
79
  # make sure all columns have values, otherwise set to nan
80
80
  return _df.dropna(how='any').reindex(_index)
@@ -87,6 +87,6 @@ class Reader(AbstractReader):
87
87
  _df.loc[_df[col] <= threshold, col] = np.nan
88
88
 
89
89
  # use IQR_QC
90
- _df = self.time_aware_IQR_QC(_df, time_window='1h')
90
+ _df = self.time_aware_IQR_QC(_df)
91
91
 
92
92
  return _df.dropna(subset=['Thermal_OC', 'Optical_OC']).reindex(_index)
@@ -56,6 +56,10 @@ class Reader(AbstractReader):
56
56
  _df_smps.columns = _df_smps.columns.astype(float)
57
57
  _df_smps = _df_smps.loc[_df_smps.index.dropna().copy()]
58
58
 
59
+ if _df_smps.columns[0] != 11.8:
60
+ print(f'file_name: {file.name}')
61
+ return None
62
+
59
63
  return _df_smps.apply(to_numeric, errors='coerce')
60
64
 
61
65
  # QC data
@@ -40,7 +40,7 @@ class Reader(AbstractReader):
40
40
 
41
41
  # QC data in 1 hr
42
42
  # use time_aware_IQR_QC
43
- _df = self.time_aware_IQR_QC(_df, time_window='1h')
43
+ _df = self.time_aware_IQR_QC(_df, time_window='6h')
44
44
 
45
45
  # remove data where size < 50% in 1-hr
46
46
  points_per_hour = Timedelta('1h') / Timedelta(self.meta['freq'])
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: AeroViz
3
- Version: 0.1.9.3
3
+ Version: 0.1.9.5
4
4
  Summary: Aerosol science
5
- Home-page: https://github.com/Alex870521/AeroViz
6
- Author: alex
7
5
  Author-email: alex <alex870521@gmail.com>
8
6
  License: MIT
9
7
  Project-URL: Homepage, https://github.com/Alex870521/AeroViz
10
8
  Project-URL: Repository, https://github.com/Alex870521/AeroViz
9
+ Project-URL: Issues, https://github.com/Alex870521/AeroViz/issues
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.12
13
12
  Classifier: License :: OSI Approved :: MIT License
@@ -25,8 +24,21 @@ Requires-Dist: windrose==1.9.2
25
24
  Requires-Dist: cartopy==0.24.1
26
25
  Requires-Dist: tabulate==0.9.0
27
26
  Requires-Dist: rich~=13.7.1
27
+ Provides-Extra: dev
28
+ Requires-Dist: black>=23.0; extra == "dev"
29
+ Requires-Dist: isort>=5.12.0; extra == "dev"
30
+ Requires-Dist: flake8>=6.0.0; extra == "dev"
31
+ Requires-Dist: mypy>=1.5.0; extra == "dev"
32
+ Requires-Dist: build; extra == "dev"
33
+ Requires-Dist: twine; extra == "dev"
34
+ Provides-Extra: docs
35
+ Requires-Dist: mkdocs>=1.4.0; extra == "docs"
36
+ Requires-Dist: mkdocs-material>=8.0; extra == "docs"
37
+ Requires-Dist: mkdocstrings[python]>=0.18.0; extra == "docs"
28
38
  Provides-Extra: test
29
39
  Requires-Dist: pytest>=7.0.0; extra == "test"
40
+ Requires-Dist: pytest-cov>=4.1.0; extra == "test"
41
+ Requires-Dist: pytest-mock>=3.10.0; extra == "test"
30
42
 
31
43
  ## <div align="center">AeroViz for Aerosol Science Visualization</div>
32
44
 
@@ -76,17 +76,17 @@ AeroViz/rawDataReader/core/qc.py,sha256=tFIVsfph8yZIK6NRKQxaZYHcruJclriKSvR0oC12
76
76
  AeroViz/rawDataReader/script/AE33.py,sha256=FbbFJ93aLVjA8k2QZ_fKcI9uXoux2k0AL3O73iY879I,1278
77
77
  AeroViz/rawDataReader/script/AE43.py,sha256=GjcICBJ3nIANyMd4kovteBUtkyCGLTos07BczgSCuVE,1231
78
78
  AeroViz/rawDataReader/script/APS_3321.py,sha256=x75G72Xl0vElr6Njbv8SlOcosAHNozseaJzAxVmfXyI,1697
79
- AeroViz/rawDataReader/script/Aurora.py,sha256=2duNsK2WCWk21Rd2d4EugAA_yN27p2AjRFd9ClJ2aUA,1491
79
+ AeroViz/rawDataReader/script/Aurora.py,sha256=xcLKE5dlsqc-apK3n-j_8OZ0kF_f4B08ptutaAPiGLQ,1509
80
80
  AeroViz/rawDataReader/script/BC1054.py,sha256=tuDyq8M5BPbmu1yJr9zXYS2piMGz08yTQXGT6tK9jxA,1675
81
81
  AeroViz/rawDataReader/script/EPA.py,sha256=1ZXEcCnIMOhEXu0JwzeCgmhRtPzBNo2CfLhfhstOT4k,1649
82
82
  AeroViz/rawDataReader/script/GRIMM.py,sha256=-D4U83ihjAqcvOAnk7NET59IZfV1JzPYKRQjrIQyBDM,846
83
83
  AeroViz/rawDataReader/script/IGAC.py,sha256=i6WT3rX0n0e4hq7NfWN6tVwCuKAeV9ARxPkXZSbQj74,2387
84
84
  AeroViz/rawDataReader/script/MA350.py,sha256=EfPTFhgDAjI7r0G6kW7pjog-4MBOnvW0cyFqIkCxEP8,1597
85
85
  AeroViz/rawDataReader/script/Minion.py,sha256=9G_q-EhE3nfJoxWFwAnMYdY0teSYqcYxTkk0JW5lmY0,7793
86
- AeroViz/rawDataReader/script/NEPH.py,sha256=x6HgnvpmmhOOvB4-nL-jTfoSo0x8FUxVBXPqAyfhZVk,3215
87
- AeroViz/rawDataReader/script/OCEC.py,sha256=jWWaNbCjP5MJDYrdWUhjrQLClaWqC8SGDVPIFJ9xljU,3413
88
- AeroViz/rawDataReader/script/SMPS.py,sha256=EtXmeukOIwqfMwMJqv99_STfVg0uPdVr96r-tfD95gk,2774
89
- AeroViz/rawDataReader/script/TEOM.py,sha256=jsxU4W46FmLjiIthmPOHo6CAYFZiPENhW80WjMCiIPA,2103
86
+ AeroViz/rawDataReader/script/NEPH.py,sha256=HkGcjFPpcXM9OnrcV6sMp0G5wYnhJP1NbTMQUb1zVLc,3233
87
+ AeroViz/rawDataReader/script/OCEC.py,sha256=E_8_KPoYKZROLD8tWRMf5UyRKxusi_9Tj9Ex2EStM5E,3395
88
+ AeroViz/rawDataReader/script/SMPS.py,sha256=U1ZMgR8fexHPwR6tPiCtcvd32pGHEXkWKRR4HeSf1zM,2896
89
+ AeroViz/rawDataReader/script/TEOM.py,sha256=ID20CMi8z6pOjiGQLdCuCRWlcDu46SAP3MviiSUZE5w,2103
90
90
  AeroViz/rawDataReader/script/VOC.py,sha256=GUme72ZyjSzREsFNUgOV_OCESIVJBXY9KrKP1c9Av7I,1248
91
91
  AeroViz/rawDataReader/script/XRF.py,sha256=SU1-D94GkwdkjlNXcyXbwQG1tOYCpeL6GTVkaLBHc-s,187
92
92
  AeroViz/rawDataReader/script/__init__.py,sha256=s3c797Q8EAGcJCxVRTA-KdHie-vHLNYbMxwa5c0qz-I,214
@@ -95,8 +95,8 @@ AeroViz/tools/database.py,sha256=05VzjJyhlRrhsZdhfFQ__7CxGm4MdFekLjz3_Is5h9U,343
95
95
  AeroViz/tools/dataclassifier.py,sha256=_wpv0PlZ5EGkcNqHxfFtdEsYvHP5FVE8sMZXikhm_YE,4492
96
96
  AeroViz/tools/dataprinter.py,sha256=Jq2Yztpa9YCOeLDVTrRs7PhSdNIPhEAexVj1YSuJ7hY,2249
97
97
  AeroViz/tools/datareader.py,sha256=iTQ0U8hdNMjCdbiH7EiKW10UEoxzxXRHc4s5_1IikJo,1933
98
- AeroViz-0.1.9.3.dist-info/LICENSE,sha256=E-679GpGGkp3irmtuJXiT7R4cNUA4cmsH6Q7QUgPf5U,1069
99
- AeroViz-0.1.9.3.dist-info/METADATA,sha256=zdJMQHdoIKlBvVKwtuEKfP1w_HWlRP5fmnGLieyZcBc,6444
100
- AeroViz-0.1.9.3.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
101
- AeroViz-0.1.9.3.dist-info/top_level.txt,sha256=BYsmTst_o4FZOKRP1XIvIMlN6mMTTXNfnSToL2_nVbQ,8
102
- AeroViz-0.1.9.3.dist-info/RECORD,,
98
+ AeroViz-0.1.9.5.dist-info/LICENSE,sha256=E-679GpGGkp3irmtuJXiT7R4cNUA4cmsH6Q7QUgPf5U,1069
99
+ AeroViz-0.1.9.5.dist-info/METADATA,sha256=OBn7Z9mlYJO1XBh73BS1jNa8xjluvZFH72EWPYQ78t8,7001
100
+ AeroViz-0.1.9.5.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
101
+ AeroViz-0.1.9.5.dist-info/top_level.txt,sha256=BYsmTst_o4FZOKRP1XIvIMlN6mMTTXNfnSToL2_nVbQ,8
102
+ AeroViz-0.1.9.5.dist-info/RECORD,,