Regarding the bug fix for data reading on Lemi424 and the establishment of data reading function on Lemi417#325
Merged
Conversation
…eading LEMI424 data from multiple days.
Collaborator
|
@XuBingcheng6 Thanks for the updates. Could you please update your code to work with mt-metadata > 1.0.0. The key changes are the imports. MTime is now |
Collaborator
|
I had to split this PR a bit because of changes to the architecture of @XuBingcheng6 Do you have any example data from a LEM417 that you could share so we can make some tests? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed a bug in the lemi424.py file. The original code had an issue where the first day's data was repeatedly read when reading multiple days of lemi424 data from the same location (for example, when reading data from August 8th and 9th, 2025, it incorrectly read data from August 9th to August 10th, 2025. After checking the file size, it was found that the .h5 data file, which should have contained three days' worth of data, contained three days' worth of data).
Established lemi417 data reading functionality. The reading method has been strictly unified with that of lemi424.
make_mth5_lemi417_example.zip