ladybug-core 0.44.28__py3-none-any.whl → 0.44.29__py3-none-any.whl
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.
- ladybug/stat.py +5 -3
- {ladybug_core-0.44.28.dist-info → ladybug_core-0.44.29.dist-info}/METADATA +1 -1
- {ladybug_core-0.44.28.dist-info → ladybug_core-0.44.29.dist-info}/RECORD +7 -7
- {ladybug_core-0.44.28.dist-info → ladybug_core-0.44.29.dist-info}/WHEEL +0 -0
- {ladybug_core-0.44.28.dist-info → ladybug_core-0.44.29.dist-info}/entry_points.txt +0 -0
- {ladybug_core-0.44.28.dist-info → ladybug_core-0.44.29.dist-info}/licenses/LICENSE +0 -0
- {ladybug_core-0.44.28.dist-info → ladybug_core-0.44.29.dist-info}/top_level.txt +0 -0
ladybug/stat.py
CHANGED
|
@@ -299,9 +299,9 @@ class STAT(object):
|
|
|
299
299
|
self._stand_press_at_elev = self._regex_check(
|
|
300
300
|
self._press_pattern, self._header[5])
|
|
301
301
|
self._ashrae_climate_zone = self._regex_check(
|
|
302
|
-
self._ashraecz_pattern, self._body)
|
|
302
|
+
self._ashraecz_pattern, self._body, enforce_string=True)
|
|
303
303
|
self._koppen_climate_zone = self._regex_check(
|
|
304
|
-
self._koppencz_pattern, self._body)
|
|
304
|
+
self._koppencz_pattern, self._body, enforce_string=True)
|
|
305
305
|
|
|
306
306
|
# pull out extreme and seasonal weeks.
|
|
307
307
|
self._extreme_hot_week = self._regex_week_parse(self._hotweek_pattern)
|
|
@@ -340,9 +340,11 @@ class STAT(object):
|
|
|
340
340
|
finally:
|
|
341
341
|
statwin.close()
|
|
342
342
|
|
|
343
|
-
def _regex_check(self, regex_pattern, search_space):
|
|
343
|
+
def _regex_check(self, regex_pattern, search_space, enforce_string=False):
|
|
344
344
|
matches = regex_pattern.findall(search_space)
|
|
345
345
|
if len(matches) > 0:
|
|
346
|
+
if enforce_string:
|
|
347
|
+
return matches[0]
|
|
346
348
|
try:
|
|
347
349
|
return float(matches[0])
|
|
348
350
|
except ValueError:
|
|
@@ -31,7 +31,7 @@ ladybug/rootfinding.py,sha256=IbFMM5SCA0E0s4x4x7FhglmV9e3nq6ZUyEgXtI0c33o,5506
|
|
|
31
31
|
ladybug/skymodel.py,sha256=MhTI19X9yeGYCxrNvbn7lDRKdS2cMncF7rBj04au5R4,55790
|
|
32
32
|
ladybug/solarenvelope.py,sha256=wDwlDM23dpI_s6lXZA0DApGMex5GvyzQkzSsrCCtxXI,10504
|
|
33
33
|
ladybug/sql.py,sha256=12Q_nyzkF0qSxJf6m99uN77_tjTaBrLynnLfOvgZOl8,50956
|
|
34
|
-
ladybug/stat.py,sha256=
|
|
34
|
+
ladybug/stat.py,sha256=MLyg42t-aXFR1-OM_WSmJvjDjwPRgx07Zl8Y3fIDSNM,36193
|
|
35
35
|
ladybug/sunpath.py,sha256=jMwws3JFQhjND00AOjSXMxfU4gwaXWATIJ3k_jscoO4,57112
|
|
36
36
|
ladybug/viewsphere.py,sha256=KqIX2rcnbvRhNc2oYDyebpkdI2enkhiocddMWc1i_T4,43418
|
|
37
37
|
ladybug/wea.py,sha256=DqoE2TXM1US61rN4aK_26_emRzlPZJ5lUc-P3oXRUjw,54131
|
|
@@ -78,9 +78,9 @@ ladybug/datatype/volume.py,sha256=JIRBSgo7gx5GekZWffAchQJrCBjNKIRh5yBRVlCL2FE,29
|
|
|
78
78
|
ladybug/datatype/volumeflowrate.py,sha256=3opIJ4UxTMVCmN9tjNONvTRDSkz7fJuRKOOr1f_6mfc,2982
|
|
79
79
|
ladybug/datatype/volumeflowrateintensity.py,sha256=MuFwp7BHZP8Vh75ej_3-G1QYxBqDWtwIxvOd4Ub9iPI,2380
|
|
80
80
|
ladybug/datatype/volumeheatcapacity.py,sha256=FYMFUkY36hytdz5nPpVCeiBL4q5LWEjyKwd4ZnjfWzM,2170
|
|
81
|
-
ladybug_core-0.44.
|
|
82
|
-
ladybug_core-0.44.
|
|
83
|
-
ladybug_core-0.44.
|
|
84
|
-
ladybug_core-0.44.
|
|
85
|
-
ladybug_core-0.44.
|
|
86
|
-
ladybug_core-0.44.
|
|
81
|
+
ladybug_core-0.44.29.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
82
|
+
ladybug_core-0.44.29.dist-info/METADATA,sha256=YEpLm2sAYIeejYJaUUFpBeEcW-qH6yIs6FR2CSMalBs,4354
|
|
83
|
+
ladybug_core-0.44.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
84
|
+
ladybug_core-0.44.29.dist-info/entry_points.txt,sha256=FOtz9JWVLwG3LoBz-G7bIQmL1A-WDRoa2Ebbihq-gOg,45
|
|
85
|
+
ladybug_core-0.44.29.dist-info/top_level.txt,sha256=A9J55WsdwQSng_Qf_6zf7N19flFS_DW4UrLzmFDPUuw,8
|
|
86
|
+
ladybug_core-0.44.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|