shepherd-data 2025.6.1__py3-none-any.whl → 2025.6.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.
- shepherd_data/__init__.py +1 -1
- shepherd_data/reader.py +4 -4
- {shepherd_data-2025.6.1.dist-info → shepherd_data-2025.6.2.dist-info}/METADATA +2 -2
- shepherd_data-2025.6.2.dist-info/RECORD +11 -0
- shepherd_data-2025.6.1.dist-info/RECORD +0 -11
- {shepherd_data-2025.6.1.dist-info → shepherd_data-2025.6.2.dist-info}/WHEEL +0 -0
- {shepherd_data-2025.6.1.dist-info → shepherd_data-2025.6.2.dist-info}/entry_points.txt +0 -0
- {shepherd_data-2025.6.1.dist-info → shepherd_data-2025.6.2.dist-info}/top_level.txt +0 -0
- {shepherd_data-2025.6.1.dist-info → shepherd_data-2025.6.2.dist-info}/zip-safe +0 -0
shepherd_data/__init__.py
CHANGED
shepherd_data/reader.py
CHANGED
|
@@ -18,7 +18,7 @@ from shepherd_core import Writer as CoreWriter
|
|
|
18
18
|
from shepherd_core import local_tz
|
|
19
19
|
from shepherd_core.data_models import EnergyDType
|
|
20
20
|
from shepherd_core.logger import get_verbose_level
|
|
21
|
-
from shepherd_core.logger import
|
|
21
|
+
from shepherd_core.logger import log
|
|
22
22
|
|
|
23
23
|
# import samplerate # noqa: ERA001, TODO: just a test-fn for now
|
|
24
24
|
|
|
@@ -308,12 +308,12 @@ class Reader(CoreReader):
|
|
|
308
308
|
|
|
309
309
|
dst_file = self.file_path.resolve().with_suffix(cut_str + ds_str + ".h5")
|
|
310
310
|
if dst_file.exists():
|
|
311
|
-
|
|
311
|
+
self._logger.warning(
|
|
312
312
|
"Cut & Downsample skipped because output-file %s already exists.", dst_file.name
|
|
313
313
|
)
|
|
314
314
|
return dst_file
|
|
315
315
|
|
|
316
|
-
|
|
316
|
+
self._logger.debug(
|
|
317
317
|
"Cut & Downsample '%s' from %.3f s to %.3f s with factor = %.1f ...",
|
|
318
318
|
self.file_path.name,
|
|
319
319
|
start_s,
|
|
@@ -635,7 +635,7 @@ class Reader(CoreReader):
|
|
|
635
635
|
Path(plot_path).resolve().with_suffix(f".multiplot_{start_str}_to_{end_str}.png")
|
|
636
636
|
)
|
|
637
637
|
if plot_path.exists():
|
|
638
|
-
|
|
638
|
+
log.warning("Plot exists, will skip & not overwrite!")
|
|
639
639
|
return None
|
|
640
640
|
fig = Reader.assemble_plot(data, width, height, only_pwr=only_pwr)
|
|
641
641
|
plt.savefig(plot_path)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shepherd_data
|
|
3
|
-
Version: 2025.6.
|
|
3
|
+
Version: 2025.6.2
|
|
4
4
|
Summary: Programming- and CLI-Interface for the h5-dataformat of the Shepherd-Testbed
|
|
5
5
|
Author-email: Ingmar Splitt <ingmar.splitt@tu-dresden.de>
|
|
6
6
|
Maintainer-email: Ingmar Splitt <ingmar.splitt@tu-dresden.de>
|
|
@@ -35,7 +35,7 @@ Requires-Dist: numpy
|
|
|
35
35
|
Requires-Dist: pandas>=2.0.0
|
|
36
36
|
Requires-Dist: pyYAML
|
|
37
37
|
Requires-Dist: scipy
|
|
38
|
-
Requires-Dist: shepherd-core[inventory]>=2025.06.
|
|
38
|
+
Requires-Dist: shepherd-core[inventory]>=2025.06.2
|
|
39
39
|
Requires-Dist: tqdm
|
|
40
40
|
Provides-Extra: elf
|
|
41
41
|
Requires-Dist: shepherd-core[elf]; extra == "elf"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
shepherd_data/__init__.py,sha256=oxMTandwVdRsPlpP4PwVgMMbH5gKuZnOlM88Wgxy3aE,353
|
|
2
|
+
shepherd_data/cli.py,sha256=8CShRsqJ5w6_nirNKInFEwYGv0gG5caXVLzExSeRGL4,15902
|
|
3
|
+
shepherd_data/ivonne.py,sha256=sH7c2aj9i5ygkpw6xQbjRwrbl9wtU_Toj_ZFyJVywG8,11930
|
|
4
|
+
shepherd_data/mppt.py,sha256=y9gVIhMs-ZG3ScL9UQTc5n8T146B13Q5dA5sfqqfjg0,3999
|
|
5
|
+
shepherd_data/reader.py,sha256=NEIwXC5f5fkSiBEsyY85gIcgjhYHFS1tavNnA6ViE3k,25741
|
|
6
|
+
shepherd_data-2025.6.2.dist-info/METADATA,sha256=D8yzzlUl9GeZjRycigoNOWRF3NdyLLLI9Mcj85s4jVU,3404
|
|
7
|
+
shepherd_data-2025.6.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
shepherd_data-2025.6.2.dist-info/entry_points.txt,sha256=6PBfY36A1xNOdzLiz-Qoukya_UzFZAwOapwmRNnPeZ8,56
|
|
9
|
+
shepherd_data-2025.6.2.dist-info/top_level.txt,sha256=7-SCTY-TG1mLY72OVKCaqte1hy-X8woxknIUAD3OIxs,14
|
|
10
|
+
shepherd_data-2025.6.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
11
|
+
shepherd_data-2025.6.2.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
shepherd_data/__init__.py,sha256=bvZJl9K4890vy2Yh2RLtr2V6u-BiEuznwjmQBN3ufcA,353
|
|
2
|
-
shepherd_data/cli.py,sha256=8CShRsqJ5w6_nirNKInFEwYGv0gG5caXVLzExSeRGL4,15902
|
|
3
|
-
shepherd_data/ivonne.py,sha256=sH7c2aj9i5ygkpw6xQbjRwrbl9wtU_Toj_ZFyJVywG8,11930
|
|
4
|
-
shepherd_data/mppt.py,sha256=y9gVIhMs-ZG3ScL9UQTc5n8T146B13Q5dA5sfqqfjg0,3999
|
|
5
|
-
shepherd_data/reader.py,sha256=LMHaLM8SKu8g8_CZOjZlQsOcOXkweP4cLPRf0dnJlhY,25735
|
|
6
|
-
shepherd_data-2025.6.1.dist-info/METADATA,sha256=xbpdRFOLuvo9ccWn6t5VK0v7v7sQ5hypbfrsFzK8hOg,3404
|
|
7
|
-
shepherd_data-2025.6.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
shepherd_data-2025.6.1.dist-info/entry_points.txt,sha256=6PBfY36A1xNOdzLiz-Qoukya_UzFZAwOapwmRNnPeZ8,56
|
|
9
|
-
shepherd_data-2025.6.1.dist-info/top_level.txt,sha256=7-SCTY-TG1mLY72OVKCaqte1hy-X8woxknIUAD3OIxs,14
|
|
10
|
-
shepherd_data-2025.6.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
11
|
-
shepherd_data-2025.6.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|