Skip to content

Commit bfb623f

Browse files
committed
Updated requirements.txt to reflect new mdf-iter update
1 parent f4c970b commit bfb623f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

examples/data-processing/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ idna==3.4
1919
influxdb-client==1.35.0
2020
J1939-PGN==0.4
2121
jmespath==0.10.0
22-
mdf_iter>=2.0.8
22+
mdf_iter>=2.0.10
2323
multidict==6.0.2
2424
numpy==1.24.1
2525
pandas==1.5.3

examples/other/concatenate-mf4-by-period/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This script lets you process MF4 log files across multiple CANedge devices. The
1010

1111
The data can be fetched from an absolute input path on local disk (e.g. the `LOG/` folder on an SD card) and saved locally.
1212

13-
Alternatively, the files can be loaded/saved directly from/to S3 buckets. This requires that you map your S3 input/output bucket(s) using [TntDrive](https://canlogger.csselectronics.com/canedge-getting-started/transfer-data/server-tools/other-s3-tools/).
13+
Alternatively, the files can be loaded/saved directly from/to S3 buckets. This requires that you map your S3 input/output bucket(s) using [TntDrive](https://canlogger.csselectronics.com/canedge-getting-started/ce2/transfer-data/server-tools/other-s3-tools/).
1414

1515

1616
## Installation

examples/other/concatenate-mf4-by-period/concatenate_mf4_by_period.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
# optionally finalize files (if *.MFC) and DBC decode them
2929
finalize = True
3030
enable_dbc_decoding = False
31+
enable_mf4_compression = True
3132
path_dbc_files = path_script / "dbc_files"
3233
path_mdf2finalized = path_script / "mdf2finalized.exe"
3334

@@ -123,7 +124,7 @@
123124
mdf = mdf.extract_bus_logging(dbc_files)
124125

125126
# save the cut MF4 to local disk
126-
mdf.save(path_output_file, overwrite=True)
127+
mdf.save(path_output_file, overwrite=True, compression=enable_mf4_compression)
127128
print(f"- Concatenated MF4 saved (cut)\t\t| start: {mdf_start} | stop: {mdf_stop} \n- Output path: {path_output_file}")
128129

129130
# clear MDF

0 commit comments

Comments
 (0)