pthelma 1.0.0__cp310-cp310-musllinux_1_2_i686.whl → 1.1.0__cp310-cp310-musllinux_1_2_i686.whl
Sign up to get free protection for your applications and to get access to all the features.
- haggregate/__init__.py +0 -3
- haggregate/regularize.c +123 -123
- haggregate/regularize.cpython-310-i386-linux-gnu.so +0 -0
- pthelma/_version.py +2 -2
- {pthelma-1.0.0.dist-info → pthelma-1.1.0.dist-info}/METADATA +3 -7
- {pthelma-1.0.0.dist-info → pthelma-1.1.0.dist-info}/RECORD +14 -10
- {pthelma-1.0.0.dist-info → pthelma-1.1.0.dist-info}/top_level.txt +1 -0
- rocc/__init__.py +9 -0
- rocc/calculation.c +17231 -0
- rocc/calculation.cpython-310-i386-linux-gnu.so +0 -0
- rocc/calculation.pyx +182 -0
- {pthelma-1.0.0.dist-info → pthelma-1.1.0.dist-info}/LICENSE.rst +0 -0
- {pthelma-1.0.0.dist-info → pthelma-1.1.0.dist-info}/WHEEL +0 -0
- {pthelma-1.0.0.dist-info → pthelma-1.1.0.dist-info}/entry_points.txt +0 -0
Binary file
|
pthelma/_version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pthelma
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.1.0
|
4
4
|
Summary: Utilities for hydrological and meteorological time series processing
|
5
5
|
Author-email: Antonis Christofides <antonis@antonischristofides.com>
|
6
6
|
Maintainer-email: Antonis Christofides <antonis@antonischristofides.com>
|
@@ -34,9 +34,9 @@ Requires-Dist: gdal<4,>=1.10; extra == "all"
|
|
34
34
|
pthelma
|
35
35
|
=======
|
36
36
|
|
37
|
-
.. image:: https://github.com/openmeteo/pthelma/actions/workflows/run-tests
|
37
|
+
.. image:: https://github.com/openmeteo/pthelma/actions/workflows/run-tests.yml/badge.svg
|
38
38
|
:alt: Build button
|
39
|
-
:target: https://github.com/openmeteo/pthelma/actions/workflows/run-tests
|
39
|
+
:target: https://github.com/openmeteo/pthelma/actions/workflows/run-tests.yml
|
40
40
|
|
41
41
|
.. image:: https://codecov.io/github/openmeteo/pthelma/coverage.svg?branch=master
|
42
42
|
:alt: Coverage
|
@@ -45,10 +45,6 @@ pthelma
|
|
45
45
|
.. image:: https://img.shields.io/pypi/v/pthelma.svg
|
46
46
|
:target: https://pypi.python.org/pypi/pthelma
|
47
47
|
|
48
|
-
.. image:: https://pyup.io/repos/github/openmeteo/pthelma/shield.svg
|
49
|
-
:target: https://pyup.io/repos/github/openmeteo/pthelma/
|
50
|
-
:alt: Updates
|
51
|
-
|
52
48
|
A Python library with utilities for hydrological and meteorological time
|
53
49
|
series processing.
|
54
50
|
|
@@ -1,11 +1,17 @@
|
|
1
1
|
htimeseries/htimeseries.py,sha256=oyf-N8l4POBmTiOSXU9llYijHNZAITsPbjRgIz1atEE,19197
|
2
2
|
htimeseries/__init__.py,sha256=ufVeWB4YLa6KGFwIa2kIe6idyfFvslDWs4JzZPv_Cro,73
|
3
3
|
htimeseries/timezone_utils.py,sha256=xEArPwKvI9tLP3z2Y9l4jpbpKMtOsC5ftHxzAo1bgNs,1238
|
4
|
-
|
4
|
+
pthelma-1.1.0.dist-info/top_level.txt,sha256=kWL0AYuVd_5KzKWRBkAG576ag46gKbojnWdeH_c-bzo,92
|
5
|
+
pthelma-1.1.0.dist-info/RECORD,,
|
6
|
+
pthelma-1.1.0.dist-info/LICENSE.rst,sha256=WFSwH2Ls72hcsUDQgd-Hof0KLWSNpC5pXQUOQs0wWWo,1345
|
7
|
+
pthelma-1.1.0.dist-info/entry_points.txt,sha256=Kh2gKKRhObmmOASJWIwX9dDEZQ5htc3ftBlqeoGer-s,155
|
8
|
+
pthelma-1.1.0.dist-info/METADATA,sha256=oZXIdTq74JAJyA1MVwEwtAOIy7MY7-K-lKrK6sDgh_o,1967
|
9
|
+
pthelma-1.1.0.dist-info/WHEEL,sha256=LxbOFmZynDfAxeh1h9HNFqTeZuGGGbr15P2eMJGa0BU,110
|
10
|
+
haggregate/regularize.c,sha256=H95kPThXdqs4_qPUwXIQnBKQJ9uspxwMcvj--azONxM,611781
|
5
11
|
haggregate/regularize.pyx,sha256=sqqmT8F9y2b3-eoQKidB0bb2PW9qVimsFpf1X4n5tSU,5607
|
6
|
-
haggregate/__init__.py,sha256=
|
12
|
+
haggregate/__init__.py,sha256=fvt2Og4upOT1HT3QOXnuxXYlwL-X_0AERDvbf0TX4fY,68
|
7
13
|
haggregate/haggregate.py,sha256=J7MSa-EfLhbXRlYTnv_2aUqdHhQZ6OX61mSb9bumNdE,5045
|
8
|
-
haggregate/regularize.cpython-310-i386-linux-gnu.so,sha256=
|
14
|
+
haggregate/regularize.cpython-310-i386-linux-gnu.so,sha256=xRfxY7LdVgapcQoj65RR8jOHXNIcZlFUHMVxJQMzmLw,742632
|
9
15
|
haggregate/cli.py,sha256=NtGM4ka9d8x5lXYnh7ortbm0sB9f2BS4h4j0OBDjgtg,3272
|
10
16
|
evaporation/__init__.py,sha256=yvyqV97dCRu7ibPpY2_P7FyHICg4s72dq7aTrHSp5c8,122
|
11
17
|
evaporation/cli.py,sha256=4jTTM4BDTVpJuZgAcGdf0q9AuYdh_nzH1f_oNxs0m8g,27713
|
@@ -14,14 +20,12 @@ enhydris_cache/__init__.py,sha256=efOjymmTWcbNF25c9iFGvOJomjfBsDQNRajItnOqKzs,15
|
|
14
20
|
enhydris_cache/enhydris_cache.py,sha256=M_-uf2yqPLMgJZykC2rKCdqINKQoHIM1D5m01N_PrGY,2622
|
15
21
|
enhydris_cache/cli.py,sha256=tsRwn4rQwKsTV7gYyMvH2dxCP7qgxE0670ADJ7ncKuI,4643
|
16
22
|
pthelma/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
-
pthelma/_version.py,sha256=
|
23
|
+
pthelma/_version.py,sha256=CqDGE4B1ZqZ-56mxeOFcXRTmlxrdOh4ayrjbcPjziE4,411
|
18
24
|
enhydris_api_client/__init__.py,sha256=mFrWzz5ntJYyER0L4Lk1eWkKcytHvn0_XOQZ22_oiGo,9340
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
pthelma-1.0.0.dist-info/METADATA,sha256=Mi3rVzAHIRmdRbFRVm-Z2btdEHdW2d4FtIzbDs7q958,2154
|
24
|
-
pthelma-1.0.0.dist-info/WHEEL,sha256=LxbOFmZynDfAxeh1h9HNFqTeZuGGGbr15P2eMJGa0BU,110
|
25
|
+
rocc/calculation.cpython-310-i386-linux-gnu.so,sha256=fN_QD1PK95_Zyu_3NtHThTrEf3j0LXovOPWESFcmtQA,655896
|
26
|
+
rocc/calculation.c,sha256=g0uC6oWflJ00r0GGGr21TAvwQHBTPEhFIK0bCBuStFE,687901
|
27
|
+
rocc/__init__.py,sha256=O4RKkd8Wyuqo8hwVCe6fJYpbcPm3KJrRwjR31RNg9t0,272
|
28
|
+
rocc/calculation.pyx,sha256=kwqGjn40EttceO0IsqBjUN1FbjbuMGA2hl90_btwEC8,5756
|
25
29
|
hspatial/test.py,sha256=awSPlX7f_ZrF8UL5XKnwC3K7j1k20KvMeC_31KuSyq8,1023
|
26
30
|
hspatial/hspatial.py,sha256=suhe1RaFRvVetQXPMwy5QkJ6GYOmcmASYrKBZVBX2L4,15923
|
27
31
|
hspatial/__init__.py,sha256=O4w4PsZI6iqkDAHioFcRh2Iju4xSFd5UkqfK_ycss0k,119
|
rocc/__init__.py
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
from collections import namedtuple
|
2
|
+
|
3
|
+
from .calculation import Rocc
|
4
|
+
|
5
|
+
Threshold = namedtuple("Threshold", ["delta_t", "allowed_diff"])
|
6
|
+
|
7
|
+
|
8
|
+
def rocc(*, timeseries, thresholds, symmetric=False, flag="TEMPORAL"):
|
9
|
+
return Rocc(timeseries, thresholds, symmetric, flag).execute()
|