pthelma 1.1.0__cp312-cp312-musllinux_1_2_i686.whl → 2.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.
- enhydris_cache/cli.py +0 -2
- evaporation/cli.py +5 -7
- evaporation/evaporation.py +1 -1
- haggregate/haggregate.py +6 -6
- haggregate/regularize.c +123 -123
- haggregate/regularize.cpython-312-i386-linux-musl.so +0 -0
- hspatial/cli.py +2 -4
- pthelma/_version.py +2 -2
- {pthelma-1.1.0.dist-info → pthelma-2.1.0.dist-info}/METADATA +2 -2
- {pthelma-1.1.0.dist-info → pthelma-2.1.0.dist-info}/RECORD +25 -25
- {pthelma-1.1.0.dist-info → pthelma-2.1.0.dist-info}/WHEEL +1 -1
- rocc/calculation.c +123 -123
- rocc/calculation.cpython-312-i386-linux-musl.so +0 -0
- {pthelma-1.1.0.dist-info → pthelma-2.1.0.dist-info}/LICENSE.rst +0 -0
- {pthelma-1.1.0.dist-info → pthelma-2.1.0.dist-info}/entry_points.txt +0 -0
- {pthelma-1.1.0.dist-info → pthelma-2.1.0.dist-info}/top_level.txt +0 -0
Binary file
|
hspatial/cli.py
CHANGED
@@ -2,7 +2,6 @@ import configparser
|
|
2
2
|
import datetime as dt
|
3
3
|
import logging
|
4
4
|
import os
|
5
|
-
import sys
|
6
5
|
import traceback
|
7
6
|
from glob import glob
|
8
7
|
from io import StringIO
|
@@ -100,7 +99,7 @@ class App:
|
|
100
99
|
0, iso8601.parse_date(datestring, default_timezone=timezone)
|
101
100
|
)
|
102
101
|
except iso8601.ParseError as e:
|
103
|
-
raise
|
102
|
+
raise click.ClickException(
|
104
103
|
str(e)
|
105
104
|
+ " (file {}, {} lines from the end)".format(filename, i + 1)
|
106
105
|
)
|
@@ -146,7 +145,7 @@ class App:
|
|
146
145
|
"""
|
147
146
|
Determine date_fmt based on time series time step.
|
148
147
|
"""
|
149
|
-
if self._time_step.endswith("min") or self._time_step.endswith("
|
148
|
+
if self._time_step.endswith("min") or self._time_step.endswith("h"):
|
150
149
|
return "%Y-%m-%d %H:%M%z"
|
151
150
|
elif self._time_step.endswith("D"):
|
152
151
|
return "%Y-%m-%d"
|
@@ -221,7 +220,6 @@ class AppConfig:
|
|
221
220
|
try:
|
222
221
|
self._parse_config()
|
223
222
|
except (OSError, configparser.Error) as e:
|
224
|
-
sys.stderr.write(str(e))
|
225
223
|
raise click.ClickException(str(e))
|
226
224
|
|
227
225
|
def _parse_config(self):
|
pthelma/_version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: pthelma
|
3
|
-
Version:
|
3
|
+
Version: 2.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>
|
@@ -1,32 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
pthelma-
|
6
|
-
pthelma-
|
7
|
-
pthelma-
|
8
|
-
pthelma-
|
9
|
-
pthelma-
|
10
|
-
|
1
|
+
hspatial/test.py,sha256=awSPlX7f_ZrF8UL5XKnwC3K7j1k20KvMeC_31KuSyq8,1023
|
2
|
+
hspatial/hspatial.py,sha256=suhe1RaFRvVetQXPMwy5QkJ6GYOmcmASYrKBZVBX2L4,15923
|
3
|
+
hspatial/__init__.py,sha256=O4w4PsZI6iqkDAHioFcRh2Iju4xSFd5UkqfK_ycss0k,119
|
4
|
+
hspatial/cli.py,sha256=opI58Rmv75xNIk40kXfiPNtrY1zcu5cMSbLJvYXOZiw,10330
|
5
|
+
pthelma-2.1.0.dist-info/LICENSE.rst,sha256=WFSwH2Ls72hcsUDQgd-Hof0KLWSNpC5pXQUOQs0wWWo,1345
|
6
|
+
pthelma-2.1.0.dist-info/METADATA,sha256=HTJhNu-zMeVAAo4D01ztZhbF71Mwth5eEhhrAsrEqJo,1967
|
7
|
+
pthelma-2.1.0.dist-info/RECORD,,
|
8
|
+
pthelma-2.1.0.dist-info/top_level.txt,sha256=kWL0AYuVd_5KzKWRBkAG576ag46gKbojnWdeH_c-bzo,92
|
9
|
+
pthelma-2.1.0.dist-info/WHEEL,sha256=5xfeZaWcUxmahjMEV-z0DMG7R8tonf6LlNO0IMSCOqM,110
|
10
|
+
pthelma-2.1.0.dist-info/entry_points.txt,sha256=Kh2gKKRhObmmOASJWIwX9dDEZQ5htc3ftBlqeoGer-s,155
|
11
|
+
haggregate/regularize.c,sha256=VaxsjrpeNPmxTeJt_ED-gLTUlCZ_xeeQeozvRBQu5yU,611781
|
11
12
|
haggregate/regularize.pyx,sha256=sqqmT8F9y2b3-eoQKidB0bb2PW9qVimsFpf1X4n5tSU,5607
|
13
|
+
haggregate/haggregate.py,sha256=k5wyJ_kEne7Q71KdrTR08U7chdsoCu44di28hjbjknI,5051
|
12
14
|
haggregate/__init__.py,sha256=fvt2Og4upOT1HT3QOXnuxXYlwL-X_0AERDvbf0TX4fY,68
|
13
|
-
haggregate/
|
14
|
-
haggregate/regularize.cpython-312-i386-linux-musl.so,sha256=wHLpnfsZpZwU_cu2Q0lUR7SErapF_mYs8NR5qOAk6i0,773356
|
15
|
+
haggregate/regularize.cpython-312-i386-linux-musl.so,sha256=RufFzLyYjRqGmJzT9FsCDeYZ03c55f-P2qnLtHZlXi0,773356
|
15
16
|
haggregate/cli.py,sha256=NtGM4ka9d8x5lXYnh7ortbm0sB9f2BS4h4j0OBDjgtg,3272
|
17
|
+
evaporation/evaporation.py,sha256=HBW9Quz-mjQlaHsb93Y47eAzmyktmTxHmzxgQUemiU4,16265
|
16
18
|
evaporation/__init__.py,sha256=yvyqV97dCRu7ibPpY2_P7FyHICg4s72dq7aTrHSp5c8,122
|
17
|
-
evaporation/cli.py,sha256=
|
18
|
-
evaporation/evaporation.py,sha256=Tq8i4Np_AbxDIluIzsBrJVO2DMmqEG96zcjMGr22UFg,16265
|
19
|
-
enhydris_cache/__init__.py,sha256=efOjymmTWcbNF25c9iFGvOJomjfBsDQNRajItnOqKzs,152
|
20
|
-
enhydris_cache/enhydris_cache.py,sha256=M_-uf2yqPLMgJZykC2rKCdqINKQoHIM1D5m01N_PrGY,2622
|
21
|
-
enhydris_cache/cli.py,sha256=tsRwn4rQwKsTV7gYyMvH2dxCP7qgxE0670ADJ7ncKuI,4643
|
19
|
+
evaporation/cli.py,sha256=hrXz0Hcf-PtKw0lsux4pAMmXlUvohO4-97m2TUqRT_I,27665
|
22
20
|
pthelma/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
|
-
pthelma/_version.py,sha256=
|
24
|
-
|
25
|
-
|
21
|
+
pthelma/_version.py,sha256=N_eoCB5RSZeFANRJsHZ9FylE5ILLKrp6YmjX8ezqFpA,411
|
22
|
+
enhydris_cache/enhydris_cache.py,sha256=M_-uf2yqPLMgJZykC2rKCdqINKQoHIM1D5m01N_PrGY,2622
|
23
|
+
enhydris_cache/__init__.py,sha256=efOjymmTWcbNF25c9iFGvOJomjfBsDQNRajItnOqKzs,152
|
24
|
+
enhydris_cache/cli.py,sha256=jpUtHWpVKGyNwgZVgTI8p6T4SdXu326kz4HW1wogm84,4595
|
26
25
|
rocc/__init__.py,sha256=O4RKkd8Wyuqo8hwVCe6fJYpbcPm3KJrRwjR31RNg9t0,272
|
26
|
+
rocc/calculation.cpython-312-i386-linux-musl.so,sha256=_csP_IF734ZCYh2rub-9v-k28Hka5HIEfe60bWL1T8U,702060
|
27
27
|
rocc/calculation.pyx,sha256=kwqGjn40EttceO0IsqBjUN1FbjbuMGA2hl90_btwEC8,5756
|
28
|
-
rocc/calculation.
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
28
|
+
rocc/calculation.c,sha256=1mgEESTbCGeh9VMa_sdbGa-DFFMvbZF5lq_auwOqp6w,687901
|
29
|
+
htimeseries/__init__.py,sha256=ufVeWB4YLa6KGFwIa2kIe6idyfFvslDWs4JzZPv_Cro,73
|
30
|
+
htimeseries/htimeseries.py,sha256=oyf-N8l4POBmTiOSXU9llYijHNZAITsPbjRgIz1atEE,19197
|
31
|
+
htimeseries/timezone_utils.py,sha256=xEArPwKvI9tLP3z2Y9l4jpbpKMtOsC5ftHxzAo1bgNs,1238
|
32
|
+
enhydris_api_client/__init__.py,sha256=mFrWzz5ntJYyER0L4Lk1eWkKcytHvn0_XOQZ22_oiGo,9340
|