pthelma 0.99.3.dev0__cp312-cp312-musllinux_1_2_i686.whl → 1.1.0__cp312-cp312-musllinux_1_2_i686.whl

Sign up to get free protection for your applications and to get access to all the features.
pthelma/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.99.3.dev0'
16
- __version_tuple__ = version_tuple = (0, 99, 3, 'dev0')
15
+ __version__ = version = '1.1.0'
16
+ __version_tuple__ = version_tuple = (1, 1, 0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pthelma
3
- Version: 0.99.3.dev0
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>
@@ -26,16 +26,17 @@ Requires-Dist: tzdata
26
26
  Requires-Dist: Click<9,>=7.0
27
27
  Requires-Dist: simpletail<2,>=1
28
28
  Requires-Dist: affine<3,>=2.4
29
- Requires-Dist: gdal<4,>=1.10
30
29
  Requires-Dist: django<6,>=3.2
31
30
  Requires-Dist: requests<3,>=1
31
+ Provides-Extra: all
32
+ Requires-Dist: gdal<4,>=1.10; extra == "all"
32
33
 
33
34
  pthelma
34
35
  =======
35
36
 
36
- .. image:: https://github.com/openmeteo/pthelma/actions/workflows/run-tests-automatically.yml/badge.svg
37
+ .. image:: https://github.com/openmeteo/pthelma/actions/workflows/run-tests.yml/badge.svg
37
38
  :alt: Build button
38
- :target: https://github.com/openmeteo/pthelma/actions/workflows/run-tests-automatically.yml
39
+ :target: https://github.com/openmeteo/pthelma/actions/workflows/run-tests.yml
39
40
 
40
41
  .. image:: https://codecov.io/github/openmeteo/pthelma/coverage.svg?branch=master
41
42
  :alt: Coverage
@@ -44,10 +45,6 @@ pthelma
44
45
  .. image:: https://img.shields.io/pypi/v/pthelma.svg
45
46
  :target: https://pypi.python.org/pypi/pthelma
46
47
 
47
- .. image:: https://pyup.io/repos/github/openmeteo/pthelma/shield.svg
48
- :target: https://pyup.io/repos/github/openmeteo/pthelma/
49
- :alt: Updates
50
-
51
48
  A Python library with utilities for hydrological and meteorological time
52
49
  series processing.
53
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
- haggregate/regularize.c,sha256=N_xNxVhyDqobjNdTGeXdTk8vmL-KXpb5vKvrW8Ov-08,611781
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=EHoB_D0lKRfvukpIqu8UqMlYOeSo5lv_pBXZS4kSb5U,110
10
+ haggregate/regularize.c,sha256=csC8n1GCrM2ptcQCj-QZ9nB_kzNU8_Mo9dB8Mo1nFsc,611781
5
11
  haggregate/regularize.pyx,sha256=sqqmT8F9y2b3-eoQKidB0bb2PW9qVimsFpf1X4n5tSU,5607
6
- haggregate/__init__.py,sha256=MDcKyaJOi1mY5zQbs83yX4_B9YgYLQ_strv3Nio_Dws,155
12
+ haggregate/__init__.py,sha256=fvt2Og4upOT1HT3QOXnuxXYlwL-X_0AERDvbf0TX4fY,68
7
13
  haggregate/haggregate.py,sha256=J7MSa-EfLhbXRlYTnv_2aUqdHhQZ6OX61mSb9bumNdE,5045
8
- haggregate/regularize.cpython-312-i386-linux-musl.so,sha256=le4TtfYLVInGH4Z4DOMDghNb2yHH_ZIY0lwLgIkK5rE,773356
14
+ haggregate/regularize.cpython-312-i386-linux-musl.so,sha256=wHLpnfsZpZwU_cu2Q0lUR7SErapF_mYs8NR5qOAk6i0,773356
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
@@ -13,15 +19,13 @@ evaporation/evaporation.py,sha256=Tq8i4Np_AbxDIluIzsBrJVO2DMmqEG96zcjMGr22UFg,16
13
19
  enhydris_cache/__init__.py,sha256=efOjymmTWcbNF25c9iFGvOJomjfBsDQNRajItnOqKzs,152
14
20
  enhydris_cache/enhydris_cache.py,sha256=M_-uf2yqPLMgJZykC2rKCdqINKQoHIM1D5m01N_PrGY,2622
15
21
  enhydris_cache/cli.py,sha256=tsRwn4rQwKsTV7gYyMvH2dxCP7qgxE0670ADJ7ncKuI,4643
16
- pthelma-0.99.3.dev0.dist-info/top_level.txt,sha256=tmHh9NPLZEWJBUT19b-ZqJmAOG6QAfyM_Z3d-B7XS7w,87
17
- pthelma-0.99.3.dev0.dist-info/RECORD,,
18
- pthelma-0.99.3.dev0.dist-info/LICENSE.rst,sha256=WFSwH2Ls72hcsUDQgd-Hof0KLWSNpC5pXQUOQs0wWWo,1345
19
- pthelma-0.99.3.dev0.dist-info/entry_points.txt,sha256=Kh2gKKRhObmmOASJWIwX9dDEZQ5htc3ftBlqeoGer-s,155
20
- pthelma-0.99.3.dev0.dist-info/METADATA,sha256=LLAc2Ku1h61ICX2D5W7CAkNQ7y-DmJIcKoiphoqTX_0,2124
21
- pthelma-0.99.3.dev0.dist-info/WHEEL,sha256=EHoB_D0lKRfvukpIqu8UqMlYOeSo5lv_pBXZS4kSb5U,110
22
22
  pthelma/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- pthelma/_version.py,sha256=xT0MaGLK14gY_Cer6W516gsThNbcg5iTUdWnjhQxRG0,426
23
+ pthelma/_version.py,sha256=CqDGE4B1ZqZ-56mxeOFcXRTmlxrdOh4ayrjbcPjziE4,411
24
24
  enhydris_api_client/__init__.py,sha256=mFrWzz5ntJYyER0L4Lk1eWkKcytHvn0_XOQZ22_oiGo,9340
25
+ rocc/calculation.c,sha256=rfbQAOd1jpJx80CYns-YybS5dFYN6hoNHxt3iYr-sXo,687901
26
+ rocc/__init__.py,sha256=O4RKkd8Wyuqo8hwVCe6fJYpbcPm3KJrRwjR31RNg9t0,272
27
+ rocc/calculation.pyx,sha256=kwqGjn40EttceO0IsqBjUN1FbjbuMGA2hl90_btwEC8,5756
28
+ rocc/calculation.cpython-312-i386-linux-musl.so,sha256=Ra8Yvf90rVa24UQUUo1gDtrP1yKdKg67Mygg2ijzOW8,702060
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
@@ -5,3 +5,4 @@ haggregate
5
5
  hspatial
6
6
  htimeseries
7
7
  pthelma
8
+ rocc
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()