Update train-cloud-microphysics demo app for merged ICAR files#287
Merged
Update train-cloud-microphysics demo app for merged ICAR files#287
Conversation
This commit adds several file types to ignore: * archives & compressed files: *.gz, *.tar, etc. * gnuplot & graphics: *.plt, *.png * macos: .DS_Store
Remove variables that are no longer used.
With this commit, the demo/train.sh training script 1. Exits if any simple command returns a non-zero exit code, 2. Uses default values for the starting and ending number of bins, 3. Makes the executable path/name a variable with a default, and 4. Removes unused arguments form the training proggram launch line.
This update fixes an issue with demo/app/train-cloud-microphysics that occured when an attempt is made to open an already open file.
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.
With this PR, putting the latest ICAR NetCDF training data files in a subdirectory
demo/fiats-training-dataand running something likeshould launch a run that does successively refined training of a cloud microphysics model by conditionally sampling the training data to flatten the output-tensor histograms.
This PR
demo/app/traini-cloud-microphysics.F90and related files to process the ICAR training-data files that resulted from merging image-specific files into one regional file per 50 time steps;demo/train.shto improve robustness by.gitignore;