apmtools 0.2.1__tar.gz → 0.2.2__tar.gz
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.
- {apmtools-0.2.1 → apmtools-0.2.2}/PKG-INFO +1 -1
- {apmtools-0.2.1 → apmtools-0.2.2}/pyproject.toml +1 -1
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/classes.py +16 -1
- {apmtools-0.2.1 → apmtools-0.2.2}/.gitignore +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/LICENSE +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/README.md +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/__init__.py +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/data_processing.py +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/functions.py +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/legacy.py +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/shiny/__init__.py +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/shiny/summary.py +0 -0
- {apmtools-0.2.1 → apmtools-0.2.2}/src/apmtools/units.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: apmtools
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.002
|
|
4
4
|
Summary: A collection of tools for processing air pollution monitoring data
|
|
5
5
|
Project-URL: Homepage, https://github.com/federlorenz/apmtools
|
|
6
6
|
Author-email: Federico Lorenzetti <lorenzetti.federico@gmail.com>
|
|
@@ -837,7 +837,7 @@ class Dataset(DictionaryPlus):
|
|
|
837
837
|
if (k in value.m.keys()) and (value.m[k] == v):
|
|
838
838
|
value.m[k] = None
|
|
839
839
|
|
|
840
|
-
def
|
|
840
|
+
def get_monitor(self,value):
|
|
841
841
|
return self.subset({"monitor":[value]})
|
|
842
842
|
|
|
843
843
|
class Group(pd.DataFrame):
|
|
@@ -1397,6 +1397,9 @@ class Summary(pd.DataFrame):
|
|
|
1397
1397
|
|
|
1398
1398
|
return output
|
|
1399
1399
|
|
|
1400
|
+
def get_monitor(self, value):
|
|
1401
|
+
return self.subset({"monitor": [value]})
|
|
1402
|
+
|
|
1400
1403
|
def plot_app(
|
|
1401
1404
|
self,
|
|
1402
1405
|
x=None,
|
|
@@ -1775,6 +1778,10 @@ class Upas(Apm):
|
|
|
1775
1778
|
def _constructor_sliced(self):
|
|
1776
1779
|
return UpasSeries
|
|
1777
1780
|
|
|
1781
|
+
@property
|
|
1782
|
+
def units(self):
|
|
1783
|
+
return upas_units
|
|
1784
|
+
|
|
1778
1785
|
class UpasSeries(ApmSeries):
|
|
1779
1786
|
def __init__(self, *args, **kwargs):
|
|
1780
1787
|
ApmSeries.__init__(self, *args, **kwargs)
|
|
@@ -1801,6 +1808,10 @@ class Lascar(Apm):
|
|
|
1801
1808
|
def _constructor_sliced(self):
|
|
1802
1809
|
return LascarSeries
|
|
1803
1810
|
|
|
1811
|
+
@property
|
|
1812
|
+
def units(self):
|
|
1813
|
+
return lascar_units
|
|
1814
|
+
|
|
1804
1815
|
class LascarSeries(ApmSeries):
|
|
1805
1816
|
def __init__(self, *args, **kwargs):
|
|
1806
1817
|
ApmSeries.__init__(self, *args, **kwargs)
|
|
@@ -1826,6 +1837,10 @@ class Purple(Apm):
|
|
|
1826
1837
|
def _constructor_sliced(self):
|
|
1827
1838
|
return PurpleSeries
|
|
1828
1839
|
|
|
1840
|
+
@property
|
|
1841
|
+
def units(self):
|
|
1842
|
+
return purple_units
|
|
1843
|
+
|
|
1829
1844
|
class PurpleSeries(ApmSeries):
|
|
1830
1845
|
def __init__(self, *args, **kwargs):
|
|
1831
1846
|
ApmSeries.__init__(self, *args, **kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|