Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion drawbicyc/include/cases/Cumulus_Congestus/plots.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ const std::vector<std::string> series_Cumulus_Congestus({
//"RH_max",
"cloud_top_height",
"total_droplets_number",
"cloud_cover_rico",
"cl_meanr",
"cl_nc",
"cl_nr",
"nc",
"nr",
"com_mom0",
"com_mom1",
"com_mom2",
"cloud_cover_rico"
//"surf_flux_latent",
//"surf_flux_sensible",
//"sd_conc_avg",
Expand Down
6 changes: 3 additions & 3 deletions drawbicyc/include/plot_series.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1350,12 +1350,12 @@ void plot_series(Plotter_t plotter, Plots plots, std::string type)
try
{
// cloud fraction (cloudy if N_c > 20/cm^3)
typename Plotter_t::arr_t snap(plotter.h5load_timestep("cloud_rw_mom0", at * n["outfreq"]));
typename Plotter_t::arr_t snap(plotter.h5load_timestep("actrw_rw_mom0", at * n["outfreq"]));
snap *= rhod; // b4 it was specific moment
snap /= 1e6; // per cm^3
snap = iscloudy(snap); // cloudiness mask
typename Plotter_t::arr_t snap_m0(plotter.h5load_timestep("cloud_rw_mom0", at * n["outfreq"]));
typename Plotter_t::arr_t snap_m1(plotter.h5load_timestep("cloud_rw_mom1", at * n["outfreq"])*1e6); // in microns
typename Plotter_t::arr_t snap_m0(plotter.h5load_timestep("actrw_rw_mom0", at * n["outfreq"]));
typename Plotter_t::arr_t snap_m1(plotter.h5load_timestep("actrw_rw_mom1", at * n["outfreq"])*1e6); // in microns
snap_m0 *= snap;
snap_m1 *= snap;
auto tot_m0 = blitz::sum(snap_m0);
Expand Down