diff --git a/docs/src/post_processing_notes.md b/docs/src/post_processing_notes.md index 91b256fbd..8633ded59 100644 --- a/docs/src/post_processing_notes.md +++ b/docs/src/post_processing_notes.md @@ -9,7 +9,7 @@ Post processing functionality is provided by the processing, call [`moment_kinetics.makie_post_processing.makie_post_process`](@ref) e.g. ```julia -julia> using moment_kinetics.makie_post_process +julia> using moment_kinetics.makie_post_processing julia> makie_post_process("runs/example-run/") ``` or @@ -39,6 +39,12 @@ To see all the options that can be set, be used to create an example file containing all the options with their default values. The options are all commented out when the file is created. +!!! note "Viewing animations" + Animations are produced in `.gif` format. Most utilities just play gifs, + but provide no options to pause them, etc. One that provides a few more + features is [multigifview](https://github.com/johnomotani/multigifview) + (developed by @johnomotani). + Interactive use --------------- diff --git a/src/makie_post_processing.jl b/src/makie_post_processing.jl index 212827dea..00e15f11e 100644 --- a/src/makie_post_processing.jl +++ b/src/makie_post_processing.jl @@ -840,7 +840,8 @@ function get_run_info(run_dir::Union{AbstractString,Tuple{AbstractString,Union{I ext = "moments" end - has_data = all(length(glob(basename(p) * ".$ext*.h5", dirname(p))) > 0 + has_data = all(length(glob(basename(p) * ".$ext*.h5", dirname(p))) > 0 || + length(glob(basename(p) * ".$ext*.cdf", dirname(p))) > 0 for p ∈ run_prefixes) if !has_data println("No $ext data found for $run_prefixes, skipping $ext")