Skip to content

Parallel Read and Fix Rainflow Counting Issue - #40

Merged
gbarter merged 2 commits into
masterfrom
par_read
Sep 19, 2025
Merged

Parallel Read and Fix Rainflow Counting Issue#40
gbarter merged 2 commits into
masterfrom
par_read

Conversation

@dzalkind

Copy link
Copy Markdown
Collaborator

Fixes issue in WEIS CI: https://github.com/WISDEM/WEIS/actions/runs/17865395593/job/50806345035?pr=426#step:10:15827

For reference: https://github.com/Gunnstein/fatpack/blob/82d4aeef031f803d09edb1893a6c4587fa3adfd2/fatpack/rainflow.py#L446

We could also use find_rainflow_ranges_strict in fatpack, which also worked.

In the short WEIS tests, there is not always a full cycle to measure, and for some reason, it returns duplicate cycle ranges.

The parallel read function is just a trivial application of the read function using multiprocessing, but it helps when parsing several files.

@dzalkind
dzalkind requested a review from gbarter September 19, 2025 21:49
@gbarter
gbarter merged commit cada9fc into master Sep 19, 2025
38 checks passed
@gbarter
gbarter deleted the par_read branch September 19, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants