You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/perturbed_dycoms_rf02.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,14 +115,20 @@ Finally, we need to update type_getters.jl with our new keyword arguments as wel
115
115
With this step complete, we are now ready to pass a new keyword argument that we defined ourselves to modify or change the initial conditions. The scripts currently contained in /examples/perturbed_dycoms_rf02 contain code for running the ensemble as well as post-processing/plotting capabilities.
116
116
117
117
# Creating & Running Ensembles
118
+
All example scripts referenced are stored in examples/perturbed_dycoms_rf02:
The script `pipeline.jl` handles this entire step without parallelized runs, but the steps can also be performed individually.
119
125
120
126
The recommended workflow is the create multiple copies of the .yml files and label them according to the initial conditions used. For example, the default file might look like `prognostic_edmfx_dycoms_rf02_column_qtot0_9.45_theta0_288.3_thetai_295.0_zi_795.0_prescribedN_1.0e8.yml`.
121
127
122
128
We can use `make_yaml.jl` to generate multiple different configurations with ease. To do so, provide the function `make_yamls()` with a default file for which to copy, and an output path. This script uses nested for loops to generate every possible combination of parameters, and they can be altered directly in the file. This might look like:
To use these configuration files, we can either parallelize or run them serially. If parallelization is desired, run:
133
139
134
140
```
135
-
julia -p <num_processors> parallel_driver.jl
141
+
julia -p <num_processors> ./examples/perturbed_dycoms_rf02/parallel_driver.jl
136
142
```
137
143
138
144
Be sure that the paths, which are handled by `all_paths.jl`, are referring to the right set of simulations. This example focuses in on prognostic EDMF+2M simulations, but the scripts have implementation for diagnostic EDMF as well as 1-moment microphysics as well.
139
145
140
146
# Visualizing Ensemble Output
141
-
After the simulations are done being ran, we can use `process_plot_outputs.jl` to visualize changes in the liquid water path (LWP) and cloud droplet number concentration (N), in order to recreate the figure above. An example code block to recreate the plot is shown below, but additionally plotting capabilities are demonstrated in `LWP_N_Experiments.ipynb`.
147
+
After the simulations are done being ran, we can use `process_plot_outputs.jl` to visualize changes in the liquid water path (LWP) and cloud droplet number concentration (N), in order to recreate the figure above.
0 commit comments