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.
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 iso8601.ParseError(
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("H"):
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
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.1.0'
16
- __version_tuple__ = version_tuple = (1, 1, 0)
15
+ __version__ = version = '2.1.0'
16
+ __version_tuple__ = version_tuple = (2, 1, 0)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pthelma
3
- Version: 1.1.0
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
- htimeseries/htimeseries.py,sha256=oyf-N8l4POBmTiOSXU9llYijHNZAITsPbjRgIz1atEE,19197
2
- htimeseries/__init__.py,sha256=ufVeWB4YLa6KGFwIa2kIe6idyfFvslDWs4JzZPv_Cro,73
3
- htimeseries/timezone_utils.py,sha256=xEArPwKvI9tLP3z2Y9l4jpbpKMtOsC5ftHxzAo1bgNs,1238
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
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/haggregate.py,sha256=J7MSa-EfLhbXRlYTnv_2aUqdHhQZ6OX61mSb9bumNdE,5045
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=4jTTM4BDTVpJuZgAcGdf0q9AuYdh_nzH1f_oNxs0m8g,27713
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=CqDGE4B1ZqZ-56mxeOFcXRTmlxrdOh4ayrjbcPjziE4,411
24
- enhydris_api_client/__init__.py,sha256=mFrWzz5ntJYyER0L4Lk1eWkKcytHvn0_XOQZ22_oiGo,9340
25
- rocc/calculation.c,sha256=rfbQAOd1jpJx80CYns-YybS5dFYN6hoNHxt3iYr-sXo,687901
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.cpython-312-i386-linux-musl.so,sha256=Ra8Yvf90rVa24UQUUo1gDtrP1yKdKg67Mygg2ijzOW8,702060
29
- hspatial/test.py,sha256=awSPlX7f_ZrF8UL5XKnwC3K7j1k20KvMeC_31KuSyq8,1023
30
- hspatial/hspatial.py,sha256=suhe1RaFRvVetQXPMwy5QkJ6GYOmcmASYrKBZVBX2L4,15923
31
- hspatial/__init__.py,sha256=O4w4PsZI6iqkDAHioFcRh2Iju4xSFd5UkqfK_ycss0k,119
32
- hspatial/cli.py,sha256=01EiLahW-55Pvwy8NXn3OiOyfrLXI2qdfipqeL_Fxh0,10376
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
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-musllinux_1_2_i686
5
5