Add helper scripts for creating and deleting large numbers of tecplot files #225
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.
I have a bunch of helper scripts that I use for processing the large number of f5 files that get output from my optimisations. This PR would add them to the repo so other people can use them too.
Summary of scripts:
f5convert_all
: Runsf5totec
in parallel on all .f5 files in the current folder for which there is not an existing tecplot file (or there is a tecplot file but it's older than the f5 file)f5convert_subdirs
: Finds all directories from the current directory down that contain .f5 files and runs f5convert_all in each one.f5clean_all
: Deletes all tecplot files in the current directory for which there is a corresponding f5 files (useful for freeing up disk space)f5clean_subdirs
: Finds all directories from the current directory down that contain .f5 files and runs f5clean_all in each one.