grdwindinversion 1.0.1__py3-none-any.whl → 1.0.2__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.
- grdwindinversion/utils.py +5 -3
- {grdwindinversion-1.0.1.dist-info → grdwindinversion-1.0.2.dist-info}/METADATA +1 -1
- {grdwindinversion-1.0.1.dist-info → grdwindinversion-1.0.2.dist-info}/RECORD +8 -8
- {grdwindinversion-1.0.1.dist-info → grdwindinversion-1.0.2.dist-info}/WHEEL +1 -1
- {grdwindinversion-1.0.1.dist-info → grdwindinversion-1.0.2.dist-info}/entry_points.txt +0 -0
- {grdwindinversion-1.0.1.dist-info → grdwindinversion-1.0.2.dist-info}/licenses/AUTHORS.rst +0 -0
- {grdwindinversion-1.0.1.dist-info → grdwindinversion-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {grdwindinversion-1.0.1.dist-info → grdwindinversion-1.0.2.dist-info}/top_level.txt +0 -0
grdwindinversion/utils.py
CHANGED
|
@@ -110,7 +110,7 @@ def get_pol_ratio_name(model_co):
|
|
|
110
110
|
import re
|
|
111
111
|
|
|
112
112
|
def check_format(s):
|
|
113
|
-
pattern = r"^([a-zA-Z0-
|
|
113
|
+
pattern = r"^([a-zA-Z0-9_]+)_R(high|low)_hh_([a-zA-Z0-9_]+)$"
|
|
114
114
|
match = re.match(pattern, s)
|
|
115
115
|
if match:
|
|
116
116
|
vvgmf, res, polrationame = match.groups()
|
|
@@ -250,10 +250,12 @@ def test_config(config):
|
|
|
250
250
|
|
|
251
251
|
# Check which sensors are configured
|
|
252
252
|
supported_sensors = ['S1A', 'S1B', 'S1C', 'S1D', 'RS2', 'RCM']
|
|
253
|
-
configured_sensors = [
|
|
253
|
+
configured_sensors = [
|
|
254
|
+
sensor for sensor in supported_sensors if sensor in config]
|
|
254
255
|
if configured_sensors:
|
|
255
256
|
logger.info(f"Sensors configured: {', '.join(configured_sensors)}")
|
|
256
257
|
else:
|
|
257
|
-
logger.warning(
|
|
258
|
+
logger.warning(
|
|
259
|
+
"No sensors configured - at least one sensor (S1A, S1B, S1C, S1D, RS2, RCM) should be present")
|
|
258
260
|
|
|
259
261
|
logger.info("Configuration validation passed")
|
|
@@ -8,13 +8,13 @@ grdwindinversion/config_prod_v3.yaml,sha256=BNXi8r5cF3GkdD126g7y1tAnSpyZwwWoThh8
|
|
|
8
8
|
grdwindinversion/gradientFeatures.py,sha256=NIeAJzb1zrlJPBq1th7wjEZoNJMxwqDpNHLMWP6FQN0,18198
|
|
9
9
|
grdwindinversion/inversion.py,sha256=R2PtzY8b94ouGRFLluwNP6_igGAg4YerqRhD1LGI-F8,73167
|
|
10
10
|
grdwindinversion/main.py,sha256=4i5ecjt_hkSYUavS7CxsqR0OfLaWUoxrxambzMWyPbA,3191
|
|
11
|
-
grdwindinversion/utils.py,sha256=
|
|
11
|
+
grdwindinversion/utils.py,sha256=VfUePsHc3Zkbf3mqIMSKDAdm9GUca_Qrp2jgiuAAEG0,8519
|
|
12
12
|
grdwindinversion/utils_memory.py,sha256=NA0bvkpCTkEiqCcJuldG1XsrP40-3AQUUt3HLeoRpbY,1432
|
|
13
13
|
grdwindinversion/.github/ISSUE_TEMPLATE.md,sha256=qiM_a7CCUz3fSrz3Q20Se1nwPNFS8QCc8tkwK_0DSCo,327
|
|
14
|
-
grdwindinversion-1.0.
|
|
15
|
-
grdwindinversion-1.0.
|
|
16
|
-
grdwindinversion-1.0.
|
|
17
|
-
grdwindinversion-1.0.
|
|
18
|
-
grdwindinversion-1.0.
|
|
19
|
-
grdwindinversion-1.0.
|
|
20
|
-
grdwindinversion-1.0.
|
|
14
|
+
grdwindinversion-1.0.2.dist-info/licenses/AUTHORS.rst,sha256=C9EFY6YdOu5qAe6pNIvCvviXH91vCej-WxOobYftoMk,155
|
|
15
|
+
grdwindinversion-1.0.2.dist-info/licenses/LICENSE,sha256=-B8mBiTeY3J7OLuayiV1myqmc7yeijBc7s34kc8RTmg,1075
|
|
16
|
+
grdwindinversion-1.0.2.dist-info/METADATA,sha256=PrgdI1st0CygkG9bqjFoZptcR3xH-rLuSHyW8e3p62k,2529
|
|
17
|
+
grdwindinversion-1.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
18
|
+
grdwindinversion-1.0.2.dist-info/entry_points.txt,sha256=2rjvlVCy0iasRXjOz3kOIGuy2OCGQ-VTNuwuViQ6cMM,95
|
|
19
|
+
grdwindinversion-1.0.2.dist-info/top_level.txt,sha256=z6lPix3QPEYOo37qq8plA2hY7S3C8MQZY81agRlksMI,17
|
|
20
|
+
grdwindinversion-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|